Mail Archives: djgpp/1996/06/15/07:03:10
Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote:
:
: On Wed, 5 Jun 1996, Shawn Hargreaves wrote:
:
: > > I have a keyboard interrupt in my game. Under DOS, you cannot reboot the
: > > system or anything. The controler take total control of the keyboard
: > > like it is supposed to. But with win95, If I hit the START button, or
: > > Cntr-Alt-Del, windows takes over. How can one stop this?
: >
: > Basically you can't. What you are getting under win95 is not a direct
: > hardware interrupt: it is a virtualised interrupt which the OS has
: > already looked at and decided to pass on to your app. Some keys it keeps
: > for itself, and so your program never sees the interrupt.
Well. You can. But you would have to write some windows-specific code in
386 assembly, which would become part of windows and pass these interrupts
to you. Not worth writing, in my opinion.
--
--
This looks like my signature... Pavel Machek
If you want more info about me, http://novell.karlin.mff.cuni.cz/~pmac5296.
- Raw text -