xor100.c: Make it possible to actually debug the system (nw)

This commit is contained in:
Wilbert Pol 2014-07-28 09:05:38 +00:00
parent 6b8acd5d5b
commit a000e9287c

View File

@ -184,10 +184,13 @@ READ8_MEMBER( xor100_state::fdc_wait_r )
*/ */
if (!m_fdc_irq && !m_fdc_drq) if (!space.debugger_access())
{ {
fatalerror("Z80 WAIT not supported by MAME core\n"); if (!m_fdc_irq && !m_fdc_drq)
m_maincpu->set_input_line(Z80_INPUT_LINE_WAIT, ASSERT_LINE); {
fatalerror("Z80 WAIT not supported by MAME core\n");
m_maincpu->set_input_line(Z80_INPUT_LINE_WAIT, ASSERT_LINE);
}
} }
return !m_fdc_irq << 7; return !m_fdc_irq << 7;