summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/am9517a.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/am9517a.cpp')
-rw-r--r--src/devices/machine/am9517a.cpp25
1 files changed, 4 insertions, 21 deletions
diff --git a/src/devices/machine/am9517a.cpp b/src/devices/machine/am9517a.cpp
index 55a5cab0d8c..cd6955b63ed 100644
--- a/src/devices/machine/am9517a.cpp
+++ b/src/devices/machine/am9517a.cpp
@@ -817,22 +817,9 @@ WRITE8_MEMBER( am9517a_device::write )
switch (offset & 0x0f)
{
case REGISTER_COMMAND:
- {
- bool old_dack_active_high = COMMAND_DACK_ACTIVE_HIGH;
- bool old_dreq_active_low = COMMAND_DREQ_ACTIVE_LOW;
- m_command = data;
- LOG("AM9517A Command Register: %02x\n", m_command);
+ m_command = data;
- if (old_dack_active_high != COMMAND_DACK_ACTIVE_HIGH)
- {
- set_dack(); // Line values for DACK changed, update them to reflect the new state.
- }
- if (old_dreq_active_low != COMMAND_DREQ_ACTIVE_LOW)
- {
- // Invert the request bits because the interpretation of line levels has changed
- m_status ^= 0xF0;
- }
- }
+ LOG("AM9517A Command Register: %02x\n", m_command);
break;
case REGISTER_REQUEST:
@@ -894,12 +881,8 @@ WRITE8_MEMBER( am9517a_device::write )
case REGISTER_MASTER_CLEAR:
LOG("AM9517A Master Clear\n");
- {
- // Even the master reset should not clear the state of the input lines.
- int stored_status = m_status;
- device_reset();
- m_status = stored_status & 0xF0;
- }
+
+ device_reset();
break;
case REGISTER_CLEAR_MASK: