Entry Parameter:
AH = 1
Return Value: AL = 0 – 255
; ASCII character
Example:
unsigned char TS_stdin()
{
regs.h.ah= 1;
int86(0x21,®s,®s);
return(regs.h.al);
}
02
Write LCD
Entry Parameter:
AH = 2
DL = 0 – 255
; ASCII character
Return Value: None
Example:
void TS_stdout(unsigned char ch)
{
regs.h.ah= 2;
regs.h.dl= ch;
int86(0x21,®s,®s);
return;
}
03
Read RS232 (wait if no character)
Entry Parameter:
AH = 3
Return Value: AL = 0 – 255
; ASCII character
Note:
Only for NONE communication protocol
Example:
unsigned char TS_stdaux_in()
{
regs.h.ah= 3;
int86(0x21,®s,®s);
return(regs.h.al);
}
04
Write RS232
Entry Parameter:
AH = 4
DL = 0 – 255
; ASCII character
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...