VBE3.0 protected mode interface

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.
User avatar
matthias
Member
Member
Posts: 158
Joined: Fri Oct 22, 2004 11:00 pm
Location: Vlaardingen, Holland
Contact:

Re: VBE3.0 protected mode interface

Post by matthias »

Wow, good job. Unfortunatly the conclusion is not so good; VBE sucks :@:( A well I was planning a console OS anyway, just VBE for testing :)
The source of my problems is in the source.
Da_Maestro
Member
Member
Posts: 144
Joined: Tue Oct 26, 2004 11:00 pm
Location: Australia

Re: VBE3.0 protected mode interface

Post by Da_Maestro »

Well...VBE in protected mode sucks!

Real mode and VM86 mode has to work because that's what windows and linux use to access VBE
Two things are infinite: The universe and human stupidity. But I'm not quite sure about the universe.
--- Albert Einstein
User avatar
JAAman
Member
Member
Posts: 879
Joined: Wed Oct 27, 2004 11:00 pm
Location: WA

Re: VBE3.0 protected mode interface

Post by JAAman »

no its not:
windows will never use RMode VBE (though i suspect winXP does use vbe3 -- in PMode)
if you lack specific drivers, (in win9x) you cannot use more than VGA (which is fully standardized -- easy to do in PMode)

winXP however, can use higher modes, though im not sure how, i suspect it does use vbe2/3 PMode interfaces, though i cannot be sure of that (some modes beyond VGA can be set the same as the VGA modes -- not all cards will except it, but many/most will-- and winXP might use this (like win3.1 did -- win3.1 supported 'generic' 640x480x8 & 800x600x4 -- without any vbe -- but it wouldn't work on some controllers, but most did)
Last edited by JAAman on Thu Mar 02, 2006 12:00 am, edited 1 time in total.
Da_Maestro
Member
Member
Posts: 144
Joined: Tue Oct 26, 2004 11:00 pm
Location: Australia

Re: VBE3.0 protected mode interface

Post by Da_Maestro »

Windows NT and Linux Svgalib use VM86 to access the real mode VBE interface.

Linux I'm sure of. The svgalib source code is readily available.

Windows: Like you I'm not sure...I saw a document on the web from a project that was trying to run WinXP on bochs and they mentioned something about VM86 and VBE...I'll have to find it again and post a link for you. I do remember it saying something about using VM86 VBE to determine what device was attached...
Last edited by Da_Maestro on Thu Mar 02, 2006 12:00 am, edited 1 time in total.
Two things are infinite: The universe and human stupidity. But I'm not quite sure about the universe.
--- Albert Einstein
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re: VBE3.0 protected mode interface

Post by bubach »

XP problably closed some deal with the hardware manufactures to get info for the basic modes. *guessing*
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
Post Reply