Mail Archives: djgpp/2000/11/16/04:22:49.1
From: | "Gorden" <gorden AT ms9 DOT url DOT com DOT tw>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | [ help! ] about mouse cursor in bios graphics mode
|
Date: | Thu, 16 Nov 2000 17:04:07 +0800
|
Organization: | DCI HiNet
|
Lines: | 30
|
Message-ID: | <8v07qk$cbk@netnews.hinet.net>
|
NNTP-Posting-Host: | 210.242.228.137
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Newsreader: | Microsoft Outlook Express 5.00.2615.200
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2615.200
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
/* my new mouse cursor */
int new_cursor[32] =
{
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF
};
int main()
{
_dpmi_regs r;
/* set video mode 640*480*16 */
r.h.ah = 0;
r.h.al = 0x12;
__dpmi_int(0x10, &r);
/* changce mouse cursor type */
r.x.ax = 9;
r.x.bx = 0;
r.x.cx = 0;
r.x.dx = (I do not know what is this ?)
r.x.es = (I do not know what is this ?)
__dpmi_int(0x33, &r);
}
- Raw text -