Disk I/O in Pmode / VBE

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
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re:Disk I/O in Pmode / VBE

Post by bubach »

So what do VESA do? It?s code for checking for a svga card, loading the driver from the card rom and "translate" calls to VESA to the specific card driver, is that right?

Then you would be able to make a "32 bit VESA (special hobby os edition)" that does the same thing, and just give it a int number.

Becasue it sounds on you like you have to write drivers to all diffrent svga cards?

/ Christoffer
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
BI lazy

Re:Disk I/O in Pmode / VBE

Post by BI lazy »

Hej!

bubach, listen: VESA is a standardized (hm, well, mostly) interface to the BIOS of the video card. It hides the Internals by providing standard calls (int 0x10, usw ... you know what i mean?) These are executing functions of the video cards bios which are doing the actual grunt work according to what you tell them to do with the int 0x10 call. If a video card doesn't provide this interface (certain ATI chip sets f. ex.) there is no way except writing to registers to set required video modes - what otherwise the bios of the card is doing for you.

And no, it doesn't do any translation, it executes the command you tell it.

By using standard Vesa calls, you can avoid writing to registers of the video adapter yourself.

Hope this helps

hej da!
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:Disk I/O in Pmode / VBE

Post by Candy »

bubach wrote: Then you would be able to make a "32 bit VESA (special hobby os edition)" that does the same thing, and just give it a int number.
If you can "convince" commercial companies to include your vesa-something in their products, yes.
Becasue it sounds on you like you have to write drivers to all diffrent svga cards?
Uhhuh. You have to write a driver for each card / cardtype.
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re:Disk I/O in Pmode / VBE

Post by bubach »

Ok, ok. i give up...
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
Post Reply