Advertisement

How to program interrupts in protected mode?

Started by October 05, 1999 01:49 PM
0 comments, last by Electron 25 years, 2 months ago
I attend to modify the keyboard interrupt, and i think i know how to do it in real mode.
Now, i'm currently working in 32-bit protected mode, and when i try to modify the interrupt, it terminates itself. Anyone got a sollution for this? Pleas reply or email me: electron_ed@hotmail.com
--Electron"The truth can be changed simply by the way you accept it.""'General failure trying to read from file' - who is General Failure, and why is he reading my file??"
In protected mode, you need to install your ISR handler(s) using the DPMI functions. Int 0x31, function 0x201 sets the real-mode ISR, funcion 0x205 sets the protected mode ISR. Generally you only need to install the protected mode ISR.

There are also about a billion stumbling blocks depending on which compiler you're using, so try to find some examples.

Rock

This topic is closed to new replies.

Advertisement