summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/ht68k.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ht68k.cpp')
-rw-r--r--src/mame/drivers/ht68k.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/ht68k.cpp b/src/mame/drivers/ht68k.cpp
index 5bf051971de..ef693e57ba1 100644
--- a/src/mame/drivers/ht68k.cpp
+++ b/src/mame/drivers/ht68k.cpp
@@ -129,19 +129,19 @@ static void ht68k_floppies(device_slot_interface &device)
MACHINE_CONFIG_START(ht68k_state::ht68k)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu",M68000, XTAL(8'000'000))
- MCFG_CPU_PROGRAM_MAP(ht68k_mem)
+ MCFG_DEVICE_ADD("maincpu",M68000, XTAL(8'000'000))
+ MCFG_DEVICE_PROGRAM_MAP(ht68k_mem)
/* video hardware */
MCFG_DEVICE_ADD( "duart68681", MC68681, XTAL(8'000'000) / 2 )
MCFG_MC68681_SET_EXTERNAL_CLOCKS(500000, 500000, 1000000, 1000000)
- MCFG_MC68681_IRQ_CALLBACK(WRITELINE(ht68k_state, duart_irq_handler))
- MCFG_MC68681_A_TX_CALLBACK(DEVWRITELINE("rs232", rs232_port_device, write_txd))
- MCFG_MC68681_B_TX_CALLBACK(WRITELINE(ht68k_state, duart_txb))
- MCFG_MC68681_OUTPORT_CALLBACK(WRITE8(ht68k_state, duart_output))
+ MCFG_MC68681_IRQ_CALLBACK(WRITELINE(*this, ht68k_state, duart_irq_handler))
+ MCFG_MC68681_A_TX_CALLBACK(WRITELINE("rs232", rs232_port_device, write_txd))
+ MCFG_MC68681_B_TX_CALLBACK(WRITELINE(*this, ht68k_state, duart_txb))
+ MCFG_MC68681_OUTPORT_CALLBACK(WRITE8(*this, ht68k_state, duart_output))
- MCFG_RS232_PORT_ADD("rs232", default_rs232_devices, "terminal")
- MCFG_RS232_RXD_HANDLER(DEVWRITELINE("duart68681", mc68681_device, rx_a_w))
+ MCFG_DEVICE_ADD("rs232", RS232_PORT, default_rs232_devices, "terminal")
+ MCFG_RS232_RXD_HANDLER(WRITELINE("duart68681", mc68681_device, rx_a_w))
MCFG_WD1770_ADD("wd1770", XTAL(8'000'000) )