home *** CD-ROM | disk | FTP | other *** search
/ boe.pres.k12.wv.us / boe.pres.k12.wv.us.zip / boe.pres.k12.wv.us / Utilities / Finishlynx / FinishLynx-8.00.exe / Microtab16-18.lss < prev    next >
Text File  |  2009-07-23  |  10KB  |  249 lines

  1. ; Defaults: 1200,8,N,1
  2. ;
  3. ; Lynx Scoreboard Script
  4. ;
  5. ; Copyright (c) 1995-2001 Lynx System Developers, Inc.
  6. ;
  7. ; Written by Kirk Sigel
  8. ;
  9. ; script for microtab16, 1 line, 18 characters
  10. ; last modified by Todd Chamoy 12 Feb 02
  11. ;
  12. ; Notes:
  13. ;  + Empty lines and lines that start with a semicolon are ignored.
  14. ;  + Lines that start with two semicolons indicate a section header.
  15. ;    They must be one of the following:
  16. ;      ;;Initialization
  17. ;      ;;TimeRunning
  18. ;      ;;TimeStopped
  19. ;      ;;TimeGun
  20. ;      ;;TimeBreak
  21. ;      ;;TimeUpdate
  22. ;      ;;Wind
  23. ;      ;;TimeOfDay
  24. ;      ;;ResultsHeader
  25. ;      ;;ResultsTrailer
  26. ;      ;;Result
  27. ;      ;;MessageHeader
  28. ;      ;;MessageTrailer
  29. ;      ;;Message
  30. ;    Sections may be omitted, appear in any order, and occur more than once.
  31. ;  + Format lines must begin with a value indicating which variable
  32. ;    they want to access. The special code \00 indicates that no variable
  33. ;    is being requested. If a variable is requested it will be inserted where
  34. ;    a '%s' printf style format specifier appears. There can only be one '%s'
  35. ;    specifier in lines requesting a variable and no other printf format
  36. ;    specifiers may appear. Remember, lines requesting a variable are used as
  37. ;    a printf format string and therefore must behave as such. Lines not 
  38. ;    requesting variables (code \00) can do whatever they want as these 
  39. ;    lines are not fed to a printf statement.
  40. ;  + Arbitrary 8 bit values are entered as \hh where h is a lowercase hex
  41. ;    digit. Note that h must be lowercase.
  42. ;  + Format lines can have the following commands embedded in them.
  43. ;    Note that only 10 registers (indexed 0-9) are currently implemented.
  44. ;     \U\hh   Set the 'U' value to hh. It is reset after the next command.
  45. ;     \Ui\hh  Set the 'U' value to register[hh].
  46. ;     \X\hh   Set the 'X' value to hh. It is reset after the next command.
  47. ;     \Xi\hh  Set the 'X' value to register[hh].
  48. ;     \=\hh   register[hh] = {register[U]|X|1}                 (assign)
  49. ;     \*\hh   register[hh] = register[hh] * {register[U]|X|1}  (multiply)
  50. ;     \/\hh   register[hh] = register[hh] / {register[U]|X|1}  (divide)
  51. ;     \#\hh   register[hh] = register[hh] # {register[U]|X|1}  (modulus)
  52. ;     \+\hh   register[hh] = register[hh] + {register[U]|X|1}  (add)
  53. ;     \-\hh   register[hh] = register[hh] - {register[U]|X|1}  (subtract)
  54. ;     \<\hh   register[hh] = register[hh] << {register[U]|X|1} (shift left)
  55. ;     \>\hh   register[hh] = register[hh] >> {register[U]|X|1} (shift right)
  56. ;     \&\hh   register[hh] = register[hh] & {register[U]|X|1}  (bit and)
  57. ;     \|\hh   register[hh] = register[hh] | {register[U]|X|1}  (bit or)
  58. ;     \^\hh   register[hh] = register[hh] ^ {register[U]|X|1}  (bit xor)
  59. ;     \~\hh   register[hh] = ~register[hh]                     (bit invert)
  60. ;     \F\hh   register[hh] = The result of running Function {U|0} on the 
  61. ;             next {X|<eol>} characters.
  62. ;              \U\00  IDS checksum.
  63. ;              \U\01  XOR checksum. register[hh] is used as the seed value.
  64. ;              \U\02  ADD checksum. register[hh] is used as the seed value.
  65. ;     \O\hh   Output register[hh] as an {X|1} byte value using method {U|0}.
  66. ;              \U\00  Binary little-endian (Intel byte order).
  67. ;              \U\01  Binary big-endian (Motorola byte order).
  68. ;              \U\02  ASCII text right justified space padded.
  69. ;              \U\03  ASCII text right justified zero padded.
  70. ;              \U\04  ASCII text left justified space padded.
  71. ;              \U\05  ASCII text left justified zero padded.
  72. ;     \S\hh   Scan the next {X|1} bytes into register[hh] using method {U|0}.
  73. ;              \U\00  ASCII text base 10.
  74. ;              \U\01  Binary little-endian (Intel byte order).
  75. ;              \U\02  Binary big-endian (Motorola byte order).
  76. ;     \P\hh   Run Procedure hh on the next {X|<eol>} characters.
  77. ;              \P\00  Reverse characters.
  78. ;              \P\01  Convert characters to Colorado Time format. Register[1]
  79. ;                       is the current character position on entry and the
  80. ;                       next character position on exit.
  81. ;              \P\02  Convert characters to Daktronics AllSport format.
  82. ;     \B\hh   Delete {register[U]|hh} (to beginning of line if zero) characters 
  83. ;             before the cursor or until the string contains X characters.
  84. ;     \D\hh   Delete {register[U]|hh} (to end of line if zero) characters 
  85. ;             at the cursor or until the string contains X characters.
  86. ;     \I\hh   Insert {register[U]|hh} spaces at the cursor or until the string
  87. ;             contains X characters.
  88. ;     \Ic\hh  Insert {register[U]|hh} {X's|spaces} at the cursor.
  89. ;     \L\hh   Move the cursor {register[U]|hh} positions to the left (to the 
  90. ;             beginning of the line if zero).
  91. ;     \R\hh   Move the cursor {register[U]|hh} positions to the right (to the
  92. ;             end of the line if zero).
  93. ;    Note that numbers 0 thru 9 can be entered directly for single character
  94. ;    embedded commands. For example, '\U\04' is the same as '\U4' and 
  95. ;    '\=\01' is the same as '\=1'.
  96. ;  + Be very careful about whitespace in each format line. Characters other
  97. ;    than '%s' specifiers and embedded commands and values will be sent
  98. ;    exactly as they appear on the line. This means, for instance, that using
  99. ;    tabs to make a line 'look right' in you favorite editor will cause
  100. ;    tabs to be sent to the scoreboard instead of the equivalent number of
  101. ;    spaces (probably not what you wanted).
  102. ;
  103. ; The format lines follow.
  104.  
  105. ;;Initialization
  106. ; This is sent once to initialize the scoreboard.
  107. ; Line codes:
  108. ;  \00 No variable
  109. ;
  110. ; "Strong" displayboard reset
  111. \00\X0\=2\1b r\03\L0\U2\F2\R0\X\7f\&2\U0\O2
  112.  
  113. ;;TimeRunning
  114. ; This is sent approximately 10 times per second.
  115. ; Line codes:
  116. ;  \00  No variable
  117. ;  \01  Formatted time
  118. ;  \02  Binary time in milliseconds (as a 4 byte little endian integer)
  119. ; Setting register[0] to 1 in a format line will cause that line and
  120. ; subsequent lines to only be sent once per second (when the second's 
  121. ; digit changes) instead of approximately 10 times per second. Setting
  122. ; register[0] to 0 will resume normal operation for remaining lines.
  123. ;
  124. ; display " mm:ss.d "
  125. \01\=0\X0\=2\1bAS00 %12.12s\B2\L7\B3\R0          \03\L0\U2\F2\R0\X\7f\&2\U0\O2
  126.  
  127. ;;TimeStopped
  128. ; This is sent when the time is stopped by a beam break.
  129. ; Line codes are identical to the TimeRunning line codes.
  130. ;
  131. ; display " mm:ss.dd"
  132. \01\X0\=2\1bAS00 %12.12s\B1\L8\B3\R0\03\L0\U2\F2\R0\X\7f\&2\U0\O2
  133.  
  134. ;;TimeGun
  135. ; This is sent when a gun signal is received.
  136. ; Line codes are identical to the TimeRunning line codes.
  137.  
  138. ;;TimeBreak
  139. ; This is sent when a beam break is recieved.
  140. ; Line codes are identical to the TimeRunning line codes.
  141.  
  142. ;;TimeUpdate
  143. ; This is sent approximately 10 times per second.
  144. ; Line codes are identical to the TimeRunning line codes.
  145.  
  146. ;;Wind
  147. ; This is sent in the time stream when a wind reading is received.
  148. ; Line codes:
  149. ;  \00  No variable
  150. ;  \01  Formatted wind (same format as ResultsHeader wind)
  151. ;  \02  Binary wind in hundredths of units (as a 4 byte little endian integer)
  152.  
  153. ;;TimeOfDay
  154. ; This is sent when the 'Send time of day' option is checked in the
  155. ; Scoreboard pull down menu.
  156. ; Line codes are identical to the TimeRunning line codes.
  157. ;
  158. ; display " hh:mm:ss"
  159. \01\=0\X0\=2\1bAS00 %21.12s\B4    \03\L0\U2\F2\R0\X\7f\&2\U0\O2
  160.  
  161. ;;ResultsHeader
  162. ; This is sent once each time the scoreboard is updated with results. It
  163. ; is sent before any result lines are sent.
  164. ; Line codes:
  165. ;  \00  No variable
  166. ;  \01  OFFICIAL/UNOFFICIAL string
  167. ;  \02  Event name
  168. ;  \03  Wind
  169. ;  \04  Event number
  170. ;  \05  Round number
  171. ;  \06  Heat number
  172. ;  \07  AUTO/MANUAL start type
  173. ;  \08  Number of participants
  174. ;
  175. ; header for static string
  176. \00\X0\=2\1bAS00\L0\U2\F2\R0
  177.  
  178. ;;ResultsTrailer
  179. ; This is sent once each time the scoreboard is updated with results. It
  180. ; is sent after all result lines are sent.
  181. ; Line codes are identical to the ResultsHeader line codes.
  182. ;
  183. ; trailer for results string
  184. \00\03\L0\U2\F2\R0\X\7f\&2\U0\O2
  185.  
  186. ;;Result
  187. ; This is sent once for each result line displayed on the scoreboard.
  188. ; Line codes:
  189. ;  \00  No variable
  190. ;  \01  Place
  191. ;  \02  Lane
  192. ;  \03  Id
  193. ;  \04  Name
  194. ;  \05  Affiliation
  195. ;  \06  Time
  196. ;  \07  Delta Time
  197. ;  \08  Cumulative Split Time
  198. ;  \09  Last Split Time
  199. ;  \0a  Laps To Go
  200. ;  \0b  License
  201. ;  \0c  ReacTime
  202. ;  \0d  Speed
  203. ;  \0e  Pace
  204. ; Register[0] is initialized with the index of the current result line and
  205. ; will range from 0 through PageSize - 1.
  206. ;
  207. ; "place name time"
  208. \01%-2.2s\L0\U2\F2\R0
  209. \04%-8.8s\L0\U2\F2\R0
  210. \06%12.12s\B1\L8\B3\R0\I9\L0\U2\F2\R0
  211. ;
  212. ;\02%-3.3s 
  213. ;\03%-3.3s  
  214. ;\05%-10.10s 
  215. ;\07%-8.8s 
  216. ;\0c%-8.8s 
  217. ;\08%-8.8s 
  218. ;\09%-8.8s 
  219. ;\0a%-6.6s
  220. ;\00\0d\0a
  221.  
  222. ;;MessageHeader
  223. ; This is sent once each time the scoreboard is updated with the message. It
  224. ; is sent before any message lines are sent.
  225. ; Line codes:
  226. ;  \00  No variable
  227. ;
  228. \00\X0\=2\1bAS00\L0\U2\F2\R0
  229.  
  230.  
  231. ;;MessageTrailer
  232. ; This is sent once each time the scoreboard is updated with the message. It
  233. ; is sent after all message lines are sent.
  234. ; Line codes are identical to the MessageHeader line codes.
  235. ;
  236. \00\03\L0\U2\F2\R0\X\7f\&2\U0\O2
  237.  
  238. ;;Message
  239. ; This is sent once for each message line displayed on the scoreboard.
  240. ; Line codes:
  241. ;  \00  No variable
  242. ;  \01  Text
  243. ; Register[0] is initialized with the index of the current message line and
  244. ; will range from 0 through <number of lines> - 1.
  245. \01%18.18s\L0\U2\F2\R0
  246.  
  247.  
  248.  
  249.