summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tranz330.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tranz330.cpp')
-rw-r--r--src/mame/drivers/tranz330.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/tranz330.cpp b/src/mame/drivers/tranz330.cpp
index 147a626abf0..f81be4882b1 100644
--- a/src/mame/drivers/tranz330.cpp
+++ b/src/mame/drivers/tranz330.cpp
@@ -148,12 +148,12 @@ void tranz330_state::tranz330(machine_config &config)
m_cpu->set_daisy_config(tranz330_daisy_chain);
CLOCK(config, "ctc_clock", XTAL(7'159'090)/4) // ?
- .set_signal_handler(DEVCB_WRITELINE(*this, tranz330_state, clock_w));
+ .signal_handler().set(FUNC(tranz330_state::clock_w));
MSM6242(config, RTC_TAG, XTAL(32'768));
- INPUT_MERGER_ANY_HIGH(config, "irq", 0)
- .set_output_handler(DEVCB_INPUTLINE(m_cpu, INPUT_LINE_IRQ0));
+ INPUT_MERGER_ANY_HIGH(config, "irq")
+ .output_handler().set_inputline(m_cpu, INPUT_LINE_IRQ0);
Z80PIO(config, m_pio, XTAL(7'159'090)/2); //*
m_pio->set_out_int_callback(DEVCB_WRITELINE("irq", input_merger_device, in_w<0>)); //*
@@ -173,9 +173,9 @@ void tranz330_state::tranz330(machine_config &config)
m_ctc->set_intr_callback(DEVCB_WRITELINE("irq", input_merger_device, in_w<2>));
RS232_PORT(config, m_rs232, default_rs232_devices, nullptr);
- m_rs232->set_rxd_handler(DEVCB_WRITELINE(m_dart, z80dart_device, rxb_w));
- m_rs232->set_dcd_handler(DEVCB_WRITELINE(m_dart, z80dart_device, dcdb_w));
- m_rs232->set_cts_handler(DEVCB_WRITELINE(m_dart, z80dart_device, ctsb_w));
+ m_rs232->rxd_handler().set(m_dart, FUNC(z80dart_device::rxb_w));
+ m_rs232->dcd_handler().set(m_dart, FUNC(z80dart_device::dcdb_w));
+ m_rs232->cts_handler().set(m_dart, FUNC(z80dart_device::ctsb_w));
// video
MIC10937(config, VFD_TAG).set_port_value(0);