PT630 Programming Reference Guide
Page 8 of 59
------------------------------------------------------------------------------------------------------------------
1.2.9 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, PT630 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);
}