Skip to content

TI-89 IDE for Linux 1.3

Choose a tag to compare

@JC-Toussaint JC-Toussaint released this 15 Nov 10:47
· 10 commits to main since this release

Ready-to-use Linux package of the TI-89 Titanium IDE: editor, emulator, source-level debugger, the GCC4TI toolchain and the Basic89 compiler, with Python and Tk included (nothing to install).

Requirements: x86_64, glibc 2.38 or later (Ubuntu 24.04+, Debian 13+, Fedora 39+...).

Usage

  1. tar -xzf ti89-ide-linux.tar.gz && cd ti89-ide-linux
  2. Put the ROM image of your own TI-89 Titanium in ROM/ti89tv310.rom (copyrighted by Texas Instruments, not included).
  3. ./ti89-ide, open an example from projets/exemples, F5 to run, F6 to debug.

Sending to a real calculator over USB needs the TI link libraries (libticalcs2, libticables2, libtifiles2, e.g. from the tilp2 package).

What's new in 1.3

Basic89 parameters:

  • BYREF: SUB inc(BYREF n AS INTEGER) changes the caller's variable (give a variable, an array element or a field).
  • BYVAL: a copy that the SUB can change (a STRING), or a TYPE copied.
  • Array parameters: a() AS INTEGER, m(,) AS INTEGER, of any size (also arrays of STRINGs and TYPEs); UBOUND(a [, dim]) gives the size.
  • The debugger shows BYREF parameters with their value, and array parameters with their contents.
  • Fixed: DIM s AS STRING * 8 = "text" did not compile.

What's new in 1.2

IDE improvements for Basic89:

  • Online help: the syntax of the keyword under the cursor is shown in the status bar; F1 (or Help > Basic89 Help) shows its description and an example, with an index of all the keywords.
  • Completion: Ctrl+Space completes the word being typed: keywords, functions, keys, and the names declared in the program (variables, fields, constants, SUBs, FUNCTIONs, IMAGEs...).
  • Auto-indent after IF ... THEN, FOR, DO, SELECT, SUB...
  • Debugger: variables are shown with their Basic types (INTEGER, BOOLEAN as TRUE/FALSE, STRING * 10, FIXED(2)...), the elements of STRING arrays as text.

What's new in 1.1

Basic89: a structured BASIC for the TI-89 Titanium, in the spirit of QuickBASIC, translated to C and compiled by GCC4TI, so it runs at the speed of a C program. The debugger (breakpoints, stepping, variables) works on the lines of the Basic program. File > New Basic89 Program.

  • Language: INTEGER, LONG, BOOLEAN, FIXED (fast decimals), STRING; arrays with several dimensions, records (TYPE); SUB, FUNCTION; IF, FOR, DO, WHILE, SELECT CASE; INCLUDE.
  • Hardware: grayscale (SCREEN GRAY4), sprites drawn in the source with pixel-exact COLLIDE, tile maps with smooth scrolling, sound on the link port (SOUND, PLAY), saving into the archive (SAVE, LOAD).
  • Basic89 examples: balls, cube2, orbit, guess, catch, maze.

New C examples: cube.c (rotating 3D cube, hidden faces, timer), dca.c (anti-aircraft game with the arrow keys).

Fixes: the TI-89 screen is no longer cropped on the sides; arrow keys no longer stay pressed when the screen loses the focus.

GCC4TI is free software under the GNU GPL: see gcc4ti/COPYING and gcc4ti/SOURCES.txt for the license and the corresponding sources.