Real mode/Protected mode interrupts....

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
platonman1

Real mode/Protected mode interrupts....

Post 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 :)
Chase

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

Post 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.
Post Reply