TI-85 Link Protocol Guide v1.0 - Tokens and Character Codes
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 |
|
, |
||
3 |
or |
xor |
= |
||||||||||||||
4 |
and |
rand |
|
getKy |
% |
! |
r |
° |
-1 |
2 |
T |
Menu |
P2Reg |
P3Reg |
P4Reg |
||
5 |
== |
< |
> |
|
|
|
Radian |
Degree |
Normal |
Sci |
Eng |
Float |
Fix |
RectV |
CylV |
SphereV |
|
6 |
+ |
- |
Func |
Param |
Pol |
DifEq |
Bin |
Oct |
Hex |
Dec |
RectC |
PolarC |
dxDer1 |
dxNDer |
: |
||
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 |
livc |
vcli |
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 |
Pause |
Stop |
IS> |
DS< |
Input |
Prompt |
InpSt |
Disp |
DispG |
Outpt |
ClLCD |
EqSt |
StEq |
Fill |
|||
F |
^ |
|
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 |
Step |
ztStep |
zStep |
tPlot |
Min |
|
1 |
Max |
zxMin |
zxMax |
zyMin |
zyMax |
ztPlot |
zMin |
zMax |
ztMin |
ztMax |
lower |
upper |
x |
y |
xFact |
yFact |
|
2 |
difTol |
tol |
|
Na |
k |
Cc |
ec |
Rc |
Gc |
g |
Me |
Mp |
Mn |
µ0 |
0 |
h |
|
3 |
c |
u |
e |
xStat |
yStat |
Plot |
|
|
|
|
|
|
|
|
|
Token 32h is used for the y-variables Q1 ... Q9, QI1 ... QI9, r, t, x, y and .
Token 3Bh is used for the y-equations y1 ... y99, xt1 ... xt99, yt1 ... yt99, r1 ... r99 and Q'1 ... Q'9.
Token 3Ch is used for the statistical variables a, b, corr, n, PRegC, RegEq, Sx, Sy, x, y, x, x2, xy, y, y2, and .
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:
All characters and their character codes in the TI-85 6x6-pixel menu font are shown here: