#139584 - Aethel - Fri Sep 07, 2007 8:08 pm
Hello!
I am starting to learn the C language by programming on the DS.
There is one particular thing I want to do, and it involves running a program at the same time as a game (just like cheat devices and nitrohax/dipstar do, but the game's a ROM, not a official cart), however, I am pretty lost and I don't know what to do.
Would you mind to answer some questions I got here?
1. Is there any way to move code from its assigned location on the memory to the end of the memory? That way, it wouldn't get modified unless the game uses all of the ds's memory. Which they don't, because ARDS works.
I have seen in rebootlib how to place code in binary at a point of the memory (chism's bin). How can I turn my code to .bin? I only get .arm9, .arm7 and .nds
2. How can I do it so, on the game's main loop, my code gets executed too? Would I have to overwrite the game's code? How can I do that without making it crash?
I know this is a little complicated but since I have seen that custom cheat programs have been made, then maybe you can help me a little.
Thank you!
I am starting to learn the C language by programming on the DS.
There is one particular thing I want to do, and it involves running a program at the same time as a game (just like cheat devices and nitrohax/dipstar do, but the game's a ROM, not a official cart), however, I am pretty lost and I don't know what to do.
Would you mind to answer some questions I got here?
1. Is there any way to move code from its assigned location on the memory to the end of the memory? That way, it wouldn't get modified unless the game uses all of the ds's memory. Which they don't, because ARDS works.
I have seen in rebootlib how to place code in binary at a point of the memory (chism's bin). How can I turn my code to .bin? I only get .arm9, .arm7 and .nds
2. How can I do it so, on the game's main loop, my code gets executed too? Would I have to overwrite the game's code? How can I do that without making it crash?
I know this is a little complicated but since I have seen that custom cheat programs have been made, then maybe you can help me a little.
Thank you!