From 69113a710ef0fac3d2faa572f1a1bb85a6dc5bbc Mon Sep 17 00:00:00 2001 From: hap Date: Thu, 24 Aug 2023 11:15:58 +0200 Subject: [PATCH] sbp: looks like it still has (presumed)protection checks remaining --- src/devices/bus/neogeo/sbp.cpp | 15 +++++++++++++-- src/mame/fidelity/phantom.cpp | 4 ++-- src/mame/neogeo/neogeo.cpp | 2 +- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/devices/bus/neogeo/sbp.cpp b/src/devices/bus/neogeo/sbp.cpp index d619eed382e..b778230fb19 100644 --- a/src/devices/bus/neogeo/sbp.cpp +++ b/src/devices/bus/neogeo/sbp.cpp @@ -8,6 +8,11 @@ Note: since protection here involves accesses to ROM, we include the scrambling in this file rather than in a separate prot_* source + TODO: + - level token counter on the right stays stuck after finishing level 1 (internal token + counter still works, so you can still progress) + - any other protection checks later on? + ***********************************************************************************************************/ @@ -22,6 +27,10 @@ neogeo_sbp_cart_device::neogeo_sbp_cart_device(const machine_config &mconfig, co } +//------------------------------------------------- +// mapper specific start/reset +//------------------------------------------------- + void neogeo_sbp_cart_device::device_start() { } @@ -31,6 +40,9 @@ void neogeo_sbp_cart_device::device_reset() } +//------------------------------------------------- +// protection +//------------------------------------------------- uint16_t neogeo_sbp_cart_device::protection_r(address_space &space, offs_t offset) { @@ -54,8 +66,7 @@ void neogeo_sbp_cart_device::protection_w(offs_t offset, uint16_t data, uint16_t int realoffset = 0x200 + (offset * 2); // the actual data written is just pulled from the end of the rom, and unused space - // maybe this is just some kind of watchdog for the protection device and it doesn't - // matter? + // maybe this is just some kind of watchdog for the protection device and it doesn't matter? if (realoffset == 0x1080) { if (data == 0x4e75) diff --git a/src/mame/fidelity/phantom.cpp b/src/mame/fidelity/phantom.cpp index 6134b15b404..58e68fde44a 100644 --- a/src/mame/fidelity/phantom.cpp +++ b/src/mame/fidelity/phantom.cpp @@ -633,6 +633,6 @@ ROM_END *******************************************************************************/ // YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS -SYST( 1988, fphantom, 0, 0, phantom, phantom, phantom_state, init_phantom, "Fidelity Electronics", "Phantom (Fidelity)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_IMPERFECT_CONTROLS | MACHINE_MECHANICAL ) +SYST( 1988, fphantom, 0, 0, phantom, phantom, phantom_state, init_phantom, "Fidelity Electronics", "Phantom (Fidelity)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_MECHANICAL ) -SYST( 1991, cphantom, 0, 0, cphantom, cphantom, chessterp_state, init_phantom, "Fidelity Electronics", "Chesster Phantom (model 6126)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_IMPERFECT_CONTROLS | MACHINE_MECHANICAL ) +SYST( 1991, cphantom, 0, 0, cphantom, cphantom, chessterp_state, init_phantom, "Fidelity Electronics", "Chesster Phantom (model 6126)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_MECHANICAL ) diff --git a/src/mame/neogeo/neogeo.cpp b/src/mame/neogeo/neogeo.cpp index 2dee4f27e86..13786ee79d6 100644 --- a/src/mame/neogeo/neogeo.cpp +++ b/src/mame/neogeo/neogeo.cpp @@ -12194,7 +12194,7 @@ GAME( 2001, vliner53, vliner, vliner, vliner, mvs_led_state, empty_ini GAME( 2000, diggerma, neogeo, neobase, neogeo, mvs_led_state, empty_init, ROT0, "Kyle Hodgetts", "Digger Man (prototype)", MACHINE_SUPPORTS_SAVE ) // Vektorlogic -GAME( 2004, sbp, neogeo, sbp, neogeo, mvs_led_state, empty_init, ROT0, "Vektorlogic", "Super Bubble Pop", MACHINE_SUPPORTS_SAVE ) +GAME( 2004, sbp, neogeo, sbp, neogeo, mvs_led_state, empty_init, ROT0, "Vektorlogic", "Super Bubble Pop", MACHINE_SUPPORTS_SAVE | MACHINE_UNEMULATED_PROTECTION ) // NG:DEV.TEAM GAME( 2005, lasthope, neogeo, neobase, neogeo, mvs_led_state, empty_init, ROT0, "NG:DEV.TEAM", "Last Hope (bootleg AES to MVS conversion, no coin support)", MACHINE_SUPPORTS_SAVE ) // wasn't actually released on MVS but bootleg carts have been sold, this doesn't accept coins, runs like a console game