Tatsujin german suplex

hu, cd, scd, acd, supergrafx discussions.
Post Reply
User avatar
MooZ
Site Admin
Posts: 389
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Tatsujin german suplex

Post by MooZ » Sun Jun 29, 2008 9:08 pm

Yo!

I played with tatsujin this week end. My plan is to make a trainer for it. I started disassembling it and I nearly figured out what was going on on boot.
First, here's the current etripator's csv file:

Code: Select all

code;irq_2.asm;0;e07f;-1
code;irq_1.asm;0;e0a9;-1
code;irq_timer.asm;0;e07f;-1
code;irq_nmi.asm;0;e07f;-1
code;irq_reset.asm;0:e000;-1
code;l_e1bd.asm;0;e1bd;-1
code;l_e173.asm;0;e173;-1
code;l_e2dc.asm;0;e2dc;-1
code;l_e20a.asm;0;e20a;-1
code;l_e2cb.asm;0;e2cb;-1
code;l_4d2a.asm;8;4d2a;-1
code;l_e34a.asm;0;e34a;-1
code;l_e704.asm;0;e704;-1
code;l_e9a6.asm;0;e9a6;-1
code;hsync.asm;0;e080;28
In game, in zero page:
  • $54 holds the life count.
  • $56 the bomb count.
  • $50 the number of credits.
  • $55 the power-ups.
  • $5d the fire power. For example the base shoot is 0 and the super destructive one with modules on each side is 2.
  • $57 If the value contained is not null, the ship is invincible. But beware, the game loops and $57 is reset. So you'll become mortal :)
The initial number of lives and bombs are set in the reset vector at $e043.

Code: Select all

        LDA     #$03
        STA     <$4a
        STA     <$4b
        STA     <$48
        LDA     #$05
        STA     <$49
$4a is used to initialized $54. $48 is used for the life count display. $4b is used to setup bomb count. And $59 the number of credits.
The code decrementing the life count when your ship is destroyed is located at $37ff (don't forget to add $200 if your rom has this bloody header). You then replace C6 54 ( dec <$54 ) by a wonderful succession of NOP EA EA.
By the way there's some strange data stored in the ROM. tomaitheo said it looks like text for a debug. Free beer for the one finding where it is or how to activate it :D

Post Reply