Introduction
I have been surfing the web to find a tutorial that starts me up on programming the Nintendo DS. While there are some nice articles here and there, there is no single tutorial that can easily start a newbie up.
I wrote this tutorial to teach myself how to program for the DS. This is a work in progress and I write as I learn.
Enjoy!
Who is this for:
This is for anyone who wants to write programs for Nintendo DS. This is not for a person without programming background, but for people (like myself) who have some programming background and have basic knowledge on C programming language. If your C programming skills are not so strong, then I recommend spending few days studying a good c programming tutorial. The one I used is available here:
www.cprogramming.com
To start programming you will need some tools.
The first tool is of course the compiler. Download it from http://www.devkitpro.org/ and read documentation available as I wont explain it here.
Using devkitpro you will be able to write and compile software for Nintendo DS but if you want to see the result on your DS then you will need to transfer your programs to Nintendo DS.
Here http://www.tobw.net/dswiki/index.php?title=Hardware you will find different ways to transfer files to DS. I use DS-Xtreme which is very easy to use but is not the most inexpensive. DS-Extreme is a memory card that you can insert it to the slot1 of your nds. You can transfer data from your PC to DS-X by simply using a USB cable.
Once you have downloaded Devkitpro, set up the environment and have a way to transfer software to your DS then lets proceed with learining how to write programs for Nintendo DS.
NOTE: Using DS-X and other methods to transfer files to your NDS, it is possible to run backup of official NDS software. This is piracy and we stand against it. The homebrew community does not support piracy. The tools are for users to write their own software or to enjoy homebrew software developed by homebrew programmers. We love the hardware that we own and we don’t want to see its end.