mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
f3853: Clear interrupt requests once they are taken
act5a: Fix baud rates (nw)
This commit is contained in:
parent
e13aa84a3c
commit
5fc92f2636
@ -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);
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user