TI-85 Link Protocol Guide v1.0 - Tokens and Character Codes


Tokens and Character Codes

TI-85 Tokens

In order to save space and execution time, the TI-86 tokenizes all BASIC programs and equations before running or evaluating them. Rather than trying to interpret multiple-character command names in real-time, all simple commands are compressed down to one or two bytes. All possible tokens that can exist in a program are shown below. Blue-colored squares link to a note describing the token's function. Red-colored squares link to a separate table of two-byte tokens starting with the original byte (3Dh). Black-colored squares have no known function.

TI-86 Tokens Least Significant Digit
Most

Significant

Digit
  0 1 2 3 4 5 6 7 8 9 A B C D E F
0

 

>Rec

>Pol

>Cyl

>Sph

>DMS

>Bin

>Hex

>Oct

>Dec

>Frac

->

[

]

{

}

1

(

)

round

max

min

mod

cross

dot

aug

rSwap

rAdd

multR

mRAdd

sub

lcm

gcd

2

simult

inter

pEval

randM

seq

evalF

fnInt

arc

fMin

fMax

der1

der2

nDer

note 1

[angle]

,

3

or

xor

note 2

note 3

note 3

note 3

note 3

note 3

note 3

note 3

note 3

note 2

note 2

more

note 4

=

4

and

rand

[pi]

getKy

note 5

%

!

r

°

-1

2

T

Menu

P2Reg

P3Reg

P4Reg

5

==

<

>

<=

>=

[not equal]

Radian

Degree

Normal

Sci

Eng

Float

Fix

RectV

CylV

SphereV

6

+

-

Func

Param

Pol

DifEq

Bin

Oct

Hex

Dec

RectC

PolarC

dxDer1

dxNDer

:

note 6

7

*

/

SeqG

SimulG

PolarGC

RectGC

CoordOn

CoordOff

DrawLine

DrawDot

AxesOn

AxesOff

GridOn

GridOff

LabelOn

LabelOff

8

nPr

nCr

Trace

ClDrw

ZStd

ZTrig

ZFit

ZIn

ZOut

ZSqr

ZInt

ZPrev

ZDecm

ZRcl

PrtScrn

DrawF

9

FnOn

FnOff

StPic

RcPic

StGDB

RcGDB

Line

Vert

PtOn

PtOff

PtChg

Shade

Circl

Axes

TanLn

DrInv

A

./

-

abs

iPart

fPart

int

ln

e^

log

10^

sin

sin-1

cos

cos-1

tan

tan-1

B

sinh

sinh-1

cosh

cosh-1

tanh

tanh-1

sign

det

ident

unitV

norm

rnorm

cnorm

ref

rref

dim

C

dimL

sum

prod

sortA

sortD

li>vc

vc>li

lngth

conj

real

imag

angle

not

rotR

rotL

shftR

D

shftL

eigVl

eigVc

cond

poly

fcstx

fcsty

eval

If

Then

Else

While

Repeat

For

End

Return

E

note 7

note 8

Pause

Stop

IS>

DS<

Input

Prompt

InpSt

Disp

DispG

Outpt

ClLCD

Eq>St

St>Eq

Fill

F

^

[xth root]

Solver

OneVar

LinR

ExpR

LnR

PwrR

ShwSt

Hist

xyLine

Scatter

SortX

SortY

LU

 

3D XX Tokens Least Significant Digit (second byte)
Most

Significant

Digit
  0 1 2 3 4 5 6 7 8 9 A B C D E F
0

zxScl

zyScl

xScl

yScl

xMin

xMax

yMin

yMax

tMin

tMax

tStep

[theta]Step

ztStep

z[theta]Step

tPlot

[theta]Min

1

[theta]Max

zxMin

zxMax

zyMin

zyMax

ztPlot

z[theta]Min

z[theta]Max

ztMin

ztMax

lower

upper

[Delta]x

[Delta]y

xFact

yFact

2

difTol

tol

[delta]

Na

k

Cc

ec

Rc

Gc

g

Me

Mp

Mn

µ0

[epsilon]0

h

3

c

u

e

xStat

yStat

Plot

 

 

 

 

 

 

 

 

 

 

Notes:

TI-85 Character Codes

The TI-85 follows the ASCII standard for normal printable characters - those in the range 32 (20h) to 126 (7Eh). All other possible characters take the place of control characters (0 to 31) and extended ASCII characters (127 to 255).

All characters and their character codes in the TI-86 6x8-pixel home screen font are shown here:

[6x8-pixel character map]


All characters and their character codes in the TI-85 6x6-pixel menu font are shown here:

[6x6-pixel character map]


[previous page]
File Formats

[home]
Table of Contents


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