Simple NTSC Text Driver
ozpropdev
Posts: 2,792
Update: Now supports 8x16,16x16 and 16x32 size fonts.
See here
Hi All
Here's a quick and dirty NTSC text driver based on Chip's NTSC demo.
It produces 12 lines of 16 characters and uses just 1 cog.
Ascii data in hub space is converted to pixel data during the 192 line field loop.
The demo shows 10 cogs modifying hub ram simultaneously.
I found it useful as I am using all the leds on the A7/DE2 boards and serial so being able to get additional debug data was handy.
I cheated and use the color pallete from Chip's bitmap
See here
Hi All
Here's a quick and dirty NTSC text driver based on Chip's NTSC demo.
It produces 12 lines of 16 characters and uses just 1 cog.
Ascii data in hub space is converted to pixel data during the 192 line field loop.
The demo shows 10 cogs modifying hub ram simultaneously.
I found it useful as I am using all the leds on the A7/DE2 boards and serial so being able to get additional debug data was handy.
I cheated and use the color pallete from Chip's bitmap
Comments
Having text to gawk at sure helps!
What size monitor/tv, looks around 10" - 12" comparing screen size to connector size?
I will have to look for the appropriate connectors and a cable, which are safely stored ... somewhere ... to use the other cog in by bare-board Nano setup.
Yep a 12 inch monitor.
Sadly the NTSC driver doesn't fit the nano. The frame buffer is 49.1k and then theres the font data on top of that.
Shame. Bigger fpga needed obviously, unless it is possible to have the frame buffer ASCII chars only and convert on the fly, in a similar manner to the hi-res VGA on P1?
doesn't that start the same cog 10 times?
confused!
Mike
Cognitive. ... thanks, autocorrect!!
ahh - I missed that one...
Thanks,
Mike
I'm doing simple 2 color right now. Was nice to have the mode bits.
Great! It would be good if people wound up trying all the modes.
I'll work on the colorspace converter documentation tomorrow.