diff options
author | Olivier Galibert <galibert@pobox.com> | 2021-02-07 22:50:23 +0100 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2021-02-08 13:10:13 +0100 |
commit | 123cd2000030ba5e95bbb83581002127cc6ea477 (patch) | |
tree | 2158375a255440f53ae3e31b6f8f6bf6d4fb9676 | |
parent | 354ec397640987f8b3c98f37797a57f0ef4d9d1e (diff) |
apple2gs/iwm: Work
-rw-r--r-- | src/devices/machine/iwm.cpp | 5 | ||||
-rw-r--r-- | src/mame/drivers/apple2gs.cpp | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/machine/iwm.cpp b/src/devices/machine/iwm.cpp index c408ea6741b..b1a9830cd4c 100644 --- a/src/devices/machine/iwm.cpp +++ b/src/devices/machine/iwm.cpp @@ -219,7 +219,7 @@ u8 iwm_device::control(int offset, u8 data) m_rw = MODE_IDLE; } - if(0) { + if(1) { u8 s = m_control & 0xc0; const char *slot = "?"; if(s == 0x00 && !m_active) @@ -388,6 +388,7 @@ void iwm_device::sync() if(is_sync()) { if(m_rsh >= 0x80) { m_data = m_rsh; + logerror("%s %010d DATAR2 %s %02x\n", cycles_to_time(m_last_sync).to_string(), m_last_sync, m_floppy->tag(), m_data); m_rsh = 0; } else if(m_rsh >= 0x04) { m_data = m_rsh; @@ -398,7 +399,7 @@ void iwm_device::sync() } else if(m_rsh >= 0x80) { m_data = m_rsh; m_async_update = 0; - // logerror("%s %010d DATAR %s %02x\n", cycles_to_time(m_last_sync).to_string(), m_last_sync, m_floppy->tag(), m_data); + logerror("%s %010d DATAR %s %02x\n", cycles_to_time(m_last_sync).to_string(), m_last_sync, m_floppy->tag(), m_data); m_rsh = 0; } break; diff --git a/src/mame/drivers/apple2gs.cpp b/src/mame/drivers/apple2gs.cpp index 6452d3d7385..9146c767bdd 100644 --- a/src/mame/drivers/apple2gs.cpp +++ b/src/mame/drivers/apple2gs.cpp @@ -726,7 +726,7 @@ private: m_slow_counter += 0x0001999a; \ int cycles = (m_slow_counter >> 16) & 0xffff; \ m_slow_counter &= 0xffff; \ - m_maincpu->adjust_icount(-cycles); \ + if(0) m_maincpu->adjust_icount(-cycles); \ } \ } |