Sorry for the noobish question, but when I'm in real mode, can I use an ISR to fire off whenever a specific key combo is pressed, eg. Ctrl+Escape?
Thanks,
Troy
Real mode ISRs: specific keypress
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: Real mode ISRs: specific keypress
Catch the keyboard interrupt and determine if your keystroke was invoked. If it was, proceed; otherwise, return.
C8H10N4O2 | #446691 | Trust the nodes.
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: Real mode ISRs: specific keypress
Thanks, I tried to use the Ctrl+Break handler, and the jumping to another segment worked, but after that it would freeze up.Alboin wrote:Catch the keyboard interrupt and determine if your keystroke was invoked. If it was, proceed; otherwise, return.
Now I'm racing against a spambot, those buggers are fast!
EDIT: Whoa, didn't see a mod in the list, they're evil and quick!!