VGA Shinanigans
Golah
Posts: 4
Hello all,
I've been lurking here for a while now reading as much as I can, but can't seem to find an answer here or on the net.
Here's my problem....
I wrote a program using the 512x384 bitmap object, created an RLE compressed image on my pc, wrote an RLE decoder for the prop, and wired it up per the demo schematic.
So, I plugged the prop into my LCD monitor, and poof, perfect image. Then, I took my prop to my DLP tv and plugged it into the RGB port. No Signal. Hmmm.
Then I set my laptop to 1024x768 (the same as the bitmap object signals at) plugged it into my tv, and poof, perfect image.
This is a real head scratcher, unless there is something missing from the bitmap object that the LCD doesn't need, but the TV does. But I can't image what that would be.
Any ideas/confirmation would be greatly appreciated.
Regards.
I've been lurking here for a while now reading as much as I can, but can't seem to find an answer here or on the net.
Here's my problem....
I wrote a program using the 512x384 bitmap object, created an RLE compressed image on my pc, wrote an RLE decoder for the prop, and wired it up per the demo schematic.
So, I plugged the prop into my LCD monitor, and poof, perfect image. Then, I took my prop to my DLP tv and plugged it into the RGB port. No Signal. Hmmm.
Then I set my laptop to 1024x768 (the same as the bitmap object signals at) plugged it into my tv, and poof, perfect image.
This is a real head scratcher, unless there is something missing from the bitmap object that the LCD doesn't need, but the TV does. But I can't image what that would be.
Any ideas/confirmation would be greatly appreciated.
Regards.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
Thanks for your help, it would have taken me a while to sort that one out....
That would be a neat trick... Could allow fast animations with simple graphics...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Composite NTSC sprite driver: http://forums.parallax.com/showthread.php?p=800114
NTSC color bars (template): http://forums.parallax.com/showthread.php?p=803904
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
Uncompressed, the bitmap uses 24+ kram, my one image uses about 4500 bytes the other uses about 12k. So both together use about 2/3 the ram of a single uncompressed image.
Golah, Go for it, you just need to have a couple of scanline buffers for your render cogs, and fill each one while the screen is being displayed, looping around the buffer. Depending on your resolution, will depend how many cogs you need to throw at it. with having·two/three cogs decompressing the image, I had an scanline offset list which I just indexed depending on the scanline, and used that offset from the start of the RLE for that scanline, it saved having to skip/decompress incase a like was intricate thus keeping the speed to get the first byte in the scanline optimised and constant.
Good luck.
Jim.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·