Shop OBEX P1 Docs P2 Docs Learn Events
Flash Point App: TV Bitmap viewer — Parallax Forums

Flash Point App: TV Bitmap viewer

RaymanRayman Posts: 14,996
edited 2011-03-29 16:53 in Propeller 1
Finally put the finishing touches on the first real app for the Flash Point memory modules, a Windows bitmap viewer.

Here's a photo of the Prop showing a 152x192 pixel bitmap in "full color" mode:
FlashPoint_BitmapViewer.jpg


Even though the image is ~29kB (almost the size of all of HUB RAM), the program to show the image is only 4kB.
This leaves lots of room for more code.

It is possible to put up to 64 of this size image on the FPS.
Or, you can put one very tall image!
See the attached zip file for a video clip showing a scrolling 152x6192 pixel bitmap of the flags of all 50 states.

The source files to do this are now on the Flash Point web page.

Comments

  • RaymanRayman Posts: 14,996
    edited 2011-03-26 11:19
    Attached are the source bitmaps for the above examples.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-03-26 12:26
    @Rayman: Simply amazing! Fast enough for video and animation?

    OBC
  • RaymanRayman Posts: 14,996
    edited 2011-03-26 14:59
    OBC, it's plenty fast enough, but capacity is a real problem for video... You could show a 64 frame animation though.

    For anything approximating real video, SD or maybe SDRAM would have to be the source because you'd need a lot of capacity.

    But, using a couple RamPage modules as a pair of buffers might make sense...
    Then, you could think about compressing the video in some way...
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-03-26 15:19
    I'll be playing with this soon enough... (whenever the postman gets it here.)

    OBC
  • RaymanRayman Posts: 14,996
    edited 2011-03-29 06:17
    I definitely need to fix the driver... It currently only works for cases where you are using a Prop pin to supply power.

    It's a simple fix though and I've already done it for the Spin driver, just need to upload it tonight.

    Problem is that if you don't use a Prop pin to supply power, you don't know if the chip is in SPI mode or SQI mode at startup...
    My current fix is to try reading the JEDEC in SQI mode first and then proceed with SPI initialization if that fails.
    Want to do a bit more testing this time before posting the fixed driver...
  • RaymanRayman Posts: 14,996
    edited 2011-03-29 14:52
    Ok, I've updated the website with programs that work even if chip is already in SQI mode... (got to have a talk with our quality control people...)
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-03-29 15:13
    Good timing! My arrived this morning.. Looks good and package was fine for US mail.

    OBC
  • RaymanRayman Posts: 14,996
    edited 2011-03-29 16:53
    Glad it got there in one piece. That was my first attempt at low cost 1st class product shipment... I'm not sure if the Post Office cut me a break or not because I thought it should cost ~$1.22 but they only charged ~ $.88. Or, maybe I just don't fully understand the rates...
Sign In or Register to comment.