f3853: Clear interrupt requests once they are taken

act5a: Fix baud rates (nw)
This commit is contained in:
AJR 2018-08-10 14:59:16 -04:00
parent e13aa84a3c
commit 5fc92f2636
2 changed files with 8 additions and 2 deletions

View File

@ -93,9 +93,15 @@ void f3853_device::set_interrupt_request_line()
return;
if (m_external_enable && !m_priority_line && m_request_flipflop)
{
m_request_flipflop = false;
m_interrupt_req_cb(external_interrupt_vector(), true);
}
else if (m_timer_enable && !m_priority_line && m_request_flipflop)
{
m_request_flipflop = false;
m_interrupt_req_cb(timer_interrupt_vector(), true);
}
else
m_interrupt_req_cb(0, false);
}

View File

@ -122,9 +122,9 @@ TIMER_CALLBACK_MEMBER(microterm_f8_state::baud_clock)
ioport_value rate = m_dsw[1]->read() ^ 0xff;
if (BIT(rate, 7))
m_baud_clock->adjust(attotime::from_hz(110 * 8), !param);
m_baud_clock->adjust(attotime::from_hz(110 * 32), !param);
else
m_baud_clock->adjust(attotime::from_hz(19200 * 8 / rate), !param);
m_baud_clock->adjust(attotime::from_hz(19200 * 32 / rate), !param);
}
u32 microterm_f8_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)