PATCH: int33 21h
Michael Stefaniuc
mstefani at redhat.de
Mon Sep 1 17:49:21 CDT 2003
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 at 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 at redhat.com
Hauptstaetterstr. 58 http://www.redhat.de/
D-70178 Stuttgart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030902/0c36a47f/attachment.pgp
More information about the wine-patches
mailing list