• How do I program for the DSi?
    10 replies, posted
I want to make a program that I can put on my sd card and will automatically run and show up in one of the boxes as an app. the thing is I don't know much about programming for consoles and such so I was wondering where I start? I have no idea how the ds's programming works and I don't really see anything online short of a program that runs the ds in a completely different way. Does anyone have any experience in this area or know where to start? Thanks ahead of time!
DS Programming probabely is C++ Or ASM.
It uses C++ with ARM I think but the part I'm stuck on is how to find all the necessary functions and such to make it show up in boxes, utilize the touch screen, and such. I don't even know how to work with those on the ds.
have you tried googling
You need an R4 for it to show up.
If you've never touched programming before then I doubt trying homebrew on new hardware will be easy...
I can't really comment on the DSi. I'm sure Nintendo added a whole slew of hardware checks and stuff to make sure that the code it is running is signed and liscensed code run directly from one of their flash carts. But once you get all that DRM out of the way, then I could help you. What is on the commercial carts is straight up EEPROM stuff with the entire binary in raw format. There's no linkable symbols and pansy-ass stuff that goes with running an OS. Just straight-up raw bytecode, G. But you don't have to worry about programming assembly. ARM7 and ARM9 are both targets that GCC can compile for, and this should allow you to write C and C++ code to try and run on the hardware. However, I would suggest you get an emulator with a debugger in it, like Visual Boy Advance (I believe) If you were lookin' to find a way to just be able to stick a card into a new DSi and run your code like any other game, you are going to be disappointed. Special hardware or firmware is necessary to get around all the stuff that Nintendo does to keep homebrew from running on their system. Truth be told, you're probably better off developing for a more powerful and developer-friendly device like an iPhone or Android. Or hell, even PSP.
[QUOTE=Cathbadh;17315719]I can't really comment on the DSi. I'm sure Nintendo added a whole slew of hardware checks and stuff to make sure that the code it is running is signed and liscensed code run directly from one of their flash carts. But once you get all that DRM out of the way, then I could help you. What is on the commercial carts is straight up EEPROM stuff with the entire binary in raw format. There's no linkable symbols and pansy-ass stuff that goes with running an OS. Just straight-up raw bytecode, G. But you don't have to worry about programming assembly. ARM7 and ARM9 are both targets that GCC can compile for, and this should allow you to write C and C++ code to try and run on the hardware. However, I would suggest you get an emulator with a debugger in it, like Visual Boy Advance (I believe) If you were lookin' to find a way to just be able to stick a card into a new DSi and run your code like any other game, you are going to be disappointed. Special hardware or firmware is necessary to get around all the stuff that Nintendo does to keep homebrew from running on their system. Truth be told, you're probably better off developing for a more powerful and developer-friendly device like an iPhone or Android. Or hell, even PSP.[/QUOTE] To add to this, Currently the DSi on it's own supports newer flashcarts, such the AceKard2. (ja_cop and I have one), HOWEVER, Nintendo recently released a firmware upgrade for the DS which renders these unusable. So check your firmware version (pre 1.41 should do it) I can highly recommend the PSP however, for the following reasons: If you are new to embedded development, the PSP is (honestly) a bit easier for newbs. It has more memory than the DS (32 mb, compared to 4), a single processor which allows for cooperative multitasking (so if you do get into threading you won't have to worry about the whole "OH MY GOD THEY ARE CRASHING INTO EACH OTHER D:" problems that sometimes arise for people who are just learning threading.) And a crash on an embedded system is a WCS.
[QUOTE=Chandler;17316025]To add to this, Currently the DSi on it's own supports newer flashcarts, such the AceKard2. (ja_cop and I have one), HOWEVER, Nintendo recently released a firmware upgrade for the DS which renders these unusable. So check your firmware version (pre 1.41 should do it) I can highly recommend the PSP however, for the following reasons: If you are new to embedded development, the PSP is (honestly) a bit easier for newbs. It has more memory than the DS (32 mb, compared to 4), a single processor which allows for cooperative multitasking (so if you do get into threading you won't have to worry about the whole "OH MY GOD THEY ARE CRASHING INTO EACH OTHER D:" problems that sometimes arise for people who are just learning threading.) And a crash on an embedded system is a WCS.[/QUOTE] I have an AceKard2 and I've successfully made it to work under the new firmware, you just have to fake a game ID and you should be ready to go. Also the PSP is in fact a better choice if you want performance however the DSi offer a lot of nice options such as the touch screen, the mic and the cameras ... with a little imagination you can come up with really innovative ideas for homebrews.
We're still figuring out a DSi-mode exploit accessible to the majority and how to access the new hardware.
Sorry, you need to Log In to post a reply to this thread.