Tonc is my reasonably successful tutorial on GBA programming, covering most aspects of the hardware in all its technical glory. Tonc explains the GBA hardware in detail, and how you should and should not work with it. Prior programming knowledge is required, an affinity for mathematics is also recommended.
Tonc Downloads
Current (and final) version: v1.4
- 20080818: example binaries: tonc-bin.zip
- 20080818: example code: tonc-code.zip
- 20080818: main text: tonc-text.zip
- 20080818: the main text as chm: tonc.chm
- 20080818: the main text as PDF: tonc.pdf
Older versions:
- 20070217: example binaries: tonc-bin-1.3b.zip
- 20070217: example code: tonc-code-1.3b.zip
- 20070217: main text: tonc-text-1.3b.zip
- 20070217: the main text as chm: tonc-1.3b.chm
- 20070217: the main text as PDF: tonc-1.3b.pdf
NOTE. I've had a report a while back that the CHM version didn't work. The reason seems to be the silly security settings in Windows that block downloaded CHM files to open properly. If you get this too, open the file's properties and click `Unblock' (Thanks for pointing this out, Kevin.)
In the latest tonc-code.zip, there appears to be no 'source' or 'gfx' subdirectories in code/adv/m7_demo/
There is a problem building the tonclib v1.4. It seems that make isn't pointing out where the headers are. I looked through the makefile and found some discrepancies between the variables INCLUDE and INCLUDES. But after changing them all to INCLUDES, the same thing happened.
Odd. I've rebuilt tonclib here and it seems to compile okay. It did seem I missed a few points in the main codebase, though, so I've re-uploaded everything. Maybe it'll work better this time.
About
INCLUDEvsINCLUDES:INCLUDESis supposed to be the list for include directories, andINCLUDEis the variable that the compiler needs to search for the directories. You shouldn't replace one for the other, that won't work. Because of the obvious potential for confusion here, I always usedINCDIRSin the examples, but somehow missed it in the tonclib makefile.Leave a comment
Powered by WordPress