Draw lines and write small text in VGA mode ?
Hello,
I'm looking for simple routines to draw lines like: Line(x1,y1,x2,y2) or LineTo(x,y) and write Text at a (x/y)· or (row/col) position like: Locate(x,y) and Text(string) or TextAt(x,y,string)· together in VGA mode.
Thanks for help
e-mail: Bernd888@gmx.net
Bernd
I'm looking for simple routines to draw lines like: Line(x1,y1,x2,y2) or LineTo(x,y) and write Text at a (x/y)· or (row/col) position like: Locate(x,y) and Text(string) or TextAt(x,y,string)· together in VGA mode.
Thanks for help
e-mail: Bernd888@gmx.net
Bernd
Comments
The graphics_demo program gives you enough info to do that.
You have to disect the program to get what you want.
This comments intended for the TV mode.
A good place to start.
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
In my case (VGA basic 640x480) it give me an error "Over Range"
If you look at the program VGA_Hires_Text.spin it gives you a choice of 3 resolutions (1084x768, 800x600, 640x480).
I think this should be the norm.