From ee0b5e696935c60c33da38be722acabbce3b97f3 Mon Sep 17 00:00:00 2001
From: Andreas Mohr <cipam895@cip1.ind.uni-stuttgart.de>
Date: Sun, 11 Apr 1999 18:48:17 +0000
Subject: [PATCH] Fixed "Display Combination" call.

---
 msdos/int10.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/msdos/int10.c b/msdos/int10.c
index e22bf36ec38..0881ca93d4e 100644
--- a/msdos/int10.c
+++ b/msdos/int10.c
@@ -287,6 +287,9 @@ void WINAPI INT_Int10Handler( CONTEXT *context )
 		/* maby we should do this instead ? */
 		/* AH_reg(context = 0x001; not implemented so just fail */
 		break;
+	case 0x09: /* SET PALETTE ENTRIES */
+		FIXME(int10, "VESA Set palette entries - not implemented\n");
+		break;
 	case 0xff: /* Turn VESA ON/OFF */
 		/* i dont know what to do */
 		break;
@@ -681,9 +684,9 @@ else {
         switch AL_reg(context) {
         case 0x00: /* GET DISPLAY COMBINATION CODE */
             TRACE(int10, "Get Display Combination Code\n");
-            AL_reg(context) = 0x1a;
-            BH_reg(context) = 0x08; /* VGA w/ color analog display */
-            BL_reg(context) = 0x00; /* No secondary hardware */
+            AX_reg(context) = 0x001a;
+            BL_reg(context) = 0x08; /* VGA w/ color analog display */
+            BH_reg(context) = 0x00; /* No secondary hardware */
             break;
         case 0x01: /* SET DISPLAY COMBINATION CODE */
             FIXME(int10, "Set Display Combination Code - Not Supported\n");
-- 
GitLab