VESA bank switching in PMODE

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
Thunder

VESA bank switching in PMODE

Post by Thunder »

Hello how can I switch banks in VESA mode in pmode?
Thanks :)
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:VESA bank switching in PMODE

Post by Pype.Clicker »

Thunder

Re:VESA bank switching in PMODE

Post 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
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:VESA bank switching in PMODE

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