TIremote operates the TI-92+ and TI-89 calculator remotely through the serial port by reading a script of TI key codes and text. Some foreseeable uses for this program are:
TIremote was written on a PC running Windows NT 4.0 and was tested with a TI-92+ v1.01 and the gray TI-GRAPH LINK cable (required). It uses the Windows API for serial communications and file input so it should work well on any PC/Windows system. Minor testing has been done with a TI-89.
Connect the TI-GRAPH LINK interface to a serial port on the PC and to the link port on the calculator. Create a script of TI key codes (TI-92 Guidebook p484; TI-89 Guidebook p530) and save them as a DOS text file. Run the TIremote program and select the script. The key codes will be transferred to the calculator and executed.
TIremote com? script
For example; if you are using com1: and a script named "remote.scr" then the command line will be as follows:
TIremote com1 remote.scr
The script file is a standard DOS text file that can be created and edited with NotePad or any word processor. If you use a word processor you must save the file as DOS text, not in the default format of the word processor.
All commands must be on a separate line (except plain text) and start in the
first column of the line. Following is a list of the available commands then a
detailed description of each command:
Plaintext to send to the calculator. This text could be numbers or letters in a menu, commands for the home screen, characters in a TEXT file, etc.
Disp "How now brown cow"
TI Key code: @<number>
Replace <number> with the integer value taken from pages 483-487 of the TI-92 Guidebook or pages 529-532 of the TI-89 Guidebook. The key code may be followed by a plaintext comment as long as there is a nonnumeric character immediately after the number (space, tab, letter, etc.). A key code can be repeated by using this format instead "@<multiple>*<code>", where <multiple> is the number of times to repeat <code>.
"How now brown cow"
Replace <string> with a 1-8 character label, the first character must not be a number. Labels are used with the Jump, Goto, and Choice commands.
Any information that should not be sent to the calculator or executed on the PC. Comments are displayed in the console and can be used to give instructions or display information.
@@ Waiting for graph to display
Replace <string> with a string of keyboard choices followed by corresponding labels. The keyboard choices are the keys that the user should hit to go to the corresponding label. Formatting is as follows:
@@S Start over
@@1 Do 1st problem again
Replace <number> with an integer representing the time in milliseconds to pause between commands. This slows the process so that the user can watch what the calculator is doing more carefully. If <number> is 0 or blank the default (fastest) rate will be used.
Typing fast again.
Replace <string> with a label name (no colon). Goto is really only useful for endless loops and temporarily skipping portions of a script.
Replace <number> with the maximum number of characters to accept, the default is 8. Input will transfer up to <number> characters to the calculator when the user presses ENTER, or up to 8 characters if <number> is blank.
"How now brown
@@ Enter an animal type and press ENTER:
@@ Enter a variable name:
Jump will jump to an alternate location <string> unless a key is pressed within <number> seconds. Replace <string> with a label name and <number> with the number of seconds to wait for a key press.
@@ Returning to top of script, press any key to cancel...
Pauses script execution for <number> seconds. A pause can be terminated by pressing any key. If <number> is not given, the script will wait until a key is pressed.
@@Waiting for graph to display...
@@Press any key to continue...
Repeats the following code Example: This example uses each of the commands.
@@ This loop isn't necessary, its only purpose
@@ is to demonstrate loops.
@@**** Waiting for graph ****
@@ Apply shading to the graph?
@@**** Waiting for shade ****
@@Letting this countdown expire will cause
@@the script to return to its beginning.
@@Press any key to break from loop.
@@Skiping some undocumented key codes.
@@Press any key to turn off calculator.
@@Press any key to turn calculator back on and continue.
Disp "Thanks for trying TIremote
@@Enter your name and press ENTER:
This example uses each of the commands.