mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
Removed old SCUDSP, not worth it anyway
This commit is contained in:
parent
16b9e2510a
commit
be6f55a2b3
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -1468,8 +1468,6 @@ src/emu/machine/scsihd.c svneol=native#text/plain
|
||||
src/emu/machine/scsihd.h svneol=native#text/plain
|
||||
src/emu/machine/scsihle.c svneol=native#text/plain
|
||||
src/emu/machine/scsihle.h svneol=native#text/plain
|
||||
src/emu/machine/scudsp.c svneol=native#text/plain
|
||||
src/emu/machine/scudsp.h svneol=native#text/plain
|
||||
src/emu/machine/secflash.c svneol=native#text/plain
|
||||
src/emu/machine/secflash.h svneol=native#text/plain
|
||||
src/emu/machine/seibu_cop.c svneol=native#text/plain
|
||||
|
@ -1206,15 +1206,6 @@ MACHINEOBJS += $(MACHINEOBJ)/scsihle.o
|
||||
MACHINES += T10
|
||||
endif
|
||||
|
||||
#-------------------------------------------------
|
||||
#
|
||||
#@src/emu/machine/scudsp.h,MACHINES += SCUDSP
|
||||
#-------------------------------------------------
|
||||
|
||||
ifneq ($(filter SCUDSP,$(MACHINES)),)
|
||||
MACHINEOBJS += $(MACHINEOBJ)/scudsp.o
|
||||
endif
|
||||
|
||||
#-------------------------------------------------
|
||||
#
|
||||
#@src/emu/machine/seibu_cop.h,MACHINES += SEIBU_COP
|
||||
|
@ -42,7 +42,6 @@
|
||||
|
||||
#include "emu.h"
|
||||
#include "includes/stv.h"
|
||||
#include "machine/scudsp.h"
|
||||
#include "cpu/sh2/sh2.h"
|
||||
#include "cpu/scudsp/scudsp.h"
|
||||
|
||||
@ -221,8 +220,6 @@ void saturn_state::scu_test_pending_irq()
|
||||
}
|
||||
}
|
||||
|
||||
#define USE_NEW_SCUDSP 1
|
||||
|
||||
READ32_MEMBER(saturn_state::saturn_scu_r)
|
||||
{
|
||||
UINT32 res;
|
||||
@ -240,19 +237,11 @@ READ32_MEMBER(saturn_state::saturn_scu_r)
|
||||
res = m_scu.status;
|
||||
break;
|
||||
case 0x80/4:
|
||||
#if USE_NEW_SCUDSP
|
||||
res = m_scudsp->program_control_r(space, 0, mem_mask);
|
||||
#else
|
||||
res = dsp_prg_ctrl_r(space);
|
||||
#endif
|
||||
break;
|
||||
case 0x8c/4:
|
||||
if(LOG_SCU && !space.debugger_access()) logerror( "DSP mem read at %08X\n", m_scu_regs[34]);
|
||||
#if USE_NEW_SCUDSP
|
||||
res = m_scudsp->ram_address_r(space, 0, mem_mask);
|
||||
#else
|
||||
res = dsp_ram_addr_r();
|
||||
#endif
|
||||
break;
|
||||
case 0xa0/4:
|
||||
if(LOG_SCU && !space.debugger_access()) logerror("(PC=%08x) IRQ mask reg read %08x MASK=%08x\n",space.device().safe_pc(),mem_mask,m_scu_regs[0xa0/4]);
|
||||
@ -321,36 +310,19 @@ WRITE32_MEMBER(saturn_state::saturn_scu_w)
|
||||
case 0x7c/4: if(LOG_SCU) logerror("Warning: DMA status WRITE! Offset %02x(%d)\n",offset*4,offset); break;
|
||||
/*DSP section*/
|
||||
case 0x80/4:
|
||||
/* TODO: you can't overwrite some flags with this */
|
||||
#if USE_NEW_SCUDSP
|
||||
m_scudsp->program_control_w(space, 0, m_scu_regs[offset], mem_mask);
|
||||
#else
|
||||
dsp_prg_ctrl_w(space, m_scu_regs[offset]);
|
||||
#endif
|
||||
if(LOG_SCU) logerror("SCU DSP: Program Control Port Access %08x\n",data);
|
||||
break;
|
||||
case 0x84/4:
|
||||
#if USE_NEW_SCUDSP
|
||||
m_scudsp->program_w(space, 0, m_scu_regs[offset], mem_mask);
|
||||
#else
|
||||
dsp_prg_data(m_scu_regs[offset]);
|
||||
#endif
|
||||
if(LOG_SCU) logerror("SCU DSP: Program RAM Data Port Access %08x\n",data);
|
||||
break;
|
||||
case 0x88/4:
|
||||
#if USE_NEW_SCUDSP
|
||||
m_scudsp->ram_address_control_w(space, 0,m_scu_regs[offset], mem_mask);
|
||||
#else
|
||||
dsp_ram_addr_ctrl(m_scu_regs[offset]);
|
||||
#endif
|
||||
if(LOG_SCU) logerror("SCU DSP: Data RAM Address Port Access %08x\n",data);
|
||||
break;
|
||||
case 0x8c/4:
|
||||
#if USE_NEW_SCUDSP
|
||||
m_scudsp->ram_address_w(space, 0, m_scu_regs[offset], mem_mask);
|
||||
#else
|
||||
dsp_ram_addr_w(m_scu_regs[offset]);
|
||||
#endif
|
||||
if(LOG_SCU) logerror("SCU DSP: Data RAM Data Port Access %08x\n",data);
|
||||
break;
|
||||
case 0x90/4: /*if(LOG_SCU) logerror("timer 0 compare data = %03x\n",m_scu_regs[36]);*/ break;
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,9 +0,0 @@
|
||||
/*SCU DSP stuff*/
|
||||
|
||||
void dsp_prg_ctrl_w(address_space &space, UINT32 data);
|
||||
void dsp_prg_data(UINT32 data);
|
||||
void dsp_ram_addr_ctrl(UINT32 data);
|
||||
void dsp_ram_addr_w(UINT32 data);
|
||||
UINT32 dsp_prg_ctrl_r(address_space &space);
|
||||
UINT32 dsp_ram_addr_r(void);
|
||||
void dsp_execute_program(address_space &dmaspace);
|
@ -1,3 +1,5 @@
|
||||
// license:?
|
||||
// copyright-holders:Angelo Salese, Wilbert Pol
|
||||
/***************************************************************************
|
||||
|
||||
3do.c
|
||||
|
@ -1,5 +1,5 @@
|
||||
// license:BSD-3-Clause
|
||||
// copyright-holders:Aaron Giles,Nathan Woods
|
||||
// copyright-holders:Aaron Giles,Nathan Woods,Angelo Salese
|
||||
/***************************************************************************
|
||||
|
||||
Atari Jaguar (Home) & Atari CoJag (Arcade) hardware
|
||||
|
@ -1,3 +1,5 @@
|
||||
// license:?
|
||||
// copyright-holders:David Graves, Angelo Salese, David Haywood, Tomasz Slanina
|
||||
/***************************************************************************
|
||||
|
||||
Legionnaire (c) Tad 1992
|
||||
|
@ -1,3 +1,5 @@
|
||||
// license:?
|
||||
// copyright-holders:Olivier Galibert, Angelo Salese, David Haywood, Tomasz Slanina
|
||||
/********************************************************************************************************
|
||||
|
||||
Seibu Protected 1993-94 era hardware, V30 based (sequel to the 68k based hardware)
|
||||
|
@ -41,7 +41,6 @@
|
||||
#include "cpu/adsp2100/adsp2100.h"
|
||||
#include "cpu/scudsp/scudsp.h"
|
||||
#include "machine/eepromser.h"
|
||||
#include "machine/scudsp.h"
|
||||
#include "sound/scsp.h"
|
||||
#include "sound/cdda.h"
|
||||
#include "sound/dmadac.h"
|
||||
|
@ -40,7 +40,6 @@ test1f diagnostic hacks:
|
||||
#include "machine/eepromser.h"
|
||||
#include "cpu/sh2/sh2.h"
|
||||
#include "cpu/scudsp/scudsp.h"
|
||||
#include "machine/scudsp.h"
|
||||
#include "sound/scsp.h"
|
||||
#include "sound/cdda.h"
|
||||
#include "machine/smpc.h"
|
||||
|
Loading…
Reference in New Issue
Block a user