summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/stv.c
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2013-10-10 13:46:23 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2013-10-10 13:46:23 +0000
commitc32493ce4672488f30189686325b317c40a2108f (patch)
tree0fb02f13168dc1e8913c427370d06f5947860448 /src/mame/drivers/stv.c
parent997e4f2080cb30321b00afbaa67e8aafdab9c768 (diff)
Hooked SCUDSP to machine struct
Diffstat (limited to 'src/mame/drivers/stv.c')
-rw-r--r--src/mame/drivers/stv.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mame/drivers/stv.c b/src/mame/drivers/stv.c
index e5df7ac2260..3a825294595 100644
--- a/src/mame/drivers/stv.c
+++ b/src/mame/drivers/stv.c
@@ -39,6 +39,7 @@
#include "cpu/sh2/sh2.h"
#include "cpu/m68000/m68000.h"
#include "cpu/adsp2100/adsp2100.h"
+#include "cpu/scudsp/scudsp.h"
#include "machine/eepromser.h"
#include "machine/scudsp.h"
#include "sound/scsp.h"
@@ -976,6 +977,11 @@ static MACHINE_CONFIG_START( stv, stv_state )
MCFG_CPU_ADD("audiocpu", M68000, 11289600) //11.2896 MHz
MCFG_CPU_PROGRAM_MAP(sound_mem)
+ MCFG_CPU_ADD("scudsp", SCUDSP, MASTER_CLOCK_352/4) // 14 MHz
+ MCFG_CPU_PROGRAM_MAP(scudsp_mem)
+ MCFG_CPU_DATA_MAP(scudsp_data)
+// MCFG_CPU_CONFIG(scudsp_config)
+
MCFG_MACHINE_START_OVERRIDE(stv_state,stv)
MCFG_MACHINE_RESET_OVERRIDE(stv_state,stv)
@@ -1220,6 +1226,7 @@ MACHINE_RESET_MEMBER(stv_state,stv)
// don't let the slave cpu and the 68k go anywhere
m_slave->set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
m_audiocpu->set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
+ m_scudsp->set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
m_en_68k = 0;
m_NMI_reset = 0;