View Full Version : Draw lines and write small text in VGA mode ?
10-09-2006, 03:45 PM
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 (mailto:Bernd888@gmx.net)
10-09-2006, 07:12 PM
I went to this before.
The graphics_demo program gives you enough info to do that.
You have to disect the program to get what you want.
10-09-2006, 07:14 PM
This comments intended for the TV mode.
A good place to start.
10-10-2006, 08:53 AM
This is a template I've designed that answers your second question.
"I reject your reality and subsitute my own!"
Adam Savage, Mythbusters
10-12-2006, 09:17 AM
This is one of the programs that do not specify which mode runs.
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.