VGA programming
VGA programming
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
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
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/
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
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.Tim Robinson wrote:Throwing bytes at I/O ports or using the BIOS...
Anyway, thanks for the link. With enough examples, I should be able to assemble my own list.
Pete
Re:VGA programming
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
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: 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
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
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
pas de problem. Programming the vga is fun. If you get stumped, let me know and I'll see if I can help.