Hi Cracker, Issue solved. The beguinning of the RAM area to dump is easy to get since for a given emulator the estructure of the found addresses matching E7FF:DEFFh is the same for all the games. I would appreciate your comments based in your experience why the arm7.bin is not in the place of the RAM that it was suposed to be for a few games.
Also, I have found an important bug in DSATM: DEADBEEF padding only pads in real RAM from the end of the arm7.bin till address 023B:FDFFh. Reason for that is that DS only allows writing to the RAM from 0200:0000 to 023B:FDFFh before executing the game. (Actually I suspect that the initial load of ARM7.bin from the ROM to the 4Mb RAM has an upper address limit of 023B:FDFF; and what is beyond this address in the ROM is not moved to the RAM).
I suggest as a solution to use an execution jump hack in the DEADBEEF ROM.nds with a simple function that fills with DEADBEEF the RAM area from address 023B:FE00h till the end of the RAM: 023F:FFFFh.
You mean the arm9.bin actually. You are right that most games have it starting at 0x2000000 but rarely other games use strange addresses. Ex: Super Mario 64 DS uses 0x2004000. I'm not sure what the reasoning behind this is because the end result really isn't different.
Yeah it's not really a bug -- since as you say it only allows copying of the bins up to 0x23BFDFF.
Thanks for the idea. I'll add that feature when I can.
_________________ Want to cheat in *any* DS game on *any* cart? - Get DSATM Want to cheat in *any* GBA game on *any* emulator? - GBAATM Still can't finish that NES,SNES,GB,SMS,GG,Genesis game from when you were a kid? Get CCCGP For more tools visit cracker's crap!
For games that copy the binaries to offsets other than 0x2000000 for arm9.bin and 0x2380000 for arm7.bin you will need to adjust the address. You can find the addresses that the bins are copied to @ 0x28 and 0x38, respectively, in the ROM/header.
_________________ Want to cheat in *any* DS game on *any* cart? - Get DSATM Want to cheat in *any* GBA game on *any* emulator? - GBAATM Still can't finish that NES,SNES,GB,SMS,GG,Genesis game from when you were a kid? Get CCCGP For more tools visit cracker's crap!
DSATM uses ARM code only. This is mostly due to not having to work with alignment problems with the built in machine code generation engine.
_________________ Want to cheat in *any* DS game on *any* cart? - Get DSATM Want to cheat in *any* GBA game on *any* emulator? - GBAATM Still can't finish that NES,SNES,GB,SMS,GG,Genesis game from when you were a kid? Get CCCGP For more tools visit cracker's crap!
_________________ Want to cheat in *any* DS game on *any* cart? - Get DSATM Want to cheat in *any* GBA game on *any* emulator? - GBAATM Still can't finish that NES,SNES,GB,SMS,GG,Genesis game from when you were a kid? Get CCCGP For more tools visit cracker's crap!
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum