regs.h.ah=0;
int86(0x9, ®s, ®s);
/* set large font */
regs.h.ah=5;
regs.h.al=0;
int86(0x10, ®s, ®s); /* set cursor off */
buff=logo;
regs.h.ah=4;
regs.h.dh=1; /* Row */
regs.h.dl=2; /* Column */
regs.x.bx=FP_OFF(buff);
sregs.ds=FP_SEG(buff);
int86x(0x10, ®s, ®s, &sregs);
getch();
}
05
Set Cursor On/Off
Entry Parameter:
AH = 5
AL = 0/1
; set cursor OFF/ON
Return Value: None
Example
:
void TL_cursor_type(int status)
{
regs.h.ah = 5;
regs.h.al = (unsigned char)status;
int86(0x10,®s,®s);
}
06 Enable/Disable Power-on Logo Display
Entry Parameter:
AH = 6
AL = 0/1 ; disable/enable
Return Value: None
Example
void TL_cursor_type(int status)
{
regs.h.ah = 5;
regs.h.al = (unsigned char)status;
int86(0x10,®s,®s);
}
Summary of Contents for PT600
Page 1: ...PT600 Portable Terminal Programming Reference Guide Document number 3506000120...
Page 7: ......
Page 16: ......
Page 20: ...regs h bh 5 regs h al unsigned char type regs h bl unsigned char status int86 0x21 regs regs...
Page 57: ......
Page 66: ...Host Command STX ESC CMD parameters CS1 CS2 ADDR Acknowledgement ACK Negative ACK NAK...