Xref: news2.mv.net comp.os.msdos.djgpp:5102 From: locke AT mcs DOT net (Peter Johnson) Newsgroups: comp.os.msdos.djgpp Subject: Trapping the PAUSE key Date: Mon, 17 Jun 1996 19:32:08 GMT Organization: BiLogic Lines: 18 Message-ID: <31c5b238.7657104@news.mcs.net> NNTP-Posting-Host: locke.pr.mcs.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In many games, e.g. Doom, Terminal Velocity, etc, the "pause" key does not pause the computer, but rather pauses the game. Obviously, the pause key must have been trapped in some manner. Any ideas on doing this in DJGPP? Either disabling the pause key entirely or somehow having a function called when it is hit would be very valuable. Thanks. ------------------------------------- Peter Johnson ------------------------------------- locke AT mcs DOT net http://www.mcs.net/~locke/ ------------------------------------- Freelance C/C++/Pascal/Asm programmer for DJGPP, Borland, and Watcom compilers Member of BiLogic demo group -------------------------------------