regs.h.ah= 0x1C;
regs.h.bh= 0x0A;
regs.h.al= (unsigned char)status;
int86(0x21,®s,®s);
}
1D
Set Terminal ID
Entry Parameter:
AH = 1DH
BH = 0
DS:DX
; pointer to buffer of 8 characters ID
string
Return Value: None
Example
:
void TT_id(unsigned char *str)
{
segregs.ds = FP_SEG(str);
regs.x.dx = FP_OFF(str);
regs.h.ah=0x1D;
regs.h.bh=0;
int86x(0x21,®s,®s,&segregs);
return(regs.h.al);
}
1D
Set ONLINE/LOCAL in Terminal Mode
Entry Parameter:
AH = 1DH
BH = 1
AL = 0/1
; ONLINE/LOCAL
Return Value: None
Example
:
void TT_online_local(int status)
{
regs.h.ah=0x1D;
regs.h.bh=1;
regs.h.al=(unsigned char)status;
int86x(0x21,®s,®s,&segregs);
}
1D
Set ECHO ON/OFF in Terminal Mode
Содержание PT600
Страница 1: ...PT600 Portable Terminal Programming Reference Guide Document number 3506000120...
Страница 7: ......
Страница 16: ......
Страница 20: ...regs h bh 5 regs h al unsigned char type regs h bl unsigned char status int86 0x21 regs regs...
Страница 57: ......
Страница 66: ...Host Command STX ESC CMD parameters CS1 CS2 ADDR Acknowledgement ACK Negative ACK NAK...