diff options
Diffstat (limited to 'src/mame/drivers/tecmosys.cpp')
-rw-r--r-- | src/mame/drivers/tecmosys.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/tecmosys.cpp b/src/mame/drivers/tecmosys.cpp index 6e8f44e60e4..18af8db14bc 100644 --- a/src/mame/drivers/tecmosys.cpp +++ b/src/mame/drivers/tecmosys.cpp @@ -455,16 +455,16 @@ void tecmosys_state::machine_start() } MACHINE_CONFIG_START(tecmosys_state::tecmosys) - MCFG_CPU_ADD("maincpu", M68000, XTAL(16'000'000)) - MCFG_CPU_PROGRAM_MAP(main_map) - MCFG_CPU_VBLANK_INT_DRIVER("screen", tecmosys_state, irq1_line_hold) + MCFG_DEVICE_ADD("maincpu", M68000, XTAL(16'000'000)) + MCFG_DEVICE_PROGRAM_MAP(main_map) + MCFG_DEVICE_VBLANK_INT_DRIVER("screen", tecmosys_state, irq1_line_hold) MCFG_WATCHDOG_ADD("watchdog") MCFG_WATCHDOG_VBLANK_INIT("screen", 400) // guess - MCFG_CPU_ADD("audiocpu", Z80, XTAL(16'000'000)/2 ) - MCFG_CPU_PROGRAM_MAP(sound_map) - MCFG_CPU_IO_MAP(io_map) + MCFG_DEVICE_ADD("audiocpu", Z80, XTAL(16'000'000)/2 ) + MCFG_DEVICE_PROGRAM_MAP(sound_map) + MCFG_DEVICE_IO_MAP(io_map) MCFG_GFXDECODE_ADD("gfxdecode", "palette", tecmosys) @@ -486,12 +486,12 @@ MACHINE_CONFIG_START(tecmosys_state::tecmosys) MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") MCFG_GENERIC_LATCH_8_ADD("soundlatch") - MCFG_GENERIC_LATCH_DATA_PENDING_CB(DEVWRITELINE("soundnmi", input_merger_device, in_w<0>)) + MCFG_GENERIC_LATCH_DATA_PENDING_CB(WRITELINE("soundnmi", input_merger_device, in_w<0>)) MCFG_INPUT_MERGER_ALL_HIGH("soundnmi") MCFG_INPUT_MERGER_OUTPUT_HANDLER(INPUTLINE("audiocpu", INPUT_LINE_NMI)) - MCFG_SOUND_ADD("ymf", YMF262, XTAL(14'318'181)) + MCFG_DEVICE_ADD("ymf", YMF262, XTAL(14'318'181)) MCFG_YMF262_IRQ_HANDLER(INPUTLINE("audiocpu", 0)) MCFG_SOUND_ROUTE(0, "lspeaker", 1.00) MCFG_SOUND_ROUTE(1, "rspeaker", 1.00) @@ -503,7 +503,7 @@ MACHINE_CONFIG_START(tecmosys_state::tecmosys) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.50) MCFG_DEVICE_ADDRESS_MAP(0, oki_map) - MCFG_SOUND_ADD("ymz", YMZ280B, XTAL(16'934'400)) + MCFG_DEVICE_ADD("ymz", YMZ280B, XTAL(16'934'400)) MCFG_SOUND_ROUTE(0, "lspeaker", 0.30) MCFG_SOUND_ROUTE(1, "rspeaker", 0.30) MACHINE_CONFIG_END |