| Here you will find several
tutorials to help you learn how to write programs on your TI-83, TI-83+,
or TI-89 calculator(s).
If you don't know what programming is, programming is essentially giving the calculator instructions. A program is kind of like a script that the calculator reads and then acts it out. So take command of your calculator -- tell it what to do!
Programs can have almost any purpose, from solving quadratic equations to drawing pictures to playing games. I'm mainly a game programmer but I have also written several math and science programs.
Calculator programs are written in one of
two languages: BASIC and Assembly (ASM). BASIC is the language built
into the calculators, and ASM is the native code that the calculator
understands.
BASIC programs are either written on the
calculator or on a computer (if you have a Graphlink). They are fairly
easy to write, but unfortunately, there are some drawbacks. BASIC programs are kind of slow, so if you're looking to write a fast-paced shoot-em-up, BASIC is
probably not the language for you (even though they have been pulled off before).
TI-89 BASIC games run a lot faster than TI-83/+ games.
Assembly language is what the calculator
truly understands. BASIC is an interpreted language, which means
that it must be converted into assembly language while it is running in
order for the calculator to understand it. This is why BASIC programs
are slow. Assembly language is fed directly into the processor, and,
since the processor already understands it, it doesn't have to be
translated like BASIC, enabling programs to be run almost infinitely
faster than BASIC programs.
Assembly programs must be written on a
computer, then compiled and linked with special software, and sent to
the calculator via a link cable. Some assembly programs require a
"shell" or a special program on the calculator, like Ion or
DoorsOS, in order to run. With assembly, you're not protected by the
error-checking system that BASIC has. A simple syntax error can crash
the calculator and force it to be reset, losing everything on it. The
commands are very primitive, but this allows for features much more
powerful than BASIC, like renaming programs, locking/unlocking programs,
and displaying things like lowercase letters and punctuation like
$, %, and &. (for TI-82/83/+ only, the rest can do this in BASIC).
Assembly programs written for one
calculator are directly incompatible with others. The TI-80, TI-73, and
TI-81 don't support assembly language. The TI-82, TI-85, and TI-92
don't, but there are hacks available to enable assembly programs to be
run. The TI-82, 83, 83+, 85, and 86 all have a Z80 processor and use the
same instruction set (set of basic commands), but since their ROM
layouts are different, conversion is necessary to run one type of ASM
program on another calculator. The TI-89, 92, and 92+ have a Motorola
68000 processor and have a different instruction set than that of the
Z80. I know very little about 68k assembly so I don't know about
differences in ROM layout.
|