Page 1 of 1

VESA bank switching in PMODE

Posted: Sat Apr 05, 2003 1:15 pm
by Thunder
Hello how can I switch banks in VESA mode in pmode?
Thanks :)

Re:VESA bank switching in PMODE

Posted: Sun Apr 06, 2003 5:04 am
by Pype.Clicker

Re:VESA bank switching in PMODE

Posted: Sun Apr 06, 2003 2:34 pm
by Thunder
I found one help that says that I can use linear frame buffer but source code needs LDT. Why
could someone explain how enable linear frame buffer

Re:VESA bank switching in PMODE

Posted: Mon Apr 07, 2003 4:42 am
by Pype.Clicker
LDT ? how strange ...
Well, using VBE pmode extension requires the caller to provide 16 bits segments that map things like VGA BIOS code and data areas. But afaik, these segments may be built in GDT aswell (but still, they have to be built, yes).

We cannot just tell you how linear frame buffer is enabled but "use VBE set mode function with the LFB bit set" because its hardware-dependent, and that hardware manufacturer jealously keep these information secret...