screenshot.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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 - Screenshots</title>
  7. </head>
  8. <body bgcolor="#ffffe8">
  9. <p><b>TI-92 Link Protocol Guide</b> - Screenshots </p>
  10. <center>
  11. <h2>
  12. <hr align="center">Screenshots</h2>
  13. </center>
  14. <p>The TI-92's screenshot ability is "silent," which means that the
  15. calculator does not need to be put
  16. in a special mode. Screenshots can be taken any time the calculator is
  17. ready to accept a keypress.</p>
  18. <p>The protocol used for getting a screenshot is shown below. For
  19. information on packet formats, <a href="packet.html">click
  20. here</a>.
  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="4">
  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="4" 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%">SCR</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. <tr>
  57. <td bgcolor="#ffffff" width="7%">
  58. <p align="center">3&nbsp; </p>
  59. </td>
  60. <td bgcolor="#ffffff">
  61. <p align="center"><img src="graphics/left.gif" alt="&lt;==="
  62. align="bottom" border="0" height="13" width="22"> </p>
  63. </td>
  64. <td bgcolor="#ffffff" width="80%">DATA - Format described below.</td>
  65. </tr>
  66. <tr>
  67. <td bgcolor="#ffffff" width="7%">
  68. <p align="center">4&nbsp; </p>
  69. </td>
  70. <td bgcolor="#ffffff">
  71. <p align="center"><img src="graphics/right.gif" alt="===&gt;"
  72. align="bottom" border="0" height="13" width="22"> </p>
  73. </td>
  74. <td bgcolor="#ffffff" width="80%">ACK</td>
  75. </tr>
  76. </tbody>
  77. </table>
  78. </p>
  79. <p></p>
  80. <p>The data packet contains a 3840-byte monochrome bitmap (1 bit per
  81. pixel). Each bit has a value of 1 if the corresponding
  82. pixel is dark or a value of 0 if the corresponding pixel is light.</p>
  83. <p>The pixel order is left-to-right, then top-to-bottom (See figure
  84. below). <br>
  85. Byte 0 defines the first 8 pixels in the left side of the top row of
  86. the screen. Bytes 1-29 define the rest of
  87. the first row, bytes 30-59 define the second row, etc.</p>
  88. <p><u>Example:</u>
  89. <table border="0" cellspacing="0" width="100%">
  90. <tbody>
  91. <tr>
  92. <td bgcolor="#ccffcc">PC:</td>
  93. <td bgcolor="#ccffcc" width="50%"><b><tt>09 6D 00 00</tt></b></td>
  94. <td bgcolor="#ccffcc" width="50%"><i>Screenshot request</i></td>
  95. </tr>
  96. <tr>
  97. <td bgcolor="#ffcccc">TI:</td>
  98. <td bgcolor="#ffcccc" width="50%"><b><tt>89 56 00 00</tt></b></td>
  99. <td bgcolor="#ffcccc" width="50%"><i>Acknowledgement of request</i></td>
  100. </tr>
  101. <tr>
  102. <td bgcolor="#ffcccc">&nbsp;</td>
  103. <td bgcolor="#ffcccc" width="50%"><b><tt>89 15 00 0F </tt></b>&lt;3840
  104. bytes plus 2 byte checksum&gt;</td>
  105. <td bgcolor="#ffcccc" width="50%"><i>Screen data</i></td>
  106. </tr>
  107. <tr>
  108. <td bgcolor="#ccffcc">PC:</td>
  109. <td bgcolor="#ccffcc" width="50%"><b><tt>09 56 00 00</tt></b></td>
  110. <td bgcolor="#ccffcc" width="50%"><i>Acknowledgement of data</i></td>
  111. </tr>
  112. </tbody>
  113. </table>
  114. </p>
  115. <p></p>
  116. <p>The following figure demonstrates byte ordering of the pixels if the
  117. bitmap is in a 3840-element array data[]:</p>
  118. <p><img src="graphics/scrnshot.gif" alt="[pixel grid diagram]"
  119. align="bottom" border="0" height="467" width="776"></p>
  120. <p>Note that this format is different from the standard Windows bitmap
  121. format, which specifies a value of 1 if
  122. the pixel is light and bottom-to-top row order.<br>
  123. <br>
  124. <table border="0" cellspacing="0" width="100%">
  125. <tbody>
  126. <tr>
  127. <td width="32%">
  128. <p align="center"><a href="remote.html"><img
  129. src="graphics/prevpage.gif" alt="[previous page]" align="bottom"
  130. border="2" height="32" width="32"><br>
  131. Remote Control</a> </p>
  132. </td>
  133. <td width="34%">
  134. <p align="center"><a href="index.html"><img
  135. src="graphics/home.gif" alt="[home]" align="bottom" border="2"
  136. height="32" width="32"></a> <br>
  137. <a href="index.html">Table of Contents</a> </p>
  138. </td>
  139. <td width="34%">
  140. <p align="center"><a href="manual.html"><img
  141. src="graphics/nextpage.gif" alt="[next page]" align="bottom" border="2"
  142. height="32" width="32"></a> <br>
  143. <a href="manual.html">Manual Transfers</a> </p>
  144. </td>
  145. </tr>
  146. </tbody>
  147. </table>
  148. </p>
  149. <hr align="center"><i>Site maintained by Romain Li&eacute;vin (</i><a
  150. href="mailto:roms@lpg.ticalc.org"><i>roms@lpg.ticalc.org</i></a><i>)
  151. and Tim Singer (</i><a href="mailto:tsinger@gladstone.uoregon.edu"><i>tsinger@gladstone.uoregon.edu</i></a><i>)</i>
  152. </body>
  153. </html>