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
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
How to program interrupts in protected mode?
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
Popular Topics
Advertisement