summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/bus/cpc/cpc_pds.c
diff options
context:
space:
mode:
author Fabio Priuli <etabeta78@users.noreply.github.com>2014-04-29 07:24:36 +0000
committer Fabio Priuli <etabeta78@users.noreply.github.com>2014-04-29 07:24:36 +0000
commit181f87e14242ed6d845e780924ef0bec457d583d (patch)
tree29916503554c4fdf68663adb62cf92c1dd07e39f /src/emu/bus/cpc/cpc_pds.c
parentbf9cc508b5164c313c91a0a82ad3182a13423cf4 (diff)
z80pio: converted to use devcb2. nw.
Diffstat (limited to 'src/emu/bus/cpc/cpc_pds.c')
-rw-r--r--src/emu/bus/cpc/cpc_pds.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/emu/bus/cpc/cpc_pds.c b/src/emu/bus/cpc/cpc_pds.c
index 19cb0bd1031..6e2a4b14685 100644
--- a/src/emu/bus/cpc/cpc_pds.c
+++ b/src/emu/bus/cpc/cpc_pds.c
@@ -16,21 +16,8 @@
const device_type CPC_PDS = &device_creator<cpc_pds_device>;
-static Z80PIO_INTERFACE( pio_intf )
-{
- DEVCB_NULL, //m_out_int_cb;
-
- DEVCB_NULL, //m_in_pa_cb;
- DEVCB_NULL, //m_out_pa_cb;
- DEVCB_NULL, //m_out_ardy_cb;
-
- DEVCB_NULL, //m_in_pb_cb;
- DEVCB_NULL, //m_out_pb_cb;
- DEVCB_NULL, //m_out_brdy_cb;
-};
-
static MACHINE_CONFIG_FRAGMENT( cpc_pds )
- MCFG_Z80PIO_ADD("pio",XTAL_4MHz,pio_intf) // no clock on the PCB, so will presume that it uses the CPC's clock
+ MCFG_DEVICE_ADD("pio", Z80PIO, XTAL_4MHz) // no clock on the PCB, so will presume that it uses the CPC's clock
// no pass-through seen on remake PCBs, unknown if actual hardware had a pass-through port or not
MACHINE_CONFIG_END