- ignore single mode command 0x02 (386BSD writes it, but works with it ignored)

This commit is contained in:
Volker Ruppert 2010-05-18 17:48:48 +00:00
parent 5471cfbc34
commit fd477dac71

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: pic.cc,v 1.56 2009-12-04 19:50:29 sshwarts Exp $
// $Id: pic.cc,v 1.57 2010-05-18 17:48:48 vruppert Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002-2009 The Bochs Project
@ -381,6 +381,10 @@ void bx_pic_c::write(Bit32u address, Bit32u value, unsigned io_len)
service_master_pic();
break;
case 0x02: // single mode bit: 1 = single, 0 = cascade
// ignore. 386BSD writes this value but works with it ignored.
break;
default:
BX_PANIC(("write to port 20h = %02x", value));
} /* switch (value) */
@ -556,6 +560,10 @@ void bx_pic_c::write(Bit32u address, Bit32u value, unsigned io_len)
service_slave_pic();
break;
case 0x02: // single mode bit: 1 = single, 0 = cascade
// ignore. 386BSD writes this value but works with it ignored.
break;
default:
BX_PANIC(("write to port A0h = %02x", value));
} /* switch (value) */