TI-89 Assembly, SDK & Advanced Programming
Beyond TI-BASIC, the TI-89 family can run programs written in C and 68000 assembly. These run much faster and power most TI-89 games and utilities. Everything here is for the physical TI-89 and TI-89 Titanium. For a gentler start, see TI-BASIC programming.
Programs can't be installed in our online TI-89 calculator, which runs PedroM, a free third-party operating system.
Back up first. Assembly programs have full access to the hardware, and a bug can crash the calculator or erase RAM. Archive anything important. See run and archive programs.
The SDK: GCC4TI and TIGCC
The standard free development kit is GCC4TI, a GPL-licensed SDK for the TI-89, TI-89 Titanium, TI-92 Plus and Voyage 200. It compiles C and assembly, and it grew out of the older TIGCC project, which is still widely referenced in tutorials.
| GCC4TI / TIGCC | |
|---|---|
| Languages | C, GNU assembly, A68k assembly |
| Output | programs you send to the calculator (.89z for the TI-89 family) |
| Licence | GPL, free |
| Includes | compiler, assembler, linker, a large library of TI-OS functions, an IDE on Windows |
A minimal "hello world" is compiled from the command line with something like tigcc -O2 hello.c, then sent with TI Connect or TiLP. See install programs.
Texas Instruments also had an official SDK for signed Flash apps (TI Flash Studio). It's rarely used today. Most hobby developers use GCC4TI.
Kernels and "nostub" programs
- Nostub programs run directly from the Home screen, with nothing else installed. Most modern programs are nostub.
- Kernel-based programs need a kernel (a resident helper program) such as PreOS, which supports AMS versions up to 3.10 on the TI-89 and the Titanium.
Running older programs on the Titanium
When the Titanium came out in 2004, many assembly programs written for the original TI-89 stopped working, because of hardware changes. Community fixes include:
- HW3Patch, which patches the operating system so older programs run, and
- Ghostbuster, which is run on individual older programs.
Check a program's description first: many have Titanium-specific versions. See TI-89 games.
About "hacks", "jailbreaks" and overclocking
- "Jailbreak": the TI-89 runs assembly and C programs natively. There's nothing to unlock for ordinary programming.
- Replacing the operating system is possible on this family, but it can leave the calculator unusable, and the stock Texas Instruments OS is needed for exam use. We don't cover it.
- Overclocking involves physical hardware modification. It risks permanent damage, voids the warranty and drains the batteries faster. We don't give instructions.
"Build a TI-89 with a Raspberry Pi"
Some hobby projects put calculator emulators on a Raspberry Pi with a keypad and screen. An emulator still needs a TI-89 operating-system image, and TI's OS is copyrighted. See ROMs and legal resources for the legitimate options.
Where to learn
- the GCC4TI documentation, which includes a full library reference and examples,
- ticalc.org, for source code, tutorials and the program archive, and
- the TI-89 Titanium guidebook's programming chapter, for TI-BASIC and how the OS handles programs.