NDS loader / SoftReset
Posted: Thu Jun 09, 2011 12:12 pm
ok, i was trying initially to do a SoftReset in my homebrew using the SuperCard DSTWO, but so... then several problems happened, first the Reset code.. from DSTWO doesnt work well, and so they recommend to run the Reset2Desktop.nds
but how to do that?
i searched a lot and the best i could find was BootLib v1.3, that almost worked... but so as my when as the search pointed out... with some libfat update the _io_dldi reference changed... so i tried changing it to use _io_dldi_data instead... that compiled... but no dice, still no boot...
i even tried using system("Reset2Desktop.nds") but as expected it seems to always fail (do nothing?)... probabily because there isnt a simple unifited way to load another .nds file
but... so what direction should i take? i tried to look at moonshell code and YSboot... but i failed to understand how those works, or how can i make those into a .a that can be easy included into my projects.... because i'm doing something like a "Programmer Toolkit" for DS, and i wanted to be able to receive a file execute... then finish the .nds executing and go back to my program... and things like that to speed up some developing tasks... so any help is appreciated
but how to do that?
i searched a lot and the best i could find was BootLib v1.3, that almost worked... but so as my when as the search pointed out... with some libfat update the _io_dldi reference changed... so i tried changing it to use _io_dldi_data instead... that compiled... but no dice, still no boot...
i even tried using system("Reset2Desktop.nds") but as expected it seems to always fail (do nothing?)... probabily because there isnt a simple unifited way to load another .nds file
but... so what direction should i take? i tried to look at moonshell code and YSboot... but i failed to understand how those works, or how can i make those into a .a that can be easy included into my projects.... because i'm doing something like a "Programmer Toolkit" for DS, and i wanted to be able to receive a file execute... then finish the .nds executing and go back to my program... and things like that to speed up some developing tasks... so any help is appreciated