BIOS Keyboard Input

Int 16h/AH=00h

KEYBOARD - GET KEYSTROKE

AH = 00h

Return:
AH = BIOS scan code AL = ASCII character


Int 16h/AH=01h

KEYBOARD - CHECK FOR KEYSTROKE

AH = 01h

Return:
ZF set if no keystroke available ZF clear if keystroke available AH = BIOS scan code AL = ASCII character

Note: If a keystroke is present, it is not removed from the keyboard buffer.