
}
else if (status == 1)
{
regs.h.ah = 0x1C;
regs.h.bh = 2;
regs.h.al = 0;
int86(0x21,®s,®s);
}
else
{
regs.h.ah = 0x1C;
regs.h.bh = 2;
regs.h.al = 1;
int86(0x21,®s,®s);
}
1C
Hardware Control Flow
Entry parameters:
AH = 1CH
BH = 3
AL = 0
; Enable CTS/RTS control flow
1
; Disable CTS/RTS control flow
Return Value: None
Note:
Only for NONE communication protocol
1C
Set Communication Protocol
Entry Parameter:
AH = 1CH
BH = 4
AL = 2
; Set to MULTIPOINT protocol
3
; Set to NONE protocol
Return Value: None
Example
:
void TC_protocol(int status)
{
regs.h.ah = 0x1C;
regs.h.bh = 4;
regs.h.al = (unsigned char)status;
int86(0x21,®s,®s);
}
Summary of Contents for PT600
Page 1: ...PT600 Portable Terminal Programming Reference Guide Document number 3506000120...
Page 7: ......
Page 16: ......
Page 20: ...regs h bh 5 regs h al unsigned char type regs h bl unsigned char status int86 0x21 regs regs...
Page 57: ......
Page 66: ...Host Command STX ESC CMD parameters CS1 CS2 ADDR Acknowledgement ACK Negative ACK NAK...