Page 1 of 1

VGA programming

Posted: Fri Jun 07, 2002 2:14 pm
by pete.piper
Hey guys and gals,

I was wondering if anyone has any links to comprehensive VGA register programming resources/references buried in their treasure chests of sorts? I've found a couple here and there but they seem to do little more than throw a couple I/O ports at you or proclaim that the BIOS is the only way to go.

Thanks,

Pete

Re:VGA programming

Posted: Sat Jun 08, 2002 4:15 am
by Tim
Throwing bytes at I/O ports or using the BIOS are the only ways to go. :) Seriously, you can't really get too clever unless you start using SVGA, at which point it gets impossible (you're faced with lack of documentation or getting your video BIOS running under a V86 mode monitor).

To write my VGA driver, I used the Tauron VGA utilities, the ReactOS VGA driver, and SVGAlib. The main Tauron site seems to have disappeared, but someone appears to have mirrored the files here:

http://pcmseagle.myip.org/~stupid/docs/ ... AdirectIO/

Re:VGA programming

Posted: Sat Jun 08, 2002 9:04 am
by pete.piper
Tim Robinson wrote:Throwing bytes at I/O ports or using the BIOS...
Right. I may not have been clear in my first post; I do plan on programming with the I/O ports. The resources that I've found have provided an I/O port here and there but nothing comprehensive.

Anyway, thanks for the link. With enough examples, I should be able to assemble my own list.

Pete

Re:VGA programming

Posted: Sat Jun 08, 2002 11:05 am
by The Legend
I think http://www.wotsit.org had a hardware format section with vga docs, but perhaps that is the stuff you already have ...

Re:VGA programming

Posted: Sat Jun 08, 2002 11:43 am
by Dave_Hunt

Re:VGA programming

Posted: Sat Jun 08, 2002 6:08 pm
by pete.piper
The Legend: Yeah, I had checked wotsit out. It just didn't have quite what I was looking for. Thanks, anyway.

Dave Hunt: Big thanks. That's exactly what I was looking for. I think I remember seeing one or two of these pages in Google's cache, but the mirror was dead.

Re:VGA programming

Posted: Sun Jun 09, 2002 1:59 pm
by Dave_Hunt
Glad to be of service!

Re:VGA programming

Posted: Wed Jun 12, 2002 8:31 am
by crazybuddha
do a google search for these:

vgadoc4b.zip

tauron.zip

Also, Michael Abrash's Zen of Graphics programming is wordy, but has a lot of info that might be of interest.

Also, you will want to read vbe3.zip

Re:VGA programming

Posted: Wed Jun 12, 2002 2:52 pm
by pete.piper
Thanks, crazybuddha.

Re:VGA programming

Posted: Thu Jun 13, 2002 2:33 pm
by crazybuddha
pas de problem. Programming the vga is fun. If you get stumped, let me know and I'll see if I can help.