640×240 VGA driver (displayed as 640×480) for the Propeller

February 4th, 2007

I needed a bit of a break today from an ARM system I am fighting with (long story; maybe I’ll blog on it in the future).

I have a nice little 8.4″ TFT monitor that unfortunately can only display 640×480 VGA mode signals. The Propeller VGA text driver works great with it, but I did not have a graphics driver for the Propeller that would give me high resolution graphics. I decided to do a quick mod to the 512×384 VGA bitmapped driver that uses 1024×768 timing - I figured it would be easy to modify it to be a 640×240 driver with 640×480 timings.

I was right. Less than an hour after I started I was finished; including modifying the color map so that I could set a unique foreground / background color combination for every 32×16 pixel tile (so that the color patches looked square).

I’ve uploaded the object to the Propeller Object Exchange, but until it is approved, you can grab it here.

Download driver: VGA 640×240 Bitmap Driver

Let me know if you find it useful!

Best,

Bill

Leave a Reply

You must be logged in to post a comment.