Non-ALPHA Mode ALPHA-1 Mode ALPHA-2 Mode ALPHA-3
Mode CMD Mode
?
: LCD Backlight
?
:
LCD Contrast
?
: Beeper Volume
Keyname and Hexcode with ... means DON’T CARE.
1E
Get System Key-map
Entry Parameter:
AH = 1EH
AL = 1
DS:DX
; pointer to 120 bytes buffer
Return Value: Key-map in buffer
Example
:
void TD_get_key_map(unsigned char *str)
{
segregs.ds = FP_SEG(str);
regs.x.dx = FP_OFF(str);
byte
Seq.
key
name
hex
code
byte
Seq.
key
name
hex
code
byte
Seq.
key
name
hex
code
byte
Seq.
key
name
hex
code
byte
Seq.
key
name
hex
code
0
CMD
…
24
CMD
…
48
CMD
...
72
CMD
…
96
CMD
...
1
F1
86
25
F1
86
49
F1
86
73
F1
86
97
F5
8A
2
ALPHA
…
26
ALPHA
…
50
ALPHA
…
74
ALPHA
...
98
ALPHA
...
3
7
37
27
A
41
51
B
42
75
C
43
99
?
…
4
4
34
28
J
4A
52
K
4B
76
L
4C
100
:
3A
5
1
31
29
S
53
53
T
54
77
U
55
101
-
2D
6
CLR
08
30
CLR
08
54
CLR
08
78
CLR
08
102
CLR
08
7
…
…
31
...
...
55
…
…
79
…
…
103
...
...
8
F4
89
32
F4
89
56
F4
89
80
F4
89
104
F8
8D
9
F2
87
33
F2
87
57
F2
87
81
F2
87
105
F6
8B
10
?
11
34
?
11
58
?
11
82
?
11
106
?
13
11
8
38
35
D
44
59
E
45
83
F
46
107
?
…
12
5
35
36
M
4D
60
N
4E
84
Q
4F
108
=
3D
13
2
32
37
V
56
61
W
57
85
X
58
109
+
2B
14
0
30
38
[
5B
62
\
5C
86
]
5D
110
SP
20
15
…
…
39
…
…
63
…
…
87
…
…
111
…
…
16
.
2E
40
.
2E
64
.
2E
88
.
2E
112
EXIT
84
17
F3
88
41
F3
88
65
F3
88
89
F3
88
113
F7
8C
18
?
10
42
?
10
66
?
10
90
?
10
114
?
12
19
9
39
43
G
47
67
H
48
91
I
49
115
?
…
20
6
36
44
P
50
68
Q
51
92
R
52
116
/
2F
21
3
33
45
Y
59
69
Z
5A
93
#
23
117
*
2A
22
ENTER
0D
46
ENTER
0D
70
ENTER
0D
94
ENTER
0D
118
ENTER
0D
23
…
…
47
…
…
71
…
…
95
…
…
119
…
…
Summary of Contents for PT600
Page 1: ...PT600 Portable Terminal Programming Reference Guide Document number 3506000120...
Page 7: ......
Page 16: ......
Page 20: ...regs h bh 5 regs h al unsigned char type regs h bl unsigned char status int86 0x21 regs regs...
Page 57: ......
Page 66: ...Host Command STX ESC CMD parameters CS1 CS2 ADDR Acknowledgement ACK Negative ACK NAK...