[NTVDM]: We do not have an Extended BIOS Data Area yet. Make INT 15h, C1h report...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 28 Sep 2014 21:48:46 +0000 (21:48 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 28 Sep 2014 21:48:46 +0000 (21:48 +0000)
svn path=/trunk/; revision=64381

reactos/subsystems/ntvdm/bios/bios32/bios32.c

index fa4bc01..f6138d9 100644 (file)
@@ -240,10 +240,22 @@ static VOID WINAPI BiosMiscService(LPWORD Stack)
             break;
         }
 
+        /* Return Extended-Bios Data-Area Segment Address (PS) */
         case 0xC1:
+        {
+            // Stack[STACK_FLAGS] &= ~EMULATOR_FLAG_CF;
+            // setES(???);
+
+            /* We do not support EBDA yet */
+            Stack[STACK_FLAGS] |= EMULATOR_FLAG_CF;
+
+            break;
+        }
+
+        /* Pointing Device BIOS Interface (PS) */
         case 0xC2:
         {
-            DPRINT1("INT 15h, AH = 0x%02X must be implemented in order to support vendor mouse drivers\n");
+            DPRINT1("INT 15h, AH = C2h must be implemented in order to support vendor mouse drivers\n");
             break;
         }