Home
My (Jstart's) Mac Files
Forums
Tutorials
My Demos
Mac Examples
Any Questions?

Sign Up For
The Latest DS News
Name:
Email:
Subscribe  Unsubscribe 

Mac OSX Nintendo DS Development
Day 1 Tutorial
Alright, even though there are many great tutorials on starting DS development this one is made to be Mac OSX specific.
So here's what you will need for basic development

For testing programs on the actual Nintendo DS in addition you will need
After that you open up devkitArm Release 12 which should be a disc image on your desktop. Install the the devkitarm package and libnds package.
They are installed in /opt/local/ just for future reference that is how you will link them to your project
Devkitarm has all your compiling tools and tools for making the ds roms
libnds has all your defines and other setup files to include to your project
Now look at the mac version of doublec's tutorial
My xcode project file doesn't work to build our yet so we will be doing this the unix command line way.
Open terminal (in applications/utilities) and type cd and then the directory of where my MacTemplate folder is.
Now type make. It should say make[1]: `where the folder is/MacTemplate/Template.ds.gba' is up to date. That means it's probably working. Now let's see why it works. First we will look at the code because it's the coolest part.:)
go to source and open arm9_main.cpp
see where it says consolePrintf("\n\n\tMac OSX DS Developing\n"); ?
You can put whatever you want in Place Of Mac OSX DS Developing and this will print your code on the DS.
Pretty simple little program. Now for the more experienced you can take a look at the makefile to see how it's all done.
That might confuse newer coders so I will write more stuff later but for now look at Doublec's tutorials