PATCH: int33 21h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Ralf Brown's interrupt list says about int33 funtion 21h:
"Note: This call is identical to funtion 00h, but does not reset the
mouse". As we don't reset the mouse in 00h anyway both functions are
completly identical in wine.
int33 21h is called first by dos32a.exe and if that fails it reverts to
int33 00h. With the attached patch applied only the first function is
called.

License: X11, LGPL
Changelog:
	Michael Stefaniuc <mstefani@redhat.com>
	- int33 21h is identical to int33 00h

Index: dlls/winedos/int33.c
===================================================================
RCS file: /home/wine/wine/dlls/winedos/int33.c,v
retrieving revision 1.12
diff -u -r1.12 int33.c
--- dlls/winedos/int33.c	29 Aug 2003 22:13:27 -0000	1.12
+++ dlls/winedos/int33.c	1 Sep 2003 22:39:00 -0000
@@ -50,6 +50,7 @@
 {
   switch (LOWORD(context->Eax)) {
   case 0x00:
+  case 0x21:
     TRACE("Reset mouse driver and request status\n");
     SET_AX( context, 0xFFFF ); /* installed */
     SET_BX( context, 3 );      /* # of buttons */



bye
	michael
-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
System Administration           Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani@redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart

Attachment: pgp00177.pgp
Description: PGP signature


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux