summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/exelv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/exelv.cpp')
-rw-r--r--src/mame/drivers/exelv.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/mame/drivers/exelv.cpp b/src/mame/drivers/exelv.cpp
index cf781c67530..b6dfa06c11d 100644
--- a/src/mame/drivers/exelv.cpp
+++ b/src/mame/drivers/exelv.cpp
@@ -482,21 +482,21 @@ MACHINE_START_MEMBER( exelv_state, exeltel)
MACHINE_CONFIG_START(exelv_state::exl100)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", TMS7020_EXL, XTAL(4'915'200))
- MCFG_CPU_PROGRAM_MAP(tms7020_mem)
- MCFG_TMS7000_IN_PORTA_CB(READ8(exelv_state, tms7020_porta_r))
- MCFG_TMS7000_OUT_PORTB_CB(WRITE8(exelv_state, tms7020_portb_w))
+ MCFG_DEVICE_ADD("maincpu", TMS7020_EXL, XTAL(4'915'200))
+ MCFG_DEVICE_PROGRAM_MAP(tms7020_mem)
+ MCFG_TMS7000_IN_PORTA_CB(READ8(*this, exelv_state, tms7020_porta_r))
+ MCFG_TMS7000_OUT_PORTB_CB(WRITE8(*this, exelv_state, tms7020_portb_w))
MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", exelv_state, exelv_hblank_interrupt, "screen", 0, 1)
MCFG_MACHINE_START_OVERRIDE(exelv_state, exl100)
- MCFG_CPU_ADD("tms7041", TMS7041, XTAL(4'915'200))
- MCFG_TMS7000_IN_PORTA_CB(READ8(exelv_state, tms7041_porta_r))
- MCFG_TMS7000_OUT_PORTB_CB(WRITE8(exelv_state, tms7041_portb_w))
- MCFG_TMS7000_IN_PORTC_CB(READ8(exelv_state, tms7041_portc_r))
- MCFG_TMS7000_OUT_PORTC_CB(WRITE8(exelv_state, tms7041_portc_w))
- MCFG_TMS7000_IN_PORTD_CB(READ8(exelv_state, tms7041_portd_r))
- MCFG_TMS7000_OUT_PORTD_CB(WRITE8(exelv_state, tms7041_portd_w))
+ MCFG_DEVICE_ADD("tms7041", TMS7041, XTAL(4'915'200))
+ MCFG_TMS7000_IN_PORTA_CB(READ8(*this, exelv_state, tms7041_porta_r))
+ MCFG_TMS7000_OUT_PORTB_CB(WRITE8(*this, exelv_state, tms7041_portb_w))
+ MCFG_TMS7000_IN_PORTC_CB(READ8(*this, exelv_state, tms7041_portc_r))
+ MCFG_TMS7000_OUT_PORTC_CB(WRITE8(*this, exelv_state, tms7041_portc_w))
+ MCFG_TMS7000_IN_PORTD_CB(READ8(*this, exelv_state, tms7041_portd_r))
+ MCFG_TMS7000_OUT_PORTD_CB(WRITE8(*this, exelv_state, tms7041_portd_w))
MCFG_QUANTUM_PERFECT_CPU("maincpu")
@@ -523,7 +523,7 @@ MACHINE_CONFIG_START(exelv_state::exl100)
/* sound */
MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_SOUND_ADD("tms5220c", TMS5220C, 640000)
+ MCFG_DEVICE_ADD("tms5220c", TMS5220C, 640000)
// MCFG_TMS52XX_SPEECHROM("vsm")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
@@ -538,21 +538,21 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(exelv_state::exeltel)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", TMS7040, XTAL(4'915'200))
- MCFG_CPU_PROGRAM_MAP(tms7040_mem)
- MCFG_TMS7000_IN_PORTA_CB(READ8(exelv_state, tms7020_porta_r))
- MCFG_TMS7000_OUT_PORTB_CB(WRITE8(exelv_state, tms7020_portb_w))
+ MCFG_DEVICE_ADD("maincpu", TMS7040, XTAL(4'915'200))
+ MCFG_DEVICE_PROGRAM_MAP(tms7040_mem)
+ MCFG_TMS7000_IN_PORTA_CB(READ8(*this, exelv_state, tms7020_porta_r))
+ MCFG_TMS7000_OUT_PORTB_CB(WRITE8(*this, exelv_state, tms7020_portb_w))
MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", exelv_state, exelv_hblank_interrupt, "screen", 0, 1)
MCFG_MACHINE_START_OVERRIDE(exelv_state, exeltel)
- MCFG_CPU_ADD("tms7042", TMS7042, XTAL(4'915'200))
- MCFG_TMS7000_IN_PORTA_CB(READ8(exelv_state, tms7041_porta_r))
- MCFG_TMS7000_OUT_PORTB_CB(WRITE8(exelv_state, tms7041_portb_w))
- MCFG_TMS7000_IN_PORTC_CB(READ8(exelv_state, tms7041_portc_r))
- MCFG_TMS7000_OUT_PORTC_CB(WRITE8(exelv_state, tms7041_portc_w))
- MCFG_TMS7000_IN_PORTD_CB(READ8(exelv_state, tms7041_portd_r))
- MCFG_TMS7000_OUT_PORTD_CB(WRITE8(exelv_state, tms7041_portd_w))
+ MCFG_DEVICE_ADD("tms7042", TMS7042, XTAL(4'915'200))
+ MCFG_TMS7000_IN_PORTA_CB(READ8(*this, exelv_state, tms7041_porta_r))
+ MCFG_TMS7000_OUT_PORTB_CB(WRITE8(*this, exelv_state, tms7041_portb_w))
+ MCFG_TMS7000_IN_PORTC_CB(READ8(*this, exelv_state, tms7041_portc_r))
+ MCFG_TMS7000_OUT_PORTC_CB(WRITE8(*this, exelv_state, tms7041_portc_w))
+ MCFG_TMS7000_IN_PORTD_CB(READ8(*this, exelv_state, tms7041_portd_r))
+ MCFG_TMS7000_OUT_PORTD_CB(WRITE8(*this, exelv_state, tms7041_portd_w))
MCFG_QUANTUM_PERFECT_CPU("maincpu")
@@ -579,7 +579,7 @@ MACHINE_CONFIG_START(exelv_state::exeltel)
/* sound */
MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_SOUND_ADD("tms5220c", TMS5220C, 640000)
+ MCFG_DEVICE_ADD("tms5220c", TMS5220C, 640000)
MCFG_TMS52XX_SPEECHROM("vsm")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
MACHINE_CONFIG_END