From a9339a8765bd82b635403d22ebb5e2401a1cccae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Fri, 16 Mar 2012 14:51:38 +0000 Subject: [PATCH] kong is not based on fantastc, discrete sound instead of 2*ay8910 --- src/mame/drivers/galaxian.c | 23 +++++++++++++++-------- src/mame/drivers/galdrvr.c | 4 +--- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/src/mame/drivers/galaxian.c b/src/mame/drivers/galaxian.c index 2782764d6a8..037e69adf08 100644 --- a/src/mame/drivers/galaxian.c +++ b/src/mame/drivers/galaxian.c @@ -3049,6 +3049,21 @@ static DRIVER_INIT( skybase ) } +static DRIVER_INIT( kong ) +{ + address_space *space = machine.device("maincpu")->memory().space(AS_PROGRAM); + + /* video extensions */ + common_init(machine, galaxian_draw_bullet, galaxian_draw_background, NULL, upper_extend_sprite_info); + + /* needs a full 2k of RAM */ + space->install_ram(0x8000, 0x87ff); + + /* extend ROM */ + space->install_rom(0x0000, 0x7fff, machine.region("maincpu")->base()); +} + + static void mshuttle_decode(running_machine &machine, const UINT8 convtable[8][16]) { address_space *space = machine.device("maincpu")->memory().space(AS_PROGRAM); @@ -3155,14 +3170,6 @@ static DRIVER_INIT( fantastc ) memcpy(romdata + i * 0x400, buf + lut_am_unscramble[i] * 0x1000 + (i & 3) * 0x400, 0x400); } -static DRIVER_INIT( kong ) -{ - /* video extensions */ - common_init(machine, galaxian_draw_bullet, galaxian_draw_background, NULL, upper_extend_sprite_info); -} - - - static DRIVER_INIT( kingball ) { diff --git a/src/mame/drivers/galdrvr.c b/src/mame/drivers/galdrvr.c index 884154d3a61..5ddaa5f4761 100644 --- a/src/mame/drivers/galdrvr.c +++ b/src/mame/drivers/galdrvr.c @@ -6432,13 +6432,11 @@ GAME( 198?, thepitm, thepit, mooncrst, thepitm, thepitm, ROT90, "bootleg ( /* other games on basic mooncrst hardware */ GAME( 1982, skybase, 0, mooncrst, skybase, skybase, ROT90, "Omori Electric Co., Ltd.", "Sky Base", GAME_SUPPORTS_SAVE ) +GAME( 198?, kong, 0, mooncrst, kong, kong, ROT90, "Taito do Brasil", "Kong (Brazil)", GAME_SUPPORTS_SAVE | GAME_WRONG_COLORS ) // rewrite of Donkey Kong (!) not a clone /* larger romspace, 2*AY8910, based on Super Star Crest board? */ GAME( 198?, fantastc, 0, fantastc, fantastc, fantastc, ROT90, "Taito do Brasil", "Fantastic", GAME_SUPPORTS_SAVE | GAME_NOT_WORKING ) // rewrite of Galaga (!) not a clone -/* similar to fantastc? */ -GAME( 198?, kong, 0, fantastc, kong, kong, ROT90, "Taito do Brasil", "Kong (Brazil)", GAME_SUPPORTS_SAVE | GAME_NO_SOUND | GAME_NOT_WORKING ) // rewrite of Donkey Kong (!) not a clone - /* extra ROMs, protection, and sound hardware replaced with AY8910 */ GAME( 1981, jumpbug, 0, jumpbug, jumpbug, jumpbug, ROT90, "Hoei (Rock-Ola license)", "Jump Bug", GAME_SUPPORTS_SAVE ) // or by Alpha Denshi Co. under contract from Hoei? GAME( 1981, jumpbugb, jumpbug, jumpbug, jumpbug, jumpbug, ROT90, "bootleg", "Jump Bug (bootleg)", GAME_SUPPORTS_SAVE ) // bootleg of Sega license