SECTION 5
Communications and Device Support
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide 5-27
Unshifted Key Redefinitions
This interface for unshifted keyboard redefinitions is a call to INT 15H:
On Entry:
AX = 5380h (OEM function call)
BH = 15h (Define key function number)
BL = Contains the logical key position
CH = Attribute
CL = New scan code for redefined key position
On Return:
AH = Nonzero if error
This assembler code sample shows how to perform the call.
;
;UI oemDefineKey (UC keypos, UC keycode, UC type)
;
_oemDefineKey proc near
push bp
mov
bp,sp
mov
ch,[bp+8]
mov
cl,[bp+6]
mov
bl,[bp+4]
mov
bh,DEFINEKEY
;15h
mov
ax,5380h
int
15h
xor
al,al
;make certain al = 0
pop
bp
ret
_oemDefineKey endp
6300 Keyboard Definition/Redefinition
The following paragraphs present the standard definitions for the keys on the
6300 Computer and specify the interface used for keyboard redefinition.
Consult the
System BIOS for IBM PCs, Compatibles, and EISA Computers,
Second Edition,
Phoenix Technologies LTD. for standard keyboard scan make,
and break codes.
Physical Keyboard
The physical keyboard is the mechanical 22Ćkey keyboard of the 6300 Computer.
Each key of the keyboard has a specific key number. The key numbers for the
22Ćkey keyboard are defined in the following chart. You can use these key
numbers to define the key code and remap the keyboard.
7:
[on/off]*
0:
[Tab]
8:
[7]
16:
[8]
24:
[9]
40:
[
Y
]
1:
[Del]
9:
[4]
17:
[5]
25:
[6]
33:
[
A
]
41:
[
"
]
2:
[Esc]
10:
[1]
18:
[2]
26:
[3]
50:
[
B
]
3:
[GOLD]
11:
[NO]
19:
[0]
27:
[YES]
51:
[Next]
* on/off = suspend/resume
5. Communications
and Device Support