| delorie.com/archives/browse.cgi | search |
| Date: | Thu, 28 Jan 1999 17:13:39 +0200 (IST) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| X-Sender: | eliz AT is |
| To: | Rehammar <rehammar AT telia DOT com> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: __dpmi_int |
| In-Reply-To: | <36b077af.0@d2o25.telia.com> |
| Message-ID: | <Pine.SUN.3.91.990128171233.2551A-100000@is> |
| MIME-Version: | 1.0 |
| Reply-To: | djgpp AT delorie DOT com |
On Thu, 28 Jan 1999, Rehammar wrote:
> I'm trying to show the mouse with the following code:
>
> showMouse()
> {
> __dpmi_regs r;
> r.x.ax=1;
> __dpmi_int(0x10,&r);
> } ^^^^
Mouse interrupt is 33h, not 10h. Use 0x33 as the first argument to
__dpmi_int, and it will work much better ;-).
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |