From 47d2909d62d3f3155a0d3793a9bc2502c45867b7 Mon Sep 17 00:00:00 2001 From: Roberto Zandona Date: Sun, 23 Nov 2008 10:03:56 +0000 Subject: [PATCH] fix for sound in bbmanwj (mantis 02667) --- src/mame/drivers/m90.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/mame/drivers/m90.c b/src/mame/drivers/m90.c index c61dc6ee77d..79f621ebe57 100644 --- a/src/mame/drivers/m90.c +++ b/src/mame/drivers/m90.c @@ -876,6 +876,16 @@ MACHINE_DRIVER_END static const nec_config no_table ={ NULL, }; +static MACHINE_DRIVER_START( bbmanwj ) + + MDRV_IMPORT_FROM( bbmanw ) + MDRV_CPU_MODIFY("sound") + MDRV_CPU_PROGRAM_MAP(sound_readmem,sound_writemem) + MDRV_CPU_IO_MAP(sound_io_map,0) + MDRV_CPU_VBLANK_INT_HACK(nmi_line_pulse,128) /* clocked by V1? (Vigilante) */ + /* IRQs are generated by main Z80 and YM2151 */ + +MACHINE_DRIVER_END static MACHINE_DRIVER_START( bomblord ) @@ -892,8 +902,6 @@ static MACHINE_DRIVER_START( bomblord ) MACHINE_DRIVER_END - - static MACHINE_DRIVER_START( dynablsb ) /* basic machine hardware */ @@ -1294,7 +1302,7 @@ GAME( 1991, bombrman, dynablst, bombrman, bombrman, 0, ROT0, "Irem (licen GAME( 1991, atompunk, dynablst, bombrman, atompunk, 0, ROT0, "Irem America (licensed from Hudson Soft)", "Atomic Punk (US)", GAME_NO_COCKTAIL ) GAME( 1991, dynablsb, dynablst, dynablsb, dynablsb, 0, ROT0, "bootleg", "Dynablaster (bootleg)", GAME_NO_COCKTAIL ) GAME( 1992, bbmanw, 0, bbmanw, bbmanw, 0, ROT0, "Irem", "Bomber Man World / New Dyna Blaster - Global Quest", GAME_IMPERFECT_SOUND | GAME_NO_COCKTAIL ) -GAME( 1992, bbmanwj, bbmanw, bbmanw, bbmanwj, 0, ROT0, "Irem", "Bomber Man World (Japan)", GAME_NO_COCKTAIL ) +GAME( 1992, bbmanwj, bbmanw, bbmanwj, bbmanwj, 0, ROT0, "Irem", "Bomber Man World (Japan)", GAME_IMPERFECT_SOUND | GAME_NO_COCKTAIL ) GAME( 1992, newapunk, bbmanw, bbmanw, bbmanwj, 0, ROT0, "Irem America", "New Atomic Punk - Global Quest (US)", GAME_IMPERFECT_SOUND | GAME_NO_COCKTAIL ) GAME( 1992, bomblord, bbmanw, bomblord, bbmanw, bomblord, ROT0, "bootleg", "Bomber Lord (bootleg)", GAME_IMPERFECT_SOUND | GAME_NO_COCKTAIL ) GAME( 1992, quizf1, 0, quizf1, quizf1, quizf1, ROT0, "Irem", "Quiz F-1 1,2finish", GAME_NO_COCKTAIL )