On Fri, 31 Mar 2000, Andy Valencia wrote:
>>I'm having problems with bochs. It keeps crashing with:
>> bochs: panic, PIC: write to port 20h = 02
>>I decided to give vmware a try rather than figure out why bochs isn't
>>working.
>
>I think I had to deal with this when I brought up VSTa under Bochs. The
>Bochs source dump on our FTP server has this; basically, it's OK for the PIC
>to ignore this I/O port write. There's one other (in the IDE emulation, if
>I recollect) which is the same kind of thing: safe to change the code to
>ignore the operation.
Yup, changing the bx_panic to printf in iodev/pic.cc makes it work. The
patch is:
*** pic.cc 2000/04/01 02:31:42 1.1
--- pic.cc 2000/04/01 02:36:16
***************
*** 294,300 ****
break;
default:
! bx_panic("PIC: write to port 20h = %02x\n", value);
} /* switch (value) */
break;
--- 294,300 ----
break;
default:
! bx_printf("PIC: write to port 20h = %02x\n", value);
} /* switch (value) */
break;
***************
*** 426,432 ****
break;
default:
! bx_panic("PIC: write to port A0h = %02x\n", value);
} /* switch (value) */
break;
--- 426,432 ----
break;
default:
! printf("PIC: write to port A0h = %02x\n", value);
} /* switch (value) */
break;
Received on Fri Mar 31 19:05:23 2000
This archive was generated by hypermail 2.1.8 : Thu Sep 22 2005 - 15:12:56 PDT