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 Misc > Help With NDS coding(Confused)

#147400 - beamer30 - Wed Dec 19, 2007 9:35 pm

Ok I want to learn how to make apps and such for the ds lite, but all the tuturials sound like jarbal... I have experience in coding C++, but i need an in depth tutrial that teaches me how to code most of the tuturial just throw a huge section of code and barley explain it. Is there a more in depth tutorial or is someone willing to give me some in depth training?

Any help is GREATLY appreciated.
_________________
Real Programmers never use comments or write documentation:
?If it was hard to write?, says the Real Programmer,
?it should be hard to understand.?

#147401 - keldon - Wed Dec 19, 2007 10:27 pm

http://www.coranac.com/tonc/text/toc.htm

^^^ This is probably the best tool for you!

#147419 - beamer30 - Thu Dec 20, 2007 7:04 am

I don't understand thats a GBA tutorial lol?
_________________
Real Programmers never use comments or write documentation:
?If it was hard to write?, says the Real Programmer,
?it should be hard to understand.?

#147425 - simonjhall - Thu Dec 20, 2007 1:00 pm

There are a lot of similarities between the DS and GBA. Learning one will make it dead easy to learn the new stuff.
When you think about it, there aren't a lot of major differences - more memory, more speed, more buttons, 3D hardware. Sha-zam.
_________________
Big thanks to everyone who donated for Quake2

#147426 - chishm - Thu Dec 20, 2007 1:45 pm

simonjhall wrote:
When you think about it, there aren't a lot of major differences - more memory, more speed, more buttons, 3D hardware. Sha-zam.

More CPUs, more screens, really, just more of everything. Take 2 GBAs, tape them together, add some 3D hardware and upgrade the memory/processors and you have a DS.
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com

#147429 - keldon - Thu Dec 20, 2007 4:41 pm

chishm wrote:
simonjhall wrote:
When you think about it, there aren't a lot of major differences - more memory, more speed, more buttons, 3D hardware. Sha-zam.

More CPUs, more screens, really, just more of everything. Take 2 GBAs, tape them together, add some 3D hardware and upgrade the memory/processors and you have a DS.

lol, that's a good way to put it.

But yes, learn that, in fact forget the DS for a few [programming] days and master the GBA spec!

#147447 - beamer30 - Thu Dec 20, 2007 9:48 pm

If you guys think it will help me ill definateley do it. Ok so ill leern TONC make some apps then try ds programming. Thanks guys if you have any more tips though i'd love to hear em, or maybe just some things you did when learning to code for the NDS.
_________________
Real Programmers never use comments or write documentation:
?If it was hard to write?, says the Real Programmer,
?it should be hard to understand.?

#147448 - simonjhall - Thu Dec 20, 2007 10:24 pm

This big ol' sticky in the development thread was pretty useful for me, and probably many people too:
http://forum.gbadev.org/viewtopic.php?t=8353
and http://www.double.co.nz/nintendo_ds/index.html was pretty useful too for understanding how the different display modes work, too. A lot of them won't compile with more recent libndses (since they're often old) but the basics are always the same.
_________________
Big thanks to everyone who donated for Quake2

#147453 - beamer30 - Thu Dec 20, 2007 11:03 pm

Thanks ill be sure to check those out, but i ran into another problem lol. When I open Msys to compile something it wont change to the directory, I
think it might be because "/documents and settings" has spaces but i dont know for sure whats wrong?
_________________
Real Programmers never use comments or write documentation:
?If it was hard to write?, says the Real Programmer,
?it should be hard to understand.?


Last edited by beamer30 on Thu Dec 20, 2007 11:09 pm; edited 1 time in total

#147454 - Lick - Thu Dec 20, 2007 11:09 pm

Don't forget the WiFi/NiFi!
_________________
http://licklick.wordpress.com

#147455 - keldon - Thu Dec 20, 2007 11:14 pm

Here's what I'd do ...
Code:
cd /documents[tab][enter]

... which will basically have msys auto complete the path

#147460 - chuckstudios - Fri Dec 21, 2007 2:14 am

beamer30 wrote:
Thanks ill be sure to check those out, but i ran into another problem lol. When I open Msys to compile something it wont change to the directory, I
think it might be because "/documents and settings" has spaces but i dont know for sure whats wrong?


Indeed, that is the reason. Move your projects to a directory on the root of your hard drive. For instance, mine are in C:\DATA\.

#147464 - kusma - Fri Dec 21, 2007 2:33 am

chuckstudios wrote:
Indeed, that is the reason. Move your projects to a directory on the root of your hard drive. For instance, mine are in C:\DATA\.

...or fix the bugs in your makefiles. But yeah, I leave most of my projects in c:\msys\home\[username] myself, just because it's easier - spaces in file/diectory names are just more common on windows than other systems ;)

#147476 - beamer30 - Fri Dec 21, 2007 8:31 am

ok thanks guys i worked it out, also a big thanks to Keldon Who always seems to answer my question and gives some useful info!
_________________
Real Programmers never use comments or write documentation:
?If it was hard to write?, says the Real Programmer,
?it should be hard to understand.?