inline void mc68901_device::check_interrupts() { if (m_ipr & m_imr) { m_out_irq_cb(ASSERT_LINE); } else { m_out_irq_cb(CLEAR_LINE); } }
void msx_cart_sfg_device::check_irq() { if (m_ym2151_irq_state != CLEAR_LINE || m_ym2148_irq_state != CLEAR_LINE) { m_out_irq_cb(ASSERT_LINE); } else { m_out_irq_cb(CLEAR_LINE); } }
void tpi6525_device::clear_interrupt() { if (m_interrupt_level && (m_air == 0)) { m_interrupt_level = 0; DBG_LOG(machine(), 3, "tpi6525", ("%s clear interrupt\n", tag())); m_out_irq_cb(m_interrupt_level); } }
void tpi6525_device::set_interrupt() { if (!m_interrupt_level && (m_air != 0)) { m_interrupt_level = 1; DBG_LOG(machine(), 3, "tpi6525", ("%s set interrupt\n", tag())); m_out_irq_cb(m_interrupt_level); } }
void a2bus_device::set_irq_line(int state, int slot) { m_out_irq_cb(state); if (state == CLEAR_LINE) { m_slot_irq_mask &= ~(1<<slot); } else if (state == ASSERT_LINE) { m_slot_irq_mask |= (1<<slot); } }
inline void hd64610_device::set_irq_line() { int irq_out = (((m_regs[REG_CRA] & CRA_CF) && (m_regs[REG_CRA] & CRA_CIE)) || ((m_regs[REG_CRA] & CRA_AF) && (m_regs[REG_CRA] & CRA_AIE))) ? 0 : 1; if (m_irq_out != irq_out) { if (LOG) logerror("HD64610 '%s' IRQ %u\n", tag(), irq_out); m_out_irq_cb(irq_out); m_irq_out = irq_out; } }
void a1bus_device::set_irq_line(int state) { m_out_irq_cb(state); }