2006/08/24

Hmmm.... the API has changed, eh?

In general, DevKitPro is a pretty nice software package. GBA, PSP, and (most importantly) DS development libraries all in one place. They even have a fancy updating tool that will keep your libraries up to date and add new ones (they recently added dswifi).

Biggest problem? Documentation... of course. Unless there's some guys that are really dedicated to working on it, the documentation for every project generally seems to limp along coughing and wheezing behind the coders. And, DevKitPro is no exception.

Don't they have a Wiki? Well... kinda. But its out of order.

Doxygen? Well... kinda. But its pretty obviously not complete.

In case you're wondering, there doesn't seem to be any documentation in the software directory- save for the PSP.

For this reason, tutorials are nice just to avoid the frustration of figuring things out. If you check out any other DS dev-related sites: NDS Homebrew, Drunken Coders, PataterSoft, etc. They all tend to link to the same tutortials- all of which are either quite outdated or incomplete.

Far and away the best is PALib. This is assuming you want to use PALib, that is.

I was using the highly regarded double.co.nz tutorials. But, they no longer work. I haven't looked into it very deeply yet, but when I tried to compile the very short programs there were several errors. devKitARM (part of devKitPro) seems to have changed since the tutorials were last updated.

Most notably:

  • The development tools all changed from arm-elf-* to arm-eabi-*

  • The DISP_SR symbol seems to have completely disappeared.


The first isn't really a bit deal. But it illustrates the a problem that may be more difficult to solve for a real beginner. I didn't really bother with it after than. I'll give it another go tonight when I get home.

Perhaps writing an up to date tutorial is something I should undertake. We'll see.

No comments: