Est. 1998 Intermediate

TI-BASIC (TI-89)

The Motorola 68000 dialect of TI-BASIC built into Texas Instruments' TI-89, the pocket graphing calculator that put a symbolic computer algebra system in students' hands and gave TI-BASIC true functions and local variables.

Created by Texas Instruments

Paradigm Procedural
Typing Dynamic (symbolic and numeric values share untyped variables)
First Appeared 1998
Latest Version No versioned language spec; distributed with the TI-89 / TI-89 Titanium operating system (Advanced Mathematics Software), reportedly reaching AMS 3.10 on the Titanium

TI-BASIC on the TI-89 is the interpreted, tokenized programming language built into Texas Instruments’ TI-89 and TI-89 Titanium graphing calculators — a distinct and considerably more powerful dialect than the TI-BASIC found on the company’s Z80-based TI-83/84 line. Where the Z80 language is a compact tool for automating classroom formulas, the 68k dialect is a small but genuine procedural programming language, complete with user-defined functions, local variables, and multi-character variable names, running on top of a full computer algebra system (CAS).

This dialect is often called TI-BASIC 89 or 68k TI-BASIC, after the Motorola 68000 processor that powers the calculators. The same language runs on a family of related machines — the TI-92, TI-92 Plus, the TI-89 and TI-89 Titanium, and the Voyage 200 — so a program written for one generally runs on the others.

History and Origins

Texas Instruments entered the computer-algebra market in 1995 with the TI-92, its first calculator able to manipulate algebraic expressions symbolically rather than only crunch numbers. The TI-92’s CAS was based on Derive, a symbolic-math program developed by Soft Warehouse of Honolulu, and the calculator paired it with Cabri-style interactive geometry and 3D graphing. The TI-92 was a landmark, but its large body and QWERTY keyboard ran afoul of standardized-testing rules: many exam boards bar calculators with letter keyboards, so the TI-92 was disallowed on tests like the SAT.

The TI-89, released in 1998, was Texas Instruments’ answer. It repackaged the TI-92’s 68000 processor and CAS into a slimmer, vertical, non-QWERTY body that testing boards would accept. In doing so it brought symbolic computation — and the more capable 68k dialect of TI-BASIC — to a device students could actually carry into an exam. The TI-92 Plus (also 1998) and later the Voyage 200 (2002) kept the QWERTY form factor for those who wanted it, while the TI-89 Titanium (2004) modernized the flagship with more Flash memory, a USB port, and a lightly expanded CAS.

Design Philosophy

The 68k dialect was shaped by hardware far more generous than the Z80 calculators’: a 16/32-bit Motorola 68000 running at roughly 10–12 MHz (nominally higher on the Titanium), hundreds of kilobytes of RAM, and megabytes of Flash. That headroom let TI-BASIC 89 grow beyond a formula-automation tool into a small structured language:

  • Symbolic first. Variables can hold not just numbers but unevaluated symbolic expressions. A program can build, transform, and return algebra — for example defining a function that returns a derivative in closed form — because the CAS underlies the entire environment.
  • Real functions and structure. Unlike the Z80 dialect, 68k TI-BASIC supports genuine user-defined functions (Define/FuncEndFunc) that take parameters and return values, plus subprogram structures, so code can be organized into reusable, named pieces rather than a web of Lbl/Goto jumps.
  • Tokenized, menu-driven entry. Like all TI-BASIC, programs are stored as tokens and entered largely by selecting commands from on-calculator menus, keeping the on-device editing experience consistent with the rest of the calculator.

Key Features

TI-BASIC 89 offers a notably fuller feature set than its Z80 sibling:

FeatureDetails
User-defined functionsDefine name(args) with FuncEndFunc blocks that accept parameters and return values, including symbolic results
Local variablesThe Local statement scopes variables to a function or program; they must be initialized before use
Multi-character namesVariable and function names may be up to eight alphanumeric characters, not just single letters
Symbolic computationDirect access to the CAS — differentiate, integrate, factor, and solve equations symbolically from within a program
Control flowIf/Then/Else, For, While, Loop, and structured blocks, alongside Lbl/Goto
CommentsSingle-line comments marked with the copyright symbol (©); a comment on the first line after Prgm shows in the status bar

For performance-critical work — real-time games, fast graphics, low-level tricks — programmers dropped to Motorola 68000 assembly or C, typically built on a PC with the community TIGCC toolchain (a GCC-based cross-compiler) and transferred to the calculator. As with the Z80 line, this created a natural progression from TI-BASIC into systems programming.

Evolution

The language itself changed little after its 1998 debut; most evolution arrived through the operating system, branded Advanced Mathematics Software (AMS), and the hardware beneath it:

  • 1998–2002 — platform spread: the TI-92 Plus, then the Voyage 200, extended the same 68k TI-BASIC to QWERTY-keyboard bodies, and Flash-upgradeable AMS let TI push new CAS features to existing calculators.
  • 2004 — the Titanium: the TI-89 Titanium (hardware version HW3) doubled Flash memory, added USB On-The-Go connectivity, and shipped a modestly expanded CAS — including implicit differentiation — while keeping TI-BASIC programs compatible.
  • Operating-system revisions: AMS advanced through several point releases, reportedly reaching around AMS 2.09 on the original TI-89 and AMS 3.10 on the Titanium, each refining the CAS and system commands rather than the core language.

Current Relevance

The TI-89 family is a legacy platform today. Texas Instruments’ newer flagship, the TI-Nspire CAS, has largely superseded the 68k calculators for new symbolic-math purchases, and the Nspire’s own scripting and BASIC-like language carries the CAS-calculator lineage forward. Even so, TI-89 and TI-89 Titanium units remain in wide circulation, still permitted on the exams that first drove their popularity, and the community archives at ticalc.org continue to host their TI-BASIC and assembly programs. For a generation of engineering and calculus students, TI-BASIC 89 was the language in which they first automated real mathematics.

Why It Matters

The TI-89’s version of TI-BASIC is significant for two reasons. First, it democratized symbolic computation: a pocket device that a high-schooler could bring to an exam could factor polynomials, take derivatives, and solve equations in closed form — and its built-in language let students program against that power. Second, it shows TI-BASIC at its most complete. With genuine functions, local scope, and multi-character names, the 68k dialect closed much of the gap between a calculator scripting language and a real structured programming language, giving students an on-ramp that led naturally toward C and assembly. It is a reminder that some of the most capable programming environments of the late 1990s fit in a pencil case.

Timeline

1995
Texas Instruments releases the TI-92, its first calculator with a computer algebra system (CAS based on the Derive software from Soft Warehouse); its QWERTY keyboard, however, gets it banned from many standardized exams
1998
The TI-89 is announced (March) and released later that year, packing the TI-92's 68k CAS into a test-legal, non-QWERTY graphing calculator; its 68k dialect of TI-BASIC adds true user-defined functions and local variables
1998
The TI-92 Plus ships alongside the TI-89, extending the 68k platform with more memory and Flash-upgradeable Advanced Mathematics Software (AMS)
2002
Texas Instruments releases the Voyage 200, a QWERTY-keyboard successor to the TI-92 Plus that runs the same 68k TI-BASIC and CAS
2004
The TI-89 Titanium (hardware version HW3) is released (June 1), doubling Flash memory, adding a USB On-The-Go port, and shipping an updated CAS with features such as implicit differentiation, while remaining TI-BASIC compatible
2004
TIGCC, a community GCC-based toolchain, matures as the standard way to write C and 68000 assembly programs for the TI-89 family, complementing on-calculator TI-BASIC

Notable Uses & Legacy

College engineering, calculus, and physics courses

The TI-89's symbolic algebra — differentiating, integrating, and solving equations in closed form — made it a favorite in university STEM courses, where students wrote TI-BASIC programs to automate repeated derivations and numerical methods.

Standardized testing (SAT and AP exams)

Unlike the QWERTY-keyboard TI-92, the TI-89 was permitted on the SAT and Advanced Placement exams (though banned on the ACT and on many exams outside the U.S.), which drove wide adoption and a large library of exam-oriented TI-BASIC formula programs.

ticalc.org and the 68k programming scene

The community archive hosts thousands of TI-89 TI-BASIC and assembly programs; the 68k line's more capable language and processor supported ambitious math tools, utilities, and games.

Symbolic math helper programs

Because 68k TI-BASIC can define named functions that return symbolic results, users built reusable libraries — custom solvers, unit converters, and step-by-step derivation aids — that behave like extensions of the calculator's own command set.

Hobbyist games and demos

The 160×100 screen and 68000 processor hosted a lively homebrew scene; while performance-critical titles were written in C or assembly via TIGCC, many games and puzzles were authored entirely in TI-BASIC.

Language Influence

Influenced By

BASIC Derive

Influenced

TI-Nspire BASIC

Running Today

Run examples using the official Docker image:

docker pull
Last updated: