summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-03-17 02:45:52 +1100
committer Vas Crabb <vas@vastheman.com>2018-03-17 02:45:52 +1100
commit2d763608256f662d8915a9095a7cc844bf993dcc (patch)
tree8e147028dec0afeb4f6810eec3cc94b8763e1f94
parentaf5f3269d48339586ea3eb324e83863dbfff37e6 (diff)
vgmplay: use QSound DSP emulation
qsound_hle: remove ROM definition
-rw-r--r--src/devices/sound/qsoundhle.cpp39
-rw-r--r--src/devices/sound/qsoundhle.h3
-rw-r--r--src/mame/drivers/vgmplay.cpp2
3 files changed, 2 insertions, 42 deletions
diff --git a/src/devices/sound/qsoundhle.cpp b/src/devices/sound/qsoundhle.cpp
index a0f82035def..19634e5c062 100644
--- a/src/devices/sound/qsoundhle.cpp
+++ b/src/devices/sound/qsoundhle.cpp
@@ -33,23 +33,6 @@
DEFINE_DEVICE_TYPE(QSOUND_HLE, qsound_hle_device, "qsound_hle", "QSound (HLE)")
-// program map for the DSP16A; note that apparently Western Electric/AT&T
-// expanded the size of the available mask ROM on the DSP16A over time after
-// it was released.
-// As originally released, the DSP16A had 4096 words of ROM, but the DL-1425
-// chip decapped by siliconpr0n clearly shows 3x as much ROM as that, a total
-// of 12288 words of internal ROM.
-// The older DSP16 non-a part has 2048 words of ROM.
-
-
-// DSP internal ROM region
-ROM_START( qsound_hle )
- ROM_REGION( 0x2000, "dsp", 0 )
- ROM_LOAD16_WORD_SWAP( "dl-1425.bin", 0x0000, 0x2000, CRC(d6cf5ef5) SHA1(555f50fe5cdf127619da7d854c03f4a244a0c501) )
- ROM_IGNORE( 0x4000 )
-ROM_END
-
-
//**************************************************************************
// LIVE DEVICE
//**************************************************************************
@@ -62,7 +45,6 @@ qsound_hle_device::qsound_hle_device(const machine_config &mconfig, const char *
: device_t(mconfig, QSOUND_HLE, tag, owner, clock)
, device_sound_interface(mconfig, *this)
, device_rom_interface(mconfig, *this, 24)
- , m_dsp(*this, "dsp")
, m_stream(nullptr)
, m_data(0)
{
@@ -70,27 +52,6 @@ qsound_hle_device::qsound_hle_device(const machine_config &mconfig, const char *
//-------------------------------------------------
-// rom_region - return a pointer to the device's
-// internal ROM region
-//-------------------------------------------------
-
-const tiny_rom_entry *qsound_hle_device::device_rom_region() const
-{
- return ROM_NAME( qsound_hle );
-}
-
-
-//-------------------------------------------------
-// device_add_mconfig - add device configuration
-//-------------------------------------------------
-
-MACHINE_CONFIG_START(qsound_hle_device::device_add_mconfig)
- MCFG_CPU_ADD("dsp", DSP16A, DERIVED_CLOCK(1, 1))
- MCFG_DEVICE_DISABLE()
-MACHINE_CONFIG_END
-
-
-//-------------------------------------------------
// rom_bank_updated - the rom bank has changed
//-------------------------------------------------
diff --git a/src/devices/sound/qsoundhle.h b/src/devices/sound/qsoundhle.h
index c2a7d43a6de..6bb081ae4fb 100644
--- a/src/devices/sound/qsoundhle.h
+++ b/src/devices/sound/qsoundhle.h
@@ -33,8 +33,6 @@ public:
protected:
// device_t implementation
- tiny_rom_entry const *device_rom_region() const override;
- virtual void device_add_mconfig(machine_config &config) override;
virtual void device_start() override;
// device_sound_interface implementation
@@ -46,7 +44,6 @@ protected:
private:
// MAME resources
- required_device<dsp16_device_base> m_dsp;
sound_stream *m_stream;
struct qsound_channel
diff --git a/src/mame/drivers/vgmplay.cpp b/src/mame/drivers/vgmplay.cpp
index e27b1c28c02..79082bcf1fb 100644
--- a/src/mame/drivers/vgmplay.cpp
+++ b/src/mame/drivers/vgmplay.cpp
@@ -6,6 +6,8 @@
#include "emu.h"
+#define QSOUND_LLE
+
#include "imagedev/bitbngr.h"
#include "cpu/h6280/h6280.h"