Switching Graphics Mode

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
OSMAN

Switching Graphics Mode

Post by OSMAN »

Hi.

How can I switch the video mode out of the text mode when I want to implement a pixel-based GUI. Can I do it throug outportb()? If it's possible, how to do it (what bytes to which device)? (I'm using Voodo3 if that matters)
AR

Re:Switching Graphics Mode

Post by AR »

The only standard method for direct IO is VGA, it's old and supposedly difficult to program - that and it only supports up to a maximum of 640x480 with 16 colours.

The better method is VESA which will let you use practically any mode that the card supports but can only be used in real mode so will require you either switch in and out to run VESA or setup a V8086 monitor (switching in and out could be really painful if you use a higher half kernel as well)

If you want more information than see the FAQ.
Dex4u

Re:Switching Graphics Mode

Post by Dex4u »

You keep asking the same ? , when you have bean given the answer, here is all the info you need for your card
http://homepage.swissonline.ch/tinyasm/v3.htm

You are lucky that someones done most of the work for you and if you want it in C then hard luck as OS Dev does not work like that, you find info where you can and think yourself lucky >:( .
Post Reply