summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/einstein.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/einstein.cpp')
-rw-r--r--src/mame/drivers/einstein.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/einstein.cpp b/src/mame/drivers/einstein.cpp
index 8c002b3b8d9..e7d3b4072a2 100644
--- a/src/mame/drivers/einstein.cpp
+++ b/src/mame/drivers/einstein.cpp
@@ -602,10 +602,10 @@ MACHINE_CONFIG_START(einstein_state::einstein)
MCFG_Z80CTC_ZC1_CB(WRITELINE(IC_I060, i8251_device, write_rxc))
MCFG_Z80CTC_ZC2_CB(WRITELINE(IC_I058, z80ctc_device, trg3))
- MCFG_CLOCK_ADD("ctc_trigger", XTAL_X002 / 4)
- MCFG_CLOCK_SIGNAL_HANDLER(WRITELINE(IC_I058, z80ctc_device, trg0))
- MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE(IC_I058, z80ctc_device, trg1))
- MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE(IC_I058, z80ctc_device, trg2))
+ clock_device &ctc_trigger(CLOCK(config, "ctc_trigger", XTAL_X002 / 4));
+ ctc_trigger.signal_handler().set(IC_I058, FUNC(z80ctc_device::trg0));
+ ctc_trigger.signal_handler().append(IC_I058, FUNC(z80ctc_device::trg1));
+ ctc_trigger.signal_handler().append(IC_I058, FUNC(z80ctc_device::trg2));
/* Einstein daisy chain support for non-Z80 devices */
MCFG_Z80DAISY_GENERIC_ADD("keyboard_daisy", 0xf7)