PT630 Programming Reference Guide
Page 12 of 59
------------------------------------------------------------------------------------------------------------------
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();
}
1.4.6 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);
}
1.4.7 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);
}