Page 1 of 1

Vesa

Posted: Fri Sep 26, 2003 11:00 pm
by Koll
Where can i find some vesa tutorials? I need some code to change the video resolution using physical ports. Thanks

RE:Vesa

Posted: Sat Sep 27, 2003 11:00 pm
by ksk
You can get the VESA documentation from
  
  http://www.vesa.org/vbe3.pdf

I think the documentation is more than enough to get started. And the doc also contains C code to test your display adapter. I tried on my adapter and was able to get all the supported reso.

regards
ksk

PS: Actually it was gaffi who gave me this link. I sincerely thank gaffi for that.

RE:Vesa

Posted: Wed Oct 01, 2003 11:00 pm
by carbonBased
Vesa uses interrupts, not ports, for its interface.  And real mode interrupts, at that (apparently version 3.0 supports pmode interrupts, but very few cards support vesa3.0).

If you want to use ports, you'll have to write a separate driver for each video card (lookup VGADoc for a collection of hardware/port APIs of common chipsets).

You'd be better off writting a vm86 handler, and emulating the Vesa BIOS (int 0x10).

Cheers,
Jeff