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 > Tips On Moving From GBA To DS Programming

#53906 - Celeryface - Tue Sep 13, 2005 6:48 am

I've done some GBA programming and I'd like to get into DS programming. I've done some research on it so far, and DevKitARM looks to be the best dev kit available. I also use MS Vis.NET.

I have a few questions:

What's the easiest way to get homebrew code that I create to run on actual hardware?

Is there a DS emulator available that can run homebrew code with good stability (similar to something like Visual Boy Advance)?

Are there any good game programming libraries available for DS?

What are the best tutorials available for Nintendo DS programming?

Thanks in advance. :)

#53908 - Dwedit - Tue Sep 13, 2005 7:07 am

The easiest way to run on hardware is a flash cartridge (which supports flashing without a menu), and a passme.

The cheapest way is to use wireless passme (since a wireless card isn't useless after you reflash your DS), a GBA Movie Player, and chishm's firmware.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#53917 - Spaceface - Tue Sep 13, 2005 9:11 am

As for the emu's, my best experiences are with iDeaS which can be found on http://www.ndsemulator.com/nintendo-ds/ideas.htm.
Looking at that URL I suddenly see Ensata, which I thought was an official NDS emu. But not sure though.

A good list of tutorials can be found on http://www.drunkencoders.com/

#53919 - xflash - Tue Sep 13, 2005 9:16 am

The DoubleC site is a very good knowledge base for starting
http://www.double.co.nz/nintendo_ds/index.html
He is the new author of dsEmu. This is the only emu which accept GBFS datas appended to ROM.

xf

#53940 - Quirky - Tue Sep 13, 2005 6:52 pm

Are there any emulators that run the 3D stuff to a good level? I tried the 3 main emus with the libnds 3d examples and none of them ran anything. This was using Wine though, which perhaps causes extra problems, so I wondered how they work 'natively'.

#53959 - Spaceface - Tue Sep 13, 2005 10:23 pm

They work pretty good for me. Guess it's a WINE thing..

#53960 - Maverick - Wed Sep 14, 2005 12:04 am

What's the easiest way to get homebrew code that I create to run on actual hardware?

The EASIEST in the end would be wifi, hard to set up, but worth it. The SIMPLEST would be passme and a flash cart.

Is there a DS emulator available that can run homebrew code with good stability (similar to something like Visual Boy Advance)?

Not yet really, best are going to be ideas and dsemu.

Are there any good game programming libraries available for DS?

NDSlib and libNDS

What are the best tutorials available for Nintendo DS programming?

http://www.double.co.nz/nintendo_ds/index.html, but i do hope to get mine up and going at http://downtou.ne1.net. Well see.

#53962 - NoMis - Wed Sep 14, 2005 12:13 am

If you prefer a more abstract library over libnds/ndslib you should take a look at PA_Lib.

NoMis
_________________
www.gamedev.at - The austrian gamedev site
hde.gamedev.at - The Handheld Dev Env plugins for Eclipse

#53963 - doublec - Wed Sep 14, 2005 12:20 am

IdeaS moved to here: http://spazioinwind.libero.it/linoma/ideas.html

DSEmu currently does not do any 3D stuff unfortunately. Hopefully we're making progress towards that goal though.

#54027 - Celeryface - Wed Sep 14, 2005 8:47 pm

Thanks for the links.

I've tried using the Visual Studio .NET Template but it doesnt seem to build. I get an error about "'make' is not recognized as an internal or external command, operable program or batch file." However, make works fine by going to the command prompt and building example programs. Is there another thing I need to setup in the template to build in Visual Studio?

For reference I used the latest devKitPro updater to install devKitPro.

#54063 - wintermute - Thu Sep 15, 2005 8:25 am

You should throw that away and stop linking to it, it doesn't work.

You could use the windows installer linked here http://www.devkitpro.org/setup.shtml

Programmer's Notepad is a fairly good editor and the installer sets everything up so things "just work"?

#54083 - Celeryface - Thu Sep 15, 2005 3:06 pm

wintermute wrote:
You should throw that away and stop linking to it, it doesn't work.

You could use the windows installer linked here http://www.devkitpro.org/setup.shtml

Programmer's Notepad is a fairly good editor and the installer sets everything up so things "just work"?


Awesome. Thanks for the info.

I used the Windows installer and it installed everything very nicely (just had to add a couple of the bin directories into my path). I'll try out the Programmers Notepad in the future.

Just so I know, are there any other Visual Studio .NET templates available, or are most people using other IDEs? I noticed in Dovoto's tutorials, he recommends .NET.

#55639 - Wizad - Fri Sep 30, 2005 5:00 am

Do we have benefit from passing GBA to DS? More memory for tiles? More color? More features? Etc.

#55644 - tepples - Fri Sep 30, 2005 5:13 am

You get significantly more tile VRAM.

You get more colors. Imagine sixteen independent 256-color palettes.

With the 3D hardware, you can have a lot more rot/scale sprites on one of the screens, given that you get 1536 quads per scene and you can draw a sprite cel in each of them.

You have a mouse, or dual D-pads.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#55646 - Wizad - Fri Sep 30, 2005 5:21 am

tepples wrote:

You get more colors. Imagine sixteen independent 256-color palettes.


on the GBA 16x16-color palettes was allowed in mode 0. So you're telling me the DS allow 16x256 color palattes for a similar mode?? OMG tell me that's true!

I have another question. Are the memory location the same on the DS? for instance graphics memory located at 0x6000000?

#55719 - Wizad - Fri Sep 30, 2005 10:24 pm

Wizad wrote:
tepples wrote:

You get more colors. Imagine sixteen independent 256-color palettes.


on the GBA 16x16-color palettes was allowed in mode 0. So you're telling me the DS allow 16x256 color palattes for a similar mode?? OMG tell me that's true!

I have another question. Are the memory location the same on the DS? for instance graphics memory located at 0x6000000?


So?

#55720 - byg - Fri Sep 30, 2005 11:05 pm

Wizad wrote:
So?

[humour]
Let me apologise on behalf of the development community for not responding sooner :-)
[/humour]

Have you seen this site http://neimod.com/dstek/? It probably has all the information you need.
_________________
Modasi Games
www.modasi.com