diff options
author | Nigel Barnes <Pernod70@users.noreply.github.com> | 2019-11-07 18:27:49 +0000 |
---|---|---|
committer | Nigel Barnes <Pernod70@users.noreply.github.com> | 2019-11-07 18:27:49 +0000 |
commit | 969e45f525fd2c2b834b7cf107eecc5b5af165e8 (patch) | |
tree | 40963a79ea51fe3da9a677288c9a4c2a642db664 | |
parent | 9f31b2fb9a299a1096455309d96bdd2328459bd6 (diff) |
mtx512: Removed vdp interrupt trampoline (nw)
-rw-r--r-- | src/mame/drivers/mtx.cpp | 11 | ||||
-rw-r--r-- | src/mame/includes/mtx.h | 1 |
2 files changed, 1 insertions, 11 deletions
diff --git a/src/mame/drivers/mtx.cpp b/src/mame/drivers/mtx.cpp index bc802a49a75..072489908d3 100644 --- a/src/mame/drivers/mtx.cpp +++ b/src/mame/drivers/mtx.cpp @@ -269,15 +269,6 @@ TIMER_DEVICE_CALLBACK_MEMBER(mtx_state::cassette_tick) } } -/*------------------------------------------------- - mtx_tms9928a_interface --------------------------------------------------*/ - -WRITE_LINE_MEMBER(mtx_state::mtx_tms9929a_interrupt) -{ - m_z80ctc->trg0(state ? 0 : 1); -} - /*************************************************************************** MACHINE DRIVERS ***************************************************************************/ @@ -298,7 +289,7 @@ void mtx_state::mtx512(machine_config &config) tms9929a_device &vdp(TMS9929A(config, "tms9929a", 10.6875_MHz_XTAL)); vdp.set_screen("screen"); vdp.set_vram_size(0x4000); - vdp.int_callback().set(FUNC(mtx_state::mtx_tms9929a_interrupt)); + vdp.int_callback().set(m_z80ctc, FUNC(z80ctc_device::trg0)).invert(); SCREEN(config, "screen", SCREEN_TYPE_RASTER); /* sound hardware */ diff --git a/src/mame/includes/mtx.h b/src/mame/includes/mtx.h index d35126493e5..361cd3932d4 100644 --- a/src/mame/includes/mtx.h +++ b/src/mame/includes/mtx.h @@ -96,7 +96,6 @@ private: TIMER_DEVICE_CALLBACK_MEMBER(cassette_tick); DECLARE_WRITE_LINE_MEMBER(ctc_trg1_w); DECLARE_WRITE_LINE_MEMBER(ctc_trg2_w); - DECLARE_WRITE_LINE_MEMBER(mtx_tms9929a_interrupt); DECLARE_READ8_MEMBER(mtx_strobe_r); DECLARE_READ8_MEMBER(mtx_sound_strobe_r); DECLARE_WRITE8_MEMBER(mtx_cst_w); |