VGA driver for text and graphics?
Chris Micro
Posts: 160
Is there a VGA driver for displaying text and graphics?
I want do display some measurement data in a graph and to print some text on the sreen.
tnanx,
chris
I want do display some measurement data in a graph and to print some text on the sreen.
tnanx,
chris
Comments
Here's one: obex.parallax.com/objects/176/
thank you for the hint. I use an old LCD-Monitor with a resolution of only 1024x768. I looked througt the Object Exchange but I couldn't find a driver suitable for this resultution which can display text and graphics. I will try the example you posted and see if it works.
chris
I use a Parallax driver that I'm not sure is in OBEX...
But, I have a link to it on this page (first link):
http://www.rayslogic.com/propeller/Users/3rdParty.htm
http://www.rayslogic.com/propeller/Programming/Programming.htm
I have notes on how to move and resize the graphics window...
Your site is incredibly handy. Wish you'd add it to your .sig. [noparse]:)[/noparse]
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
thanks for posting this info about VGAs. I found that the stuff that was already on the OBEX was tragically void of comments so I've been reverse engineering color codes, etc. to get things working. I wish I had known about your site before.
you the man,
Mark
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
It might be the Information Age but the Eon of Ignorance has yet to end.
Here is another option that might be of some use. This was more of a learning exercise for myself, but I took the 2-bit color graphics routines from the TV Graphics demo, and converted them into a 1-bit version to work with the VGA.
http://forums.parallax.com/showthread.php?p=606957
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
visit http://www.rayslogic.com
Another option - there's a virtual VGA driver for the propeller that can do both text and vector graphics at resolutions up to 1152x864 (2 colour) or 800x600 (4 color) - provided you don't expect to be able to fill the screen with content (as Mike points out - there just isn't enough RAM on the propeller to do that!). It also requires 5 cogs.
I never put this driver in the OBEX because I always intended to do more work on it - but you can find it as part of the VGA versions of SpaceWar or BattleZ0wned. The driver supports most of the standard Parallex graphics functions (e.g. text, arcs, lines, etc).
For an example, see the thread at http://forums.parallax.com/forums/default.aspx?f=33&m=281452
Ross.