1C
Get MULTIPOINT Address
Entry Parameter:
AH = 1CH
BH = 5
Returned Value:
AL = Address
; ASCII character ‘A’ - ’Y’ or
’0’ - ’6’
Example
:
char TC_get_address()
{
regs.h.ah = 0x1C;
regs.h.bh = 5;
int86(0x21,®s,®s);
return((char)regs.h.al);
}
1C
Set MULTIPOINT Address
Entry Parameter:
AH = 1CH
BH = 6
AL = Address ; ASCII character ‘A’ - ’Y’ or ’0’ - ’6’
Return Value: AL = 0
; if successful
1
; if failed
Example
:
int TC_set_address(char status)
{
regs.h.ah = 0x1C;
regs.h.bh = 6;
regs.h.al = status;
int86(0x21,®s,®s);
return((char)regs.h.al);
}
1C
Set File-Uploading Message ON/OFF
Entry Parameter:
AH = 1CH
BH = 0AH
AL = 0
; Not display message while uploading file
AL = 1
; Display message while uploading file
Return Value: None
Example
:
void TD_upload_message(int status)
{
Содержание PT600
Страница 1: ...PT600 Portable Terminal Programming Reference Guide Document number 3506000120...
Страница 7: ......
Страница 16: ......
Страница 20: ...regs h bh 5 regs h al unsigned char type regs h bl unsigned char status int86 0x21 regs regs...
Страница 57: ......
Страница 66: ...Host Command STX ESC CMD parameters CS1 CS2 ADDR Acknowledgement ACK Negative ACK NAK...