Re: Bochs / plex86 (was Re: C++?)

From: Paul Hepworth <paul1+vsta_at_nospam.org>
Date: Mon Mar 01 2004 - 16:44:48 PST

> I get the following from bochs.
> 01251466473p[PIC ] >>PANIC<< write to port 20h = 02

Here's the patch for the 2.1.1 bochs iodev/pic.cc:

--- pic.cc 2004/03/02 00:40:55 1.2
+++ pic.cc 2004/03/02 00:42:06
@@ -368,6 +368,10 @@
           service_master_pic();
           break;

+ case 0x02: // single mode bit: 1 = single, 0 = casecade
+ // ignore. VSTa writes this value but works with it ignored.
+ break;
+
         default:
           BX_PANIC(("write to port 20h = %02x", value));
        } /* switch (value) */
@@ -545,6 +549,10 @@
           service_slave_pic();
           break;

+ case 0x02: // single mode bit: 1 = single, 0 = casecade
+ // ignore. VSTa writes this value but works with it ignored.
+ break;
+
         default:
           BX_PANIC(("write to port A0h = %02x", value));
        } /* switch (value) */

If anyone wants a win32 binary of Bochs 2.1.1 with this patch, let me know.
I have a working disk image with VSTa installed, too; but I'll want to make
a smaller one before distributing it.

Paul
Received on Mon, 1 Mar 2004 17:44:48 -0700

This archive was generated by hypermail 2.1.8 : Tue Sep 26 2006 - 09:03:07 PDT