Author: hbelusca
Date: Fri Aug 9 13:06:01 2013
New Revision: 59677
URL:
http://svn.reactos.org/svn/reactos?rev=59677&view=rev
Log:
[NTVDM]
Implement INT 10h, function 04h (Query Light Pen) (deprecated)
Modified:
branches/ntvdm/subsystems/ntvdm/bios.c
Modified: branches/ntvdm/subsystems/ntvdm/bios.c
URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/subsystems/ntvdm/bios.c?r…
==============================================================================
--- branches/ntvdm/subsystems/ntvdm/bios.c [iso-8859-1] (original)
+++ branches/ntvdm/subsystems/ntvdm/bios.c [iso-8859-1] Fri Aug 9 13:06:01 2013
@@ -667,6 +667,17 @@
break;
}
+ /* Query Light Pen */
+ case 0x04:
+ {
+ /*
+ * On modern BIOSes, this function returns 0
+ * so that we can ignore the other registers.
+ */
+ EmulatorSetRegister(EMULATOR_REG_AX, 0);
+ break;
+ }
+
/* Select Active Display Page */
case 0x05:
{