summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Olivier Galibert <olivier.galibert@lne.fr>2016-11-07 15:11:32 +0100
committer Olivier Galibert <olivier.galibert@lne.fr>2016-11-07 15:11:32 +0100
commita60731323599ab4d624adba7a73333037670430d (patch)
tree5d6e05da4154c30621e9d57a5095ab0793446036
parente2d235535271e05c499c8866b63d14bb0e21360f (diff)
ncd5390: Implement (ah!) selection disable [O. Galibert]
-rw-r--r--src/devices/machine/ncr5390.cpp6
1 files changed, 5 insertions, 1 deletions
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;