Skip to content

Commit d20ef20

Browse files
mamehazeDavidHaywood
and
DavidHaywood
authored
igs/igs_fear.cpp - add IGS027A dump to fearless [tormod, Peter Wilhelmsen, XingXing] (#12553)
* correct clock for XA igs/pgmcrypt.cpp - properly fix fearless decryption --------- Co-authored-by: DavidHaywood <[email protected]>
1 parent df064c5 commit d20ef20

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/mame/igs/igs_fear.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ void igs_fear_state::igs_fear(machine_config &config)
139139
ARM7(config, m_maincpu, 50000000/2);
140140
m_maincpu->set_addrmap(AS_PROGRAM, &igs_fear_state::main_map);
141141

142-
MX10EXA(config, m_xa, 10000000); // MX10EXAQC (Philips 80C51 XA) unknown frequency
142+
MX10EXA(config, m_xa, 50000000/3); // MX10EXAQC (Philips 80C51 XA)
143143

144144
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
145145
screen.set_refresh_hz(60);
@@ -162,8 +162,7 @@ void igs_fear_state::igs_fear(machine_config &config)
162162

163163
ROM_START( fearless )
164164
ROM_REGION( 0x04000, "maincpu", 0 ) // Internal rom of IGS027A ARM based MCU
165-
// this is taken from superkds, the XOR table required (that is uploaded by this internal ROM) is the same as superkds at least, but actual internal ROM might not be identical
166-
ROM_LOAD( "fearless_igs027a.bin", 0x00000, 0x4000, BAD_DUMP CRC(9a8e790d) SHA1(ab020a04a4ed0c0e5ec8c979f206fe57572d2304) ) // sticker marked 'F1'
165+
ROM_LOAD( "fearless_igs027a.bin", 0x00000, 0x4000, CRC(2121f01b) SHA1(de44016b590fdcf6bfb63e3f8dbbbd679938fe87) ) // sticker marked 'F1'
167166

168167
ROM_REGION32_LE( 0x80000, "user1", 0 ) // external ARM data / prg
169168
ROM_LOAD( "fearlessp_v-101us.u37", 0x000000, 0x80000, CRC(2522873c) SHA1(8db709877311b6d2796353fc9a44a820937e35c2) )

src/mame/igs/pgmcrypt.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1453,8 +1453,8 @@ void fearless_decrypt(running_machine &machine)
14531453
uint16_t x = src[i];
14541454

14551455
IGS27_CRYPT1
1456-
IGS27_CRYPT2_ALT
1457-
IGS27_CRYPT3
1456+
// IGS27_CRYPT2
1457+
IGS27_CRYPT3_ALT2
14581458
IGS27_CRYPT4
14591459
// IGS27_CRYPT5
14601460
IGS27_CRYPT6

0 commit comments

Comments
 (0)