PT630 Programming Reference Guide
Page 23 of 59
------------------------------------------------------------------------------------------------------------------
1.5.12.14 Set Alpha input mode
Entry Parameter: AH = 1AH
BH
=
0x11H
1.5.12.15 Set keypad input statusr
Entry Parameter: AH = 1AH
BH
=
0x12H
AL
=
0
;
Alpha
mode
1
; Non-Aplha mode
1.5.12.16 Get Scanner Port Status
Entry Parameter: AH = 1BH
BH = 5
Return values:
AL = 0
; Scanner port is disabled
1
; Scanner port is enabled
Example:
int TD_get_bar_type()
{
regs.h.ah = 0x1B;
regs.h.bh = 5;
int86(0x21,®s,®s);
return(regs.h.al);
}
1.5.13 General Communication Setting
1.5.13.1 Get
MULTIPOINT
Address
Entry Parameter: AH = 1BH
BH
=
6
Returned Value: AL = Address
; ASCII character ‘A’ - ’Y’ or ’0’ - ’6’
Example
:
char TC_get_address()
{
regs.h.ah = 0x1B;
regs.h.bh = 6;
int86(0x21,®s,®s);
return((char)regs.h.al);
}