summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/jeutel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/jeutel.cpp')
-rw-r--r--src/mame/drivers/jeutel.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/mame/drivers/jeutel.cpp b/src/mame/drivers/jeutel.cpp
index 92b505ec236..b35dae967ce 100644
--- a/src/mame/drivers/jeutel.cpp
+++ b/src/mame/drivers/jeutel.cpp
@@ -198,13 +198,13 @@ DRIVER_INIT_MEMBER( jeutel_state, jeutel )
MACHINE_CONFIG_START(jeutel_state::jeutel)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", Z80, 3300000)
- MCFG_CPU_PROGRAM_MAP(jeutel_map)
- MCFG_CPU_ADD("cpu2", Z80, 3300000)
- MCFG_CPU_PROGRAM_MAP(jeutel_cpu2)
- MCFG_CPU_ADD("cpu3", Z80, 3300000)
- MCFG_CPU_PROGRAM_MAP(jeutel_cpu3)
- MCFG_CPU_IO_MAP(jeutel_cpu3_io)
+ MCFG_DEVICE_ADD("maincpu", Z80, 3300000)
+ MCFG_DEVICE_PROGRAM_MAP(jeutel_map)
+ MCFG_DEVICE_ADD("cpu2", Z80, 3300000)
+ MCFG_DEVICE_PROGRAM_MAP(jeutel_cpu2)
+ MCFG_DEVICE_ADD("cpu3", Z80, 3300000)
+ MCFG_DEVICE_PROGRAM_MAP(jeutel_cpu3)
+ MCFG_DEVICE_IO_MAP(jeutel_cpu3_io)
/* Video */
MCFG_DEFAULT_LAYOUT(layout_jeutel)
@@ -215,40 +215,40 @@ MACHINE_CONFIG_START(jeutel_state::jeutel)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_SOUND_ADD("aysnd", AY8910, 639450)
- MCFG_AY8910_PORT_A_WRITE_CB(WRITE8(jeutel_state,porta_w))
- MCFG_AY8910_PORT_B_READ_CB(READ8(jeutel_state,portb_r))
+ MCFG_DEVICE_ADD("aysnd", AY8910, 639450)
+ MCFG_AY8910_PORT_A_WRITE_CB(WRITE8(*this, jeutel_state,porta_w))
+ MCFG_AY8910_PORT_B_READ_CB(READ8(*this, jeutel_state,portb_r))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
- MCFG_SOUND_ADD("tms", TMS5110A, 640000)
- //MCFG_TMS5110_M0_CB(DEVWRITELINE("tmsprom", tmsprom_device, m0_w))
- //MCFG_TMS5110_DATA_CB(DEVREADLINE("tmsprom", tmsprom_device, data_r))
+ MCFG_DEVICE_ADD("tms", TMS5110A, 640000)
+ //MCFG_TMS5110_M0_CB(WRITELINE("tmsprom", tmsprom_device, m0_w))
+ //MCFG_TMS5110_DATA_CB(READLINE("tmsprom", tmsprom_device, data_r))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
/* Devices */
MCFG_DEVICE_ADD("ppi8255_0", I8255A, 0)
//MCFG_I8255_IN_PORTA_CB(IOPORT("P1"))
- MCFG_I8255_OUT_PORTA_CB(WRITE8(jeutel_state, ppi0a_w))
+ MCFG_I8255_OUT_PORTA_CB(WRITE8(*this, jeutel_state, ppi0a_w))
//MCFG_I8255_IN_PORTB_CB(IOPORT("P2"))
- MCFG_I8255_OUT_PORTB_CB(WRITE8(jeutel_state, ppi0b_w))
+ MCFG_I8255_OUT_PORTB_CB(WRITE8(*this, jeutel_state, ppi0b_w))
//MCFG_I8255_IN_PORTC_CB(IOPORT("EXTRA"))
- //MCFG_I8255_OUT_PORTC_CB(WRITE8(jeutel_state, ppi0c_w))
+ //MCFG_I8255_OUT_PORTC_CB(WRITE8(*this, jeutel_state, ppi0c_w))
MCFG_DEVICE_ADD("ppi8255_1", I8255A, 0)
//MCFG_I8255_IN_PORTA_CB(IOPORT("P1"))
- //MCFG_I8255_OUT_PORTA_CB(WRITE8(jeutel_state, ppi1a_w))
+ //MCFG_I8255_OUT_PORTA_CB(WRITE8(*this, jeutel_state, ppi1a_w))
//MCFG_I8255_IN_PORTB_CB(IOPORT("P2"))
- //MCFG_I8255_OUT_PORTB_CB(WRITE8(jeutel_state, ppi1b_w))
+ //MCFG_I8255_OUT_PORTB_CB(WRITE8(*this, jeutel_state, ppi1b_w))
//MCFG_I8255_IN_PORTC_CB(IOPORT("EXTRA"))
- //MCFG_I8255_OUT_PORTC_CB(WRITE8(jeutel_state, ppi1c_w))
+ //MCFG_I8255_OUT_PORTC_CB(WRITE8(*this, jeutel_state, ppi1c_w))
MCFG_DEVICE_ADD("ppi8255_2", I8255A, 0)
//MCFG_I8255_IN_PORTA_CB(IOPORT("P1"))
- //MCFG_I8255_OUT_PORTA_CB(WRITE8(jeutel_state, ppi2a_w))
+ //MCFG_I8255_OUT_PORTA_CB(WRITE8(*this, jeutel_state, ppi2a_w))
//MCFG_I8255_IN_PORTB_CB(IOPORT("P2"))
- //MCFG_I8255_OUT_PORTB_CB(WRITE8(jeutel_state, ppi2b_w))
+ //MCFG_I8255_OUT_PORTB_CB(WRITE8(*this, jeutel_state, ppi2b_w))
//MCFG_I8255_IN_PORTC_CB(IOPORT("EXTRA"))
- //MCFG_I8255_OUT_PORTC_CB(WRITE8(jeutel_state, ppi2c_w))
+ //MCFG_I8255_OUT_PORTC_CB(WRITE8(*this, jeutel_state, ppi2c_w))
MCFG_TIMER_DRIVER_ADD_PERIODIC("timer_a", jeutel_state, timer_a, attotime::from_hz(120))
MACHINE_CONFIG_END