/* The INTA*, INTB*, and READY* lines are connected to each PEB card and are pulled up when inactive. If any card asserts the line (pulling down), the line state goes down. So we must keep a record which cards pull down the line. */ void peribox_device::inta_join(int slot, int state) { if (VERBOSE>7) LOG("Peribox propagating INTA from slot %d to console: %d\n", slot, state); if (state==ASSERT_LINE) m_inta_flag |= (1 << slot); else m_inta_flag &= ~(1 << slot); m_console_inta((m_inta_flag != 0)? ASSERT_LINE : CLEAR_LINE); }
/* The INTA*, INTB*, and READY* lines are connected to each PEB card and are pulled up when inactive. If any card asserts the line (pulling down), the line state goes down. So we must keep a record which cards pull down the line. (We're doing a kind of wired-AND here.) */ void peribox_device::inta_join(int slot, int state) { if (TRACE_INT) logerror("%s: propagating INTA from slot %d to console: %d\n", tag(), slot, state); if (state==ASSERT_LINE) m_inta_flag |= (1 << slot); else m_inta_flag &= ~(1 << slot); m_console_inta((m_inta_flag != 0)? ASSERT_LINE : CLEAR_LINE); }