Coranac

Tonc Errata. Created: 2008-11-15 – 0:44.

Even though Tonc is declared ‘done’, it shouldn't surprise anyone that there are still a few (hopefully small) mistakes left here and there. Reports of these are only coming in sporadically, and as such it is not very efficient to update all the files immediately. Instead, I will just list them here for the time being. I will try to keep the online version up-to-date, but the PDF and downloadable files will have to wait.


  • 20111119
    • code: Fixed links to grit for m7_demo, m7_ex, tte_demo.
    • objaff.htm 11.5: fixed spurious sina and cosa calculations in obj_rotscale_ex() and oac_rotscale(). Thanks, dasi.
  • 20090418 In “Mode 7 part 2”, there is a much faster way of doing the division. For details, go here.
  • GNU assembler manual has moved to http://sourceware.org/binutils/docs/as/index.html (thanks, Joseph).
  • 20081106 Code snippet at §23.2.1:Basic operations. “x68 asm” should, of course, be “x86 asm” (thanks, Wladimir).
  • 20081023 Some of the memory map entries in §1.3 were … imprecise (thanks Pius).

5 Comments »

  1. Thanks!

    Comment by Dawid — 2009-03-01 @ 4:27
  2. hi

    Comment by thangcutcut — 2009-07-22 @ 6:07
  3. Hi.
    I have recently got back to GBA coding, so I have downloaded clean tonc and gave it a shot.
    However the newest version has some build errors, probably caused by makefile changes.
    Please note, that I have some older tonc version (which is strangely also named 1.4 in my
    folders but is somewhat different) and it compiles without errors (at least some of the projects).

    I have used both pnproj and sln (with VS2k10).

    Some of the errors are as simple as:
    (...) /tonclib/src/tonc_bg.cpp:12:25: fatal error: tonc_memmap.h: No such file or directory

    Hope it somehow helps.

    Comment by Andy — 2011-01-15 @ 20:09
  4. As far as I can tell, the header file in question is present in the zip-file. Have you checked if the file is actually there?

    One other possibility is that the dependency-files that the makefile generates point to a wrong location. This can happen if you move directories around. A simple clean followed by a rebuild should solve this.

    Comment by cearn — 2011-01-19 @ 20:21
  5. Actually everything is there. The problem is somewhere when I try to build tonclib itself from VS. Clean didn't help much, I'm afraid. I have solved it however by copying already build tonc files.
    Tonclib is great, tutorials are great, even if I used to use some different things in the past. Thank you for that.

    Comment by Andy — 2011-02-05 @ 22:36
RSS feed for comments on this post. TrackBack URL

Leave a comment




XHTML: You can use these tags:<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Others: [code lang='*'], [wiki]




Powered by WordPress