summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/model1.c
diff options
context:
space:
mode:
authorGravatarGravatar Aaron Giles <aaron@aarongiles.com>2010-12-31 21:18:45 +0000
committerGravatarGravatar Aaron Giles <aaron@aarongiles.com>2010-12-31 21:18:45 +0000
commitba6d1bd8a355c8f0225b0a3093cd7f999152b505 (patch) (github)
tree96196f3c9713b729d42bb1969109a9d517e93edd /src/mame/drivers/model1.c
parent80f4cfa981c948232d3c1ef2c65b18cc6005b651 (diff)
downloadmame-ba6d1bd8a355c8f0225b0a3093cd7f999152b505.tar.bz2
mame-ba6d1bd8a355c8f0225b0a3093cd7f999152b505.zip
MDRV_* -> MCFG_*
There hasn't been a machine driver for many years.
Diffstat (limited to 'src/mame/drivers/model1.c')
-rw-r--r--src/mame/drivers/model1.c114
1 files changed, 57 insertions, 57 deletions
diff --git a/src/mame/drivers/model1.c b/src/mame/drivers/model1.c
index 3a9cf9ca233..10a20554055 100644
--- a/src/mame/drivers/model1.c
+++ b/src/mame/drivers/model1.c
@@ -1498,87 +1498,87 @@ ROM_END
static MACHINE_CONFIG_START( model1, driver_device )
- MDRV_CPU_ADD("maincpu", V60, 16000000)
- MDRV_CPU_PROGRAM_MAP(model1_mem)
- MDRV_CPU_IO_MAP(model1_io)
- MDRV_CPU_VBLANK_INT_HACK(model1_interrupt, 2)
+ MCFG_CPU_ADD("maincpu", V60, 16000000)
+ MCFG_CPU_PROGRAM_MAP(model1_mem)
+ MCFG_CPU_IO_MAP(model1_io)
+ MCFG_CPU_VBLANK_INT_HACK(model1_interrupt, 2)
- MDRV_CPU_ADD("audiocpu", M68000, 10000000) // verified on real h/w
- MDRV_CPU_PROGRAM_MAP(model1_snd)
+ MCFG_CPU_ADD("audiocpu", M68000, 10000000) // verified on real h/w
+ MCFG_CPU_PROGRAM_MAP(model1_snd)
- MDRV_MACHINE_START(model1)
- MDRV_MACHINE_RESET(model1)
- MDRV_NVRAM_ADD_0FILL("nvram")
+ MCFG_MACHINE_START(model1)
+ MCFG_MACHINE_RESET(model1)
+ MCFG_NVRAM_ADD_0FILL("nvram")
- MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_AFTER_VBLANK )
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_AFTER_VBLANK )
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_RAW_PARAMS(XTAL_16MHz, 656, 0/*+69*/, 496/*+69*/, 424, 0/*+25*/, 384/*+25*/)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB15)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_RAW_PARAMS(XTAL_16MHz, 656, 0/*+69*/, 496/*+69*/, 424, 0/*+25*/, 384/*+25*/)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB15)
- MDRV_PALETTE_LENGTH(8192)
+ MCFG_PALETTE_LENGTH(8192)
- MDRV_VIDEO_START(model1)
- MDRV_VIDEO_UPDATE(model1)
- MDRV_VIDEO_EOF(model1)
+ MCFG_VIDEO_START(model1)
+ MCFG_VIDEO_UPDATE(model1)
+ MCFG_VIDEO_EOF(model1)
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MDRV_SOUND_ADD("ymsnd", YM3438, 8000000)
- MDRV_SOUND_ROUTE(0, "lspeaker", 0.60)
- MDRV_SOUND_ROUTE(1, "rspeaker", 0.60)
+ MCFG_SOUND_ADD("ymsnd", YM3438, 8000000)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 0.60)
+ MCFG_SOUND_ROUTE(1, "rspeaker", 0.60)
- MDRV_SOUND_ADD("sega1", MULTIPCM, 8000000)
- MDRV_SOUND_ROUTE(0, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(1, "rspeaker", 1.0)
+ MCFG_SOUND_ADD("sega1", MULTIPCM, 8000000)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
- MDRV_SOUND_ADD("sega2", MULTIPCM, 8000000)
- MDRV_SOUND_ROUTE(0, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(1, "rspeaker", 1.0)
+ MCFG_SOUND_ADD("sega2", MULTIPCM, 8000000)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( model1_vr, driver_device )
- MDRV_CPU_ADD("maincpu", V60, 16000000)
- MDRV_CPU_PROGRAM_MAP(model1_vr_mem)
- MDRV_CPU_IO_MAP(model1_vr_io)
- MDRV_CPU_VBLANK_INT_HACK(model1_interrupt, 2)
+ MCFG_CPU_ADD("maincpu", V60, 16000000)
+ MCFG_CPU_PROGRAM_MAP(model1_vr_mem)
+ MCFG_CPU_IO_MAP(model1_vr_io)
+ MCFG_CPU_VBLANK_INT_HACK(model1_interrupt, 2)
- MDRV_CPU_ADD("audiocpu", M68000, 10000000) // verified on real h/w
- MDRV_CPU_PROGRAM_MAP(model1_snd)
+ MCFG_CPU_ADD("audiocpu", M68000, 10000000) // verified on real h/w
+ MCFG_CPU_PROGRAM_MAP(model1_snd)
- MDRV_CPU_ADD("tgp", MB86233, 16000000)
- MDRV_CPU_CONFIG(model1_vr_tgp_config)
- MDRV_CPU_PROGRAM_MAP(model1_vr_tgp_map)
+ MCFG_CPU_ADD("tgp", MB86233, 16000000)
+ MCFG_CPU_CONFIG(model1_vr_tgp_config)
+ MCFG_CPU_PROGRAM_MAP(model1_vr_tgp_map)
- MDRV_MACHINE_START(model1)
- MDRV_MACHINE_RESET(model1_vr)
- MDRV_NVRAM_ADD_0FILL("nvram")
+ MCFG_MACHINE_START(model1)
+ MCFG_MACHINE_RESET(model1_vr)
+ MCFG_NVRAM_ADD_0FILL("nvram")
- MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_AFTER_VBLANK )
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_AFTER_VBLANK )
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_RAW_PARAMS(XTAL_16MHz, 656, 0/*+69*/, 496/*+69*/, 424, 0/*+25*/, 384/*+25*/)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB15)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_RAW_PARAMS(XTAL_16MHz, 656, 0/*+69*/, 496/*+69*/, 424, 0/*+25*/, 384/*+25*/)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB15)
- MDRV_PALETTE_LENGTH(8192)
+ MCFG_PALETTE_LENGTH(8192)
- MDRV_VIDEO_START(model1)
- MDRV_VIDEO_UPDATE(model1)
- MDRV_VIDEO_EOF(model1)
+ MCFG_VIDEO_START(model1)
+ MCFG_VIDEO_UPDATE(model1)
+ MCFG_VIDEO_EOF(model1)
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MDRV_SOUND_ADD("ymsnd", YM3438, 8000000)
- MDRV_SOUND_ROUTE(0, "lspeaker", 0.60)
- MDRV_SOUND_ROUTE(1, "rspeaker", 0.60)
+ MCFG_SOUND_ADD("ymsnd", YM3438, 8000000)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 0.60)
+ MCFG_SOUND_ROUTE(1, "rspeaker", 0.60)
- MDRV_SOUND_ADD("sega1", MULTIPCM, 8000000)
- MDRV_SOUND_ROUTE(0, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(1, "rspeaker", 1.0)
+ MCFG_SOUND_ADD("sega1", MULTIPCM, 8000000)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
- MDRV_SOUND_ADD("sega2", MULTIPCM, 8000000)
- MDRV_SOUND_ROUTE(0, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(1, "rspeaker", 1.0)
+ MCFG_SOUND_ADD("sega2", MULTIPCM, 8000000)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
MACHINE_CONFIG_END
GAME( 1993, vf, 0, model1, vf, 0, ROT0, "Sega", "Virtua Fighter", GAME_IMPERFECT_GRAPHICS )