VGA Demo
Newzed
Posts: 2,503
In looking at the VGA_Demo I noted that the letters for the demo words are called one letter at a time.· I am presently using TV_Terminal in the Propeller program for my mill but would like to switch to VGA because I have a nice 15" LCD monitor in the shop.· Is it possible to display strings with the VGA mode like I can do with TV_Terminal?
Sid
Sid
Comments
In VGA_Demo I wrote:
print(string("Meow"))
and it compiled but I can't run it because I don't have my Demo board yet.· Is the above statement correct?
Sid
RoboGeek
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"I reject your reality and subsitute my own!"
Adam Savage, Mythbusters
www.parallax.com
www.goldmine-elec.com
www.expresspcb.com
www.startrek.com
·
There are several objects that use the VGA output. Most of them internally use the "vga" object contained in "vga.spin" to build the vga signal from a bitmap. To do something useful with this, there's the "vga_text" object in "vga_text.spin". This provides the interface you're using (like 'print.str(string("Meow"))') which includes decimal, hex, and binary output editing. These calls are intentionally the same as those used by "tv_text" which puts out a bitmap on the TV output.
There is a separate high resolution text output object called "vga_hires_text" that's mostly compatible and several graphics objects like "vga_512x384_bitmap" and a bitmap graphics object called "graphics" that can use either "tv" or "vga" for low resolution graphics.
Mike