summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/duet16.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2018-08-24 23:02:43 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2018-08-24 23:02:43 +0200
commit1e445ab370775fb1e62f135fdba902b02a5929cc (patch)
tree34e3a3a32c4244f52d45d33f40d2f8bdb9d0bf1d /src/mame/drivers/duet16.cpp
parentdabf58e85af92a40c410fe502170a042b7e41f95 (diff)
z8536.cpp, z80sti.cpp: deMCGF; z80sio.cpp: started deMCFG (nw)
Diffstat (limited to 'src/mame/drivers/duet16.cpp')
-rw-r--r--src/mame/drivers/duet16.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/duet16.cpp b/src/mame/drivers/duet16.cpp
index ef636f2dcfc..9908e3eab07 100644
--- a/src/mame/drivers/duet16.cpp
+++ b/src/mame/drivers/duet16.cpp
@@ -388,8 +388,8 @@ MACHINE_CONFIG_START(duet16_state::duet16)
itm.o3_callback().append("itm", FUNC(ptm6840_device::set_c2));
itm.irq_callback().set(m_tmint, FUNC(input_merger_device::in_w<0>));
- MCFG_DEVICE_ADD("sio", UPD7201_NEW, 8_MHz_XTAL / 2)
- MCFG_Z80SIO_OUT_INT_CB(WRITELINE("pic", pic8259_device, ir1_w)) // INT5
+ upd7201_new_device& sio(UPD7201_NEW(config, "sio", 8_MHz_XTAL / 2));
+ sio.out_int_callback().set("pic", FUNC(pic8259_device::ir1_w)); // INT5
MCFG_DEVICE_ADD("kbusart", I8251, 8_MHz_XTAL / 4)
MCFG_I8251_TXD_HANDLER(WRITELINE("kbd", rs232_port_device, write_txd))