Returns the ROM BIOS flags byte that describes the state of the various keyboard toggles and shift keys.
Call with:
AH = 02H
Returns:
AL = flags
Bit Significance (if set)
0 right Shift key is down
1 left Shift key is down
2 Ctrl key is down
3 Alt key is down
4 Scroll Lock on
5 Num Lock on
6 Caps Lock on
7 Insert on
Note:
The keyboard flags byte is stored in the ROM BIOS data area at 0000:0417H.