screenshot.html 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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 - Screenshots</title>
  9. </head>
  10. <body bgcolor="#ffffe8">
  11. <b>TI-89 Link Protocol Guide</b> - Screenshots
  12. <center>
  13. <h2>
  14. <hr align="center">Screenshots</h2>
  15. </center>
  16. The TI-89's screenshot ability is "silent," which means that the
  17. calculator
  18. does not need to be put in a special mode. Screenshots can be taken any
  19. time the calculator is ready to accept a keypress.
  20. <p>The protocol used for getting a screenshot is shown below. For
  21. information
  22. on packet formats, <a href="packet.html">click here</a>.
  23. <table bgcolor="#ffffff" border="1" cellspacing="0" width="92%">
  24. <tbody>
  25. <tr>
  26. <th bgcolor="#008800" width="7%"><font color="#ffffff">Step</font></th>
  27. <th colspan="3" bgcolor="#008800"><font color="#ffffff">Direction</font></th>
  28. <th bgcolor="#008800" width="80%"><font color="#ffffff">Packet</font></th>
  29. </tr>
  30. <tr>
  31. <td bgcolor="#ffffff" width="7%">
  32. <center>1&nbsp;</center>
  33. </td>
  34. <td rowspan="4">
  35. <center><img src="graphics/comp.gif" alt="Computer" align="bottom"
  36. border="0" height="33" width="30"></center>
  37. </td>
  38. <td bgcolor="#ffffff">
  39. <center><img src="graphics/right.gif" alt="===&gt;" align="bottom"
  40. border="0" height="13" width="22"></center>
  41. </td>
  42. <td rowspan="4" bgcolor="#ffffff">
  43. <center><img src="graphics/calc.gif" alt="Calculator"
  44. align="bottom" border="0" height="35" width="60"></center>
  45. </td>
  46. <td bgcolor="#ffffff" width="80%">SCR</td>
  47. </tr>
  48. <tr>
  49. <td bgcolor="#ffffff" width="7%">
  50. <center>2&nbsp;</center>
  51. </td>
  52. <td bgcolor="#ffffff">
  53. <center><img src="graphics/left.gif" alt="&lt;===" align="bottom"
  54. border="0" height="13" width="22"></center>
  55. </td>
  56. <td bgcolor="#ffffff" width="80%">ACK</td>
  57. </tr>
  58. <tr>
  59. <td bgcolor="#ffffff" width="7%">
  60. <center>3&nbsp;</center>
  61. </td>
  62. <td bgcolor="#ffffff">
  63. <center><img src="graphics/left.gif" alt="&lt;===" align="bottom"
  64. border="0" height="13" width="22"></center>
  65. </td>
  66. <td bgcolor="#ffffff" width="80%">DATA - Format described below.</td>
  67. </tr>
  68. <tr>
  69. <td bgcolor="#ffffff" width="7%">
  70. <center>4&nbsp;</center>
  71. </td>
  72. <td bgcolor="#ffffff">
  73. <center><img src="graphics/right.gif" alt="===&gt;" align="bottom"
  74. border="0" height="13" width="22"></center>
  75. </td>
  76. <td bgcolor="#ffffff" width="80%">ACK</td>
  77. </tr>
  78. </tbody>
  79. </table>
  80. </p>
  81. <p>The data packet contains a 3840-byte monochrome bitmap (1 bit per
  82. pixel).
  83. Each bit has a value of 1 if the corresponding pixel is dark or a value
  84. of 0 if the corresponding pixel is light.
  85. </p>
  86. <p>The pixel order is left-to-right, then top-to-bottom (See figure
  87. below).
  88. <br>
  89. Byte 0 defines the first 8 pixels in the left side of the top row of
  90. the screen. Bytes 1-29 define the rest of the first row, bytes 30-59
  91. define
  92. the second row, etc.
  93. </p>
  94. <p><u>Example:</u>
  95. <table border="0" cellspacing="0" width="100%">
  96. <tbody>
  97. <tr>
  98. <td bgcolor="#ccffcc">PC:</td>
  99. <td bgcolor="#ccffcc" width="50%"><b><tt>08 6D 00 00</tt></b></td>
  100. <td bgcolor="#ccffcc" width="50%"><i>Screenshot request</i></td>
  101. </tr>
  102. <tr>
  103. <td bgcolor="#ffcccc">TI:</td>
  104. <td bgcolor="#ffcccc" width="50%"><b><tt>98 56 00 00</tt></b></td>
  105. <td bgcolor="#ffcccc" width="50%"><i>Acknowledgement of request</i></td>
  106. </tr>
  107. <tr>
  108. <td bgcolor="#ffcccc">&nbsp;</td>
  109. <td bgcolor="#ffcccc" width="50%"><b><tt>98 15 00 0F </tt></b>&lt;3840
  110. bytes plus 2 byte checksum&gt;</td>
  111. <td bgcolor="#ffcccc" width="50%"><i>Screen data</i></td>
  112. </tr>
  113. <tr>
  114. <td bgcolor="#ccffcc">PC:</td>
  115. <td bgcolor="#ccffcc" width="50%"><b><tt>08 56 00 00</tt></b></td>
  116. <td bgcolor="#ccffcc" width="50%"><i>Acknowledgement of data</i></td>
  117. </tr>
  118. </tbody>
  119. </table>
  120. </p>
  121. <p>The following figure demonstrates byte ordering of the pixels if the
  122. bitmap is in a 3840-element array data[]:
  123. </p>
  124. <p><img src="graphics/scrnshot.gif" alt="[pixel grid diagram]"
  125. align="bottom" border="0" height="467" width="776"></p>
  126. <p>Remark: contrary to the TI92/92+ calculator, only the 160x100 upper
  127. rectangle is visible on the TI89. The remaining bytes are usable (in
  128. assembler
  129. for instance) but they are not visible. So, a clipping is necessary
  130. once
  131. the screenshot have been got.
  132. </p>
  133. <p>Note that this format is different from the standard Windows bitmap
  134. format, which specifies a value of 1 if the pixel is light and
  135. bottom-to-top
  136. row order.
  137. <br>
  138. &nbsp;
  139. <table border="0" cellspacing="0" width="100%">
  140. <tbody>
  141. <tr>
  142. <td width="32%">
  143. <center><a href="packet.html"><img src="graphics/prevpage.gif"
  144. alt="[previous page]" align="bottom" border="2" height="32" width="32"></a><br>
  145. <a href="packet.html">Packet Formats</a></center>
  146. </td>
  147. <td width="34%">
  148. <center><a href="index.html"><img src="graphics/home.gif"
  149. alt="[home]" align="bottom" border="2" height="32" width="32"></a><br>
  150. <a href="index.html">Table of Contents</a></center>
  151. </td>
  152. <td width="34%">
  153. <center><a href="manual.html"><img src="graphics/nextpage.gif"
  154. alt="[next page]" align="bottom" border="2" height="32" width="32"></a><br>
  155. <a href="manual.html">Manual Transfers</a></center>
  156. </td>
  157. </tr>
  158. </tbody>
  159. </table>
  160. </p>
  161. <hr align="center"><i>Site maintained by Romain Li&eacute;vin (<a
  162. href="mailto:roms@lpg.ticalc.org">roms@lpg.ticalc.org</a>)
  163. and Tim Singer (<a href="mailto:tsinger@gladstone.uoregon.edu">tsinger@gladstone.uoregon.edu</a>)</i>
  164. </body>
  165. </html>