darius: More likely to use PC060HA instead of TC0140SYT (nw)

This commit is contained in:
AJR 2017-10-11 19:28:47 -04:00
parent 0678ae3e8d
commit 0a6f911618
2 changed files with 11 additions and 11 deletions

View File

@ -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

View File

@ -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;