summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/pofo/hpc102.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2017-06-13 16:47:41 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2017-06-13 16:47:41 +0200
commit4afaaedddfcc8449d6e2a442fba17a77b1b23656 (patch)
tree140f0e02d885a0f484c857a3e7cb9324bfbfe70c /src/devices/bus/pofo/hpc102.cpp
parentba478477978e35a1597523d51e61642b673ac864 (diff)
device_add_mconfig up to devices/bus/q* (nw)
Diffstat (limited to 'src/devices/bus/pofo/hpc102.cpp')
-rw-r--r--src/devices/bus/pofo/hpc102.cpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/devices/bus/pofo/hpc102.cpp b/src/devices/bus/pofo/hpc102.cpp
index 91103772ebd..ff25d47d7a9 100644
--- a/src/devices/bus/pofo/hpc102.cpp
+++ b/src/devices/bus/pofo/hpc102.cpp
@@ -30,10 +30,10 @@ DEFINE_DEVICE_TYPE(POFO_HPC102, pofo_hpc102_device, "pofo_hpc102", "Atari Portfo
//-------------------------------------------------
-// MACHINE_CONFIG_START( hpc102 )
+// device_add_mconfig - add device configuration
//-------------------------------------------------
-static MACHINE_CONFIG_START( hpc102 )
+MACHINE_CONFIG_MEMBER( pofo_hpc102_device::device_add_mconfig )
MCFG_DEVICE_ADD(M82C50A_TAG, INS8250, XTAL_1_8432MHz) // should be INS8250A
MCFG_INS8250_OUT_TX_CB(DEVWRITELINE(RS232_TAG, rs232_port_device, write_txd))
MCFG_INS8250_OUT_DTR_CB(DEVWRITELINE(RS232_TAG, rs232_port_device, write_dtr))
@@ -49,17 +49,6 @@ static MACHINE_CONFIG_START( hpc102 )
MACHINE_CONFIG_END
-//-------------------------------------------------
-// machine_config_additions - device-specific
-// machine configurations
-//-------------------------------------------------
-
-machine_config_constructor pofo_hpc102_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( hpc102 );
-}
-
-
//**************************************************************************
// LIVE DEVICE
//**************************************************************************