November 22, 2017, 06:14:59 AM*

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Advanced search  
Pages: [1]
Print
Author Topic: Setting up Programmers Notepad  (Read 9322 times)
0 Members and 1 Guest are viewing this topic.
headkaze
Administrator
Blue Gene Super Computer
**********
Offline Offline

Gender: Male
Posts: 7806



« on: December 23, 2008, 12:33:42 AM »

Here's a quick guide to using Programmers Notepad as an IDE for compiling NDS binaries. The first thing I noticed is that the templates were all messed up in my examples I posted so I have fixed them all and reposted them.

On the left side of the screen you have a Projects window that should have the arm7 and arm9 folders and in them "header" and "source" folders containing the source code.

For some reason the posted examples were stuffed and I had to delete their folders and add new ones. Then inside those folders you right click and add the source files.

Now you should have all your source files in folders on the left of the screen. Double clicking a file should open it up for editing. You can double click the titlebar to make it fill the space available.

First of all the syntax hilighting is not really working for arm so I added some of the opcodes myself. Download the attached file called asm_scheme.zip and extract the asm.scheme file to C:\devkitPro\Programmers Notepad\schemes overwriting the old one. Now you will at least see the arm opcodes hilighted. Unfortunately it doesn't recognize '@' commented lines and I could not for the life of me change that.

Now we should have syntax hilighting working okay. Next we will look at the 3 most important features of this IDE.

Under the Tools menu you will see "make", "clean" and "run".

* "make" - will simply call make on the makefile and build the project.

* "clean" - will clean the project and compile fresh. This is important if major changes were made and the project needs a complete recompile

* "run" - This should launch the emulator and run your compiled .nds file. By default this is not set up but I have reuploaded the projects and changed this.

You need to open the MyProject.pnproj file in notepad and change the <Project name="template"> to be <Project name="MyProject"> replacing "MyProject" with the name of your project and it must match the name of the compiled .nds (Eg. MyProject.nds).

Now you will need to view the attached images which will guide you through setting up iDeaS to run when you select Tools->run from the menu.


* PNote1.png (58.42 KB, 795x662 - viewed 455 times.)

* PNote2.png (63.47 KB, 795x662 - viewed 471 times.)

* PNote3.png (66.52 KB, 795x662 - viewed 478 times.)
* asm_scheme.zip (6.15 KB - downloaded 521 times.)
« Last Edit: December 24, 2008, 01:07:58 AM by headkaze » Logged
Flash
Administrator
Blue Gene Super Computer
**********
Offline Offline

Gender: Male
Posts: 13158



« Reply #1 on: December 23, 2008, 03:02:10 PM »

A great bit of work HK and certainly makes working with the ide a lot better. Five stars and please sit at the front of the class Smiley
Logged

Coding for the love of it!
a128
ZX80
*
Offline Offline

Posts: 18


WWW
« Reply #2 on: January 08, 2010, 03:24:05 PM »

I always find it easier to develop under Linux or Mac...using shell and gvim or under Mac I like Xcode IDE
Logged
Flash
Administrator
Blue Gene Super Computer
**********
Offline Offline

Gender: Male
Posts: 13158



« Reply #3 on: January 08, 2010, 03:52:36 PM »

I have not really played with Xcode yet, though from the time I have spent 'fiddling' with it, it is certainly very capable.

Programmers Notepad is still very good and tidy. I do find it quite good for DS development and have certainly 'cut-my-teeth' using it.

a128, sorry for my ignorance, but what stuff have you developed? I would be very interested.
Logged

Coding for the love of it!
a128
ZX80
*
Offline Offline

Posts: 18


WWW
« Reply #4 on: January 17, 2010, 08:06:30 AM »

a128, sorry for my ignorance, but what stuff have you developed? I would be very interested.

I developed a dreamcast game DCastle...several libs for the DC
and a sequencer for the NDS plus a unreleased racing game for the NDS
videos are here
http://www.youtube.com/user/MrA128

Logged
headkaze
Administrator
Blue Gene Super Computer
**********
Offline Offline

Gender: Male
Posts: 7806



« Reply #5 on: January 17, 2010, 09:05:33 AM »

I developed a dreamcast game DCastle...several libs for the DC
and a sequencer for the NDS plus a unreleased racing game for the NDS
videos are here
http://www.youtube.com/user/MrA128

I love your racing game, looks very professional!
Logged
Lobo
RBP Team Member
Blue Gene Super Computer
*****
Offline Offline

Posts: 3061



WWW
« Reply #6 on: January 17, 2010, 05:17:02 PM »

That racing game sure looks fun, is there a download anywhere yet?
 Shocked
Logged
a128
ZX80
*
Offline Offline

Posts: 18


WWW
« Reply #7 on: January 17, 2010, 06:46:26 PM »

That racing game sure looks fun, is there a download anywhere yet?
 Shocked

Unreleased means no downloads yet :-) Sorry....
Logged
Flash
Administrator
Blue Gene Super Computer
**********
Offline Offline

Gender: Male
Posts: 13158



« Reply #8 on: January 17, 2010, 07:36:16 PM »

Sniff!  Cry
Logged

Coding for the love of it!
Lobo
RBP Team Member
Blue Gene Super Computer
*****
Offline Offline

Posts: 3061



WWW
« Reply #9 on: January 17, 2010, 07:45:10 PM »

Ahh, missed that part.  Smiley
Well, good luck releasing it eventually.  Wink
Logged
spacefractal
RBP Team Member
Blue Gene Super Computer
*****
Offline Offline

Gender: Male
Posts: 4102



WWW
« Reply #10 on: January 17, 2010, 10:32:42 PM »

I gonna think you should have started a new thread about your cool project in the other games projects? Yes, the racing one look cool.
Logged

The Musician for the RetroBytes Portal Projects.
Pages: [1]
Print
Jump to: