Mail Archives: djgpp/1999/03/06/01:26:55
Message-ID: | <001601be6799$4cf47920$d20d63ca@bj-cmbc>
|
From: | "thriller" <thriller AT 263 DOT net>
|
To: | <djgpp AT delorie DOT com>
|
Date: | Sat, 6 Mar 1999 14:19:21 +0800
|
MIME-Version: | 1.0
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 4.72.3110.5
|
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3
|
Reply-To: | djgpp AT delorie DOT com
|
This is a multi-part message in MIME format.
------=_NextPart_000_0013_01BE67DC.54DEB4A0
Content-Type: text/plain;
charset="hz-gb-2312"
Content-Transfer-Encoding: quoted-printable
hello,
I know that I have to write own code for displaying a mouse in SVGA =
mode.It's a bit boring and difficult to me.I've heard there r some kinds =
of new mouse drivers support SVGA,so where to get it and how to use it =
to show my mouse curser?
Another question:=20
I failed to selectpage of SVGA 101h in my own ISR timer in BORLAND =
C++ 3.1.and I know ISR programming in DJGPP is harder than realmode =
compilers.i know it's not allowed to do dos invoke in ISRs,but what to =
do then, to select SVGA page?
my code is here:
=20
union REGS r;
r.x.ax=3D0x4f05;
r.x.bx=3D0;
r.x.dx=3Dpage;
int86(0x10,&r,&r);
do it out of ISRs is ok.
what's wrong?
thanks a lot!
=20
------=_NextPart_000_0013_01BE67DC.54DEB4A0
Content-Type: text/html;
charset="hz-gb-2312"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3D"text/html; charset=3Dhz-gb-2312" =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>hello,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2> I know that I =
have to write=20
own code for displaying a mouse in SVGA mode.It's a bit boring and =
difficult to=20
me.I've heard there r some kinds of new mouse drivers support SVGA,so =
where to=20
get it and how to use it to show my mouse curser?</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT =
size=3D2> Another=20
question: </FONT></DIV>
<DIV><FONT size=3D2> I failed to selectpage of SVGA =
101h in my=20
own ISR timer in BORLAND C++ 3.1.and I know ISR programming in DJGPP is =
harder=20
than realmode compilers.i know it's not allowed to do dos invoke in =
ISRs,but=20
what to do then, to select SVGA page?</FONT></DIV>
<DIV><FONT size=3D2> my code is here:</FONT></DIV>
<DIV><FONT size=3D2> </FONT></DIV>
<DIV><FONT size=3D2> union REGS r;<BR> =
r.x.ax=3D0x4f05;<BR> =20
r.x.bx=3D0;<BR> r.x.dx=3Dpage;<BR> =20
int86(0x10,&r,&r);</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2> do it out of ISRs is =
ok.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2> what's wrong?</FONT></DIV>
<DIV><FONT size=3D2> thanks a lot!</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2> =
</FONT></DIV></BODY></HTML>
------=_NextPart_000_0013_01BE67DC.54DEB4A0--
- Raw text -