PT630 Programming Reference Guide
Page 20 of 59
------------------------------------------------------------------------------------------------------------------
1.5.12.6 Set Keypad Language
Entry Parameter: AH = 1AH
BH = 7
AL =
0
; English
1
; Sweden / Finland
2
; Danish
3
; Spanish
4
; French
5
; German
6
; Italian
Return
Value:
None
Note:
The functions defines input characters in ALPHA mode for key [0]:
Language Mode Hex
Code
Display
ALPHA-1
5B
@
0.English
ALPHA-2
5C
?
ALPHA-3
5D
&
ALPHA-1
8F
Å
1.Sweden/Finland
ALPHA-2
8E
Ä
ALPHA-3
99
Ö
ALPHA-1
92
Æ
2.Danish
ALPHA-2
9D
Ø
ALPHA-3
8F
Å
ALPHA-1
AD
¡
3.Spanish
ALPHA-2
A5
Ñ
ALPHA-3
A8
¿
ALPHA-1
F8
º
4.French
ALPHA-2
87
Ç
ALPHA-3
26
&
ALPHA-1
8E
Ä
5.German
ALPHA-2
99
Ö
ALPHA-3
9A
Ü
ALPHA-1
F9
•
6.Italian
ALPHA-2
5C
\
ALPHA-3
82
É
‘¥’ (9DH) in ASCII is replaced with ‘Ø’ when Danish is selected.
Example
:
void TD_key_language(int status)
{
regs.h.ah= 0x1A;
regs.h.bh= 7;
regs.h.al= (unsigned char)status;
int86(0x21,®s,®s);
}