summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-10-11 19:28:47 -0400
committer AJR <ajrhacker@users.noreply.github.com>2017-10-11 19:29:02 -0400
commit0a6f911618d2c7b00fcb842a10f6d40dd67b078e (patch)
tree980af12217b251174a33508e7d5803200dc9d518
parent0678ae3e8d4fd760d435e57ddc4b0b4f05403aa7 (diff)
darius: More likely to use PC060HA instead of TC0140SYT (nw)
-rw-r--r--src/mame/drivers/darius.cpp16
-rw-r--r--src/mame/includes/darius.h6
2 files changed, 11 insertions, 11 deletions
diff --git a/src/mame/drivers/darius.cpp b/src/mame/drivers/darius.cpp
index 639135273d7..a59127405ec 100644
--- a/src/mame/drivers/darius.cpp
+++ b/src/mame/drivers/darius.cpp
@@ -175,7 +175,7 @@ READ16_MEMBER(darius_state::darius_ioc_r)
switch (offset)
{
case 0x01:
- return (m_tc0140syt->master_comm_r(space, 0) & 0xff); /* sound interface read */
+ return (m_ciu->master_comm_r(space, 0) & 0xff); /* sound interface read */
case 0x04:
return ioport("P1")->read();
@@ -204,12 +204,12 @@ WRITE16_MEMBER(darius_state::darius_ioc_w)
{
case 0x00: /* sound interface write */
- m_tc0140syt->master_port_w(space, 0, data & 0xff);
+ m_ciu->master_port_w(space, 0, data & 0xff);
return;
case 0x01: /* sound interface write */
- m_tc0140syt->master_comm_w(space, 0, data & 0xff);
+ m_ciu->master_comm_w(space, 0, data & 0xff);
return;
case 0x28: /* unknown, written by both cpus - always 0? */
@@ -460,8 +460,8 @@ static ADDRESS_MAP_START( darius_sound_map, AS_PROGRAM, 8, darius_state )
AM_RANGE(0x8000, 0x8fff) AM_RAM
AM_RANGE(0x9000, 0x9001) AM_DEVREADWRITE("ym1", ym2203_device, read, write)
AM_RANGE(0xa000, 0xa001) AM_DEVREADWRITE("ym2", ym2203_device, read, write)
- AM_RANGE(0xb000, 0xb000) AM_READNOP AM_DEVWRITE("tc0140syt", tc0140syt_device, slave_port_w)
- AM_RANGE(0xb001, 0xb001) AM_DEVREADWRITE("tc0140syt", tc0140syt_device, slave_comm_r, slave_comm_w)
+ AM_RANGE(0xb000, 0xb000) AM_READNOP AM_DEVWRITE("ciu", pc060ha_device, slave_port_w)
+ AM_RANGE(0xb001, 0xb001) AM_DEVREADWRITE("ciu", pc060ha_device, slave_comm_r, slave_comm_w)
AM_RANGE(0xc000, 0xc000) AM_WRITE(darius_fm0_pan)
AM_RANGE(0xc400, 0xc400) AM_WRITE(darius_fm1_pan)
AM_RANGE(0xc800, 0xc800) AM_WRITE(darius_psg0_pan)
@@ -866,9 +866,9 @@ static MACHINE_CONFIG_START( darius )
MCFG_FILTER_VOLUME_ADD("msm5205.r", 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
- MCFG_DEVICE_ADD("tc0140syt", TC0140SYT, 0)
- MCFG_TC0140SYT_MASTER_CPU("maincpu")
- MCFG_TC0140SYT_SLAVE_CPU("audiocpu")
+ MCFG_DEVICE_ADD("ciu", PC060HA, 0)
+ MCFG_PC060HA_MASTER_CPU("maincpu")
+ MCFG_PC060HA_SLAVE_CPU("audiocpu")
MACHINE_CONFIG_END
diff --git a/src/mame/includes/darius.h b/src/mame/includes/darius.h
index 0fe09acb4d7..5e4b14d85ae 100644
--- a/src/mame/includes/darius.h
+++ b/src/mame/includes/darius.h
@@ -26,8 +26,8 @@ public:
m_msm(*this, "msm"),
m_cpub(*this, "cpub"),
m_adpcm(*this, "adpcm"),
- m_pc080sn (*this, "pc080sn"),
- m_tc0140syt(*this, "tc0140syt"),
+ m_pc080sn(*this, "pc080sn"),
+ m_ciu(*this, "ciu"),
m_filter0_0l(*this, "filter0.0l"),
m_filter0_0r(*this, "filter0.0r"),
m_filter0_1l(*this, "filter0.1l"),
@@ -72,7 +72,7 @@ public:
required_device<cpu_device> m_cpub;
required_device<cpu_device> m_adpcm;
required_device<pc080sn_device> m_pc080sn;
- required_device<tc0140syt_device> m_tc0140syt;
+ required_device<pc060ha_device> m_ciu;
required_device<filter_volume_device> m_filter0_0l;
required_device<filter_volume_device> m_filter0_0r;