int TD_get_bar_type()
{
regs.h.ah = 0x1B;
regs.h.bh = 5;
int86(0x21,®s,®s);
return(regs.h.al);
}
1B
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);
}
1C
Set Communication Parameters
Entry Parameter:
AH = 1CH
BH = 1
AL bits 7-4: 0001xxxx
baud 150
0010xxxx
baud
300
0011xxxx
baud
600
0100xxxx
baud
1200
0101xxxx
baud
2400
0110xxxx
baud
4800
0111xxxx
baud
9600
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...