mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
stupid git
This commit is contained in:
parent
28759e0ec2
commit
4dc7a77807
1 changed files with 4 additions and 16 deletions
|
@ -388,10 +388,7 @@ WRITE_LINE_MEMBER(peribox_device::clock_in)
|
|||
void peribox_device::inta_join(int slot, int state)
|
||||
{
|
||||
LOGMASKED(LOG_INT, "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);
|
||||
util::set_bit(m_inta_flag, slot, state==ASSERT_LINE);
|
||||
|
||||
if (m_ioport_connected)
|
||||
set_extint((m_inta_flag != 0)? ASSERT_LINE : CLEAR_LINE);
|
||||
|
@ -402,10 +399,7 @@ void peribox_device::inta_join(int slot, int state)
|
|||
void peribox_device::intb_join(int slot, int state)
|
||||
{
|
||||
LOGMASKED(LOG_INT, "propagating INTB from slot %d to console: %d\n", slot, state);
|
||||
if (state==ASSERT_LINE)
|
||||
m_intb_flag |= (1 << slot);
|
||||
else
|
||||
m_intb_flag &= ~(1 << slot);
|
||||
util::set_bit(m_intb_flag, slot, state==ASSERT_LINE);
|
||||
|
||||
// Not propagated to console
|
||||
if (!m_ioport_connected)
|
||||
|
@ -415,10 +409,7 @@ void peribox_device::intb_join(int slot, int state)
|
|||
void peribox_device::lcp_join(int slot, int state)
|
||||
{
|
||||
LOGMASKED(LOG_INT, "propagating LCP from slot %d to SGCPU: %d\n", slot, state);
|
||||
if (state==ASSERT_LINE)
|
||||
m_lcp_flag |= (1 << slot);
|
||||
else
|
||||
m_lcp_flag &= ~(1 << slot);
|
||||
util::set_bit(m_lcp_flag, slot, state==ASSERT_LINE);
|
||||
|
||||
// Not propagated to console
|
||||
if (!m_ioport_connected)
|
||||
|
@ -432,10 +423,7 @@ void peribox_device::ready_join(int slot, int state)
|
|||
{
|
||||
LOGMASKED(LOG_READY, "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);
|
||||
util::set_bit(m_ready_flag, slot, state==CLEAR_LINE);
|
||||
|
||||
if (m_ioport_connected)
|
||||
set_ready((m_ready_flag != 0)? CLEAR_LINE : ASSERT_LINE);
|
||||
|
|
Loading…
Reference in a new issue