1D
Define Page Character in Terminal Mode
Entry Parameter:
AH = 1DH
BH = 6
AL = 0 – 255
; ASCII character
Return Value: None
Example
:
void TT_page_terminal(unsigned char status)
{
regs.h.ah= 0x1D;
regs.h.bh= 6;
regs.h.al= status;
int86(0x21,®s,®s);
}
1E
Set User-defined Key-map
Entry Parameter:
AH = 1EH
AL = 0
DS:DX
; pointer to Key-map buffer with 5*24
; characters corresponding to keypad
in
; 5 input modes
Return Value: None
Example
:
void TD_key_map(unsigned char *str)
{
segregs.ds = FP_SEG(str);
regs.x.dx = FP_OFF(str);
regs.h.ah=0x1E;
regs.h.al=0;
int86x(0x21,®s,®s,&segregs);
}
Note:
Default system key-map:
Содержание 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...