Exposed the Z80 DART interrupt vector to non-Z80 users. [Curt Coder]

This commit is contained in:
Curt Coder 2011-09-26 15:41:02 +00:00
parent eb8cecdb9b
commit 79d92d00a1
2 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -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); }