remote.html 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. <!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type"
  5. content="text/html; charset=iso-8859-1">
  6. <meta name="GENERATOR"
  7. content="Mozilla/4.7 [en] (X11; I; Linux 2.4.0-test6 i586) [Netscape]">
  8. <title>TI-89 Link Protocol Guide - Remote Control</title>
  9. </head>
  10. <body bgcolor="#ffffe8">
  11. <b>TI-89 Link Protocol Guide</b> - Remote control/command
  12. <center>
  13. <h2>
  14. <hr align="center">Remote control/command</h2>
  15. </center>
  16. The TI-89's remote control ability is "silent," which means that the
  17. calculator
  18. does not need to be put in a special mode. The remote control ability
  19. can
  20. be utilized any time the calculator is ready to accept a keypress. Key
  21. codes : <a href="../ti83+/keys.txt">here</a>.
  22. <p><b><u>Remote command:</u></b>
  23. </p>
  24. <p>The protocol used for sending a remote command is shown below.
  25. <table bgcolor="#ffffff" border="1" cellspacing="0" width="92%">
  26. <tbody>
  27. <tr>
  28. <th bgcolor="#008800" width="7%"><font color="#ffffff">Step</font></th>
  29. <th colspan="3" bgcolor="#008800"><font color="#ffffff">Direction</font></th>
  30. <th bgcolor="#008800" width="80%"><font color="#ffffff">Packet</font></th>
  31. </tr>
  32. <tr>
  33. <td bgcolor="#ffffff" width="7%">
  34. <center>1&nbsp;</center>
  35. </td>
  36. <td rowspan="2">
  37. <center><img src="graphics/comp.gif" alt="Computer" align="bottom"
  38. border="0" height="33" width="30"></center>
  39. </td>
  40. <td bgcolor="#ffffff">
  41. <center><img src="graphics/right.gif" alt="===&gt;" align="bottom"
  42. border="0" height="13" width="22"></center>
  43. </td>
  44. <td rowspan="2" bgcolor="#ffffff">
  45. <center><img src="graphics/calc.gif" alt="Calculator"
  46. align="bottom" border="0" height="35" width="60"></center>
  47. </td>
  48. <td bgcolor="#ffffff" width="80%">CMD</td>
  49. </tr>
  50. <tr>
  51. <td bgcolor="#ffffff" width="7%">
  52. <center>2&nbsp;</center>
  53. </td>
  54. <td bgcolor="#ffffff">
  55. <center><img src="graphics/left.gif" alt="&lt;===" align="bottom"
  56. border="0" height="13" width="22"></center>
  57. </td>
  58. <td bgcolor="#ffffff" width="80%">ACK</td>
  59. </tr>
  60. </tbody>
  61. </table>
  62. </p>
  63. <p>The scancode of the key is sent in the last two bytes of the
  64. command.
  65. Scancodes are defined in the section B? to B?? of the French TI-89
  66. guidebook
  67. or p. 384 of the US TI-89 guidebook.<br>
  68. <i>Tim: for French GuideBook, I have some photocopies of the scancodes
  69. but at home (so on Saturday !).</i>
  70. </p>
  71. <p><u>Example:</u>
  72. <table border="0" cellspacing="0" width="100%">
  73. <tbody>
  74. <tr>
  75. <td bgcolor="#ccffcc">PC:</td>
  76. <td bgcolor="#ccffcc" width="50%"><b><tt>08 87 31 00</tt></b></td>
  77. <td bgcolor="#ccffcc" width="50%"><i>Command: Key &lt;1&gt;</i></td>
  78. </tr>
  79. <tr>
  80. <td bgcolor="#ffcccc">TI:</td>
  81. <td bgcolor="#ffcccc" width="50%"><b><tt>98 56 00 00</tt></b></td>
  82. <td bgcolor="#ffcccc" width="50%"><i>Acknowledgement of command</i></td>
  83. </tr>
  84. </tbody>
  85. </table>
  86. </p>
  87. <p>If the calculator is put into the self test menu (&lt;F5&gt; +
  88. &lt;diamond&gt;
  89. + &lt;(&gt; + &lt;s&gt; from the home screen) then sent back to the
  90. home screen,
  91. then whenever a command result becomes available the calculator will
  92. send
  93. it through the link port as expression data. Each transmission from the
  94. calculator does not include a packet header or checksum but is
  95. terminated
  96. with 0xFF (see below).
  97. </p>
  98. <p><b><u>Remote Control Mode:</u></b>
  99. </p>
  100. <p>The remote control mode can be activated either by pressing
  101. &lt;F5&gt;
  102. + &lt;DIAMOND&gt; + &lt;(&gt;+&lt;R&gt; or by sending this key sequence
  103. directly
  104. to the calculator via remote commands. In this mode, the calculator can
  105. receive key codes as if they have been typed on the keyboard and send
  106. the
  107. result via the link port.
  108. </p>
  109. <p>To control the calculator, a scancode must be sent trough the link
  110. port
  111. in a command packet. After each scancode is received, the calculator
  112. replies
  113. with an FFh byte. Whenever a command result becomes available, the
  114. calculator
  115. will send it through the link port as expression data, followed by an
  116. FFh
  117. byte.
  118. </p>
  119. <p><u>Example:</u>
  120. <table nosave="" bgcolor="#ffffff" border="0" cellspacing="0"
  121. width="100%">
  122. <tbody>
  123. <tr>
  124. <td bgcolor="#ccffcc">PC:</td>
  125. <td bgcolor="#ccffcc" width="50%"><b><tt>08 87 31 00</tt></b></td>
  126. <td bgcolor="#ccffcc" width="50%"><i>Command: &lt;1&gt;</i></td>
  127. </tr>
  128. <tr>
  129. <td bgcolor="#ffcccc">TI:</td>
  130. <td bgcolor="#ffcccc" width="50%"><b><tt>FF</tt></b></td>
  131. <td bgcolor="#ffcccc" width="50%"><i>Acknowledgement of command</i></td>
  132. </tr>
  133. <tr nosave="" bgcolor="#99ffcc">
  134. <td bgcolor="#ccffcc">PC:&nbsp;</td>
  135. <td nosave="" bgcolor="#ccffcc" width="50%"><b><tt>08 87 2B 00</tt></b></td>
  136. <td bgcolor="#ccffcc" width="50%"><i>Command: &lt;+&gt;</i></td>
  137. </tr>
  138. <tr nosave="" bgcolor="#ffcccc">
  139. <td bgcolor="#ffcccc">TI:</td>
  140. <td nosave="" bgcolor="#ffcccc" width="50%"><b><tt>FF</tt></b></td>
  141. <td bgcolor="#ffcccc" width="50%"><i>Acknowledgement of command</i></td>
  142. </tr>
  143. <tr nosave="" bgcolor="#99ffcc">
  144. <td bgcolor="#ccffcc">PC:&nbsp;</td>
  145. <td nosave="" bgcolor="#ccffcc" width="50%"><b><tt>08 87 41 00</tt></b></td>
  146. <td bgcolor="#ccffcc" width="50%"><i>Command: &lt;a&gt;</i></td>
  147. </tr>
  148. <tr nosave="" bgcolor="#ffcccc">
  149. <td bgcolor="#ffcccc">TI:</td>
  150. <td nosave="" bgcolor="#ffcccc" width="50%"><b><tt>FF</tt></b></td>
  151. <td bgcolor="#ffcccc" width="50%"><i>Acknowledgement of command</i></td>
  152. </tr>
  153. <tr nosave="" bgcolor="#99ffcc">
  154. <td bgcolor="#ccffcc">PC:&nbsp;</td>
  155. <td nosave="" bgcolor="#ccffcc" width="50%"><b><tt>08 87 0D 00</tt></b></td>
  156. <td bgcolor="#ccffcc" width="50%"><i>Command: &lt;ENTER&gt;</i></td>
  157. </tr>
  158. <tr nosave="" bgcolor="#ffcccc">
  159. <td bgcolor="#ffcccc">TI:</td>
  160. <td nosave="" bgcolor="#ffcccc" width="50%"><b><tt>FF</tt></b></td>
  161. <td bgcolor="#ffcccc" width="50%"><i>Acknowledgement of command</i></td>
  162. </tr>
  163. <tr nosave="" bgcolor="#99ffcc">
  164. <td bgcolor="#ffcccc">&nbsp;</td>
  165. <td nosave="" bgcolor="#ffcccc" width="50%"><b><tt>41 2B 31 FF</tt></b></td>
  166. <td bgcolor="#ffcccc" width="50%"><i>Reply with result "a+1"</i></td>
  167. </tr>
  168. </tbody>
  169. </table>
  170. <br>
  171. &nbsp;
  172. <table border="0" cellspacing="0" width="100%">
  173. <tbody>
  174. <tr>
  175. <td width="32%">
  176. <center><a href="packet.html"><img src="graphics/prevpage.gif"
  177. alt="[previous page]" align="bottom" border="2" height="32" width="32"></a><br>
  178. <a href="packet.html">Packet Formats</a></center>
  179. </td>
  180. <td width="34%">
  181. <center><a href="index.html"><img src="graphics/home.gif"
  182. alt="[home]" align="bottom" border="2" height="32" width="32"></a><br>
  183. <a href="index.html">Table of Contents</a></center>
  184. </td>
  185. <td width="34%">
  186. <center><a href="screenshot.html"><img src="graphics/nextpage.gif"
  187. alt="[next page]" align="bottom" border="2" height="32" width="32"></a><br>
  188. <a href="screenshot.html">Screenshots</a></center>
  189. </td>
  190. </tr>
  191. </tbody>
  192. </table>
  193. </p>
  194. <hr align="center"><i>Site maintained by Romain Li&eacute;vin (<a
  195. href="mailto:roms@lpg.ticalc.org">roms@lpg.ticalc.org</a>)
  196. and Tim Singer (<a href="mailto:tsinger@gladstone.uoregon.edu">tsinger@gladstone.uoregon.edu</a>)</i>
  197. </body>
  198. </html>