Where can I find a 160x120 bitmap 4 color TV driver? I could not find one in OBEX
Bill Henning
Posts: 6,445
Hi,
I need to do some simple TV graphics, and I don't have enough memory left to use the nice one byte per pixel driver. I checked in OBEX, and no luck...
160x120 or 160x100 would be perfect, as it would only take 4800 bytes or 4000 bytes, respectively, to hold the bitmap.
Has anyone written such a driver?
The closest one I am aware of is Chip's graphics demo, but I really would like a nice simple bitmap to work with.
Thanks,
Bill
I need to do some simple TV graphics, and I don't have enough memory left to use the nice one byte per pixel driver. I checked in OBEX, and no luck...
160x120 or 160x100 would be perfect, as it would only take 4800 bytes or 4000 bytes, respectively, to hold the bitmap.
Has anyone written such a driver?
The closest one I am aware of is Chip's graphics demo, but I really would like a nice simple bitmap to work with.
Thanks,
Bill
Comments
I have spent a lot of time making the resolution changes easy.
TV at 192x192 @ 4 colors is 9.2K, I have enough room for that in my application...
This shows you correctly how much space is left for programing
I just tried it at 160x112 and 144x112
in config.spin
At the lower resolutions it is nice to change the tvparams to double size
in tv_graphics.spin
This is a 144x112 that fills the TV screen.
It is possible to change it to PAL?
160x112 is only 4,480 bytes - down right miserly use of memory for a display that will still look great on a 3.5" NTSC display!
Still having trouble with your two PAL monitors?
The only thing I have to test PAL is an old ATI video capture card on a junk win2000 computer (only 96M ram).
It shows and handful of PAL standards to try. I was successful with the first option (PAL-B), with some shimmering of colors!
All I did to get PAL working was:
Perry
I run them relatively good on one of Drivers people mentioned. This driver have some moire But acceptable.
It is "Poor Mans Digital Oscilloscope" I will have run on PAL with colors - Not only gray scale.
In another threadhttp://forums.parallax.com/showthread.php?131552-Question-about-Propeller-RTC-emulator
Phill mentioned "creepie crawlies" on NTSC as a problem with clock accuracy.
perhaps you could improve your PAL display by adjusting the clock frequency
Perry
Will look on that.
Thanks
I know Kye has one for VGA, and with 1 byte per pixel this uses 19200 bytes. So there should be enough ram to do the same thing for TV, right?
I've adapted it to show images from my Flashpoint memory modules...
You have audio working as well? Very impressive!
I need to take a look at your code in more detail, because I wrote an automatic encoder for the 160x120 VGA movie maker, and if we combine our efforts we ought to be able to automate your movie maker.
Addit - I tried downloading the Profprop source code but something is not right - it is a 1.8Mb zip but inside is just one 6k .dat file? Any chance you would be able to post the source code? Many thanks in advance.
I guess big picture, VGA displays seem to be cheap if they are big (free if you want a CRT one), but once you go to QVGA they get expensive. However, these rearview TVs are a mass produced item that seems to be coming down in price.
30fps is very impressive too - I think I only managed to get the Kye video to run at about 20fps and so the audio would not quite have been in sync. I don't know how you got the audio to work too - it really is quite a clever piece of work.
Mind you, if it is too slow, Kye's driver might fix that.