Really BIG Letters & Numbers
Humanoido
Posts: 5,770
How can I make BIG letters and numbers
on a Parallax small 3.5-inch display? (240 x 320 pixels)
on a Parallax small 3.5-inch display? (240 x 320 pixels)
Comments
OBC
http://forums.parallax.com/showthread.php?113018-Low-Resolution-Graphics-mixed-with-ROM-font-text
Rayman: Thanks for that idea, I'll give the graphics program a try for large characters.
-Phil
I think I can trick it with buffering and get the result I need, I don't think I have
the chops (in pasm) for the assembler mods to Chip's (rather undocumented) base code yet.
It is pretty, even when scaled 4X.
I'm using it for a CNC VGA display from a PC serial port,
used for a remote display of CNC coordinates in manual mode.
jr
I know that a couple of Doug's text drivers support nice 40 column and 20 column characters.
(20 column would likely be visible on the screen that you are using. Naturally, there is a trade off. )
OBC
-Phil
Retrotext should do what you need. We've been using it for gaming, but IIRC there is 20 characters per line.
http://www.savagecircuits.com/forums/showthread.php?444-Retrotext-Text-Driver-for-gaming
OBC
You can scale the pixels with the 2 parametrs hx and vx in the DAT section (tv_params). Make theme 2 times higher and half the cols and rows tiles.
Andy
"1 to 4 Color Flexible VGA Bitmap Driver Terminal"
buried in the obex.
like I said, slow but pretty.
I might have bonked the whole thing but it's working.
colors are a bit limited in depth, but I'm hoping for
B&W so I'm easy.
jack
With TV, you can basically get 12, 6, 4, or 2 lines. You've got a bit more leeway on horizontal expansion and I've done 20 to 28 characters with more or less being possible. The VGA driver has the same hx and vx parameters but is much more limited because of timing and line count restraints; you can basically have 13 or 7 rows, take your pick. You can get finer grained horizontal characters but it requires modding the pixel clock which is nontrivial.
I use 8bit Color graphics because the memory is linear but the standard Graphics.spin should produce similar results.
This gives 16 chars by 6 lines
128 dots x 96 rows
This code works with standard graphics.spin and tv.spin
"Hello World" is in center of screen
also attached is BIGterminal (21 columns by 7 lines)
Set cols and rows at begin in the CON section of TV_Text like that:
Then set in the DAT section the hx and vx parameters to: You have now a TV_Text object with 20x6 characters. You can also try it with 7 rows.
Andy
I adjusted the screen for 16 characters by 10 rows.
This produces the sharpest and most clear characters
I have ever seen on this small screen.
The sharpness of the characters is nothing like the text driver that Andy talked about. I'm wondering if this is true of most TVs or if it happens only on my small TV. There is a blur line below the characters. Some characters seem like they were "stamped double." Do you know anything about this?
I suspect it has something to do with interlace. My display is a B/W tv, don't have an LCD. Parallax does not seem to supply that little 3.5 inch any more. Need to know the exact horz/vert pixels.
Try changing near the top of tvBIGterminal.spin