Previous 199869 Revisions Next

r31903 Thursday 4th September, 2014 at 12:29:39 UTC by David Haywood
rework the Seibu Cup Soccer debug mode code so that it can be enabled for all sets rather than just the non-functional bootlegs, also documented how you get the Olympic Soccer '92 title screen and disable a debug display in the Cup Soccer Selection sets.  The COP could be involved in providing a rom overlay for this area. (nw)
[src/mame/drivers]legionna.c
[src/mame/includes]legionna.h

trunk/src/mame/includes/legionna.h
r31902r31903
4242   DECLARE_WRITE16_MEMBER(legionna_text_w);
4343   DECLARE_WRITE8_MEMBER(okim_rombank_w);
4444   DECLARE_DRIVER_INIT(legiongfx);
45   DECLARE_DRIVER_INIT(cupsoc_debug);
4546   DECLARE_DRIVER_INIT(cupsoc);
47   DECLARE_DRIVER_INIT(cupsocs);
48   DECLARE_DRIVER_INIT(olysoc92);
4649   DECLARE_DRIVER_INIT(denjinmk);
4750   TILE_GET_INFO_MEMBER(get_back_tile_info);
4851   TILE_GET_INFO_MEMBER(get_mid_tile_info);
trunk/src/mame/drivers/legionna.c
r31902r31903
23872387ROM_END
23882388
23892389
2390
2391/* Does the COP or something else on the PCB provide a rom overlay for the last part of ROM?
2392
2393   In Seibu Cup Soccer Selection the only way I've found to not display debug text is by changing this
2394   area, and for Olympic Soccer '92 it appears to be the only way to get the Olympic Soccer '92 titles
2395   to be used instead of the reagular Seibu Cup Soccer one (and AFAIK both dumps are confirmed to show
2396   that on hardware, as are all early versions with the advertising boards of dubious legality)
2397
2398   You can also enable other debug menus by patching this area of ROM, but some initial tests appear to
2399   show those menus are still inaccessible with a patched rom on real hardware, again indicating there
2400   could be a rom overlay causing the patches to be ignored.
2401
2402*/
2403
2404
2405// if this is 1 then P1 Button 3 during gameplay enters the 'Game Master' debug menu, with extensive
2406// debugging features.
23902407#define CUPSOC_DEBUG_MODE 0
23912408
2392DRIVER_INIT_MEMBER(legionna_state,cupsoc)
2409DRIVER_INIT_MEMBER(legionna_state, cupsoc_debug)
23932410{
2394   #if CUPSOC_DEBUG_MODE
2411#if CUPSOC_DEBUG_MODE
23952412   UINT16 *ROM = (UINT16 *)memregion("maincpu")->base();
2413   ROM[0xffffa/2]  = 0x0000;
2414   ROM[0xffff6/2] ^= 0x00ff;
2415#endif
2416}
23962417
2397   /*Press p1 button 3 to enter into debug mode during gameplay*/
2398   ROM[0xffffb/2] = 0x0000;
2399   ROM[0xffff7/2] = 0x0000;
2400   #endif
2418DRIVER_INIT_MEMBER(legionna_state, olysoc92)
2419{
2420   UINT16 *ROM = (UINT16 *)memregion("maincpu")->base();
2421   ROM[0xffffe/2] ^= 0x0003; // show Olympic Soccer '92 title
2422
2423   DRIVER_INIT_CALL(cupsoc_debug);
24012424}
24022425
2426DRIVER_INIT_MEMBER(legionna_state, cupsocs)
2427{
2428   UINT16 *ROM = (UINT16 *)memregion("maincpu")->base();
2429   ROM[0xffffa/2] = 0x00ff; // disable debug text (this is already 0x00ff in the bootleg sets for the same reason)
24032430
2431   DRIVER_INIT_CALL(cupsoc_debug);
2432}
2433
2434DRIVER_INIT_MEMBER(legionna_state,cupsoc)
2435{
2436   DRIVER_INIT_CALL(cupsoc_debug);
2437}
2438
2439
2440
24042441DRIVER_INIT_MEMBER(legionna_state,denjinmk)
24052442{
24062443   /* problem with audio comms? */
r31902r31903
24282465GAME( 1993, grainbow, 0,        grainbow, grainbow, driver_device, 0,         ROT0, "Banpresto", "SD Gundam Sangokushi Rainbow Tairiku Senki", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
24292466GAME( 1993, denjinmk, 0,        denjinmk, denjinmk, legionna_state,denjinmk,  ROT0, "Winkysoft (Banpresto license)", "Denjin Makai", GAME_IMPERFECT_GRAPHICS )
24302467
2431GAME( 1992, cupsoc,   0,        cupsoc,   cupsoc, driver_device,   0,         ROT0, "Seibu Kaihatsu", "Seibu Cup Soccer (set 1)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2432GAME( 1992, cupsoca,  cupsoc,   cupsoc,   cupsoc, driver_device,   0,         ROT0, "Seibu Kaihatsu", "Seibu Cup Soccer (set 2)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2433GAME( 1992, cupsocb,  cupsoc,   cupsoc,   cupsoc, driver_device,   0,         ROT0, "Seibu Kaihatsu", "Seibu Cup Soccer (set 3)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2434GAME( 1992, cupsocs,  cupsoc,   cupsocs,  cupsoc, driver_device,   0,         ROT0, "Seibu Kaihatsu", "Seibu Cup Soccer :Selection: (set 1)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2435GAME( 1992, cupsocs2, cupsoc,   cupsocs,  cupsoc, driver_device,   0,         ROT0, "Seibu Kaihatsu", "Seibu Cup Soccer :Selection: (set 2)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2468GAME( 1992, cupsoc,   0,        cupsoc,   cupsoc, legionna_state,  cupsoc,    ROT0, "Seibu Kaihatsu", "Seibu Cup Soccer (set 1)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2469GAME( 1992, cupsoca,  cupsoc,   cupsoc,   cupsoc, legionna_state,  cupsoc,    ROT0, "Seibu Kaihatsu", "Seibu Cup Soccer (set 2)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2470GAME( 1992, cupsocb,  cupsoc,   cupsoc,   cupsoc, legionna_state,  cupsocs,   ROT0, "Seibu Kaihatsu", "Seibu Cup Soccer (set 3)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2471GAME( 1992, cupsocs,  cupsoc,   cupsocs,  cupsoc, legionna_state,  cupsocs,   ROT0, "Seibu Kaihatsu", "Seibu Cup Soccer :Selection: (set 1)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2472GAME( 1992, cupsocs2, cupsoc,   cupsocs,  cupsoc, legionna_state,  cupsocs,   ROT0, "Seibu Kaihatsu", "Seibu Cup Soccer :Selection: (set 2)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
24362473GAME( 1992, cupsocsb, cupsoc,   cupsocbl, cupsoc, legionna_state,  cupsoc,    ROT0, "bootleg", "Seibu Cup Soccer :Selection: (bootleg, set 1)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
24372474GAME( 1992, cupsocsb2,cupsoc,   cupsocbl, cupsoc, legionna_state,  cupsoc,    ROT0, "bootleg", "Seibu Cup Soccer :Selection: (bootleg, set 2)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
24382475GAME( 1992, cupsocsb3,cupsoc,   cupsocbl, cupsoc, legionna_state,  cupsoc,    ROT0, "bootleg", "Seibu Cup Soccer :Selection: (bootleg, set 3)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2439GAME( 1992, olysoc92, cupsoc,   cupsoc,   cupsoc, driver_device,   0,         ROT0, "Seibu Kaihatsu", "Olympic Soccer '92 (set 1)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2440GAME( 1992, olysoc92a,cupsoc,   cupsoc,   cupsoc, driver_device,   0,         ROT0, "Seibu Kaihatsu", "Olympic Soccer '92 (set 2)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2476GAME( 1992, olysoc92, cupsoc,   cupsoc,   cupsoc, legionna_state,  olysoc92,  ROT0, "Seibu Kaihatsu", "Olympic Soccer '92 (set 1)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2477GAME( 1992, olysoc92a,cupsoc,   cupsoc,   cupsoc, legionna_state,  olysoc92,  ROT0, "Seibu Kaihatsu", "Olympic Soccer '92 (set 2)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team