diff options
author | Olivier Galibert <galibert@pobox.com> | 2021-03-21 21:44:43 +0100 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2021-03-21 21:45:08 +0100 |
commit | c956d82bc225d256cd88d8bcbf4e69c90e3f2a6e (patch) | |
tree | d836be387dcfdc73e44c810bd0f53f44f25043fc | |
parent | 025183d82c38c9af7ff88bc1db1556ff951822b0 (diff) |
mac128: Correct the macse iwm clock, correct the cycle adjustment
-rw-r--r-- | src/mame/drivers/mac128.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mac128.cpp b/src/mame/drivers/mac128.cpp index 43b184c2c81..6abd0a12e8a 100644 --- a/src/mame/drivers/mac128.cpp +++ b/src/mame/drivers/mac128.cpp @@ -698,7 +698,7 @@ void mac128_state::via_sync() uint64_t vpa_cycle = cur_cycle+2; uint64_t via_start_cycle = (vpa_cycle + 9) / 10; uint64_t end_cycle = via_start_cycle * 10 + 4; - m_maincpu->adjust_icount(cur_cycle - end_cycle - 4); // 4 cycles already counted by the core + m_maincpu->adjust_icount(cur_cycle - end_cycle + 4); // 4 cycles already counted by the core } uint16_t mac128_state::mac_via_r(offs_t offset) @@ -1184,7 +1184,7 @@ void mac128_state::macse(machine_config &config) config.device_remove("pds"); config.device_remove("scsibus"); - IWM(config.replace(), m_iwm, C7M); + IWM(config.replace(), m_iwm, C7M*2); m_iwm->phases_cb().set(FUNC(mac128_state::phases_w)); m_iwm->devsel_cb().set(FUNC(mac128_state::devsel_se_w)); |