diff options
author | 2021-04-28 12:10:31 +0200 | |
---|---|---|
committer | 2021-04-28 12:10:47 +0200 | |
commit | 07d0bf3763b7db4d8f93fbcd7a0be585ca47b10f (patch) | |
tree | 24516965dbf0387601f8bc7929aced533c7d3130 | |
parent | 79339c28ab85e4dc0f675b7919b0f7c3232a0903 (diff) |
fmtowns: fill pcm ram with 0xff at power-on
-rw-r--r-- | src/mame/drivers/fmtowns.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mame/drivers/fmtowns.cpp b/src/mame/drivers/fmtowns.cpp index 85891a02bea..f86b7f7ea0c 100644 --- a/src/mame/drivers/fmtowns.cpp +++ b/src/mame/drivers/fmtowns.cpp @@ -2762,6 +2762,11 @@ void towns_state::machine_start() if (m_flop[1]->get_device()) m_flop[1]->get_device()->set_rpm(360); + // unitialized PCM RAM filled with 0xff (fmtmarty chasehq relies on that) + address_space &space = subdevice<rf5c68_device>("pcm")->space(0); + for (int i = 0; i < 0x10000; i++) + space.write_byte(i, 0xff); + m_timer0 = 0; m_timer1 = 0; m_serial_irq_enable = 0; |