Difference between revisions of "83Plus:OS:Remote Program Execution"

From WikiTI
Jump to: navigation, search
m (Being annoying!)
Line 1: Line 1:
 +
[[Category:83Plus:OS Information]]
 
== Remote Program Execution ==
 
== Remote Program Execution ==
  

Revision as of 09:32, 28 March 2005

Remote Program Execution

You can execute a basic program remotely using the link port. In combination with silent linking you can make a calculator execute any basic program or any nostub asm program.

To execute a basic program already stored on the calculator you have to do the following:

  • Send the following bytes: the 23h machine byte, 89h command ID, the size of the data block, the data block itself and the checksum. The data block is made up as following: it starts with three bytes containing the value 05h followed by a zero terminated program name. The checksum is the default linking checksum and is calculated by summing all bytes in a 16 bit register (which means modulo 216)
  • You should receive 8 bytes back as acknowledgement: 73,56,00,00,73,56,00,00

If you want to execute a basic program that isn't stored on the remote calculator you can silent link it to the remote calculator and afterwards execute it.

If you want to execute a nostub asm program you have to silent link a basic program containing "asm(prgmASMPROGNAME" and the nostub asm program to the remote calculator. Then you can execute the basic program remotely and that basic program will then start your asm program.

NOTE: Remote program execution doesn't work on a TI-83 Plus Silver Edition when omnicalc ram recovery is enabled. (I haven't checked the TI-84+ series but I guess you'll have the same problem when ram recovery is enabled)