{
regs.h.ah = (unsigned char)status;
int86(0x09,®s,®s);
}
02 Set Font Type
3
Entry Parameter:
AH= 2
4
AL= 0/1 ; set to large/small font
5
Return Value: None
Example:
void TL_font(int status)
{
regs.h.ah = (unsigned char)status;
regs.h.al = 2;
int86(0x09,®s,®s);
}
03
Get Font Type
Entry Parameter: AH= 3
Return Value:
AL= 0/1
; large/small font
Example
int TL_get_font_type()
{
regs.h.ah = 3;
int86(0x09,®s,®s);
return(regs.h.al);
}
04
Set User-Defined Font for All Characters
Entry Parameter:
AH= 4
AL= 0/1
; large/small font
DS:DX
; pointer to the buffer with font data
; ( for large font: buffer size = 16*256 =4096
bytes
; for small font: buffer size = 6*256 =1536
bytes )
Return Value: None
Example
Содержание 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...