gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > programmers notepad ds development

#177945 - aidan_aidan - Sat May 18, 2013 4:38 am

I am currently using programmers notepad to program for the gba. I would like to try programming for the ds in the same way. I know that they both use the same cpu architecture so it should be fairly easy to get programmers notepad to compile for the ds right? How can i do this? Adjust the makefile?
_________________
French re f draft free e w shredder for c rt

#177946 - Dwedit - Sat May 18, 2013 2:54 pm

First look at the examples directory for devkitarm, there are NDS examples in there. Copy-paste one of the projects, and modify it until it's your own. You may need to slightly change the makefile.

Your code doesn't care which tool writes it. You could use Programmer's Notepad, you could use Visual C++, you could use TextPad, or anything else you want to use. What matters is the makefile, and that it calls the correct commands to build each file until it has finished generating the output file.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#177947 - aidan_aidan - Sat May 18, 2013 3:36 pm

Dwedit wrote:
First look at the examples directory for devkitarm, there are NDS examples in there. Copy-paste one of the projects, and modify it until it's your own. You may need to slightly change the makefile.

Your code doesn't care which tool writes it. You could use Programmer's Notepad, you could use Visual C++, you could use TextPad, or anything else you want to use. What matters is the makefile, and that it calls the correct commands to build each file until it has finished generating the output file.


Ok thanks!
_________________
French re f draft free e w shredder for c rt