New: 640x240 VGA graphics driver

Hi guys,
I took a bit of a break from fighting with an ARM system, and I modified the 512x384 graphics driver so that it will work with my 640x480 limited small VGA monitor [noparse]:)[/noparse]
I've uploaded it to the Propeller Object Exchange, but until it gets approved, you can download it from my site (link below).
Enjoy,
Bill
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com - a new blog about microcontrollers
I took a bit of a break from fighting with an ARM system, and I modified the 512x384 graphics driver so that it will work with my 640x480 limited small VGA monitor [noparse]:)[/noparse]
I've uploaded it to the Propeller Object Exchange, but until it gets approved, you can download it from my site (link below).
Enjoy,
Bill
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com - a new blog about microcontrollers
Comments
DogP
As far as a monitor is concerned, it is 640x480 standard VGA
As the propeller does not have enough memory for a full 640x480 bitmap, every line is shown twice, resulting in a 640x240 display
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com - a new blog about microcontrollers
Pat
[noparse][[/noparse]code]
PUB plot(x,y,v)
· if x => 0 and x < 640 and y => 0 and y < 240
··· if v
····· pixels[noparse][[/noparse]y * 20 + x >> 5] |= |< x
··· else
····· pixels[noparse][[/noparse]y * 20 + x >> 5] &= ! |< x
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com - a new blog about microcontrollers