summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/nwk-tr.c
diff options
context:
space:
mode:
author Fabio Priuli <etabeta78@users.noreply.github.com>2009-12-24 11:38:43 +0000
committer Fabio Priuli <etabeta78@users.noreply.github.com>2009-12-24 11:38:43 +0000
commitb99e364eae69975ece9d09e99d6aaaf4bdd5b648 (patch)
tree97c6c36f870a39a05590e7790d323a2b53b19c43 /src/mame/drivers/nwk-tr.c
parent98f248b3be4c531f85f3194ec0f08a45065491fb (diff)
Split ADC1038, Konami 033906 and Konami 056230 emulation from gticlub.c and konppc.c. Also, converted them to be devices and updated PPC Konami games to use the new code
Just out of curiosity: did sscope/sscope2 ever pass through the initial hw checks or did they regressed at some point?
Diffstat (limited to 'src/mame/drivers/nwk-tr.c')
-rw-r--r--src/mame/drivers/nwk-tr.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/mame/drivers/nwk-tr.c b/src/mame/drivers/nwk-tr.c
index a2d9e0c58e7..3365908c151 100644
--- a/src/mame/drivers/nwk-tr.c
+++ b/src/mame/drivers/nwk-tr.c
@@ -222,6 +222,7 @@ Thrill Drive 713A13 - 713A14 -
#include "video/voodoo.h"
#include "machine/timekpr.h"
#include "sound/k056800.h"
+#include "machine/k033906.h"
static UINT8 led_reg0, led_reg1;
@@ -1042,6 +1043,11 @@ static const k056800_interface nwktr_k056800_interface =
sound_irq_callback
};
+static const k033906_interface nwktr_k033906_interface =
+{
+ "voodoo"
+};
+
static MACHINE_RESET( nwktr )
{
cputag_set_input_line(machine, "dsp", INPUT_LINE_RESET, ASSERT_LINE);
@@ -1071,6 +1077,8 @@ static MACHINE_DRIVER_START( nwktr )
MDRV_3DFX_VOODOO_TMU_MEMORY(1, 2)
MDRV_3DFX_VOODOO_VBLANK(voodoo_vblank_0)
+ MDRV_K033906_ADD("k033906_1", nwktr_k033906_interface)
+
/* video hardware */
MDRV_SCREEN_ADD("screen", RASTER)
MDRV_SCREEN_REFRESH_RATE(60)
@@ -1106,8 +1114,6 @@ static DRIVER_INIT(nwktr)
sharc_dataram = auto_alloc_array(machine, UINT32, 0x100000/4);
led_reg0 = led_reg1 = 0x7f;
- K033906_init(machine);
-
lanc2_init(machine);
}