RetroBytes Portal

Programming => Gameboy Advance & Nintendo DS Coding => Topic started by: headkaze on December 19, 2008, 10:57:52 pm

Title: Setting up the compiler
Post by: headkaze on December 19, 2008, 10:57:52 pm
1. Download the latest version of DevKitPro from http://www.devkitpro.org/ (currently devkitProUpdater-1.4.9.exe)
2. Run the installer and select to download and install the full package (this includes tools for compiling GBA/NDS/GP32/PSP/GameCube/Wii binaries)
3. To compile all the NDS examples just open devkitPro\examples\nds\allexamples.pnproj and select Tools->Make
4. Download the following emulators into devkitPro\emulators\*emuname*

- Visualboy Advance (GBA) http://vba.ngemu.com
- No$GBA (GBA / NDS) http://nocash.emubase.de/gba.htm
- DeSmuME (NDS) http://desmume.org/
- iDeaS (NDS) http://www.ideasemu.org
- NeonDS (NDS) http://www.neonds.com
- Dualis (NDS) http://dualis.1emu.net/

5. Create a folder called devkitPro\source\gba and devkitPro\source\nds
6. Your ready to go!

NOTES:

- I also suggest you take a look at GBATek (http://nocash.emubase.de/gbatek.htm) for technical info on the GBA & NDS
- Also check out the PDF cheat sheet (http://infocenter.arm.com/help/topic/com.arm.doc.qrc0001l/QRC0001_UAL.pdf) for a quick guide to the ARM instruction set
- For Windows XP I recommend the Command Line Here (http://download.microsoft.com/download/whistler/Install/2/WXP/EN-US/CmdHerePowertoySetup.exe) tool so you can right click in a folder to open the command prompt for compiling.
- lec09_ARMasm (http://www.csie.ntu.edu.tw/~cyy/courses/assembly/08fall/lectures/handouts/lec09_ARMasm.ppt) is a simple power point presentation introducing some of the basic aspects of the ARM processor