Calling Real Mode interrupts from PMODE
Posted: Mon Jun 14, 2004 11:00 pm
I need to call the VESA Video Bios interrupt (0x10). I know i am going to have to go into V86 mode to do this (i am currently in PMODE). The problem is that all examples assume that I want to make an entire v86 task, when all i really want to do is call an interrupt.
I have tried to create a PMODE interrupt that will then switch to v86 and call the correct interrupt (using values in the real mode IVT), but its just not working. Is it possible to switch to v86 without creating a new task? If so how?
I have seen that DPMI mentions doing just that, but I cannot find any implementations that actually do it.
Thanks
I have tried to create a PMODE interrupt that will then switch to v86 and call the correct interrupt (using values in the real mode IVT), but its just not working. Is it possible to switch to v86 without creating a new task? If so how?
I have seen that DPMI mentions doing just that, but I cannot find any implementations that actually do it.
Thanks