From a60731323599ab4d624adba7a73333037670430d Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Mon, 7 Nov 2016 15:11:32 +0100 Subject: [PATCH] ncd5390: Implement (ah!) selection disable [O. Galibert] --- src/devices/machine/ncr5390.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/devices/machine/ncr5390.cpp b/src/devices/machine/ncr5390.cpp index 4ae2f6c5f7b..4fc9257a009 100644 --- a/src/devices/machine/ncr5390.cpp +++ b/src/devices/machine/ncr5390.cpp @@ -612,7 +612,7 @@ READ8_MEMBER(ncr5390_device::command_r) WRITE8_MEMBER(ncr5390_device::command_w) { - // logerror("%s: command_w %02x (%08x)\n", tag(), data, space.device().safe_pc()); + logerror("%s: command_w %02x (%08x)\n", tag(), data, space.device().safe_pc()); if(command_pos == 2) { status |= S_GROSS_ERROR; check_irq(); @@ -679,6 +679,10 @@ void ncr5390_device::start_command() command_pop_and_chain(); break; + case CD_DISABLE_SEL: + command_pop_and_chain(); + break; + case CI_XFER: state = INIT_XFR; xfr_phase = scsi_bus->ctrl_r() & S_PHASE_MASK;