Page 1 of 1
video ports
Posted: Wed Jul 16, 2003 3:20 am
by Hamza
I want to change my video mode in protected mode. I have to do it by using ports. Is there any simple example or tutorial that explains how can I manage to do so??
Re:video ports
Posted: Wed Jul 16, 2003 3:43 am
by Pype.Clicker
i think there must be something in GeekOS or in Geezer. However, keep in mind that you'll only be able to access VGA modes (up to 0x13) this way: do not expect any SVGA as their programming may involve card-specific non-VGA ports ...
Re:video ports
Posted: Wed Jul 16, 2003 5:23 am
by Therx
The code attached is my messy VGA driver. It goes into mode 12h (640x480x16).
[attachment deleted by admin]