#88617 - fdelduque - Tue Jun 20, 2006 5:34 pm
Is there any ??? Where I can get it ??
#88635 - Spaceface - Tue Jun 20, 2006 6:41 pm
I haven't found any. But I think (correct me if I'm wrong) libnds is just a collection of defines, not something that could have a documentation such as Java...
So I _think_ you're off best with some tutorials and/or examples which show you how it's done. But official libnds docs would be nice :)
#88638 - silent_code - Tue Jun 20, 2006 6:54 pm
well, it wouldn't be a lib if it was just a bunch of defines... there are also some functions and structures that make it easier to program the nds. so there COULD be a doc like java has. i know ndslib had one, didn't find a libnds doc, though. (ok, i didn't really care that much to look for one ;p)
but libnds being open source you can just open some headers and sources and check out what's going on... normally one wouldn't need the sources, just the headers that come with the lib (.a) should be enough to take a look at which functions are available and what functionality they have. also, most are named quite clearly.
just check out the .h headers!
and i agreee a doc would be a nice addition to the good examples! ;)
happy coding!
ps: you might find the ndslib doc helpful sometimes...
#88662 - HyperHacker - Tue Jun 20, 2006 9:04 pm
The source code is the documentation.
_________________
I'm a PSP hacker now, but I still <3 DS.
#89129 - Payk - Fri Jun 23, 2006 6:25 am
Yeah. Its not all clear but there are Wikis, examples and forums like this one. Many ppl were able to make with this, what they try to do. But a Doc ,like palib has, wouldnt be wrong for newbies. I had bad step in in all this. But in internet u get all infos u need.
#89134 - TheRain - Fri Jun 23, 2006 8:13 am
HyperHacker wrote: |
The source code is the documentation. |
unfortunatly, there is like no commenting in the source code at all.
Best resources I've found so far are this set of tutorials http://www.double.co.nz/nintendo_ds/index.html which won't compile using the methods described there by the way since these use an outdated devkitpro and ndslib, you need to change all references to arm-elf-g++ into arm-eabi-g++, and some of the functions are not in ndslib anymore so it could be quite confusing to new people.. like myself.
then there's the example code that comes with the latest DevKitpro, much of which is really well commented....
and through that source code I found this resource here http://www.drunkencoders.com/documents/DS/ndslib.htm which is a sort of half baked reference for ndslib.
With those things you might have a decent chance at getting up and running fairly quickly. Best tip is, look through and use the example code, templates, and makefiles in devkitpro... and load the whole Programmer's Notepad projects from the examples to see how it all fits together.
#89199 - silent_code - Fri Jun 23, 2006 2:50 pm
correct me if i'm wrong, but ndslib isn't continued anymore... libnds, that's what everyone's using (except the pa-libbers ;D )... maybe you just mixed it up or something.
so don't look for ndslib, better get libnds from the devkit pro site.
#89215 - LiraNuna - Fri Jun 23, 2006 4:38 pm
Sorry, Couldn't resist...
_________________
Private property.
Violators will be shot, survivors will be shot again.
#89216 - TheRain - Fri Jun 23, 2006 4:42 pm
silent_code wrote: |
correct me if i'm wrong, but ndslib isn't continued anymore... libnds, that's what everyone's using (except the pa-libbers ;D )... maybe you just mixed it up or something.
so don't look for ndslib, better get libnds from the devkit pro site. |
OH, I didn't realize that.. i thought they were the same thing. thanks.
#89389 - silent_code - Sat Jun 24, 2006 5:51 pm
#89633 - wintermute - Sun Jun 25, 2006 10:11 pm
There's also the online doxygen documentation found at
http://devkitpro.sourceforge.net/devkitProWiki/libnds/
Still very much a work in progress. A few more donations might allow us to pay someone to extend this further </hint> :P
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog