Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Peter Norton Programmer's Guide - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

  When you press the Sys Req key on an 84-key keyboard or Alt-Sys Req on a
  101/102-key keyboard, the ROM BIOS keyboard interrupt handler executes
  interrupt 15H with AH = 85H. You can detect when this key is pressed by
  hooking interrupt 15H and inspecting the value in AH.

  When the Sys Req key is first pressed, the ROM BIOS issues interrupt 15H
  with AH = 85H and AL = 00H. When the key is released, the BIOS executes
  interrupt 15H with AH = 85H and AL = 01H. Thus the structure of an
  interrupt 15H handler that detects Sys Req keystrokes would be as follows:

  IF (AH<>85H)
                  jump to previous interrupt 15H handler
  ELSE IF (AL = 00H)
                  process Sys Req keystroke
       ELSE
                  process Sys Req key release
       exit from interrupt handler

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson