summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/f1gp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/f1gp.cpp')
-rw-r--r--src/mame/drivers/f1gp.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/f1gp.cpp b/src/mame/drivers/f1gp.cpp
index 9634e1f98f7..5ca58d73376 100644
--- a/src/mame/drivers/f1gp.cpp
+++ b/src/mame/drivers/f1gp.cpp
@@ -437,9 +437,9 @@ MACHINE_CONFIG_START(f1gp_state::f1gp)
MCFG_ACIA6850_IRQ_HANDLER(INPUTLINE("sub", M68K_IRQ_3))
MCFG_ACIA6850_TXD_HANDLER(WRITELINE("acia", acia6850_device, write_rxd)) // loopback for now
- MCFG_DEVICE_ADD("acia_clock", CLOCK, 1000000) // guessed
- MCFG_CLOCK_SIGNAL_HANDLER(WRITELINE("acia", acia6850_device, write_txc))
- MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("acia", acia6850_device, write_rxc))
+ clock_device &acia_clock(CLOCK(config, "acia_clock", 1000000)); // guessed
+ acia_clock.signal_handler().set(m_acia, FUNC(acia6850_device::write_txc));
+ acia_clock.signal_handler().append(m_acia, FUNC(acia6850_device::write_rxc));
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
@@ -511,9 +511,9 @@ MACHINE_CONFIG_START(f1gp_state::f1gpb)
MCFG_ACIA6850_IRQ_HANDLER(INPUTLINE("sub", M68K_IRQ_3))
MCFG_ACIA6850_TXD_HANDLER(WRITELINE("acia", acia6850_device, write_rxd)) // loopback for now
- MCFG_DEVICE_ADD("acia_clock", CLOCK, 1000000) // guessed
- MCFG_CLOCK_SIGNAL_HANDLER(WRITELINE("acia", acia6850_device, write_txc))
- MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("acia", acia6850_device, write_rxc))
+ clock_device &acia_clock(CLOCK(config, "acia_clock", 1000000)); // guessed
+ acia_clock.signal_handler().set(m_acia, FUNC(acia6850_device::write_txc));
+ acia_clock.signal_handler().append(m_acia, FUNC(acia6850_device::write_rxc));
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)