Log Contents Introduction

i. Tonc v1.4 : Table of Contents

i.1. Preface

i Contents 1
ii Introduction to Tonc 3

i.2. GBA Basics

1 GBA Hardware 8
2 Setting up a development environment 12
3 My First GBA Demo 26
4 Video Introduction 33
5 The bitmap modes 42
6 The GBA keypad 70
7 Sprite and tiled background overview 76
8 Regular sprites 82
9 Regular tiled backgrounds 86

i.3. GBA Extended

10 The affine transformation matrix 113
11 Affine sprites 121
12 Affine tiled backgrounds 135
13 Graphic effects 142
14 Direct Memory Access 155
15 Timers 163
16 Hardware interrupts 167
17 BIOS calls 180
18 Beep! GBA sound introduction 189

i.4. Advanced / Applications

19 Text systems 201
20 Mode 7 225
21 More Mode7 tricks 233
22 Tonc's Text Engine 259
23 Whirlwind tour of ARM assembly 298
24 The Lab 338

i.5. Appendixes

A Numbers, bits and bit operations 346
B Fixed-point math & LUTs 362
C Vector and matrix math 375
D More on makefiles and compiler options 384
E Make via editors 390
F References 398
G Change log 402

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 Aug 15, 2008, J Vijn. Get all Tonc files here