mirror of
https://github.com/holub/mame
synced 2025-07-05 09:57:47 +03:00
Don't accidentally deprive MC68681 of interrupts (nw)
This commit is contained in:
parent
73b75f5c70
commit
fe1fe28b94
@ -280,6 +280,8 @@ void duart_base_device::update_interrupts()
|
|||||||
|
|
||||||
void mc68681_device::update_interrupts()
|
void mc68681_device::update_interrupts()
|
||||||
{
|
{
|
||||||
|
duart_base_device::update_interrupts();
|
||||||
|
|
||||||
if (!irq_pending())
|
if (!irq_pending())
|
||||||
m_read_vector = false; // clear IACK too
|
m_read_vector = false; // clear IACK too
|
||||||
}
|
}
|
||||||
|
@ -165,6 +165,9 @@ protected:
|
|||||||
devcb_write8 write_outport;
|
devcb_write8 write_outport;
|
||||||
int32_t ip3clk, ip4clk, ip5clk, ip6clk;
|
int32_t ip3clk, ip4clk, ip5clk, ip6clk;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
virtual void update_interrupts();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
TIMER_CALLBACK_MEMBER( duart_timer_callback );
|
TIMER_CALLBACK_MEMBER( duart_timer_callback );
|
||||||
|
|
||||||
@ -190,7 +193,6 @@ private:
|
|||||||
int calc_baud(int ch, uint8_t data);
|
int calc_baud(int ch, uint8_t data);
|
||||||
void clear_ISR_bits(int mask);
|
void clear_ISR_bits(int mask);
|
||||||
void set_ISR_bits(int mask);
|
void set_ISR_bits(int mask);
|
||||||
virtual void update_interrupts();
|
|
||||||
|
|
||||||
int get_ch(duart_channel *ch)
|
int get_ch(duart_channel *ch)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user