VGA programming

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
pete.piper

VGA programming

Post 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
Tim

Re:VGA programming

Post 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/
pete.piper

Re:VGA programming

Post 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
The Legend

Re:VGA programming

Post 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 ...
Dave_Hunt

Re:VGA programming

Post by Dave_Hunt »

pete.piper

Re:VGA programming

Post 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.
Dave_Hunt

Re:VGA programming

Post by Dave_Hunt »

Glad to be of service!
crazybuddha

Re:VGA programming

Post 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
pete.piper

Re:VGA programming

Post by pete.piper »

Thanks, crazybuddha.
crazybuddha

Re:VGA programming

Post 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.
Post Reply