Skip to content

Instantly share code, notes, and snippets.

@SimonEast
SimonEast / Tokens.md
Created February 25, 2022 02:49
List of TI-83/84 Basic Tokens

Here are all the TI-BASIC tokens, along with the binary hex code of each, as taken from TokenIDE. The hex form is how they appear in an 8XP file. Another list is available at http://tibasicdev.wikidot.com/tokens

00 - 
01 - ►DMS
02 - ►Dec
03 - ►Frac
04 - →
@SimonEast
SimonEast / .README.md
Last active November 24, 2022 16:21
Watching a Folder for Changed Files Using AutoIt Script

Watching a Folder for Changed Files Using AutoIt Script

The example scripts below show a clean way of monitoring a folder for changes and responding to those changes.

The _WinAPI_ReadDirectoryChanges() function provided by AutoIt is quite helpful for this, but unfortunately it is a "blocking" synchronous function, which means that once it is called, it hangs the script and users cannot exit it via the tray icon (well not until a file change is triggered). To workaround this, the scripts below run as a "parent" script and a "child" script. The parent runs the child in a separate process and if the parent is exited, it also exits the child process, which is clean and better for usability.

There's also some helpful comments included in the script, as well as an option of filtering file changes based on a specific file extension, if that's what you need.

Comments and feedback welcome.

@SimonEast
SimonEast / .8XP Binary File Format.md
Last active April 1, 2024 15:18
8XP Binary File Format & Structure Documentation

8XP File Format

The following KSY file shows the binary structure of 8XP files. These files are programs used on Texas TI-83 Plus and TI-84 Plus calculators.

As a basic summary, each 8XP file contains:

  • 55 byte header
  • 19 byte meta data section
  • body (variable length)
  • 2 byte checksum at the end
@SimonEast
SimonEast / .Intro.md
Last active February 13, 2024 01:47
8XP TI Calculator Tokens - binary and text representations

8XP TI Calculator Tokens

Binary representations vs text

The following file shows the commands and tokens used on a TI-84 Plus calculator program (an 8XP file).

The data closely matches the output of TI's official software "TI Connect CE" as much as possible, although not 100% exactly as there were a couple of bugs/issues as noted in comments inside the list below.

This list was designed to support TI-84+ monochrome programs. It does also include a number of TI-84+ CE (colour edition) tokens - but possibly not 100% of these.

Other token references: