fmtowns: fill pcm ram with 0xff at power-on

This commit is contained in:
hap 2021-04-28 12:10:31 +02:00
parent 79339c28ab
commit 07d0bf3763

View File

@ -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;