Open PhoenixBound opened 1 week ago
2400000 is also the end of the main memory on the original DS so there couldn't possibly be anything there. Though as you pointed out, nothing is being copied there anyway. Very strange 🤔
It looks like ds-rom
needs a way to store arbitrary autoload blocks somewhere, since it's hardcoded to only know about ITCM and DTCM right now.
Yeah I dunno... I think I read somewhere that debug models of the DS had more RAM, but that doesn't help much with guessing what its contents would be/why this autoload entry exists in a retail game.
The arbitrary autoload config thing would probably be a good futureproofing measure, if nothing else.
When extracting the game Gyakuten Kenji 2 (BXOJ), the tool panics writing the arm9.bin out to the filesystem:
Since this code is related to separating ITCM and DTCM data from everything else, I'm guessing it's because of an extra entry at the end of the file that says "copy 0 bytes of data and 0 bytes of zeroes to $2400000":