summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-06-07 14:36:17 -0400
committer AJR <ajrhacker@users.noreply.github.com>2017-06-07 14:36:17 -0400
commitf889281b66712563f49ebde86643ed89dd7b0f23 (patch)
treeede48040d0242c68c4b7ff1d85a742350c2d5d08
parentfd1bb20b1b81daeb7ab925fb4f9e82161e2f2e4c (diff)
spacegun: Yes, it's a TC0510NIO (nw)
-rw-r--r--src/mame/drivers/taito_z.cpp16
-rw-r--r--src/mame/machine/taitoio.cpp4
2 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/taito_z.cpp b/src/mame/drivers/taito_z.cpp
index 0119eff21d3..1df86c901c5 100644
--- a/src/mame/drivers/taito_z.cpp
+++ b/src/mame/drivers/taito_z.cpp
@@ -1096,7 +1096,7 @@ WRITE16_MEMBER(taitoz_state::spacegun_output_bypass_w)
break;
default:
- m_tc0220ioc->write(space, offset, data); /* might be a 510NIO ! */
+ m_tc0510nio->write(space, offset, data);
}
}
@@ -1251,7 +1251,7 @@ READ16_MEMBER(taitoz_state::spacegun_input_bypass_r)
return m_eeprom->do_read() << 7;
default:
- return m_tc0220ioc->read(space, offset); /* might be a 510NIO ! */
+ return m_tc0510nio->read(space, offset);
}
}
@@ -3524,12 +3524,12 @@ static MACHINE_CONFIG_START( spacegun )
MCFG_EEPROM_SERIAL_93C46_ADD("eeprom")
MCFG_EEPROM_SERIAL_DATA(spacegun_default_eeprom, 128)
- MCFG_DEVICE_ADD("tc0220ioc", TC0220IOC, 0)
- MCFG_TC0220IOC_READ_0_CB(IOPORT("DSWA"))
- MCFG_TC0220IOC_READ_1_CB(IOPORT("DSWB"))
- MCFG_TC0220IOC_READ_2_CB(IOPORT("IN0"))
- MCFG_TC0220IOC_READ_3_CB(IOPORT("IN1"))
- MCFG_TC0220IOC_READ_7_CB(IOPORT("IN2"))
+ MCFG_DEVICE_ADD("tc0510nio", TC0510NIO, 0)
+ MCFG_TC0510NIO_READ_0_CB(IOPORT("DSWA"))
+ MCFG_TC0510NIO_READ_1_CB(IOPORT("DSWB"))
+ MCFG_TC0510NIO_READ_2_CB(IOPORT("IN0"))
+ MCFG_TC0510NIO_READ_3_CB(IOPORT("IN1"))
+ MCFG_TC0510NIO_READ_7_CB(IOPORT("IN2"))
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
diff --git a/src/mame/machine/taitoio.cpp b/src/mame/machine/taitoio.cpp
index d7b7270be4b..ae754907687 100644
--- a/src/mame/machine/taitoio.cpp
+++ b/src/mame/machine/taitoio.cpp
@@ -4,7 +4,7 @@
TC0220IOC
---------
-A simple I/O interface with integrated watchdog.
+A simple I/O interface with integrated watchdog in a 80-pin flat package.
It has four address inputs, which would suggest 16 bytes of addressing space,
but only the first 8 seem to be used.
@@ -22,7 +22,7 @@ but only the first 8 seem to be used.
TC0510NIO
---------
-Newer version of the I/O chip
+Newer QFP100 version of the I/O chip
000 R DSWA
000 W watchdog reset