Keyboard Scan-Code Outputs - IBM AT 5170 Technical Reference

Table of Contents

Advertisement

Keyboard Scan-Code Outputs
Each key is assigned a unique 8-bit, make scan code, which is sent
when the key is pressed. Each key also sends a break code when
~
the key is released. The break code consists of two bytes, the
first of which is the break code prefix, hex FO; the second byte is
the same as the make scan code for that key.
The typematic scan code for a key is the same as the key's make
code. Refer to "Keyboard Layouts" beginning on page 4-15 to
determine the character associated with each key number.
The following figure lists the positions of the keys and their make
scan codes.
Key
Make Code
Key
Make Code
Key
Make Code
Number
Number
Number
1
OE
31
1 C
67
OB
2
16
32
lB
68
OA
3
1 E
33
23
69
09
4
26
34
2B
70
05
5
25
35
34
71
04
6
2E
36
33
72
03
7
36
37
3B
73
83
8
30
38
42
74
01
9
3E
39
4B
90
76
10
46
40
4c
91
6C
11
45
41
52
92
6B
12
4E
43
5A
93
69
13
55
44
12
95
77
14
50
46
lA
96
75
15
66
47
22
97
73
16
OD
48
21
98
72
17
15
49
2A
99
70
18
1 D
50
32
100
7E
19
24
51
31
101
7D
20
2D
52
3A
102
74
21
2C
53
3C
103
7A
22
35
54
49
104
71
23
3C
55
4A
105
84
24
43
57
59
106
7C
25
44
58
11
107
7B
26
40
61
29
108
79
27
54
64
58
28
5B
65
06
30
14
66
OC
Note:
Break codes consists of two bytes; the first is hex FO,
the second is the make scan code for that key.
Keyboard
4-11

Advertisement

Table of Contents
loading

Table of Contents