[NTVDM]
authorSylvain Petreolle <spetreolle@yahoo.fr>
Fri, 16 Aug 2013 18:33:24 +0000 (18:33 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Fri, 16 Aug 2013 18:33:24 +0000 (18:33 +0000)
Report VGA card as present.

svn path=/branches/ntvdm/; revision=59751

subsystems/ntvdm/bios.c

index e9f9d3d..cb5f9d5 100644 (file)
@@ -907,6 +907,24 @@ VOID BiosVideoService(LPWORD Stack)
             break;
         }
 
             break;
         }
 
+        /* Display combination code */
+        case 0x1A:
+        {
+            switch(LOBYTE(Eax))
+            {
+                case 0x00: /* Get Display combiantion code */
+                   EmulatorSetRegister(EMULATOR_REG_AX, MAKEWORD(0x1A, 0x1A));
+                   EmulatorSetRegister(EMULATOR_REG_BX, MAKEWORD(0x08, 0x0)); /* VGA w/ color analog display */
+                   break;
+                case 0x01: /* Set Display combination code */
+                   DPRINT1("Set Display combination code - Unsupported\n");
+                   break;
+                default:
+                   break;
+            }
+            break;
+        }
+
         default:
         {
             DPRINT1("BIOS Function INT 10h, AH = 0x%02X NOT IMPLEMENTED\n",
         default:
         {
             DPRINT1("BIOS Function INT 10h, AH = 0x%02X NOT IMPLEMENTED\n",