From 17002db038afe54a31fcfbadd5fa9a12368d2634 Mon Sep 17 00:00:00 2001 From: hap Date: Fri, 4 Aug 2023 11:58:01 +0200 Subject: flower: overclock cpu again --- src/devices/cpu/z80/z80.cpp | 2 +- src/mame/misc/flower.cpp | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/devices/cpu/z80/z80.cpp b/src/devices/cpu/z80/z80.cpp index 24471736584..16988b788c8 100644 --- a/src/devices/cpu/z80/z80.cpp +++ b/src/devices/cpu/z80/z80.cpp @@ -33,7 +33,7 @@ * Now: * + fetch opcode * + call EXEC() - + execute instruction adjusting icount per each Read (arg(), recursive rop()) and Write + * + execute instruction adjusting icount per each Read (arg(), recursive rop()) and Write * Changes in 3.9: * - Fixed cycle counts for LD IYL/IXL/IYH/IXH,n [Marshmellow] * - Fixed X/Y flags in CCF/SCF/BIT, ZEXALL is happy now [hap] diff --git a/src/mame/misc/flower.cpp b/src/mame/misc/flower.cpp index b08dc6d9955..730aba4317b 100644 --- a/src/mame/misc/flower.cpp +++ b/src/mame/misc/flower.cpp @@ -8,6 +8,8 @@ original "wiped off due of not anymore licensable" driver by insideoutboy. TODO: + - CPU speed is probably wrong. The pacing is fine at 3.072MHz, but then + the game locks up sometimes. Or is the cause elsewhere? - priority might be wrong in some places (title screen stars around the galaxy, planet ship 3rd boss, 2nd boss); - sound chips (similar to Namco custom chips?) @@ -503,13 +505,13 @@ void flower_state::slave_irq_ack_w(int state) void flower_state::flower(machine_config &config) { - Z80(config, m_mastercpu, MASTER_CLOCK / 6); // divider unknown + Z80(config, m_mastercpu, MASTER_CLOCK / 4); // divider unknown m_mastercpu->set_addrmap(AS_PROGRAM, &flower_state::shared_map); - Z80(config, m_slavecpu, MASTER_CLOCK / 6); // divider unknown + Z80(config, m_slavecpu, MASTER_CLOCK / 4); // divider unknown m_slavecpu->set_addrmap(AS_PROGRAM, &flower_state::shared_map); - Z80(config, m_audiocpu, MASTER_CLOCK / 6); // divider unknown + Z80(config, m_audiocpu, MASTER_CLOCK / 4); // divider unknown m_audiocpu->set_addrmap(AS_PROGRAM, &flower_state::audio_map); m_audiocpu->set_periodic_int(FUNC(flower_state::irq0_line_hold), attotime::from_hz(90)); -- cgit v1.2.3