The first one gives you infinite energy ... I'm not convinced it is useful as we already have such cheat, but it's for documentation purpose ...
But the second one gives you better invulnerability than your ROM cheat as you can only die if you fall into water (but you can walk on fire) ...
Here are the codes :
Code: Select all
:rastan:00900000:10C040:00000040:FFFFFFFF:Invincibility (flag)
:rastan:00900000:10C044:00000080:FFFFFFFF:Infinite Energy (flag)
Code: Select all
:rastanu:00900000:10C040:00000040:FFFFFFFF:Invincibility (flag)
:rastanu:00900000:10C044:00000080:FFFFFFFF:Infinite Energy (flag)
Code: Select all
:rastanu2:00900000:10C040:00000040:FFFFFFFF:Invincibility (flag)
:rastanu2:00900000:10C044:00000080:FFFFFFFF:Infinite Energy (flag)
Code: Select all
:rastsag1:00900000:10C040:00000040:FFFFFFFF:Invincibility (flag)
:rastsag1:00900000:10C044:00000080:FFFFFFFF:Infinite Energy (flag)
Code: Select all
:rastsaga:00900000:10C040:00000040:FFFFFFFF:Invincibility (flag)
:rastsaga:00900000:10C044:00000080:FFFFFFFF:Infinite Energy (flag)
Last thing to know is that the ROM area where this flags come from is the same as the one to allow you to select the starting level ! Here are my notes from the rastan.c driver I've submitted to MAME Devs :
Code: Select all
- There was sort of debug address at 0x05ff9e.w ('rastan' and 'rastanu') or 0x05fffc ('rastanu2' and 'rastsag*') in ROM area :
* bits 0 to 2 determine the level (0 to 5)
* bits 3 and 5 determine where you start at the level !
. OFF & OFF : part 1
. OFF & ON : part 2
. ON & OFF : part 3 (boss)
. ON & ON : IMPOSSIBLE !
* bit 4 doesn't seem to have any effect
* bit 6 is the invulnerability flag (stored at 0x10c040.w = $40,A5)
surprisingly, it doesn't work when you fall in the water
* bit 7 is the infinite energy flag (stored at 0x10c044.w = $44,A5)
Be aware that the bits are active low !

