summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/pdc.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2017-06-02 08:46:37 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2017-06-02 08:46:37 +0200
commitdc7eec650a98a1d89690bdd67f0d2e3fd8f10893 (patch)
tree5e0abbe3c138ef5c2139df9506c539c520a45a3f /src/devices/machine/pdc.cpp
parent9881020929083b49eeb740471863b350273c2200 (diff)
some more device_add_mconfig. Only devices/bus remains. (nw)
Diffstat (limited to 'src/devices/machine/pdc.cpp')
-rw-r--r--src/devices/machine/pdc.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/devices/machine/pdc.cpp b/src/devices/machine/pdc.cpp
index 2d7fba18bc8..3449f5aac5b 100644
--- a/src/devices/machine/pdc.cpp
+++ b/src/devices/machine/pdc.cpp
@@ -248,10 +248,10 @@ FLOPPY_FORMATS_MEMBER( pdc_device::floppy_formats )
FLOPPY_FORMATS_END
//-------------------------------------------------
-// MACHINE_DRIVER( pdc )
+// device_add_mconfig - add device configuration
//-------------------------------------------------
-static MACHINE_CONFIG_START( pdc )
+MACHINE_CONFIG_MEMBER( pdc_device::device_add_mconfig )
/* CPU - Zilog Z0840006PSC */
MCFG_CPU_ADD(Z80_TAG, Z80, XTAL_10MHz / 2)
MCFG_CPU_PROGRAM_MAP(pdc_mem)
@@ -284,16 +284,6 @@ static MACHINE_CONFIG_START( pdc )
MCFG_MFM_HARDDISK_CONN_ADD("h1", pdc_harddisks, nullptr, MFM_BYTE, 3000, 20, MFMHD_GEN_FORMAT)
MACHINE_CONFIG_END
-//-------------------------------------------------
-// machine_config_additions - device-specific
-// machine configurations
-//-------------------------------------------------
-
-machine_config_constructor pdc_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( pdc );
-}
-
ioport_constructor pdc_device::device_input_ports() const
{
return INPUT_PORTS_NAME( pdc_ports );