summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/pc1512kb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/pc1512kb.cpp')
-rw-r--r--src/mame/machine/pc1512kb.cpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/mame/machine/pc1512kb.cpp b/src/mame/machine/pc1512kb.cpp
index 35c9a21a35f..a86f241e8d3 100644
--- a/src/mame/machine/pc1512kb.cpp
+++ b/src/mame/machine/pc1512kb.cpp
@@ -47,10 +47,10 @@ const tiny_rom_entry *pc1512_keyboard_device::device_rom_region() const
//-------------------------------------------------
-// MACHINE_DRIVER( pc1512_keyboard )
+// device_add_mconfig - add device configuration
//-------------------------------------------------
-static MACHINE_CONFIG_START( pc1512_keyboard )
+MACHINE_CONFIG_MEMBER( pc1512_keyboard_device::device_add_mconfig )
MCFG_CPU_ADD(I8048_TAG, I8048, XTAL_6MHz)
MCFG_MCS48_PORT_BUS_IN_CB(READ8(pc1512_keyboard_device, kb_bus_r))
MCFG_MCS48_PORT_P1_OUT_CB(WRITE8(pc1512_keyboard_device, kb_p1_w))
@@ -64,17 +64,6 @@ MACHINE_CONFIG_END
//-------------------------------------------------
-// machine_config_additions - device-specific
-// machine configurations
-//-------------------------------------------------
-
-machine_config_constructor pc1512_keyboard_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( pc1512_keyboard );
-}
-
-
-//-------------------------------------------------
// INPUT_PORTS( pc1512_keyboard )
//-------------------------------------------------