Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I was just programming some stuff in ASM, until I got to know that VGA is limited to 640x480 resolution, (I hate VGA), then I was thinking about VESA/VBE, since in OS Development people
use VESA more that VBE (To what I have seen), I wanted to switch to VESA, but I couldn't find anything except using the good-ol int 0x10, (INT 10H) which is used in BIOSes, and here's how I perform stuff :
>>Switch to Virtual 8086 Mode (Access to Extended RAM and BIOS Calls YAY!)
>>Use INT 10H to switch to VESA, AH=00H, AL=01H (I think so...)
>>Get back to Nice-Comfortable Protected Mode!


But there are two problems :
1) When I do this QEMU Just Hangs.... (I can see only my cursor)
2) People are giving up BIOS and switching to EFI, I am scared that int 0x10 won't
work on EFI. Does EFI support some BIOS interrupts?
And is there a way to do stuff PMode itself, (Cause V8086 seems a silly idea)
Help would be appreciated....
~Sid123
Posted
Comments
Sergey Alexandrovich Kryukov 2-Oct-13 14:00pm    
Interrupts are not exactly "called": int and iret are special instructions similar to call and ret (flags also go to the stack). Or they are handled...
—SA
The_Inventor 3-Oct-13 4:54am    
Do you have a VESA standard video card in the system?
sid2x 3-Oct-13 11:20am    
On my PC? Yes I do...., QEMU? I really have no idea. How is it possible to change video modes in EFI? When you have nothing to work, Am I supposed to write a driver for a specific video card, when it comes to EFI?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900