
Entry Parameter:
AH = 1DH
BH = 2
AL = 0/1
; ECHO ON/OFF
Return Value: None
Example
:
void TT_echo(int status)
{
regs.h.ah=0x1D;
regs.h.bh=2;
regs.h.al=(unsigned char)status;
int86x(0x21,®s,®s,&segregs);
}
1D
Set AUTOLF ON/OFF in Terminal Mode
Entry Parameter:
AH = 1DH
BH = 3
AL = 0/1
; AUTOLF ON/OFF
Return Value: None
Example
:
void TT_auto_LF(int status)
{
regs.h.ah= 0x1D;
regs.h.al= (unsigned char)status;
regs.h.bh= 3;
int86(0x21,®s,®s);
}
1D
Set CHARACTER/BLOCK in Terminal Mode
Entry Parameter:
AH = 1DH
BH = 4
AL = 0 ; CHARACTER mode
1 ; BLOCK mode
DX = 0 ; block = LINE
1 ; block = PAGE
2 ; block = LINE or PAGE
Return Value: None
Example
:
void TT_mode(int status,int status1)
{
regs.h.ah= 0x1D;
regs.h.bh= 4;
Содержание 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...