mirror of
https://github.com/holub/mame
synced 2025-04-19 23:12:11 +03:00
fmtowns: fill pcm ram with 0xff at power-on
This commit is contained in:
parent
79339c28ab
commit
07d0bf3763
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user