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
- $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
Code: Select all
LDA #$03
STA <$4a
STA <$4b
STA <$48
LDA #$05
STA <$49
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