mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
boosting the interleave during three way cpu communications speeds up Monster Zero protection check
This commit is contained in:
parent
d61685943c
commit
210830349b
1 changed files with 6 additions and 0 deletions
|
@ -7886,14 +7886,20 @@ void monsterz_state::monsterz(machine_config &config)
|
|||
m_ay8910[0]->port_b_write_callback().set([this](uint8_t data)
|
||||
{
|
||||
if ((m_monsterz_audio_portb & 0x01) && !(data & 0x01))
|
||||
{
|
||||
machine().scheduler().boost_interleave(m_screen->scan_period(), attotime(0, m_screen->refresh_attoseconds()));
|
||||
m_maincpu->set_input_line(0, HOLD_LINE);
|
||||
}
|
||||
m_monsterz_audio_portb = data;
|
||||
});
|
||||
|
||||
m_ppi8255[2]->out_pc_callback().set([this](uint8_t data)
|
||||
{
|
||||
if ((m_monsterz_sample_portc & 0x01) && !(data & 0x01))
|
||||
{
|
||||
machine().scheduler().boost_interleave(m_screen->scan_period(), attotime(0, m_screen->refresh_attoseconds()));
|
||||
m_audiocpu->set_input_line(0, HOLD_LINE);
|
||||
}
|
||||
m_monsterz_sample_portc = data;
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue