diff options
Diffstat (limited to 'src/mame/drivers/citycon.cpp')
-rw-r--r-- | src/mame/drivers/citycon.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/citycon.cpp b/src/mame/drivers/citycon.cpp index 5db550d845c..2b6dc58858d 100644 --- a/src/mame/drivers/citycon.cpp +++ b/src/mame/drivers/citycon.cpp @@ -190,13 +190,13 @@ void citycon_state::machine_reset() MACHINE_CONFIG_START(citycon_state::citycon) /* basic machine hardware */ - MCFG_CPU_ADD("maincpu", MC6809, XTAL(8'000'000)) // HD68B09P - MCFG_CPU_PROGRAM_MAP(citycon_map) - MCFG_CPU_VBLANK_INT_DRIVER("screen", citycon_state, irq0_line_assert) + MCFG_DEVICE_ADD("maincpu", MC6809, XTAL(8'000'000)) // HD68B09P + MCFG_DEVICE_PROGRAM_MAP(citycon_map) + MCFG_DEVICE_VBLANK_INT_DRIVER("screen", citycon_state, irq0_line_assert) - MCFG_CPU_ADD("audiocpu", MC6809E, XTAL(20'000'000) / 32) // schematics allow for either a 6809 or 6809E; HD68A09EP found on one actual PCB - MCFG_CPU_PROGRAM_MAP(sound_map) - MCFG_CPU_VBLANK_INT_DRIVER("screen", citycon_state, irq0_line_hold) //actually unused, probably it was during development + MCFG_DEVICE_ADD("audiocpu", MC6809E, XTAL(20'000'000) / 32) // schematics allow for either a 6809 or 6809E; HD68A09EP found on one actual PCB + MCFG_DEVICE_PROGRAM_MAP(sound_map) + MCFG_DEVICE_VBLANK_INT_DRIVER("screen", citycon_state, irq0_line_hold) //actually unused, probably it was during development /* video hardware */ MCFG_SCREEN_ADD("screen", RASTER) @@ -217,12 +217,12 @@ MACHINE_CONFIG_START(citycon_state::citycon) MCFG_GENERIC_LATCH_8_ADD("soundlatch") MCFG_GENERIC_LATCH_8_ADD("soundlatch2") - MCFG_SOUND_ADD("aysnd", AY8910, XTAL(20'000'000) / 16) // schematics consistently specify AY-3-8910, though YM2149 found on one actual PCB + MCFG_DEVICE_ADD("aysnd", AY8910, XTAL(20'000'000) / 16) // schematics consistently specify AY-3-8910, though YM2149 found on one actual PCB MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40) - MCFG_SOUND_ADD("ymsnd", YM2203, XTAL(20'000'000) / 16) - MCFG_AY8910_PORT_A_READ_CB(DEVREAD8("soundlatch", generic_latch_8_device, read)) - MCFG_AY8910_PORT_B_READ_CB(DEVREAD8("soundlatch2", generic_latch_8_device, read)) + MCFG_DEVICE_ADD("ymsnd", YM2203, XTAL(20'000'000) / 16) + MCFG_AY8910_PORT_A_READ_CB(READ8("soundlatch", generic_latch_8_device, read)) + MCFG_AY8910_PORT_B_READ_CB(READ8("soundlatch2", generic_latch_8_device, read)) MCFG_SOUND_ROUTE(0, "mono", 0.40) MCFG_SOUND_ROUTE(1, "mono", 0.40) MCFG_SOUND_ROUTE(2, "mono", 0.40) |