backup.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429
  1. <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <meta name="GENERATOR" content="Mozilla/4.7 [en] (X11; I; Linux 2.4.0-test6 i586) [Netscape]">
  6. <title>TI-89 Link Protocol Guide - Backup Transfers</title>
  7. </head>
  8. <body bgcolor="#FFFFE8">
  9. <b>TI-89 Link Protocol Guide</b> - System Backup Transfers
  10. <center>
  11. <h2>
  12. <hr ALIGN="CENTER">System Backup Transfers</h2></center>
  13. A System Backup is one large transmission containing all user-modifiable
  14. data in the calculator. The file format that the TI-89 Graph Link software
  15. uses can be found in the <a href="fformat.html#backup">file formats</a>
  16. section of this documentation.
  17. <p>System backups must be transferred silently. Silent transfers can only
  18. be done between a computer and a calculator, and require that the computer
  19. make the <a href="#request">request</a> or <a href="#rts">request-to-send</a>.
  20. <h4>
  21. <a NAME="request"></a>Requesting a Backup</h4>
  22. Indeed, receiving a backup is a group of all variables of the calculator.
  23. So, it is necessary to make a directory list in order to have the list
  24. of variables to receive.
  25. <h4>
  26. <a NAME="rts"></a>Sending a Backup</h4>
  27. Indeed, sending a backup is a group of all variables of the calculator.
  28. There is just a special block transmitted before sending the group of variables.
  29. <p>The protocol for silently sending the special block is shown below:
  30. <table BORDER CELLSPACING=0 WIDTH="92%" BGCOLOR="#FFFFFF" NOSAVE >
  31. <tr>
  32. <th WIDTH="7%" BGCOLOR="#008800"><font color="#FFFFFF">Step</font></th>
  33. <th COLSPAN="3" BGCOLOR="#008800"><font color="#FFFFFF">Direction</font></th>
  34. <th WIDTH="80%" BGCOLOR="#008800"><font color="#FFFFFF">Packet</font></th>
  35. </tr>
  36. <tr NOSAVE>
  37. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  38. <center>1&nbsp;</center>
  39. </td>
  40. <td ROWSPAN="6" NOSAVE>
  41. <center><img SRC="graphics/comp.gif" ALT="Computer" BORDER=0 height=33 width=30 align=BOTTOM></center>
  42. </td>
  43. <td BGCOLOR="#FFFFFF">
  44. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  45. </td>
  46. <td ROWSPAN="6" NOSAVE>
  47. <center><img SRC="graphics/calc.gif" ALT="Calculator" BORDER=0 height=35 width=60 align=BOTTOM></center>
  48. </td>
  49. <td WIDTH="80%" BGCOLOR="#FFFFFF">VAR with <a href="packet.html#backup">send-style
  50. backup header</a>.</td>
  51. </tr>
  52. <tr>
  53. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  54. <center>2&nbsp;</center>
  55. </td>
  56. <td BGCOLOR="#FFFFFF">
  57. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  58. </td>
  59. <td WIDTH="80%" BGCOLOR="#FFFFFF">ACK</td>
  60. </tr>
  61. <tr>
  62. <td WIDTH="7%">
  63. <center>3&nbsp;</center>
  64. </td>
  65. <td>
  66. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  67. </td>
  68. <td WIDTH="80%">CTS</td>
  69. </tr>
  70. <tr>
  71. <td WIDTH="7%">
  72. <center>4&nbsp;</center>
  73. </td>
  74. <td>
  75. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  76. </td>
  77. <td WIDTH="80%">ACK</td>
  78. </tr>
  79. <tr>
  80. <td WIDTH="7%">
  81. <center>5&nbsp;</center>
  82. </td>
  83. <td>
  84. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  85. </td>
  86. <td WIDTH="80%">EOT</td>
  87. </tr>
  88. <tr>
  89. <td WIDTH="7%">
  90. <center>6&nbsp;</center>
  91. </td>
  92. <td>
  93. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  94. </td>
  95. <td WIDTH="80%">ACK</td>
  96. </tr>
  97. </table>
  98. <p>Next, all variables are sent according to the 'Sending a variable' operation
  99. with one important exception: the type field is equal to either 1Dh (none),
  100. 26h (locked) or 27h (archived), independantly of the variable type.
  101. <br>&nbsp;
  102. <table BORDER CELLSPACING=0 WIDTH="92%" BGCOLOR="#FFFFFF" >
  103. <tr>
  104. <th WIDTH="7%" BGCOLOR="#008800"><font color="#FFFFFF">Step</font></th>
  105. <th COLSPAN="3" BGCOLOR="#008800"><font color="#FFFFFF">Direction</font></th>
  106. <th WIDTH="80%" BGCOLOR="#008800"><font color="#FFFFFF">Packet</font></th>
  107. </tr>
  108. <tr>
  109. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  110. <center>1&nbsp;</center>
  111. </td>
  112. <td ROWSPAN="8">
  113. <center><img SRC="graphics/comp.gif" ALT="Computer" BORDER=0 height=33 width=30 align=BOTTOM></center>
  114. </td>
  115. <td BGCOLOR="#FFFFFF">
  116. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  117. </td>
  118. <td ROWSPAN="8">
  119. <center><img SRC="graphics/calc.gif" ALT="Calculator" BORDER=0 height=35 width=60 align=BOTTOM></center>
  120. </td>
  121. <td WIDTH="80%" BGCOLOR="#FFFFFF">RTS (specifing the size with the extra
  122. four bytes) and with a particular type (1Dh, 26h or 27h)</td>
  123. </tr>
  124. <tr>
  125. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  126. <center>2&nbsp;</center>
  127. </td>
  128. <td BGCOLOR="#FFFFFF">
  129. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  130. </td>
  131. <td WIDTH="80%" BGCOLOR="#FFFFFF">ACK</td>
  132. </tr>
  133. <tr>
  134. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  135. <center>3&nbsp;</center>
  136. </td>
  137. <td BGCOLOR="#FFFFFF">
  138. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  139. </td>
  140. <td WIDTH="80%" BGCOLOR="#FFFFFF">CTS or SKIP/EXIT (see note below)</td>
  141. </tr>
  142. <tr>
  143. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  144. <center>4&nbsp;</center>
  145. </td>
  146. <td BGCOLOR="#FFFFFF">
  147. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  148. </td>
  149. <td WIDTH="80%" BGCOLOR="#FFFFFF">ACK</td>
  150. </tr>
  151. <tr>
  152. <td WIDTH="7%">
  153. <center>5&nbsp;</center>
  154. </td>
  155. <td>
  156. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  157. </td>
  158. <td WIDTH="80%">DATA</td>
  159. </tr>
  160. <tr>
  161. <td WIDTH="7%">
  162. <center>6&nbsp;</center>
  163. </td>
  164. <td>
  165. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  166. </td>
  167. <td WIDTH="80%">ACK</td>
  168. </tr>
  169. <tr>
  170. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  171. <center>7&nbsp;</center>
  172. </td>
  173. <td BGCOLOR="#FFFFFF">
  174. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  175. </td>
  176. <td WIDTH="80%" BGCOLOR="#FFFFFF">EOT<i> -</i> if there are several variables
  177. to transmit, steps 7 and 8 can be skipped until the last variable.</td>
  178. </tr>
  179. <tr>
  180. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  181. <center>8&nbsp;</center>
  182. </td>
  183. <td BGCOLOR="#FFFFFF">
  184. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  185. </td>
  186. <td WIDTH="80%" BGCOLOR="#FFFFFF">ACK</td>
  187. </tr>
  188. </table>
  189. <p><u>Example (PC sending backup from TI):</u>
  190. <table BORDER=0 CELLSPACING=0 WIDTH="100%" NOSAVE >
  191. <tr>
  192. <td BGCOLOR="#CCFFCC">PC:</td>
  193. <td WIDTH="50%" BGCOLOR="#CCFFCC"><tt><b>08 06 0A 00</b> 00 00 00 00 00
  194. 1D 04 6D 61 69 6E <b>C6 01</b></tt></td>
  195. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Variable header: Backup ("main")</i></td>
  196. </tr>
  197. <tr>
  198. <td BGCOLOR="#FFCCCC">TI:</td>
  199. <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>98 56 00 00</tt></b></td>
  200. <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Acknowledgement of header</i></td>
  201. </tr>
  202. <tr BGCOLOR="#FFCCCC" NOSAVE>
  203. <td NOSAVE>&nbsp;</td>
  204. <td WIDTH="50%" BGCOLOR="#FFCCCC" NOSAVE><b><tt>98 09 00 00</tt></b></td>
  205. <td WIDTH="50%"><i>Clear To Send</i></td>
  206. </tr>
  207. <tr>
  208. <td BGCOLOR="#CCFFCC">PC:</td>
  209. <td WIDTH="50%" BGCOLOR="#CCFFCC"><b><tt>08 56 00 00</tt></b></td>
  210. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Acknowledgement of CTS</i></td>
  211. </tr>
  212. <tr>
  213. <td BGCOLOR="#CCFFCC">&nbsp;</td>
  214. <td WIDTH="50%" BGCOLOR="#CCFFCC"><b><tt>08 92 00 00</tt></b></td>
  215. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>End of transmission</i></td>
  216. </tr>
  217. <tr>
  218. <td BGCOLOR="#FFCCCC">TI:</td>
  219. <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>98 56 00 00</tt></b></td>
  220. <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Acknowledgement of data</i></td>
  221. </tr>
  222. <tr>
  223. <td>
  224. <center><b>. . .</b></center>
  225. </td>
  226. <td WIDTH="50%">
  227. <center><b>. . .</b></center>
  228. </td>
  229. <td WIDTH="50%">
  230. <center><b>. . .</b></center>
  231. </td>
  232. </tr>
  233. <tr>
  234. <td BGCOLOR="#CCFFCC">PC:</td>
  235. <td WIDTH="50%" BGCOLOR="#CCFFCC"><tt><b>09 C9 0D 00</b> 0F 00 00 00 <i>1D</i>
  236. 06 6D 61 69 6E 5C 66 01 <b>9A 02</b></tt></td>
  237. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Variable header: "main/f" (none)</i></td>
  238. </tr>
  239. <tr>
  240. <td BGCOLOR="#FFCCCC">TI:</td>
  241. <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>98 56 00 00</tt></b></td>
  242. <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Acknowledgement of header</i></td>
  243. </tr>
  244. <tr>
  245. <td BGCOLOR="#FFCCCC">&nbsp;</td>
  246. <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>98 09 00 00</tt></b></td>
  247. <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Clear To Send</i></td>
  248. </tr>
  249. <tr>
  250. <td BGCOLOR="#CCFFCC">PC:</td>
  251. <td WIDTH="50%" BGCOLOR="#CCFFCC"><b><tt>08 56 00 00</tt></b></td>
  252. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Acknowledgement of CTS</i></td>
  253. </tr>
  254. <tr>
  255. <td BGCOLOR="#CCFFCC">&nbsp;</td>
  256. <td WIDTH="50%" BGCOLOR="#CCFFCC"><tt><b>08 15 13 00</b> 00 00 00 00 00
  257. 0D E9 02 01 1F 08 F0 93 E5 08 00 00 00 DC <b>6C 04</b></tt></td>
  258. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Variable content</i></td>
  259. </tr>
  260. <tr>
  261. <td BGCOLOR="#FFCCCC">TI:</td>
  262. <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>98 56 00 00</tt></b></td>
  263. <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Acknowledgement of data</i></td>
  264. </tr>
  265. <tr BGCOLOR="#99FFCC" NOSAVE>
  266. <td BGCOLOR="#CCFFCC">PC:</td>
  267. <td WIDTH="50%" BGCOLOR="#CCFFCC" NOSAVE><b><tt>08 92 00 00</tt></b></td>
  268. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>End of transmission</i></td>
  269. </tr>
  270. <tr>
  271. <td BGCOLOR="#FFCCCC">TI:</td>
  272. <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>98 56 00 00</tt></b></td>
  273. <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Acknowledgement of EOT</i></td>
  274. </tr>
  275. <tr>
  276. <td>
  277. <center><b>. . .</b></center>
  278. </td>
  279. <td WIDTH="50%">
  280. <center><b>. . .</b></center>
  281. </td>
  282. <td WIDTH="50%">
  283. <center><b>. . .</b></center>
  284. </td>
  285. </tr>
  286. <tr>
  287. <td BGCOLOR="#CCFFCC">PC:</td>
  288. <td WIDTH="50%" BGCOLOR="#CCFFCC"><b><tt>08 C9 10 00</tt></b><tt> 06 00
  289. 00 00 <i>1D</i> 09 6D 79 5F 64 69 72 5C 73 31 00 <b>B0 03</b></tt></td>
  290. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Variable header: "my_dir/s1"</i></td>
  291. </tr>
  292. <tr>
  293. <td BGCOLOR="#FFCCCC">&nbsp;</td>
  294. <td WIDTH="50%" BGCOLOR="#FFCCCC">
  295. <center><b>...</b></center>
  296. </td>
  297. <td WIDTH="50%" BGCOLOR="#FFCCCC">&nbsp;</td>
  298. </tr>
  299. </table>
  300. <table BORDER=0 CELLSPACING=0 WIDTH="100%" >
  301. <tr>
  302. <td WIDTH="32%">
  303. <center><a href="silent.html"><img SRC="graphics/prevpage.gif" ALT="[previous page]" BORDER=2 height=32 width=32 align=BOTTOM></a>
  304. <br><a href="silent.html">Silent transfers</a></center>
  305. </td>
  306. <td WIDTH="34%">
  307. <center><a href="index.html"><img SRC="graphics/home.gif" ALT="[home]" BORDER=2 height=32 width=32 align=BOTTOM></a>
  308. <br><a href="index.html">Table of Contents</a></center>
  309. </td>
  310. <td WIDTH="34%">
  311. <center><a href="flash.html"><img SRC="graphics/nextpage.gif" ALT="[next page]" BORDER=2 height=32 width=32 align=BOTTOM></a>
  312. <br><a href="flash.html">FLASH transfers</a></center>
  313. </td>
  314. </tr>
  315. </table>
  316. <hr ALIGN="CENTER"><i>Site maintained by Romain Li&eacute;vin (<a href="mailto:roms@lpg.ticalc.org">roms@lpg.ticalc.org</a>)
  317. and Tim Singer (<a href="mailto:tsinger@gladstone.uoregon.edu">tsinger@gladstone.uoregon.edu</a>)</i>
  318. </body>
  319. </html>