From 67e99564af277ab16a513a4d7cfebb81a3d25502 Mon Sep 17 00:00:00 2001 From: volkenborn Date: Mon, 7 Oct 2024 08:23:36 +0200 Subject: [PATCH] Added bonus lamps for moonlght --- release/whatsnew.txt | 3 ++- src/wpc/inder.c | 2 ++ src/wpc/indergames.c | 6 +++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/release/whatsnew.txt b/release/whatsnew.txt index 51046852b..4f66c6905 100644 --- a/release/whatsnew.txt +++ b/release/whatsnew.txt @@ -93,7 +93,7 @@ Fixed reset and slam-tilt problems of Baby Pac-Man Fixed PPS4 emulation: ADCSK and ADSK instructions did both respect the carry-in flag because of one wrong byte in the Gottlieb System 1 spider chip reads! Also, regular instructions only increase the six lowest PC bits. Improved WPC emulation: implementing FIRQ and the highres timer -*** ROM SUPPORT *** Thanks to Laszlo (www.zaccaria-pinball.hu), ipdb.org, Valerio Curzio, Matt's Basement Arcade, inkochnito, flipprojets.fr, Idleman, idealjoker, Joćo Pedras & Joćo Carneiro, ingo333, Ronaldo, Quench, Museo del Recreativo, caius, Stephan Semmler (Flippermuseum Seligenstadt), Doug Cope, Michel Maignaut, Thierry Ailloud, Francis Voglioso, Chad Hendrickson, watacaractr, indisc, Dr.Boely, Scott Charles, empee3, random_overflow, Corrado Tomaselli, www.zaccaria-pinball.com, grisu2, Miwi123, Garzol, Paulo Gordinho, Matt Walsh +*** ROM SUPPORT *** Thanks to Laszlo (www.zaccaria-pinball.hu), ipdb.org, Valerio Curzio, Matt's Basement Arcade, inkochnito, flipprojets.fr, Idleman, idealjoker, Joćo Pedras & Joćo Carneiro, ingo333, Ronaldo, Quench, Museo del Recreativo, caius, Stephan Semmler (Flippermuseum Seligenstadt), Doug Cope, Michel Maignaut, Thierry Ailloud, Francis Voglioso, Chad Hendrickson, watacaractr, indisc, Dr.Boely, Scott Charles, empee3, random_overflow, Corrado Tomaselli, www.zaccaria-pinball.com, grisu2, Miwi123, Garzol, Paulo Gordinho, Matt Walsh, jordigahan New: Jeutel: Papillon Seeben: Brooklyn (Bingo) (not working) @@ -127,6 +127,7 @@ Correct Dumps: Bell: Cosmic Flash (sound ROM - might need a redump because it contains an illegal instruction in one byte?) Super Bowl (sound ROM redump showed one byte of difference) Gottlieb: All System 1 based games now use the correct A1752CF dump +Inder: Moon Light (ROMs for bonus lamps board) LTD: Space Poker WMS: Black Knight 2000: redumped LG-1 (German) version, startup text is no longer corrupt NBA Fastbreak: Changed 2.1, 2.2 & 2.3 to also use the newer sound ROM S3.0 diff --git a/src/wpc/inder.c b/src/wpc/inder.c index 96cbf6e9d..baa3278c5 100644 --- a/src/wpc/inder.c +++ b/src/wpc/inder.c @@ -580,6 +580,8 @@ static WRITE_HANDLER(ci23_porta_w0) { } static WRITE_HANDLER(ci23_portb_w0) { coreGlobals.lampMatrix[0] = data; + coreGlobals.lampMatrix[8] = memory_region(REGION_USER2)[data]; + coreGlobals.lampMatrix[9] = memory_region(REGION_USER3)[data]; } static WRITE_HANDLER(ci23_portc_w0) { int i; diff --git a/src/wpc/indergames.c b/src/wpc/indergames.c index f54da4af3..2f562f13d 100644 --- a/src/wpc/indergames.c +++ b/src/wpc/indergames.c @@ -96,13 +96,17 @@ CORE_CLONEDEFNV(lapbylfp,lapbylap,"Lap By Lap (Free Play)",1986,"Inder (Spain)", /*------------------------------------------------------------------- / Moon Light (1987) /-------------------------------------------------------------------*/ -INITGAME(moonlght, lblDisp, 0, 0,0,0x0c,0,0) +INITGAME(moonlght, lblDisp, 2, 0,0,0x0c,0,0) INDER_ROMSTART1(moonlght,"ci-3.bin", CRC(56b901ae) SHA1(7269d1a100c378b21454f9f80f5bd9fbb736c222)) INDER_SNDROM4( "ci-11.bin", CRC(a0732fe4) SHA1(54f62cd81bdb7e1924acb67ddbe43eb3d0a4eab0), "ci-24.bin", CRC(6406bd18) SHA1(ae45ed9e8b1fd278a36a68b780352dbbb6ee781e), "ci-23.bin", CRC(eac346da) SHA1(7c4c26ae089dda0dcd7300fd1ecabf5a91099c41), "ci-22.bin", CRC(379740da) SHA1(83ad13ab7f1f37c78397d8e830bd74c5a7aea758), "ci-21.bin", CRC(0febb4a7) SHA1(e6cc1b26ddfe9cd58da29de2a50a83ce50afe323)) + NORMALREGION(0x10000, REGION_USER2) + ROM_LOAD("inder_sa_m17_moon_ligh_bonus_rom_1.ci1", 0x0000, 0x2000, CRC(2c45fd1e) SHA1(4cd1336271d77d9acb7c81a5461546842e946dc3)) + NORMALREGION(0x10000, REGION_USER3) + ROM_LOAD("inder_sa_m17_moon_ligh_bonus_rom_2.ci2", 0x0000, 0x2000, CRC(c0dc1523) SHA1(511657cc01fbbb5146e32ef26a9b259250df3fb6)) INDER_ROMEND CORE_GAMEDEFNV(moonlght,"Moon Light",1987,"Inder (Spain)",gl_mINDERS0,0)