stoned TI-82 Source Code - Skip Header

stoned TI-82 Source Code

This is intended to be the human readable version of the source code for Stoned. This version is intended to work only on the TI-82 Texas Instruments graphic calculator. Also available: Documentation about "Stoned" and versions of the program for other calculators and in other formats.

Any line that begins with a backslash is a comment and should not be entered into the calculator. (Comments have been colored green) For an authoritative copy of this program's source code that can be imported to the calculator via a computer, consult the text version of Stoned source code for the TI-82, along with the character reference. The special character reference also gives an overview of all non-ASCII characters for the calculator, and shows the menus in which they can be found.

\COMMENT=Program file dated 04/10/96, 18:39
:Lbl 1
:Goto 4
:Lbl 2
:Goto 4
:Lbl 3
:Lbl 4
:Lbl 5
:Goto 7
:Lbl 6
:Lbl 7
:Horizontal -28
:Text(57,15,"PRESS ENTER TO END")
:Lbl A
:Lbl B
:If L=105
:Goto Θ
:iPart rand3-1→G
:iPart rand3-1→H
:If abs E=48
:If A=1
:If A=2
:If A=3
:Goto Y
:If abs F=28
:If A=1
:If A=2
:If A=3
:Goto Y
:If B=1
:If I=E and K=F
:Goto Z
:If K=-28
:Goto A
:Goto B
:Lbl Y
:Goto Θ
:Lbl Z
:Lbl Θ