TI-82 Link Protocol Guide v1.0 - File formats


File Formats

The TI-82 Graph Link software stores variables in several types of files. Single variables are stored in files that have an extension that corresponds with their type. Groups of variables are stored in files with the extension ".82g". However, all of these file types have a common format.

The different file types and contents that the TI-82 Graph Link software can read and write are shown below.

Extension Description

.82b

TI-82 system backup

.82d

TI-82 GDB (function, polar, parametric or sequence)

.82g

Multiple TI-82 variables of varying types (group)

.82i

TI-82 picture (image)

.82l

TI-82 list

.82m

TI-82 matrix

.82n

TI-82 real number

.82p

TI-82 program

.82t

TI-82 table setup

.82w

TI-82 window settings (Window or RclWindow)

.82y

TI-82 Y-Variable (equation)

.82z

TI-82 zoom (saved window settings)


The TI-82 variable file format

The TI-82 variable file format has two parts: a header and several variable entries.

The header appears at the beginning of the file and takes the following format:
Note - All 2-byte integers are stored little-endian Intel-style (least significant byte first).

Offset Length Description
0 8 bytes 8-character signature. The signature is always "**TI82**".
8 3 bytes 3-byte further signature. These three bytes always contain {1Ah, 0Ah, 00h} = {26, 10, 0}
11 (Bh) 42 (2Ah) bytes Comment. The comment is either zero-terminated or padded on the right with space characters.
53 (35h) 2 bytes Length, in bytes, of the data section of the file. This number should be 57 (39h) bytes less than the file size.
55 (37h) n bytes Data section - consists of a number of variable entries (described below).
55 (37h)+n 2 bytes File checksum. This is the lower 16 bits of the sum of all bytes in the data section.

Each variable entry follows this format:

Offset Length Description
0 2 bytes Always has a value of 11 (Bh).
2 2 bytes Length, in bytes, of the variable data.
4 1 byte variable type ID byte (see variable type ID's)
5 8 bytes Variable name, padded with NULL characters (0h) on the right.
13 (Dh) 2 bytes Length, in bytes, of the variable data. (This is a copy of the value in offset 2)
15 (Fh) n bytes Variable data. Click here for variable data formats.


The TI-82 backup file format

Most link programs allow a user to download and save system backups with the extension ".82b".

Here is the format for backup files:

Offset Length Description
0 8 bytes 8-character signature. The signature is always "**TI82**".
8 3 bytes 3-byte further signature. These three bytes always contain {1Ah, 0Ah, 00h} = {26, 10, 0}
11 (Bh) 42 (2Ah) bytes Comment. The comment is either zero-terminated or padded on the right with space characters.
53 (35h) 2 bytes Length, in bytes, of the backup header and the data sections. This number should be 17 (11h) bytes more than the sum of the lengths of the three data sections as reported in the backup header.
55 (37h) 11 bytes The backup header (format described below).
66 (42h) 2 bytes Length, in bytes, of the first data section.
68 (44h) x bytes First data section.
68 (44h)+x 2 bytes Length, in bytes, of the second data section
70 (46h)+x y bytes Second data section.
70 (46h)+x+y 2 bytes Length, in bytes, of the third data section
72 (48h)+x+y z bytes Third data section
72 (48h)+x+y+z 2 bytes Checksum. This is the lower 16 bits of the sum of all bytes in the backup header and data sections.

The backup header has this format:

Offset Length Description
0 2 bytes Offset to data length: Always has a value of 9.
2 2 bytes Length, in bytes, of the first data section.
4 1 byte Type ID: Always has a value of 15 (Fh).
5 2 bytes Length, in bytes, of the second data section.
7 2 bytes Length, in bytes, of the third data section.
9 2 bytes Memory address of the second data section ?

[previous page]
Variable Formats

[home]
Table of Contents

[next page]
Tokens and Characters


Site maintained by Romain Liévin (roms@lpg.ticalc.org) and Tim Singer (tsinger@gladstone.uoregon.edu)