TV Character Display - uses only 2.8KB

Here's the TV complement to the efficient VGA character display posted yesterday.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chip Gracey
Parallax, Inc.
Post Edited (Chip Gracey (Parallax)) : 5/18/2006 7:26:40 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chip Gracey
Parallax, Inc.
Post Edited (Chip Gracey (Parallax)) : 5/18/2006 7:26:40 AM GMT
Comments
I've looked a the source a bit, but can't find a small detail...
How do you tell it to use PAL coding?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't visit my new website...
······················· long··· %10010········· 'mode
to
······················· long··· %10011········· 'mode
The bottom bit controls NTSC/PAL. You can go black and white by changing bits 2 and 3 to 1.
·
latest and greatest object library? Perhaps providing a "virtual folder" in the explorer pane that visits
the object repository? This would be a great way to have all these wonderful things right at your
fingertips.
I've been considering something like this for a few weeks. We will likely implement something of this nature, but the specifics of how it will be done are unclear at the moment because we're in the process of a major redesign of our web/ftp site and behind-the-scenes structure.
This is an excellent idea.
Thanks for the suggestion!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Jeff Martin
· Sr. Software Engineer
· Parallax, Inc.
A further related point, and request to Parallax:
As updates to the various "download" sections (code, manuals, PDF's etc.) of the website are made, could these somehow be tagged with a date?
The words "new" or "latest" don't mean much after one has been absent from those spots for a while. It would sure save some downloading to check to see if one already has the "newest" or "latest" piece of information.
Thanks for your consideration.
Cheers,
Peter (pjv)
With the orginal TV_Terminal object, the display is solid with no flickering. With this new TV_Text object, the display has a noticable and bothersome flicker. Two questions:
- What is the difference ... why the flicker? Do the two objects use different refresh rates, maybe?
- Is there anything that can be done?
Thanks in advance.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Stan Dobrowski
The tv_text object uses interlaced mode to get double the scan lines to be able to represent a whole 13 rows of the internal 16x32 pixel character font. The only thing you could do to reduce the flicker would be to turn off interlace in the tv_mode parameter and reduce 'rows' to 6. This would render only 6 rows of text, though, and not be so useful.
- Chip
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chip Gracey
Parallax, Inc.
but the flicker can be maddening.
Forrest, I will try your suggestion of the for/back-ground contrast. Thanks.
Stan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Stan Dobrowski
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
1+1=10
If you are not sending any special characters, i.e. return, tab, etc. out(c) eventually filters out to being equivalent to print(c)
Looking at print(c)
I believe that your culprit is the last two lines that read...
As long as you only used printable characters, you could just implement your own "print(c)" routine that does not check if you run off the page
and call it anything you want.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
1+1=10
You still can! The "modified" or altered function set can fit within your main code, just call it differently when you want the 'newline' suppressed.
There is no need for distributing an alternate TV_text object.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.