Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

How to program interrupts in protected mode?

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 Electron   Members   

122
Like
Likes
Like

Posted 05 October 1999 - 07:49 AM

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

#2 Rock2000   Members   

122
Like
Likes
Like

Posted 05 October 1999 - 07:49 AM

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





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.