{
regs.h.ah=6;
regs.h.al=(unsigned char)type;
regs.h.cl=(unsigned char)ascii_code;
segregs.ds = FP_SEG(str);
regs.x.dx = FP_OFF(str);
int86x(0x9,®s,®s,&segregs);
}
07
Get Font Data for One Characters
Entry Parameter:
AH= 7
AL= 0/1
; large/small font
CL =0 - 255
; character
DS:DX
; pointer to the buffer
; ( for large font: buffer size = 16 bytes
; for small font: buffer size = 6 bytes )
Return Value:
Font data in the buffer
Example:
void TL_get_one_ASCII_font(int type,int ascii_code,unsigned char *str)
{
regs.h.ah=7;
regs.h.al=(unsigned char)type;
regs.h.cl=(unsigned char)ascii_code;
segregs.ds = FP_SEG(str);
regs.x.dx = FP_OFF(str);
int86x(0x9,®s,®s,&segregs);
}
1.3
Kermit Server Function ( INT 0FH )
Entry Parameter:
None
Return Value: None
When INT 0FH is called in user application, PT600 will enter Kermit server.
Pressing [CMD] key then [Exit] key to leave it and return to user application.
Example
:
void TC_kermit_mode()
{
int86(0x0F,®s,®s);
Содержание 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...