PT630 Programming Reference Guide
Page 49 of 59
------------------------------------------------------------------------------------------------------------------
1.5.38 Check RS232 Output Buffer Status in MULTIPOINT Protocol
Entry Parameter: AH = 5EH
Returned Value:
AL = 0
; output buffer is empty
1
; output buffer has data
Note:
1) Only for MULTIPOINT communication protocol
2) The function can be used to check if data has been sent to Host computer.
Example
:
int TC_ready(int wait)
{
do {
regs.h.ah= 0x5E;
int86(0x21,®s,®s);
} while (wait && regs.h.al);
return(regs.h.al);
}