don't click here

ASM My (Incomplete) Chaotix Disassembly

Discussion in 'Engineering & Reverse Engineering' started by Devon, Aug 7, 2024.

  1. Devon

    Devon

    Do not contact me. Tech Member
    1,584
    1,965
    93
    Gonna move this over here...

    Since I'm not gonna be able to work on this much anymore, I decided to just go ahead and release my Chaotix disassembly as is. Just wanna stress that this is extremely incomplete, but I can at least say that I believe all of the 68000/Z80 side is properly disassembled, builds bit-perfect, and can be modified to your hearts content without issue. Music and SFX are also in smps2asm format. The only buildable SH-2 code here is the PWM driver (disclaimer, it does get manually patched to put in the pointer to the PWM sample table, and unfortunately, it's fixed in place as is. Proper integration would be best done with a linker, and PSYLINK is the one compatible with ASM68K and ASMSH), while the rest is in an IDB file for IDA Pro (I have version 7.7). As for how the 68000 side is mapped out, Chaotix fixes the switchable bank (mapped at 0x900000-0x9FFFFF) is at bank 2 (0x200000-0x2FFFFF in the ROM file), so the disassembly has a fairly simple setup for laying it all out around that.

    Hopefully someone finds use in it and perhaps even continue where I left off. If needed, I have this thread that describes how the (non-special stage) graphics are handled in pretty good detail.

    Also, while it may seem there's no checksum check, that's because it's handled by the 32X master SH-2 boot ROM, so keep that in mind.

    GitHub Repository
     
    Last edited: Apr 26, 2025
    • Like Like x 8
    • Useful Useful x 3
    • List