Log Contents Introduction

i. Tonc v1.4.2 : Table of Contents

i.1. Preface

i Contents 1
ii Introduction to Tonc 3

i.2. GBA Basics

1 GBA Hardware 7
2 Setting up a development environment 10
3 My First GBA Demo 21
4 Video Introduction 34
5 The bitmap modes 38
6 The GBA keypad 56
7 Sprite and tiled background overview 62
8 Regular sprites 67
9 Regular tiled backgrounds 78

i.3. GBA Extended

10 The affine transformation matrix 92
11 Affine sprites 98
12 Affine tiled backgrounds 109
13 Graphic effects 115
14 Direct Memory Access 126
15 Timers 133
16 Hardware interrupts 136
17 BIOS calls 147
18 Beep! GBA sound introduction 155

i.4. Advanced / Applications

19 Text systems 165
20 Mode 7 192
21 More Mode7 tricks 209
22 Tonc's Text Engine 213
23 Whirlwind tour of ARM assembly 244
24 The Lab 276

i.5. Appendixes

A Numbers, bits and bit operations 283
B Fixed-point math & LUTs 294
C Vector and matrix math 304
D More on makefiles and compiler options 311
E Make via editors 316
F References 322
G Change log 325

i.6. On revisions

Tonc v1.4 is final. Yeah, I said that about v1.0 as well, but this time I mean it. Really. Honest. Cross my heart and hope to die, etc, etc. Well … barring minor errata, this will be final. Honest, cross my heart, yadda yadda yadda.


Modified Mar 24, 2013, J Vijn. Get all Tonc files here