Table des matières

Keyboard Memory Bytes

Keyboard Flags Bytes 0 and 1

bit 40:17 Keyboard Flags Byte 0
0 right shift key depressed
1 left shift key depressed
2 CTRL key depressed
3 ALT key depressed
4 scroll-lock is active
5 num-lock is active
6 caps-lock is active
7 insert is active
bit 40:18 Keyboard Flags Byte 1
0 left CTRL key depressed
1 left ALT key depressed
2 system key depressed and held
3 suspend key has been toggled
4 scroll lock key is depressed
5 num-lock key is depressed
6 caps-lock key is depressed
7 insert key is depressed

Keyboard Flags Bytes 2 and 3

bit 40:97 - LED Indicator Flags
0 scroll lock indicator
1 num-lock indicator
2 caps-lock indicator
3 circus system indicator
4 ACK received
5 re-send received flag
6 mode indicator update
7 keyboard transmit error flag
bit 40:96 Keyboard Mode/Type
0 last code was the E1 hidden code
1 last code was the E0 hidden code
2 right CTRL key depressed
3 right ALT key depressed
4 101/102 enhanced keyboard installed
5 force num-lock if Rd ID & KBX
6 last char was first ID char
7 read ID in process

see INT 9 BDA