[PATCH] rombios: set int vector 1Dh to zero

"Sebastian Herbszt" <[email protected]>
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <C462DEB232F44973A5402F60105AC129@FSCPC>
Set INT vector 1Dh to zero; MDA/CGA Video Parameter Table is not available.

Sebastian

Index: bios/rombios.c
===================================================================
--- bios.orig/rombios.c
+++ bios/rombios.c
@@ -10716,6 +10716,9 @@ post_default_slave_pic_ints:
   ;; System Services
   SET_INT_VECTOR(0x15, #0xF000, #int15_handler)
 
+  ;; MDA/CGA Video Parameter Table is not available
+  SET_INT_VECTOR(0x1D, #0, #0)
+
   ;; set vectors 0x60 - 0x67h to zero (0:180..0:19f)
   xor  ax, ax
   mov  cx, #0x0010 ;; 16 words

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d

_______________________________________________
bochs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bochs-developers
set_int_1dh_to_zero.diff (application/octet-stream, 447 B)
Index: bios/rombios.c
===================================================================
--- bios.orig/rombios.c
+++ bios/rombios.c
@@ -10716,6 +10716,9 @@ post_default_slave_pic_ints:
   ;; System Services
   SET_INT_VECTOR(0x15, #0xF000, #int15_handler)
 
+  ;; MDA/CGA Video Parameter Table is not available
+  SET_INT_VECTOR(0x1D, #0, #0)
+
   ;; set vectors 0x60 - 0x67h to zero (0:180..0:19f)
   xor  ax, ax
   mov  cx, #0x0010 ;; 16 words
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.