diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2017-11-22 13:50:02 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2017-11-22 13:50:02 -0500 |
commit | 34a37860d51dc35f0483377cd15e09d88523f8fc (patch) | |
tree | 2d9215ef5ee86f8f68c48bf6bc45d6b792286bfd | |
parent | ece77cc3319c8196e3a0a1de69908a725da14327 (diff) |
esq1.cpp: Minor cleanup (nw)
-rw-r--r-- | src/mame/drivers/esq1.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mame/drivers/esq1.cpp b/src/mame/drivers/esq1.cpp index f91727df6a3..a4724698827 100644 --- a/src/mame/drivers/esq1.cpp +++ b/src/mame/drivers/esq1.cpp @@ -409,7 +409,6 @@ public: DECLARE_WRITE8_MEMBER(mapper_w); DECLARE_WRITE8_MEMBER(analog_w); - DECLARE_WRITE_LINE_MEMBER(duart_irq_handler); DECLARE_WRITE_LINE_MEMBER(duart_tx_a); DECLARE_WRITE_LINE_MEMBER(duart_tx_b); DECLARE_WRITE8_MEMBER(duart_output); @@ -537,11 +536,6 @@ ADDRESS_MAP_END // OP5 = metronome hi // OP6/7 = tape out -WRITE_LINE_MEMBER(esq1_state::duart_irq_handler) -{ - m_maincpu->set_input_line(M6809_IRQ_LINE, state); -} - WRITE8_MEMBER(esq1_state::duart_output) { int bank = ((data >> 1) & 0x7); @@ -590,7 +584,7 @@ static MACHINE_CONFIG_START( esq1 ) MCFG_DEVICE_ADD("duart", MC68681, 4000000) MCFG_MC68681_SET_EXTERNAL_CLOCKS(500000, 500000, 1000000, 1000000) - MCFG_MC68681_IRQ_CALLBACK(WRITELINE(esq1_state, duart_irq_handler)) + MCFG_MC68681_IRQ_CALLBACK(INPUTLINE("maincpu", M6809_IRQ_LINE)) MCFG_MC68681_A_TX_CALLBACK(WRITELINE(esq1_state, duart_tx_a)) MCFG_MC68681_B_TX_CALLBACK(WRITELINE(esq1_state, duart_tx_b)) MCFG_MC68681_OUTPORT_CALLBACK(WRITE8(esq1_state, duart_output)) |