Previous 199869 Revisions Next

r26279 Tuesday 19th November, 2013 at 12:17:10 UTC by David Haywood
verified The Gladiator internal ROM on an Overseas cart [Artemio Urbina]
[src/mame/drivers]pgm.c
[src/mame/machine]pgmprot_igs027a_type3.c

trunk/src/mame/machine/pgmprot_igs027a_type3.c
r26278r26279
544544   PORT_INCLUDE ( pgm )
545545
546546   PORT_START("RegionHack")    /* Region - actually supplied by protection device */
547   PORT_CONFNAME( 0x00ff, 0x0006, DEF_STR( Region ) )
547   PORT_CONFNAME( 0x00ff, 0x00ff, DEF_STR( Region ) )
548548   PORT_CONFSETTING(      0x0000, DEF_STR( China ) )
549549   PORT_CONFSETTING(      0x0001, DEF_STR( Taiwan ) )
550550   //PORT_CONFSETTING(      0x0002, DEF_STR( Japan ) ) // it doesn't appear that carts of the Japanese version were released, the PCB has an extra sample ROM used in Japanese mode for the music
r26278r26279
644644   share16[0x158/2] = 0x0005;
645645}
646646
647//
648// int j = BITSWAP24(i, 23, 20, 17, 16, 19, 18, 15, 14, 13, 12, 11, 10, 9, 22, 21, 6, 7, 6, 5, 4, 3, 2, 1, 0);
649// buffer[i] = src[j]
650
647651// todo, collapse these to an address swap
648652void pgm_arm_type3_state::pgm_descramble_happy6(UINT8* src)
649653{
trunk/src/mame/drivers/pgm.c
r26278r26279
31883188   ROM_LOAD( "w04501.u5",    0x400000, 0x800000, CRC(3ab58137) SHA1(b221f7e551ff0bfa3fd97b6ebedbac69442a66e9) )
31893189ROM_END
31903190
3191// the (readable part of) internal roms have been verified on
3192// Japan PCB
3193// Overseas Cart
3194// the two dumps differed by the region byte and internal checksum byte
3195
31913196ROM_START( theglad )
31923197   ROM_REGION( 0x600000, "maincpu", 0 ) /* 68000 Code */
31933198   PGM_68K_BIOS
r26278r26279
31953200
31963201   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
31973202   ROM_LOAD( "thegladpcb_igs027a_execute_only_area", 0x0000, 0x00188, NO_DUMP )
3198   ROM_LOAD( "thegladpcb_igs027a_v100_japan.bin", 0x0188, 0x3e78, CRC(d7f06e2d) SHA1(9c3aca7a487f5329d84731e2c63d5ed591bf9d24) )    // from 'thegladpcb set'
3203   ROM_LOAD( "thegladpcb_igs027a_v100_overseas.bin", 0x0188, 0x3e78, CRC(02fe6f52) SHA1(0b0ddf4507856cfc5b7d4ef7e4c5375254c2a024) )
31993204
32003205   ROM_REGION( 0x800000, "user1", 0 ) /* Protection Data (encrypted external ARM data, internal missing) */
32013206   ROM_LOAD( "v107.u26", 0x000000, 0x200000,  CRC(f7c61357) SHA1(52d31c464dfc83c5371b078cb6b73c0d0e0d57e3) )
r26278r26279
32253230
32263231   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
32273232   ROM_LOAD( "thegladpcb_igs027a_execute_only_area", 0x0000, 0x00188, NO_DUMP )
3228   ROM_LOAD( "thegladpcb_igs027a_older.bin", 0x0188, 0x3e78, BAD_DUMP CRC(d7f06e2d) SHA1(9c3aca7a487f5329d84731e2c63d5ed591bf9d24) ) // this is wrong for this set, we patch it to work
3233   ROM_LOAD( "thegladpcb_igs027a_older.bin", 0x0188, 0x3e78, BAD_DUMP CRC(02fe6f52) SHA1(0b0ddf4507856cfc5b7d4ef7e4c5375254c2a024) ) // this is wrong for this set, we patch it to work
32293234
32303235   ROM_REGION( 0x800000, "user1", 0 ) /* Protection Data (encrypted external ARM data, internal missing) */
32313236   ROM_LOAD( "u2.rom", 0x000000, 0x200000,  CRC(c7bcf2ae) SHA1(10bc012c83987f594d5375a51bc4be2e17568a81) )
r26278r26279
32563261
32573262   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
32583263   ROM_LOAD( "thegladpcb_igs027a_execute_only_area", 0x0000, 0x00188, NO_DUMP )
3259   ROM_LOAD( "thegladpcb_igs027a_v100_japan.bin", 0x0188, 0x3e78, CRC(d7f06e2d) SHA1(9c3aca7a487f5329d84731e2c63d5ed591bf9d24) )    // from 'thegladpcb set'
3264   ROM_LOAD( "thegladpcb_igs027a_v100_overseas.bin", 0x0188, 0x3e78, CRC(02fe6f52) SHA1(0b0ddf4507856cfc5b7d4ef7e4c5375254c2a024) )
32603265
32613266   ROM_REGION( 0x800000, "user1", 0 ) /* Protection Data (encrypted external ARM data, internal missing) */
32623267   ROM_LOAD( "v101.u26", 0x000000, 0x200000, CRC(23faec02) SHA1(9065d55c2a14e6889e735a452bbc32530056645a) )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team