screenshot.html 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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-73 Link Protocol Guide - Screenshots</TITLE>
  7. </HEAD>
  8. <BODY BGCOLOR="#FFFFE8">
  9. <P><B>TI-73 Link Protocol Guide v1.0</B> - Screenshots</P>
  10. <CENTER>
  11. <H2>
  12. <HR ALIGN="CENTER">
  13. Screenshots</H2>
  14. </CENTER>
  15. <P>The TI-73's screenshot ability is &quot;silent,&quot; which means that the calculator does not need to be put
  16. in a special mode. Screenshots can be taken any time the calculator is ready to accept a keypress.</P>
  17. <P>The protocol used for getting a screenshot is shown below. For information on packet formats, <A HREF="packet.html">click
  18. here</A>.</P>
  19. <P>
  20. <TABLE BORDER="1" CELLSPACING="0" WIDTH="92%" BGCOLOR="#FFFFFF">
  21. <TR>
  22. <TH WIDTH="7%" BGCOLOR="#008800"><FONT COLOR="#FFFFFF">Step</FONT></TH>
  23. <TH COLSPAN="3" BGCOLOR="#008800"><FONT COLOR="#FFFFFF">Direction</FONT></TH>
  24. <TH WIDTH="80%" BGCOLOR="#008800"><FONT COLOR="#FFFFFF">Packet</FONT></TH>
  25. </TR>
  26. <TR>
  27. <TD WIDTH="7%" BGCOLOR="#FFFFFF">
  28. <P ALIGN="CENTER">1
  29. </TD>
  30. <TD ROWSPAN="4">
  31. <P ALIGN="CENTER"><IMG SRC="graphics/comp.gif" WIDTH="30" HEIGHT="33" ALIGN="BOTTOM" ALT="Computer" BORDER="0">
  32. </TD>
  33. <TD BGCOLOR="#FFFFFF">
  34. <P ALIGN="CENTER"><IMG SRC="graphics/right.gif" WIDTH="22" HEIGHT="13" ALIGN="BOTTOM" ALT="===>" BORDER="0">
  35. </TD>
  36. <TD ROWSPAN="4" BGCOLOR="#FFFFFF">
  37. <P ALIGN="CENTER"><IMG SRC="graphics/calc.gif" WIDTH="30" HEIGHT="67" ALIGN="BOTTOM" ALT="Calculator" BORDER="0">
  38. </TD>
  39. <TD WIDTH="80%" BGCOLOR="#FFFFFF">SCR</TD>
  40. </TR>
  41. <TR>
  42. <TD WIDTH="7%" BGCOLOR="#FFFFFF">
  43. <P ALIGN="CENTER">2
  44. </TD>
  45. <TD BGCOLOR="#FFFFFF">
  46. <P ALIGN="CENTER"><IMG SRC="graphics/left.gif" WIDTH="22" HEIGHT="13" ALIGN="BOTTOM" ALT="<===" BORDER="0">
  47. </TD>
  48. <TD WIDTH="80%" BGCOLOR="#FFFFFF">ACK</TD>
  49. </TR>
  50. <TR>
  51. <TD WIDTH="7%" BGCOLOR="#FFFFFF">
  52. <P ALIGN="CENTER">3
  53. </TD>
  54. <TD BGCOLOR="#FFFFFF">
  55. <P ALIGN="CENTER"><IMG SRC="graphics/left.gif" WIDTH="22" HEIGHT="13" ALIGN="BOTTOM" ALT="<===" BORDER="0">
  56. </TD>
  57. <TD WIDTH="80%" BGCOLOR="#FFFFFF">DATA - Format described below.</TD>
  58. </TR>
  59. <TR>
  60. <TD WIDTH="7%" BGCOLOR="#FFFFFF">
  61. <P ALIGN="CENTER">4
  62. </TD>
  63. <TD BGCOLOR="#FFFFFF">
  64. <P ALIGN="CENTER"><IMG SRC="graphics/right.gif" WIDTH="22" HEIGHT="13" ALIGN="BOTTOM" ALT="===>" BORDER="0">
  65. </TD>
  66. <TD WIDTH="80%" BGCOLOR="#FFFFFF">ACK</TD>
  67. </TR>
  68. </TABLE>
  69. <p></P>
  70. <P>The data packet contains a 768-byte monochrome bitmap (1 bit per pixel). Each bit has a value of 1 if the corresponding
  71. pixel is dark or a value of 0 if the corresponding pixel is light.</P>
  72. <P>The pixel order is left-to-right, then top-to-bottom (See figure below).<BR>
  73. Byte 0 defines the first 8 pixels in the left side of the top row of the screen. Bytes 1-11 define the rest of
  74. the first row, bytes 12-23 define the second row, etc.</P>
  75. <P><U>Example:</U><BR>
  76. <TABLE BORDER="0" CELLSPACING="0" WIDTH="100%">
  77. <TR>
  78. <TD BGCOLOR="#CCFFCC">PC:</TD>
  79. <TD WIDTH="50%" BGCOLOR="#CCFFCC"><B><TT>07&nbsp;6D&nbsp;00&nbsp;00</TT></B></TD>
  80. <TD WIDTH="50%" BGCOLOR="#CCFFCC"><I>Screenshot request</I></TD>
  81. </TR>
  82. <TR>
  83. <TD BGCOLOR="#FFCCCC">TI:</TD>
  84. <TD WIDTH="50%" BGCOLOR="#FFCCCC"><B><TT>74&nbsp;56&nbsp;00&nbsp;00</TT></B></TD>
  85. <TD WIDTH="50%" BGCOLOR="#FFCCCC"><I>Acknowledgement of request</I></TD>
  86. </TR>
  87. <TR>
  88. <TD BGCOLOR="#FFCCCC">&nbsp;</TD>
  89. <TD WIDTH="50%" BGCOLOR="#FFCCCC"><B><TT>74&nbsp;15&nbsp;00&nbsp;03&nbsp;</TT></B>&lt;768&nbsp;bytes&nbsp;plus&nbsp;2&nbsp;byte&nbsp;checksum&gt;</TD>
  90. <TD WIDTH="50%" BGCOLOR="#FFCCCC"><I>Screen data</I></TD>
  91. </TR>
  92. <TR>
  93. <TD BGCOLOR="#CCFFCC">PC:</TD>
  94. <TD WIDTH="50%" BGCOLOR="#CCFFCC"><B><TT>07&nbsp;56&nbsp;00&nbsp;00</TT></B></TD>
  95. <TD WIDTH="50%" BGCOLOR="#CCFFCC"><I>Acknowledgement of data</I></TD>
  96. </TR>
  97. </TABLE>
  98. <p></P>
  99. <P>The following figure demonstrates byte ordering of the pixels if the bitmap is in a 768-element array data[]:</P>
  100. <P><IMG SRC="graphics/scrnshot.gif" WIDTH="336" HEIGHT="274" ALIGN="BOTTOM" ALT="[pixel grid diagram]" BORDER="0"></P>
  101. <P>Note that this format is different from the standard Windows bitmap format, which specifies a value of 1 if
  102. the pixel is light and bottom-to-top row order.</P>
  103. <P>
  104. <TABLE BORDER="0" CELLSPACING="0" WIDTH="100%">
  105. <TR>
  106. <TD WIDTH="32%">
  107. <P ALIGN="CENTER"><A HREF="packet.html"><IMG SRC="graphics/prevpage.gif" WIDTH="32" HEIGHT="32" ALIGN="BOTTOM"
  108. ALT="[previous page]" BORDER="2"><BR>
  109. Packet Formats</A>
  110. </TD>
  111. <TD WIDTH="34%">
  112. <P ALIGN="CENTER"><A HREF="index.html"><IMG SRC="graphics/home.gif" WIDTH="32" HEIGHT="32" ALIGN="BOTTOM" ALT="[home]"
  113. BORDER="2"><BR>
  114. Table of Contents</A>
  115. </TD>
  116. <TD WIDTH="34%">
  117. <P ALIGN="CENTER"><A HREF="manual.html"><IMG SRC="graphics/nextpage.gif" WIDTH="32" HEIGHT="32" ALIGN="BOTTOM"
  118. ALT="[next page]" BORDER="2"><BR>
  119. Manual Transfers</A>
  120. </TD>
  121. </TR>
  122. </TABLE>
  123. <HR ALIGN="CENTER">
  124. <I>Site maintained by Romain Li&eacute;vin (</I><A HREF="mailto:roms@lpg.ticalc.org"><I>roms@lpg.ticalc.org</I></A><I>)
  125. and Tim Singer (</I><A HREF="mailto:tsinger@gladstone.uoregon.edu"><I>tsinger@gladstone.uoregon.edu</I></A><I>)</I>
  126. </BODY>
  127. </HTML>