Specifications
90 AMD Geode⢠GeodeROM Functional Specification
Human Interface Device Support
32087C
10.1.2 Function 01h - Check For Key Present
Description:
Checks the keyboard buffer to determine whether a keystroke is available. The keystroke is not removed from the key-
board buffer.
Passed:
Returns:
Related Functions:
INT 16h "Function 11h - Check For Enhanced Key Code" on page 92.
10.1.3 Function 02h - Get Shift Status
Description:
Returns the state of the Left Shift, Right Shift, Ctrl, and Alt keys. It also indicates the state of the ScrollLock,
NumLock, CapsLock, and Insert keys.
Passed:
Returns:
Related Functions:
INT 16h "Function 12h - Get Extended Shift Status" on page 93.
Parameter Description
AH 01h
Parameter Description
AH Scan code
AL Character
ZF 00h if character in buffer
01h if no character in buffer
Parameter Description
AH 02h
Parameter Description
AL Shift status bits:
Bit 7 = Insert state active
Bit 6 = CapsLock active
Bit 5 = NumLock active
Bit 4 = ScrollLock active
Bit 3 = Alt depressed
Bit 2 = Ctrl depressed
Bit 1 = Left Shift key depressed
Bit 0 = Right Shift key depressed