zr107: fix lockup issues

This commit is contained in:
Ville Linde 2021-07-04 22:44:19 +03:00
parent e76067a374
commit 3f30f6ea16
2 changed files with 5 additions and 2 deletions

View File

@ -797,7 +797,7 @@ void midnrun_state::midnrun(machine_config &config)
zr107(config);
m_maincpu->set_addrmap(AS_PROGRAM, &midnrun_state::main_memmap);
config.set_maximum_quantum(attotime::from_hz(1500000)); // Very high sync needed to prevent lockups - why?
config.set_maximum_quantum(attotime::from_hz(15000));
// video hardware
m_screen->set_screen_update(FUNC(midnrun_state::screen_update));
@ -813,7 +813,7 @@ void jetwave_state::jetwave(machine_config &config)
zr107(config);
m_maincpu->set_addrmap(AS_PROGRAM, &jetwave_state::main_memmap);
config.set_maximum_quantum(attotime::from_hz(2000000)); // Very high sync needed to prevent lockups - why?
config.set_maximum_quantum(attotime::from_hz(15000));
// video hardware
m_screen->set_size(1024, 1024);

View File

@ -226,7 +226,10 @@ void konppc_device::dsp_comm_sharc_w(int board, int offset, uint32_t data)
if (offset == 1)
{
if (data & 0x03)
{
m_dsp[0]->set_input_line(INPUT_LINE_IRQ2, ASSERT_LINE);
m_dsp[0]->abort_timeslice();
}
}
break;
}