mirror of
https://github.com/holub/mame
synced 2025-05-16 10:52:43 +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
|
||||
|
@ -195,6 +195,9 @@ public:
|
||||
// put data on the input lines
|
||||
void receive_data(int which, UINT8 data) { m_channel[which].receive_data(data); }
|
||||
|
||||
// interrupt acknowledge
|
||||
int m1_r();
|
||||
|
||||
// control line access
|
||||
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); }
|
||||
|
Loading…
Reference in New Issue
Block a user