summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ts803.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ts803.cpp')
-rw-r--r--src/mame/drivers/ts803.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/ts803.cpp b/src/mame/drivers/ts803.cpp
index 27c16cb67f8..79b169ef8c5 100644
--- a/src/mame/drivers/ts803.cpp
+++ b/src/mame/drivers/ts803.cpp
@@ -442,13 +442,13 @@ MACHINE_CONFIG_START(ts803_state::ts803)
MCFG_MC6845_UPDATE_ROW_CB(ts803_state, crtc_update_row)
MCFG_MC6845_ADDR_CHANGED_CB(ts803_state, crtc_update_addr)
- MCFG_DEVICE_ADD("sti_clock", CLOCK, 16_MHz_XTAL / 13)
- MCFG_CLOCK_SIGNAL_HANDLER(WRITELINE("sti", z80sti_device, tc_w))
- MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("sti", z80sti_device, rc_w))
+ clock_device &sti_clock(CLOCK(config, "sti_clock", 16_MHz_XTAL / 13));
+ sti_clock.signal_handler().set("sti", FUNC(z80sti_device::tc_w));
+ sti_clock.signal_handler().append("sti", FUNC(z80sti_device::rc_w));
- MCFG_DEVICE_ADD("dart_clock", CLOCK, (16_MHz_XTAL / 13) / 8)
- MCFG_CLOCK_SIGNAL_HANDLER(WRITELINE("dart", z80dart_device, txca_w))
- MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("dart", z80dart_device, rxca_w))
+ clock_device &dart_clock(CLOCK(config, "dart_clock", 16_MHz_XTAL / 13 / 8));
+ dart_clock.signal_handler().set("dart", FUNC(z80dart_device::txca_w));
+ dart_clock.signal_handler().append("dart", FUNC(z80dart_device::rxca_w));
MCFG_DEVICE_ADD("sti", Z80STI, 16_MHz_XTAL / 4)
MCFG_Z80STI_OUT_TBO_CB(WRITELINE("dart", z80dart_device, rxtxcb_w))