Page 1 of 1

Real mode/Protected mode interrupts....

Posted: Sun Dec 01, 2002 12:00 am
by platonman1
Hello everyone...
How can I access real mode interrupts within protected mode?
Must I, as I read, get back to real mode, execute the interrupt, and then return to protected mode, or is it another way??
Thanks in advance :)

RE:Real mode/Protected mode interrupts....

Posted: Tue Dec 03, 2002 12:00 am
by Chase
Virtual Real Mode....
It lets you run real mode code while staying in pmode. The only thing is that certain opcodes(assembly instruction) are privledged. If the real mode code tries to execute a privledged opcode then your pmode gpf handler will be called. So you have a bigger gpf handler to write but you don't have to deal with going back and forth between real and pmode.