diff --git a/src/mame/drivers/panicr.c b/src/mame/drivers/panicr.c index d3f7de4ebc4..f1be175d0cc 100644 --- a/src/mame/drivers/panicr.c +++ b/src/mame/drivers/panicr.c @@ -512,10 +512,10 @@ static INPUT_PORTS_START( panicr ) PORT_DIPSETTING( 0x10, "10k 20k" ) PORT_DIPSETTING( 0x08, "20k 40k" ) PORT_DIPSETTING( 0x00, "50k 100k" ) - PORT_DIPNAME( 0x60, 0x40, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:6,7") + PORT_DIPNAME( 0x60, 0x20, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:6,7") PORT_DIPSETTING( 0x00, "4" ) - PORT_DIPSETTING( 0x20, "2" ) - PORT_DIPSETTING( 0x40, "3" ) + PORT_DIPSETTING( 0x20, "3" ) + PORT_DIPSETTING( 0x40, "2" ) PORT_DIPSETTING( 0x60, "1" ) PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW2:8") PORT_DIPSETTING( 0x80, DEF_STR( Upright ) ) diff --git a/src/mess/drivers/pc9801.c b/src/mess/drivers/pc9801.c index b94a8bbdda9..b4b04472496 100644 --- a/src/mess/drivers/pc9801.c +++ b/src/mess/drivers/pc9801.c @@ -1795,10 +1795,16 @@ READ8_MEMBER( pc9801_state::sasi_status_r ) WRITE8_MEMBER( pc9801_state::sasi_ctrl_w ) { /* - ---- ---- + x--- ---- channel enable + -x-- ---- read switch + --x- ---- sel ---- x--- reset line + ---- --x- dma enable + ---- ---x irq enable */ + m_scsibus->scsi_sel_w(BIT(data, 5)); + if(m_sasi.ctrl & 8 && ((data & 8) == 0)) // 1 -> 0 transition { m_sasibus->scsi_rst_w(1);