summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/exprraid.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-04-09 22:34:56 -0400
committer AJR <ajrhacker@users.noreply.github.com>2020-04-09 22:34:56 -0400
commit1afbc5e25b0b3ffdd8195498106a2def5a0f511d (patch)
tree8d90d9482aad0d9a92f51d92902159f7fb5c748a /src/mame/drivers/exprraid.cpp
parent85030d25e70006a35da85159a54f0aeeaaca5e87 (diff)
exprraid.cpp: IRQ cleanup (nw)
Diffstat (limited to 'src/mame/drivers/exprraid.cpp')
-rw-r--r--src/mame/drivers/exprraid.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/mame/drivers/exprraid.cpp b/src/mame/drivers/exprraid.cpp
index 86bef728304..8468609fae9 100644
--- a/src/mame/drivers/exprraid.cpp
+++ b/src/mame/drivers/exprraid.cpp
@@ -469,12 +469,6 @@ static GFXDECODE_START( gfx_exprraid )
GFXDECODE_END
-/* handler called by the 3812 emulator when the internal timers cause an IRQ */
-WRITE_LINE_MEMBER(exprraid_state::irqhandler)
-{
- m_slave->set_input_line_and_vector(0, state, 0xff); // M6809
-}
-
void exprraid_state::machine_start()
{
save_item(NAME(m_prot_value));
@@ -505,10 +499,6 @@ void exprraid_state::exprraid(machine_config &config)
/* video hardware */
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
-// screen.set_refresh_hz(60);
-// screen.set_vblank_time(ATTOSECONDS_IN_USEC(2500)); /* not accurate */
-// screen.set_size(32*8, 32*8);
-// screen.set_visarea(0*8, 32*8-1, 1*8, 31*8-1);
screen.set_raw(XTAL(12'000'000)/2, 384, 0, 256, 262, 8, 256-8); /* not accurate */
screen.set_screen_update(FUNC(exprraid_state::screen_update_exprraid));
screen.set_palette(m_palette);
@@ -526,7 +516,7 @@ void exprraid_state::exprraid(machine_config &config)
ym1.add_route(ALL_OUTPUTS, "mono", 0.30);
ym3526_device &ym2(YM3526(config, "ym2", XTAL(12'000'000) / 4));
- ym2.irq_handler().set(FUNC(exprraid_state::irqhandler));
+ ym2.irq_handler().set_inputline(m_slave, M6809_IRQ_LINE);
ym2.add_route(ALL_OUTPUTS, "mono", 0.60);
}