rmnimbus: move m1_r to callback

This commit is contained in:
cracyc 2020-09-03 10:29:29 -05:00
parent 69406ddcc7
commit 4a0e04f458

View file

@ -191,7 +191,7 @@ void rmnimbus_state::external_int(uint8_t vector, bool state)
uint8_t rmnimbus_state::cascade_callback()
{
m_maincpu->int0_w(0);
return m_vector;
return !m_vector ? m_z80sio->m1_r() : m_vector;
}
void rmnimbus_state::machine_reset()
@ -987,7 +987,7 @@ WRITE_LINE_MEMBER(rmnimbus_state::sio_interrupt)
if(LOG_SIO)
logerror("SIO Interrupt state=%02X\n",state);
external_int(m_z80sio->m1_r(), state);
external_int(0, state);
}
/* Floppy disk */