PT630 Programming Reference Guide
Page 27 of 59
------------------------------------------------------------------------------------------------------------------
1.5.13.7 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);
}
1.5.13.8 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)
{
regs.h.ah= 0x1C;
regs.h.bh= 0x0A;
regs.h.al= (unsigned char)status;
int86(0x21,®s,®s);
}