Author: hbelusca
Date: Sat Sep 13 20:37:56 2014
New Revision: 64135
URL:
http://svn.reactos.org/svn/reactos?rev=64135&view=rev
Log:
[NTVDM]: Return mouse information for INT 33h, AX=00h. Needed for apps that check for the
mouse.
Modified:
trunk/reactos/subsystems/ntvdm/bios/bios32/moubios32.c
Modified: trunk/reactos/subsystems/ntvdm/bios/bios32/moubios32.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/ntvdm/bios/bios…
==============================================================================
--- trunk/reactos/subsystems/ntvdm/bios/bios32/moubios32.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/ntvdm/bios/bios32/moubios32.c [iso-8859-1] Sat Sep 13
20:37:56 2014
@@ -130,6 +130,10 @@
DriverState.GraphicsCursor.CursorMask[14] = 0x0030; // 0000000000110000
DriverState.GraphicsCursor.CursorMask[15] = 0x0000; // 0000000000000000
+ /* Return mouse information */
+ setAX(0xFFFF); // Hardware & driver installed
+ setBX(NUM_MOUSE_BUTTONS);
+
break;
}