summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2011-05-02 01:24:07 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2011-05-02 01:24:07 +0000
commitd2c1a70fc2be52d570a675f36d431eced28049f9 (patch)
treee791504fcc1e834bf44b1c1ffdfa9d628c45f7e4 /src
parenta70ef51f08d218e2922134bd237f4fc1249b7968 (diff)
Included tentative experiment for Hot Chase ... still not perfect though (especially noticeable with sound) ...
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/equites.c29
-rw-r--r--src/mame/drivers/espial.c45
-rw-r--r--src/mame/drivers/exedexes.c18
-rw-r--r--src/mame/drivers/exidy.c3
-rw-r--r--src/mame/drivers/finalizr.c27
-rw-r--r--src/mame/drivers/wecleman.c45
-rw-r--r--src/mame/drivers/zodiack.c1
-rw-r--r--src/mame/includes/espial.h1
-rw-r--r--src/mame/includes/exidy.h1
-rw-r--r--src/mame/video/exidy.c11
10 files changed, 97 insertions, 84 deletions
diff --git a/src/mame/drivers/equites.c b/src/mame/drivers/equites.c
index e4d1d866136..40975593fe2 100644
--- a/src/mame/drivers/equites.c
+++ b/src/mame/drivers/equites.c
@@ -366,7 +366,6 @@ D
#include "emu.h"
#include "cpu/m68000/m68000.h"
#include "cpu/alph8201/alph8201.h"
-#include "deprecat.h"
#include "cpu/i8085/i8085.h"
#include "sound/ay8910.h"
#include "sound/msm5232.h"
@@ -580,12 +579,26 @@ static void equites_msm5232_gate( device_t *device, int state )
// Interrupt Handlers
// Equites Hardware
-static INTERRUPT_GEN( equites_interrupt )
+static TIMER_DEVICE_CALLBACK( equites_scanline )
{
- if (cpu_getiloops(device))
- device_set_input_line(device, 2, HOLD_LINE);
- else
- device_set_input_line(device, 1, HOLD_LINE);
+ int scanline = param;
+
+ if(scanline == 232) // vblank-out irq
+ cputag_set_input_line(timer.machine(), "maincpu", 1, HOLD_LINE);
+
+ if(scanline == 24) // vblank-in irq
+ cputag_set_input_line(timer.machine(), "maincpu", 2, HOLD_LINE);
+}
+
+static TIMER_DEVICE_CALLBACK( splndrbt_scanline )
+{
+ int scanline = param;
+
+ if(scanline == 224) // vblank-out irq
+ cputag_set_input_line(timer.machine(), "maincpu", 1, HOLD_LINE);
+
+ if(scanline == 32) // vblank-in irq
+ cputag_set_input_line(timer.machine(), "maincpu", 2, HOLD_LINE);
}
static WRITE8_HANDLER(equites_8155_w)
@@ -1252,7 +1265,7 @@ static MACHINE_CONFIG_START( equites, equites_state )
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", M68000, XTAL_12MHz/4) /* 68000P8 running at 3mhz! verified on pcb */
MCFG_CPU_PROGRAM_MAP(equites_map)
- MCFG_CPU_VBLANK_INT_HACK(equites_interrupt, 2)
+ MCFG_TIMER_ADD_SCANLINE("scantimer", equites_scanline, "screen", 0, 1)
MCFG_FRAGMENT_ADD(common_sound)
@@ -1290,7 +1303,7 @@ static MACHINE_CONFIG_START( splndrbt, equites_state )
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", M68000, XTAL_24MHz/4) /* 68000P8 running at 6mhz, verified on pcb */
MCFG_CPU_PROGRAM_MAP(splndrbt_map)
- MCFG_CPU_VBLANK_INT_HACK(equites_interrupt, 2)
+ MCFG_TIMER_ADD_SCANLINE("scantimer", splndrbt_scanline, "screen", 0, 1)
MCFG_FRAGMENT_ADD(common_sound)
diff --git a/src/mame/drivers/espial.c b/src/mame/drivers/espial.c
index 12e8f588039..8808ff2e018 100644
--- a/src/mame/drivers/espial.c
+++ b/src/mame/drivers/espial.c
@@ -5,6 +5,8 @@
Espial: The Orca logo is displayed, but looks to be "blacked out" via the
color proms by having 0x1c & 0x1d set to black.
+TODO:
+- merge with zodiack.c
Stephh's notes (based on the games Z80 code and some tests) :
@@ -35,18 +37,12 @@ Stephh's notes (based on the games Z80 code and some tests) :
***************************************************************************/
#include "emu.h"
-#include "deprecat.h"
#include "includes/espial.h"
#include "cpu/z80/z80.h"
#include "sound/ay8910.h"
-static TIMER_CALLBACK( interrupt_disable )
-{
- espial_state *state = machine.driver_data<espial_state>();
- //interrupt_enable = 0;
- cpu_interrupt_enable(state->m_maincpu, 0);
-}
+
static MACHINE_RESET( espial )
{
@@ -54,8 +50,7 @@ static MACHINE_RESET( espial )
state->m_flipscreen = 0;
- /* we must start with NMI interrupts disabled */
- machine.scheduler().synchronize(FUNC(interrupt_disable));
+ state->m_main_nmi_enabled = FALSE;
state->m_sound_nmi_enabled = FALSE;
}
@@ -73,7 +68,8 @@ static MACHINE_START( espial )
static WRITE8_HANDLER( espial_master_interrupt_enable_w )
{
- interrupt_enable_w(space, offset, ~data & 1);
+ espial_state *state = space->machine().driver_data<espial_state>();
+ state->m_main_nmi_enabled = ~(data & 1);
}
@@ -83,22 +79,25 @@ WRITE8_HANDLER( espial_sound_nmi_enable_w )
state->m_sound_nmi_enabled = data & 1;
}
-
-INTERRUPT_GEN( espial_sound_nmi_gen )
+static TIMER_DEVICE_CALLBACK( espial_scanline )
{
- espial_state *state = device->machine().driver_data<espial_state>();
+ espial_state *state = timer.machine().driver_data<espial_state>();
+ int scanline = param;
- if (state->m_sound_nmi_enabled)
- nmi_line_pulse(device);
+ if(scanline == 240 && state->m_main_nmi_enabled) // vblank-out irq
+ cputag_set_input_line(timer.machine(), "maincpu", INPUT_LINE_NMI, PULSE_LINE);
+
+ if(scanline == 16) // timer irq, checks soundlatch port then updates some sound related work RAM buffers
+ cputag_set_input_line(timer.machine(), "maincpu", 0, HOLD_LINE);
}
-static INTERRUPT_GEN( espial_master_interrupt )
+INTERRUPT_GEN( espial_sound_nmi_gen )
{
- if (cpu_getiloops(device) == 0)
+ espial_state *state = device->machine().driver_data<espial_state>();
+
+ if (state->m_sound_nmi_enabled)
nmi_line_pulse(device);
- else
- irq0_line_hold(device);
}
@@ -117,7 +116,7 @@ static ADDRESS_MAP_START( espial_map, AS_PROGRAM, 8 )
AM_RANGE(0x6082, 0x6082) AM_READ_PORT("DSW1")
AM_RANGE(0x6083, 0x6083) AM_READ_PORT("IN1")
AM_RANGE(0x6084, 0x6084) AM_READ_PORT("IN2")
- AM_RANGE(0x6090, 0x6090) AM_READWRITE(soundlatch_r, espial_master_soundlatch_w) /* the main CPU reads the command back from the slave */
+ AM_RANGE(0x6090, 0x6090) AM_READWRITE(soundlatch2_r, espial_master_soundlatch_w)
AM_RANGE(0x7000, 0x7000) AM_READWRITE(watchdog_reset_r, watchdog_reset_w)
AM_RANGE(0x7100, 0x7100) AM_WRITE(espial_master_interrupt_enable_w)
AM_RANGE(0x7200, 0x7200) AM_WRITE(espial_flipscreen_w)
@@ -142,7 +141,7 @@ static ADDRESS_MAP_START( netwars_map, AS_PROGRAM, 8 )
AM_RANGE(0x6082, 0x6082) AM_READ_PORT("DSW1")
AM_RANGE(0x6083, 0x6083) AM_READ_PORT("IN1")
AM_RANGE(0x6084, 0x6084) AM_READ_PORT("IN2")
- AM_RANGE(0x6090, 0x6090) AM_READWRITE(soundlatch_r, espial_master_soundlatch_w) /* the main CPU reads the command back from the slave */
+ AM_RANGE(0x6090, 0x6090) AM_READWRITE(soundlatch2_r, espial_master_soundlatch_w)
AM_RANGE(0x7000, 0x7000) AM_READWRITE(watchdog_reset_r, watchdog_reset_w)
AM_RANGE(0x7100, 0x7100) AM_WRITE(espial_master_interrupt_enable_w)
AM_RANGE(0x7200, 0x7200) AM_WRITE(espial_flipscreen_w)
@@ -160,7 +159,7 @@ static ADDRESS_MAP_START( espial_sound_map, AS_PROGRAM, 8 )
AM_RANGE(0x0000, 0x1fff) AM_ROM
AM_RANGE(0x2000, 0x23ff) AM_RAM
AM_RANGE(0x4000, 0x4000) AM_WRITE(espial_sound_nmi_enable_w)
- AM_RANGE(0x6000, 0x6000) AM_READWRITE(soundlatch_r, soundlatch_w)
+ AM_RANGE(0x6000, 0x6000) AM_READWRITE(soundlatch_r, soundlatch2_w)
ADDRESS_MAP_END
static ADDRESS_MAP_START( espial_sound_io_map, AS_IO, 8 )
@@ -329,7 +328,7 @@ static MACHINE_CONFIG_START( espial, espial_state )
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", Z80, 3072000) /* 3.072 MHz */
MCFG_CPU_PROGRAM_MAP(espial_map)
- MCFG_CPU_VBLANK_INT_HACK(espial_master_interrupt,2)
+ MCFG_TIMER_ADD_SCANLINE("scantimer", espial_scanline, "screen", 0, 1)
MCFG_CPU_ADD("audiocpu", Z80, 3072000) /* 2 MHz?????? */
MCFG_CPU_PROGRAM_MAP(espial_sound_map)
diff --git a/src/mame/drivers/exedexes.c b/src/mame/drivers/exedexes.c
index b0da3afd78a..1ba071f0994 100644
--- a/src/mame/drivers/exedexes.c
+++ b/src/mame/drivers/exedexes.c
@@ -11,18 +11,20 @@
#include "emu.h"
#include "cpu/z80/z80.h"
-#include "deprecat.h"
#include "sound/ay8910.h"
#include "sound/sn76496.h"
#include "includes/exedexes.h"
-static INTERRUPT_GEN( exedexes_interrupt )
+static TIMER_DEVICE_CALLBACK( exedexes_scanline )
{
- if (cpu_getiloops(device) != 0)
- device_set_input_line_and_vector(device, 0, HOLD_LINE, 0xcf); /* RST 08h */
- else
- device_set_input_line_and_vector(device, 0, HOLD_LINE, 0xd7); /* RST 10h - vblank */
+ int scanline = param;
+
+ if(scanline == 240) // vblank-out irq
+ cputag_set_input_line_and_vector(timer.machine(), "maincpu", 0, HOLD_LINE, 0xd7); /* RST 10h - vblank */
+
+ if(scanline == 0) // unknown irq event
+ cputag_set_input_line_and_vector(timer.machine(), "maincpu", 0, HOLD_LINE, 0xcf); /* RST 08h */
}
@@ -152,6 +154,7 @@ static const gfx_layout charlayout =
{ 0*16, 1*16, 2*16, 3*16, 4*16, 5*16, 6*16, 7*16 },
16*8 /* every char takes 16 consecutive bytes */
};
+
static const gfx_layout spritelayout =
{
16,16, /* 16*16 sprites */
@@ -164,6 +167,7 @@ static const gfx_layout spritelayout =
8*16, 9*16, 10*16, 11*16, 12*16, 13*16, 14*16, 15*16 },
64*8 /* every sprite takes 64 consecutive bytes */
};
+
static const gfx_layout tilelayout =
{
32,32, /* 32*32 tiles */
@@ -217,7 +221,7 @@ static MACHINE_CONFIG_START( exedexes, exedexes_state )
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", Z80, 4000000) /* 4 MHz (?) */
MCFG_CPU_PROGRAM_MAP(exedexes_map)
- MCFG_CPU_VBLANK_INT_HACK(exedexes_interrupt,2)
+ MCFG_TIMER_ADD_SCANLINE("scantimer", exedexes_scanline, "screen", 0, 1)
MCFG_CPU_ADD("audiocpu", Z80, 3000000) /* 3 MHz ??? */
MCFG_CPU_PROGRAM_MAP(sound_map)
diff --git a/src/mame/drivers/exidy.c b/src/mame/drivers/exidy.c
index cb154d3ba5b..64a4a883069 100644
--- a/src/mame/drivers/exidy.c
+++ b/src/mame/drivers/exidy.c
@@ -143,7 +143,6 @@ Fax 1982 6502 FXL, FLA
#include "emu.h"
#include "cpu/m6502/m6502.h"
-#include "deprecat.h"
#include "machine/6821pia.h"
#include "audio/exidy.h"
#include "includes/targ.h"
@@ -883,7 +882,7 @@ static MACHINE_CONFIG_DERIVED( teetert, venture )
/* basic machine hardware */
MCFG_CPU_MODIFY("maincpu")
- MCFG_CPU_VBLANK_INT_HACK(teetert_vblank_interrupt,10)
+ MCFG_CPU_PERIODIC_INT(nmi_line_pulse,10*60)
MCFG_MACHINE_START( teetert )
diff --git a/src/mame/drivers/finalizr.c b/src/mame/drivers/finalizr.c
index d2528cb7924..fe8811a7d54 100644
--- a/src/mame/drivers/finalizr.c
+++ b/src/mame/drivers/finalizr.c
@@ -11,7 +11,6 @@
***************************************************************************/
#include "emu.h"
-#include "deprecat.h"
#include "machine/konami1.h"
#include "cpu/m6809/m6809.h"
#include "cpu/mcs48/mcs48.h"
@@ -21,22 +20,20 @@
#include "includes/finalizr.h"
-static INTERRUPT_GEN( finalizr_interrupt )
+
+
+static TIMER_DEVICE_CALLBACK( finalizr_scanline )
{
- finalizr_state *state = device->machine().driver_data<finalizr_state>();
-
- if (cpu_getiloops(device) == 0)
- {
- if (state->m_irq_enable)
- device_set_input_line(device, M6809_IRQ_LINE, HOLD_LINE);
- }
- else if (cpu_getiloops(device) % 2)
- {
- if (state->m_nmi_enable)
- device_set_input_line(device, INPUT_LINE_NMI, PULSE_LINE);
- }
+ finalizr_state *state = timer.machine().driver_data<finalizr_state>();
+ int scanline = param;
+
+ if(scanline == 240 && state->m_irq_enable) // vblank irq
+ cputag_set_input_line(timer.machine(), "maincpu", M6809_IRQ_LINE, HOLD_LINE);
+ else if(((scanline % 32) == 0) && state->m_nmi_enable) // timer irq
+ cputag_set_input_line(timer.machine(), "maincpu", INPUT_LINE_NMI, PULSE_LINE);
}
+
static WRITE8_HANDLER( finalizr_coin_w )
{
coin_counter_w(space->machine(), 0, data & 0x01);
@@ -272,7 +269,7 @@ static MACHINE_CONFIG_START( finalizr, finalizr_state )
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", M6809,XTAL_18_432MHz/6) /* ??? */
MCFG_CPU_PROGRAM_MAP(main_map)
- MCFG_CPU_VBLANK_INT_HACK(finalizr_interrupt,16) /* 1 IRQ + 8 NMI (generated by a custom IC) */
+ MCFG_TIMER_ADD_SCANLINE("scantimer", finalizr_scanline, "screen", 0, 1)
MCFG_CPU_ADD("audiocpu", I8039,XTAL_18_432MHz/2) /* 9.216MHz clkin ?? */
MCFG_CPU_PROGRAM_MAP(sound_map)
diff --git a/src/mame/drivers/wecleman.c b/src/mame/drivers/wecleman.c
index 0b17c533c81..309cf57373b 100644
--- a/src/mame/drivers/wecleman.c
+++ b/src/mame/drivers/wecleman.c
@@ -214,10 +214,10 @@ Self Test:
[Hot Chase]
---------------------------------------------------------------------------
+- gameplay speed
- Samples pitch is too low
- No zoom and rotation of the layers
-
---------------------------------------------------------------------------
Common Issues
---------------------------------------------------------------------------
@@ -272,7 +272,6 @@ TODO:
#include "emu.h"
#include "cpu/z80/z80.h"
#include "cpu/m68000/m68000.h"
-#include "deprecat.h"
#include "video/konicdev.h"
#include "cpu/m6809/m6809.h"
#include "sound/2151intf.h"
@@ -547,7 +546,8 @@ static WRITE16_HANDLER( hotchase_soundlatch_w );
static ADDRESS_MAP_START( hotchase_map, AS_PROGRAM, 16 )
AM_RANGE(0x000000, 0x03ffff) AM_ROM
- AM_RANGE(0x040000, 0x063fff) AM_RAM // RAM (weird size!?)
+ AM_RANGE(0x040000, 0x041fff) AM_RAM // RAM
+ AM_RANGE(0x060000, 0x063fff) AM_RAM // RAM
AM_RANGE(0x080000, 0x080011) AM_RAM_WRITE(blitter_w) AM_BASE_MEMBER(wecleman_state, m_blitter_regs) // Blitter
AM_RANGE(0x100000, 0x100fff) AM_DEVREADWRITE8("k051316_1", k051316_r, k051316_w, 0x00ff) // Background
AM_RANGE(0x101000, 0x10101f) AM_DEVWRITE8("k051316_1", k051316_ctrl_w, 0x00ff) // Background Ctrl
@@ -589,8 +589,9 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( hotchase_sub_map, AS_PROGRAM, 16 )
AM_RANGE(0x000000, 0x01ffff) AM_ROM // ROM
AM_RANGE(0x020000, 0x020fff) AM_RAM AM_BASE_MEMBER(wecleman_state, m_roadram) AM_SIZE_MEMBER(wecleman_state, m_roadram_size) // Road
- AM_RANGE(0x040000, 0x043fff) AM_RAM AM_SHARE("share1") // Shared with main CPU
- AM_RANGE(0x060000, 0x060fff) AM_RAM // RAM
+ AM_RANGE(0x040000, 0x043fff) AM_RAM AM_SHARE("share1") // Shared with main CPU
+ AM_RANGE(0x060000, 0x060fff) AM_RAM // a table, presumably road related
+ AM_RANGE(0x061000, 0x06101f) AM_RAM // road vregs?
ADDRESS_MAP_END
@@ -1018,14 +1019,28 @@ GFXDECODE_END
WEC Le Mans 24 Hardware Definitions
***************************************************************************/
-static INTERRUPT_GEN( wecleman_interrupt )
+
+static TIMER_DEVICE_CALLBACK( wecleman_scanline )
{
- if (cpu_getiloops(device) == 0)
- device_set_input_line(device, 4, HOLD_LINE); /* once */
- else
- device_set_input_line(device, 5, HOLD_LINE); /* to read input ports */
+ int scanline = param;
+
+ if(scanline == 232) // vblank irq
+ cputag_set_input_line(timer.machine(), "maincpu", 4, HOLD_LINE);
+ else if(((scanline % 64) == 0)) // timer irq TODO: timings
+ cputag_set_input_line(timer.machine(), "maincpu", 5, HOLD_LINE);
}
+static TIMER_DEVICE_CALLBACK( hotchase_scanline )
+{
+ int scanline = param;
+
+ if(scanline == 224) // vblank irq
+ cputag_set_input_line(timer.machine(), "maincpu", 4, HOLD_LINE);
+ else if(((scanline % 64) == 0)) // timer irq TODO: timings
+ cputag_set_input_line(timer.machine(), "maincpu", 5, HOLD_LINE);
+}
+
+
static MACHINE_RESET( wecleman )
{
k007232_set_bank( machine.device("konami"), 0, 1 );
@@ -1036,7 +1051,7 @@ static MACHINE_CONFIG_START( wecleman, wecleman_state )
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", M68000, 10000000) /* Schems show 10MHz */
MCFG_CPU_PROGRAM_MAP(wecleman_map)
- MCFG_CPU_VBLANK_INT_HACK(wecleman_interrupt,5 + 1) /* in order to read the inputs once per frame */
+ MCFG_TIMER_ADD_SCANLINE("scantimer", wecleman_scanline, "screen", 0, 1)
MCFG_CPU_ADD("sub", M68000, 10000000) /* Schems show 10MHz */
MCFG_CPU_PROGRAM_MAP(wecleman_sub_map)
@@ -1054,7 +1069,7 @@ static MACHINE_CONFIG_START( wecleman, wecleman_state )
MCFG_SCREEN_REFRESH_RATE(60)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
- MCFG_SCREEN_SIZE(320 +16, 224 +16)
+ MCFG_SCREEN_SIZE(320 +16, 256)
MCFG_SCREEN_VISIBLE_AREA(0 +8, 320-1 +8, 0 +8, 224-1 +8)
MCFG_SCREEN_UPDATE(wecleman)
@@ -1107,7 +1122,7 @@ static MACHINE_CONFIG_START( hotchase, wecleman_state )
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", M68000, 10000000) /* 10 MHz - PCB is drawn in one set's readme */
MCFG_CPU_PROGRAM_MAP(hotchase_map)
- MCFG_CPU_VBLANK_INT("screen", irq4_line_hold)
+ MCFG_TIMER_ADD_SCANLINE("scantimer", hotchase_scanline, "screen", 0, 1)
MCFG_CPU_ADD("sub", M68000, 10000000) /* 10 MHz - PCB is drawn in one set's readme */
MCFG_CPU_PROGRAM_MAP(hotchase_sub_map)
@@ -1116,8 +1131,6 @@ static MACHINE_CONFIG_START( hotchase, wecleman_state )
MCFG_CPU_PROGRAM_MAP(hotchase_sound_map)
MCFG_CPU_PERIODIC_INT( hotchase_sound_timer, 496 )
- /* Amuse: every 2 ms */
-
MCFG_QUANTUM_TIME(attotime::from_hz(6000))
/* video hardware */
@@ -1125,7 +1138,7 @@ static MACHINE_CONFIG_START( hotchase, wecleman_state )
MCFG_SCREEN_REFRESH_RATE(60)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MCFG_SCREEN_SIZE(320, 224)
+ MCFG_SCREEN_SIZE(320 +16, 256)
MCFG_SCREEN_VISIBLE_AREA(0, 320-1, 0, 224-1)
MCFG_SCREEN_UPDATE(hotchase)
diff --git a/src/mame/drivers/zodiack.c b/src/mame/drivers/zodiack.c
index f5e80c619ce..ca169f6d2dd 100644
--- a/src/mame/drivers/zodiack.c
+++ b/src/mame/drivers/zodiack.c
@@ -148,7 +148,6 @@ static MACHINE_RESET( zodiack )
{
zodiack_state *state = machine.driver_data<zodiack_state>();
- /* we must start with NMI interrupts disabled */
state->m_sound_nmi_enabled = FALSE;
}
diff --git a/src/mame/includes/espial.h b/src/mame/includes/espial.h
index d03b0cee09c..477f6b98078 100644
--- a/src/mame/includes/espial.h
+++ b/src/mame/includes/espial.h
@@ -24,6 +24,7 @@ public:
int m_flipscreen;
/* sound-related */
+ UINT8 m_main_nmi_enabled;
UINT8 m_sound_nmi_enabled;
/* devices */
diff --git a/src/mame/includes/exidy.h b/src/mame/includes/exidy.h
index 672a516e9b4..14f7d1687b5 100644
--- a/src/mame/includes/exidy.h
+++ b/src/mame/includes/exidy.h
@@ -53,6 +53,5 @@ VIDEO_START( exidy );
SCREEN_UPDATE( exidy );
INTERRUPT_GEN( exidy_vblank_interrupt );
-INTERRUPT_GEN( teetert_vblank_interrupt );
READ8_HANDLER( exidy_interrupt_r );
diff --git a/src/mame/video/exidy.c b/src/mame/video/exidy.c
index c3924c632d9..1b8ab4bc46f 100644
--- a/src/mame/video/exidy.c
+++ b/src/mame/video/exidy.c
@@ -5,7 +5,6 @@
*************************************************************************/
#include "emu.h"
-#include "deprecat.h"
#include "includes/exidy.h"
@@ -80,16 +79,6 @@ INTERRUPT_GEN( exidy_vblank_interrupt )
}
-INTERRUPT_GEN( teetert_vblank_interrupt )
-{
- /* standard stuff */
- if (cpu_getiloops(device) == 0)
- exidy_vblank_interrupt(device);
-
- /* plus a pulse on the NMI line */
- device_set_input_line(device, INPUT_LINE_NMI, PULSE_LINE);
-}
-
READ8_HANDLER( exidy_interrupt_r )
{