diff options
Diffstat (limited to 'src/mame/drivers/qvt6800.cpp')
-rw-r--r-- | src/mame/drivers/qvt6800.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/qvt6800.cpp b/src/mame/drivers/qvt6800.cpp index 8c0758a8e3c..38bc5578e40 100644 --- a/src/mame/drivers/qvt6800.cpp +++ b/src/mame/drivers/qvt6800.cpp @@ -79,9 +79,9 @@ MACHINE_CONFIG_START(qvt6800_state::qvt102) MCFG_DEVICE_ADD("acia", ACIA6850, 0) - MCFG_DEVICE_ADD("ctc", Z80CTC, XTAL(16'669'800) / 9) - MCFG_Z80CTC_ZC0_CB(WRITELINE("acia", acia6850_device, write_txc)) - MCFG_Z80CTC_ZC1_CB(WRITELINE("acia", acia6850_device, write_rxc)) + z80ctc_device& ctc(Z80CTC(config, "ctc", XTAL(16'669'800) / 9)); + ctc.zc_callback<0>().set("acia", FUNC(acia6850_device::write_txc)); + ctc.zc_callback<1>().set("acia", FUNC(acia6850_device::write_rxc)); clock_device &ctcclk(CLOCK(config, "ctcclk", 16.6698_MHz_XTAL / 18)); // OR of CRTC CLK and ϕ1 ctcclk.signal_handler().set("ctc", FUNC(z80ctc_device::trg0)); |