diff options
Diffstat (limited to 'src/mame/machine/taito68705interface.cpp')
-rw-r--r-- | src/mame/machine/taito68705interface.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/machine/taito68705interface.cpp b/src/mame/machine/taito68705interface.cpp index 0082bf174ff..20630322d45 100644 --- a/src/mame/machine/taito68705interface.cpp +++ b/src/mame/machine/taito68705interface.cpp @@ -190,10 +190,10 @@ taito68705_mcu_device::taito68705_mcu_device(const machine_config &mconfig, devi } MACHINE_CONFIG_START(taito68705_mcu_device::device_add_mconfig) - MCFG_CPU_ADD("mcu", M68705P5, DERIVED_CLOCK(1, 1)) - MCFG_M68705_PORTC_R_CB(READ8(taito68705_mcu_device, mcu_portc_r)) - MCFG_M68705_PORTA_W_CB(WRITE8(taito68705_mcu_device, mcu_pa_w)) - MCFG_M68705_PORTB_W_CB(WRITE8(taito68705_mcu_device, mcu_portb_w)) + MCFG_DEVICE_ADD("mcu", M68705P5, DERIVED_CLOCK(1, 1)) + MCFG_M68705_PORTC_R_CB(READ8(*this, taito68705_mcu_device, mcu_portc_r)) + MCFG_M68705_PORTA_W_CB(WRITE8(*this, taito68705_mcu_device, mcu_pa_w)) + MCFG_M68705_PORTB_W_CB(WRITE8(*this, taito68705_mcu_device, mcu_portb_w)) MACHINE_CONFIG_END void taito68705_mcu_device::device_start() @@ -322,11 +322,11 @@ arkanoid_68705p3_device::arkanoid_68705p3_device( } MACHINE_CONFIG_START(arkanoid_68705p3_device::device_add_mconfig) - MCFG_CPU_ADD("mcu", M68705P3, DERIVED_CLOCK(1, 1)) - MCFG_M68705_PORTB_R_CB(READ8(arkanoid_68705p3_device, mcu_pb_r)) - MCFG_M68705_PORTC_R_CB(READ8(arkanoid_68705p3_device, mcu_pc_r)) - MCFG_M68705_PORTA_W_CB(WRITE8(arkanoid_68705p3_device, mcu_pa_w)) - MCFG_M68705_PORTC_W_CB(WRITE8(arkanoid_68705p3_device, mcu_pc_w)) + MCFG_DEVICE_ADD("mcu", M68705P3, DERIVED_CLOCK(1, 1)) + MCFG_M68705_PORTB_R_CB(READ8(*this, arkanoid_68705p3_device, mcu_pb_r)) + MCFG_M68705_PORTC_R_CB(READ8(*this, arkanoid_68705p3_device, mcu_pc_r)) + MCFG_M68705_PORTA_W_CB(WRITE8(*this, arkanoid_68705p3_device, mcu_pa_w)) + MCFG_M68705_PORTC_W_CB(WRITE8(*this, arkanoid_68705p3_device, mcu_pc_w)) MACHINE_CONFIG_END @@ -340,9 +340,9 @@ arkanoid_68705p5_device::arkanoid_68705p5_device( } MACHINE_CONFIG_START(arkanoid_68705p5_device::device_add_mconfig) - MCFG_CPU_ADD("mcu", M68705P5, DERIVED_CLOCK(1, 1)) - MCFG_M68705_PORTB_R_CB(READ8(arkanoid_68705p5_device, mcu_pb_r)) - MCFG_M68705_PORTC_R_CB(READ8(arkanoid_68705p5_device, mcu_pc_r)) - MCFG_M68705_PORTA_W_CB(WRITE8(arkanoid_68705p5_device, mcu_pa_w)) - MCFG_M68705_PORTC_W_CB(WRITE8(arkanoid_68705p5_device, mcu_pc_w)) + MCFG_DEVICE_ADD("mcu", M68705P5, DERIVED_CLOCK(1, 1)) + MCFG_M68705_PORTB_R_CB(READ8(*this, arkanoid_68705p5_device, mcu_pb_r)) + MCFG_M68705_PORTC_R_CB(READ8(*this, arkanoid_68705p5_device, mcu_pc_r)) + MCFG_M68705_PORTA_W_CB(WRITE8(*this, arkanoid_68705p5_device, mcu_pa_w)) + MCFG_M68705_PORTC_W_CB(WRITE8(*this, arkanoid_68705p5_device, mcu_pc_w)) MACHINE_CONFIG_END |