Table des matières

INT 0x16 - 0x01 - Get Keyboard status

Request/Call:

reg value descr
AH 0x01

Return:

ZF = 0 a key was pressed (event CTRL-Break) AX = 0 if no scan code is available

reg descr
AH scan code
AL ASCII character or zero if special function key

Notes & Comments

  • data code is not removed from buffer
  • Ctrl-Break places a zero word in the keyboard buffer but does register a keypress.

Back