Hello how can I switch banks in VESA mode in pmode?
Thanks
VESA bank switching in PMODE
- Pype.Clicker
- 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
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
could someone explain how enable linear frame buffer
- Pype.Clicker
- 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
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...
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...