/* When any device pulls down READY, READY goes down. */ void peribox_device::ready_join(int slot, int state) { if (VERBOSE>7) LOG("peribox: Incoming READY=%d from slot %d\n", state, slot); // We store the inverse state if (state==CLEAR_LINE) m_ready_flag |= (1 << slot); else m_ready_flag &= ~(1 << slot); m_datamux_ready((m_ready_flag != 0)? CLEAR_LINE : ASSERT_LINE); }
/* When any device pulls down READY, READY goes down. */ void peribox_device::ready_join(int slot, int state) { if (TRACE_READY) logerror("%s: Incoming READY=%d from slot %d\n", tag(), state, slot); // We store the inverse state if (state==CLEAR_LINE) m_ready_flag |= (1 << slot); else m_ready_flag &= ~(1 << slot); m_datamux_ready((m_ready_flag != 0)? CLEAR_LINE : ASSERT_LINE); }