That's completely true.iansjack wrote:Yes. The x86BiosCall function used by those drivers does not call the BIOS interrupts, it emulates them. Again, you could write this yourself. But what's the point? If you know how to do that you could just write a protected mode driver without bothering with emulation.
How else can I query the available modes, set a certain mode, etc. on SVGA in protected mode, without CPU being interrupted in real mode? As I said before, when my kernel (32 bit protected mode) needs some SVGA function, I switch to real mode with INT 10H. I wish I could emulate INT 10H.
What I have done so far: brought the protected mode to real mode switched BIOS calls before APIC being set up.