mirror of
https://github.com/holub/mame
synced 2025-05-17 11:15:06 +03:00
Exposed the Z80 DART interrupt vector to non-Z80 users. [Curt Coder]
This commit is contained in:
parent
eb8cecdb9b
commit
79d92d00a1
@ -422,6 +422,16 @@ void z80dart_device::take_interrupt(int priority)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//-------------------------------------------------
|
||||||
|
// m1_r - interrupt acknowledge
|
||||||
|
//-------------------------------------------------
|
||||||
|
|
||||||
|
int z80dart_device::m1_r()
|
||||||
|
{
|
||||||
|
return z80daisy_irq_ack();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//**************************************************************************
|
//**************************************************************************
|
||||||
// DART CHANNEL
|
// DART CHANNEL
|
||||||
|
@ -195,6 +195,9 @@ public:
|
|||||||
// put data on the input lines
|
// put data on the input lines
|
||||||
void receive_data(int which, UINT8 data) { m_channel[which].receive_data(data); }
|
void receive_data(int which, UINT8 data) { m_channel[which].receive_data(data); }
|
||||||
|
|
||||||
|
// interrupt acknowledge
|
||||||
|
int m1_r();
|
||||||
|
|
||||||
// control line access
|
// control line access
|
||||||
void cts_w(int which, int state) { m_channel[which].cts_w(state); }
|
void cts_w(int which, int state) { m_channel[which].cts_w(state); }
|
||||||
void dcd_w(int which, int state) { m_channel[which].dcd_w(state); }
|
void dcd_w(int which, int state) { m_channel[which].dcd_w(state); }
|
||||||
|
Loading…
Reference in New Issue
Block a user