Welp... it seems like TWPatcher is useless now, as it's possible to replace it with DS-side code using DS-->3DS code upload
With @Gericom, we ironed out the initial idea, and now it's possible to super reliably do DS<-->3DS communication, and do arbitrary code execution on the ARM11, allowing for very cool things, such as remaking TWPatcher's features entirely in DS mode, and upload the patches as needed... or even a hybrid DS-3DS mini-homebrew, if that would suit your taste better.
There might be still some issues and edge cases, but the testing we have done shows huge success
And yes, this means that it's possible to integrate TWPatch goodies into TWiLightMenu++ now, so you won't need to wait 6 whole minutes on the old3DS to be able to play your gamesI'm sure @Robz8 will love my spagetti code.
Here is the DS-side project if you're interested in tinkering with what we have now: https://github.com/Gericom/Rtc3DS
And here is the 3DS-side rtcom bootloader's source; it's tiny: https://github.com/SonoSooS/TWPatch_a/blob/master/data/trainer.S
The patcher is 32bit this time, so everyone can run it (hopefully). I'm using a 64bit wineprefix, and the 32bit build works just fine there.
For "release" rtcom build, run mkpatch_b asd 11010100
For "debug" rtcom build, run mkpatch_b asd 11010110
Note: this patcher is NOT USEFUL, it's basically the same as the previous one, except this one includes the rtcom bootloader. As usual, sleep mode still doesn't work...
With @Gericom, we ironed out the initial idea, and now it's possible to super reliably do DS<-->3DS communication, and do arbitrary code execution on the ARM11, allowing for very cool things, such as remaking TWPatcher's features entirely in DS mode, and upload the patches as needed... or even a hybrid DS-3DS mini-homebrew, if that would suit your taste better.
There might be still some issues and edge cases, but the testing we have done shows huge success
And yes, this means that it's possible to integrate TWPatch goodies into TWiLightMenu++ now, so you won't need to wait 6 whole minutes on the old3DS to be able to play your games
Here is the DS-side project if you're interested in tinkering with what we have now: https://github.com/Gericom/Rtc3DS
And here is the 3DS-side rtcom bootloader's source; it's tiny: https://github.com/SonoSooS/TWPatch_a/blob/master/data/trainer.S
The patcher is 32bit this time, so everyone can run it (hopefully). I'm using a 64bit wineprefix, and the 32bit build works just fine there.
For "release" rtcom build, run mkpatch_b asd 11010100
For "debug" rtcom build, run mkpatch_b asd 11010110
Note: this patcher is NOT USEFUL, it's basically the same as the previous one, except this one includes the rtcom bootloader. As usual, sleep mode still doesn't work...