diff options
Diffstat (limited to 'src/mame/drivers/onyx.cpp')
-rw-r--r-- | src/mame/drivers/onyx.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/onyx.cpp b/src/mame/drivers/onyx.cpp index b5e77bbfe10..6be6a56b0e3 100644 --- a/src/mame/drivers/onyx.cpp +++ b/src/mame/drivers/onyx.cpp @@ -145,9 +145,9 @@ MACHINE_CONFIG_START(onyx_state::c8002) MCFG_DEVICE_IO_MAP(subio) MCFG_MACHINE_RESET_OVERRIDE(onyx_state, c8002) - MCFG_DEVICE_ADD("sio1_clock", CLOCK, 307200) - MCFG_CLOCK_SIGNAL_HANDLER(WRITELINE("sio1", z80sio_device, rxca_w)) - MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("sio1" ,z80sio_device, txca_w)) + clock_device &sio1_clock(CLOCK(config, "sio1_clock", 307200)); + sio1_clock.signal_handler().set(m_sio1, FUNC(z80sio_device::rxca_w)); + sio1_clock.signal_handler().append(m_sio1, FUNC(z80sio_device::txca_w)); /* peripheral hardware */ MCFG_DEVICE_ADD("pio1", Z80PIO, XTAL(16'000'000)/4) @@ -174,9 +174,9 @@ MACHINE_CONFIG_START(onyx_state::c8002) MCFG_DEVICE_ADD("pio1s", Z80PIO, XTAL(16'000'000)/4) //MCFG_Z80PIO_OUT_INT_CB(INPUTLINE("subcpu", INPUT_LINE_IRQ0)) - MCFG_DEVICE_ADD("sio1s_clock", CLOCK, 614400) - MCFG_CLOCK_SIGNAL_HANDLER(WRITELINE("sio1s", z80sio_device, rxtxcb_w)) - //MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("sio1s" ,z80sio_device, txca_w)) + clock_device &sio1s_clock(CLOCK(config, "sio1s_clock", 614400)); + sio1s_clock.signal_handler().set("sio1s", FUNC(z80sio_device::rxtxcb_w)); + //sio1s_clock.signal_handler().append("sio1s", FUNC(z80sio_device::txca_w)); MCFG_DEVICE_ADD("sio1s", Z80SIO, XTAL(16'000'000) /4) MCFG_Z80SIO_OUT_TXDB_CB(WRITELINE("rs232s", rs232_port_device, write_txd)) |