diff options
Diffstat (limited to 'src/devices/bus/epson_sio/tf20.cpp')
-rw-r--r-- | src/devices/bus/epson_sio/tf20.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/devices/bus/epson_sio/tf20.cpp b/src/devices/bus/epson_sio/tf20.cpp index 9a3301ef8e9..49b56894bec 100644 --- a/src/devices/bus/epson_sio/tf20.cpp +++ b/src/devices/bus/epson_sio/tf20.cpp @@ -76,19 +76,18 @@ ioport_constructor epson_tf20_device::device_input_ports() const } //------------------------------------------------- -// machine_config_additions - device-specific -// machine configurations +// device_add_mconfig - add device configuration //------------------------------------------------- static SLOT_INTERFACE_START( tf20_floppies ) SLOT_INTERFACE( "sd320", EPSON_SD_320 ) SLOT_INTERFACE_END -static MACHINE_CONFIG_START( tf20 ) +MACHINE_CONFIG_MEMBER( epson_tf20_device::device_add_mconfig ) MCFG_CPU_ADD("19b", Z80, XTAL_CR1 / 2) /* uPD780C */ MCFG_CPU_PROGRAM_MAP(cpu_mem) MCFG_CPU_IO_MAP(cpu_io) - MCFG_CPU_IRQ_ACKNOWLEDGE_DEVICE(DEVICE_SELF, epson_tf20_device,irq_callback) + MCFG_CPU_IRQ_ACKNOWLEDGE_DEVICE(DEVICE_SELF, epson_tf20_device, irq_callback) // 64k internal ram MCFG_RAM_ADD("ram") @@ -113,11 +112,6 @@ static MACHINE_CONFIG_START( tf20 ) MCFG_EPSON_SIO_PIN(DEVWRITELINE(DEVICE_SELF, epson_tf20_device, pinc_w)) MACHINE_CONFIG_END -machine_config_constructor epson_tf20_device::device_mconfig_additions() const -{ - return MACHINE_CONFIG_NAME( tf20 ); -} - //************************************************************************** // LIVE DEVICE |