summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/special.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/special.cpp')
-rw-r--r--src/mame/drivers/special.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mame/drivers/special.cpp b/src/mame/drivers/special.cpp
index f331f040b79..a9b1199b5d3 100644
--- a/src/mame/drivers/special.cpp
+++ b/src/mame/drivers/special.cpp
@@ -462,8 +462,7 @@ MACHINE_CONFIG_START(special_state::specimx)
MCFG_PIT8253_CLK2(2000000)
MCFG_PIT8253_OUT2_HANDLER(WRITELINE("custom", specimx_sound_device, set_input_ch2))
- MCFG_DEVICE_REMOVE("ppi8255")
- MCFG_DEVICE_ADD("ppi8255", I8255, 0)
+ MCFG_DEVICE_REPLACE("ppi8255", I8255, 0)
MCFG_I8255_IN_PORTA_CB(READ8(*this, special_state, specialist_8255_porta_r))
MCFG_I8255_OUT_PORTA_CB(WRITE8(*this, special_state, specialist_8255_porta_w))
MCFG_I8255_IN_PORTB_CB(READ8(*this, special_state, specimx_8255_portb_r))
@@ -471,7 +470,7 @@ MACHINE_CONFIG_START(special_state::specimx)
MCFG_I8255_IN_PORTC_CB(READ8(*this, special_state, specialist_8255_portc_r))
MCFG_I8255_OUT_PORTC_CB(WRITE8(*this, special_state, specialist_8255_portc_w))
- MCFG_FD1793_ADD("fd1793", XTAL(8'000'000) / 8)
+ MCFG_DEVICE_ADD("fd1793", FD1793, 8_MHz_XTAL / 8)
MCFG_WD_FDC_DRQ_CALLBACK(WRITELINE(*this, special_state, fdc_drq))
MCFG_FLOPPY_DRIVE_ADD("fd0", specimx_floppies, "525qd", special_state::specimx_floppy_formats)
MCFG_FLOPPY_DRIVE_ADD("fd1", specimx_floppies, "525qd", special_state::specimx_floppy_formats)
@@ -525,7 +524,7 @@ MACHINE_CONFIG_START(special_state::erik)
MCFG_I8255_IN_PORTC_CB(READ8(*this, special_state, specialist_8255_portc_r))
MCFG_I8255_OUT_PORTC_CB(WRITE8(*this, special_state, specialist_8255_portc_w))
- MCFG_FD1793_ADD("fd1793", XTAL(8'000'000) / 8)
+ MCFG_DEVICE_ADD("fd1793", FD1793, 8_MHz_XTAL / 8)
MCFG_WD_FDC_DRQ_CALLBACK(WRITELINE(*this, special_state, fdc_drq))
MCFG_FLOPPY_DRIVE_ADD("fd0", specimx_floppies, "525qd", special_state::specimx_floppy_formats)
MCFG_FLOPPY_DRIVE_ADD("fd1", specimx_floppies, "525qd", special_state::specimx_floppy_formats)