remote.html 7.2 KB

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