video ports

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
Hamza

video ports

Post 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??
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:video ports

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

Re:video ports

Post by Therx »

The code attached is my messy VGA driver. It goes into mode 12h (640x480x16).

[attachment deleted by admin]
Post Reply