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 / Adaptive16x128.lss < prev    next >
Text File  |  2009-08-31  |  12KB  |  290 lines

  1. ; Defaults: 9600,8,N,1
  2. ;
  3. ; Lynx Scoreboard Script Version 2.0
  4. ;
  5. ; Copyright (c) 1995-2006 Lynx System Developers, Inc.
  6. ;
  7. ; Written by Kirk Sigel
  8. ;
  9. ; Notes:
  10. ;  + Empty lines and lines that start with a semicolon are ignored.
  11. ;
  12. ;  + Lines that start with two semicolons indicate a section header.
  13. ;    Sections may be omitted, appear in any order, and occur more than once.
  14. ;    The current section headers and their valid group codes are:
  15. ;      ;;Initialization
  16. ;        \10 \13 \17
  17. ;      ;;TimeRunning
  18. ;      ;;TimeStopped
  19. ;      ;;TimeGun
  20. ;      ;;TimeBreak
  21. ;      ;;TimeUpdate
  22. ;      ;;TimeOfDay
  23. ;        \11 \13 \17
  24. ;      ;;Wind
  25. ;        \12 \13 \17
  26. ;      ;;StartListHeader
  27. ;      ;;StartListTrailer
  28. ;      ;;StartedHeader
  29. ;      ;;StartedTrailer
  30. ;      ;;ResultsHeader
  31. ;      ;;ResultsTrailer
  32. ;        \13 \17
  33. ;      ;;StartList
  34. ;      ;;Started
  35. ;      ;;Results (or ;;Result)
  36. ;        \13 \14 \17
  37. ;      ;;MessageHeader
  38. ;      ;;MessageTrailer
  39. ;        \13 \15 \17
  40. ;      ;;Message
  41. ;        \13 \15 \16 \17
  42. ;    The StartList*, Started*, and Results* sections may have an optional
  43. ;    page number contained in square brackets immediately following the
  44. ;    section name. If more than one page is defined for a section then each
  45. ;    page will be shown, in order, when paging is enabled. Note that page
  46. ;    numbers do not need to be contiguous; they are simply used to establish
  47. ;    the order of pages. If a page number is omitted then a 0 (zero) is
  48. ;    assumed.
  49. ;    Some sections can be omitted and they will "fall back" to other
  50. ;    sections. TimeOfDay falls back to TimeRunning. The StartList* sections
  51. ;    fall back to the Results* sections. The Started* sections fall back
  52. ;    to the StartList* sections (after the StartList* sections have fallen
  53. ;    back to the Results* sections if necessary).
  54. ;
  55. ;  + Format lines must begin with a one byte group code and a one byte
  56. ;    variable code. The special variable code \00 indicates that no variable
  57. ;    is being requested. If a variable is requested it will be inserted where
  58. ;    a '%s' printf style format specifier appears. There can only be one '%s'
  59. ;    specifier in lines requesting a variable and no other printf format
  60. ;    specifiers may appear. Remember, lines requesting a variable are used as
  61. ;    a printf format string and therefore must behave as such. Lines not 
  62. ;    requesting a variable (variable code \00) can do whatever they want as
  63. ;    these lines are not fed to a printf statement.
  64. ;    The current group codes and their variable codes are:
  65. ;      \10  Initialize
  66. ;         \00  No variable
  67. ;      \11  Time
  68. ;         \00  No variable
  69. ;         \01  Formatted time with tenth (when running) or hundredth (when
  70. ;              stopped) precision
  71. ;         \02  Binary time in milliseconds (4 byte little endian integer)
  72. ;         \03  Formatted time with thousandth precision
  73. ;      \12  Wind
  74. ;         \00  No variable
  75. ;         \01  Formatted wind
  76. ;         \02  Binary wind in hundredths of units (4 byte little endian integer)
  77. ;      \13  Results Header/Trailer
  78. ;         \00  No variable
  79. ;         \01  OFFICIAL/UNOFFICIAL string
  80. ;         \02  Event name
  81. ;         \03  Wind
  82. ;         \04  Event number
  83. ;         \05  Round number
  84. ;         \06  Heat number
  85. ;         \07  AUTO/MANUAL start type
  86. ;         \08  Number of participants
  87. ;      \14  Result
  88. ;         \00  No variable
  89. ;         \01  Place
  90. ;         \02  Lane
  91. ;         \03  Id
  92. ;         \04  Name
  93. ;         \05  Affiliation
  94. ;         \06  Time
  95. ;         \07  Delta Time
  96. ;         \08  Cumulative Split Time
  97. ;         \09  Last Split Time
  98. ;         \0a  Laps To Go
  99. ;         \0b  License
  100. ;         \0c  ReacTime
  101. ;         \0d  Speed
  102. ;         \0e  Pace
  103. ;         \0f  Best Split Time
  104. ;      \15  Message Header/Trailer
  105. ;         \00  No variable
  106. ;      \16  Message
  107. ;         \00  No variable
  108. ;         \01  Text
  109. ;      \17  Break Time
  110. ;         \00  No variable
  111. ;         \nn  Formatted break time nn
  112. ;
  113. ;  + Arbitrary 8 bit values are entered as \hh where h is a lowercase hex
  114. ;    digit. Note that h must be lowercase.
  115. ;
  116. ;  + Format lines can have the following commands embedded in them.
  117. ;    Note that only 10 registers (indexed 0-9) are currently implemented.
  118. ;     \U\hh   Set the 'U' value to hh. It is reset after the next command.
  119. ;     \Ui\hh  Set the 'U' value to register[hh].
  120. ;     \X\hh   Set the 'X' value to hh. It is reset after the next command.
  121. ;     \Xi\hh  Set the 'X' value to register[hh].
  122. ;     \=\hh   register[hh] = {register[U]|X|1}                 (assign)
  123. ;     \*\hh   register[hh] = register[hh] * {register[U]|X|1}  (multiply)
  124. ;     \/\hh   register[hh] = register[hh] / {register[U]|X|1}  (divide)
  125. ;     \#\hh   register[hh] = register[hh] # {register[U]|X|1}  (modulus)
  126. ;     \+\hh   register[hh] = register[hh] + {register[U]|X|1}  (add)
  127. ;     \-\hh   register[hh] = register[hh] - {register[U]|X|1}  (subtract)
  128. ;     \<\hh   register[hh] = register[hh] << {register[U]|X|1} (shift left)
  129. ;     \>\hh   register[hh] = register[hh] >> {register[U]|X|1} (shift right)
  130. ;     \&\hh   register[hh] = register[hh] & {register[U]|X|1}  (bit and)
  131. ;     \|\hh   register[hh] = register[hh] | {register[U]|X|1}  (bit or)
  132. ;     \^\hh   register[hh] = register[hh] ^ {register[U]|X|1}  (bit xor)
  133. ;     \~\hh   register[hh] = ~register[hh]                     (bit invert)
  134. ;     \F\hh   register[hh] = The result of running Function {U|0} on the 
  135. ;             next {X|<eol>} characters.
  136. ;              \U\00  IDS checksum.
  137. ;              \U\01  XOR checksum. register[hh] is used as the seed value.
  138. ;              \U\02  ADD checksum. register[hh] is used as the seed value.
  139. ;              \U\03  CRC-16. register[hh] is used as the seed value
  140. ;                       and register[hh+1] is the polynomial.
  141. ;              \U\04  CRC-32. register[hh] is used as the seed value
  142. ;                       and register[hh+1] is the polynomial.
  143. ;     \O\hh   Output register[hh] as an {X|1} byte value using method {U|0}.
  144. ;              \U\00  Binary little-endian (Intel byte order).
  145. ;              \U\01  Binary big-endian (Motorola byte order).
  146. ;              \U\02  ASCII text right justified space padded.
  147. ;              \U\03  ASCII text right justified zero padded.
  148. ;              \U\04  ASCII text left justified space padded.
  149. ;              \U\05  ASCII text left justified zero padded.
  150. ;     \S\hh   Scan the next {X|1} bytes into register[hh] using method {U|0}.
  151. ;              \U\00  ASCII text base 10.
  152. ;              \U\01  Binary little-endian (Intel byte order).
  153. ;              \U\02  Binary big-endian (Motorola byte order).
  154. ;     \P\hh   Run Procedure hh on the next {X|<eol>} characters.
  155. ;              \P\00  Reverse characters.
  156. ;              \P\01  Convert characters to Colorado Time format. Register[1]
  157. ;                       is the current character position on entry and the
  158. ;                       next character position on exit.
  159. ;              \P\02  Convert characters to Daktronics AllSport format.
  160. ;     \B\hh   Delete {register[U]|hh} (to beginning of line if zero) characters 
  161. ;             before the cursor or until the string contains X characters.
  162. ;     \D\hh   Delete {register[U]|hh} (to end of line if zero) characters 
  163. ;             at the cursor or until the string contains X characters.
  164. ;     \I\hh   Insert {register[U]|hh} spaces at the cursor or until the string
  165. ;             contains X characters.
  166. ;     \Ic\hh  Insert {register[U]|hh} {X's|spaces} at the cursor.
  167. ;     \L\hh   Move the cursor {register[U]|hh} positions to the left (to the 
  168. ;             beginning of the line if zero).
  169. ;     \R\hh   Move the cursor {register[U]|hh} positions to the right (to the
  170. ;             end of the line if zero).
  171. ;    Note that numbers 0 thru 9 can be entered directly for single character
  172. ;    embedded commands. For example, '\U\04' is the same as '\U4' and 
  173. ;    '\=\01' is the same as '\=1'.
  174. ;
  175. ;  + Be very careful about whitespace in each format line. Characters other
  176. ;    than '%s' specifiers and embedded commands and values will be sent
  177. ;    exactly as they appear on the line. This means, for instance, that using
  178. ;    tabs to make a line 'look right' in your favorite editor will cause
  179. ;    tabs to be sent to the scoreboard instead of the equivalent number of
  180. ;    spaces (probably not what you wanted).
  181. ;
  182. ; The format lines follow.
  183.  
  184. ;;Initialization
  185. ; This is sent once to initialize the scoreboard.
  186. ;\00_01Z00_02GA            _04
  187. \00_01Z00_02E$AAL0100FF00ABL00FF0000BBL00FF0000_04
  188. ;\00_01Z00_02E$AAL0100FF00ABL00FF0000_04
  189. \00_01Z00_02GAConfig4Lynx_04
  190. ;\00_01Z00_02AA_1B0b_1E1_1D41_1D21_1D01_10A_0D_10B_04
  191. \00_01Z00_02AA_1B0b_1E1_1D41_1D21_1D01_10A_04
  192. ;\00_01Z00_02E.TLA_04
  193. \00_01Z00_02E.TLA_04
  194.  
  195. ;;TimeRunning
  196. ; This is sent aperoximately 10 times per second.
  197. ; Setting register[0] to 1 in a format line will cause that line and
  198. ; subsequent lines to only be sent once per second (when the seconds
  199. ; digit changes) instead of approximately 10 times per second. Setting
  200. ; register[0] to 0 will resume normal operation for remaining lines.
  201. ;\00_01Z00_02GA                  _04
  202. ; Use the following line for updates only once/second
  203. ;\01\=1_01Z00_02GA   %12.12s\B1\R0_04
  204. \01_01Z00_02GA   %12.12s\B1\R0_04
  205.  
  206. ;;TimeStopped
  207. ; This is sent when the time is stopped by a beam break.
  208. \01_01Z00_02GA   %12.12s\B1\R0   _04
  209.  
  210. ;;TimeGun
  211. ; This is sent when a gun signal is received.
  212.  
  213. ;;TimeBreak
  214. ; This is sent when a beam break is received.
  215.  
  216. ;;TimeUpdate
  217. ; This is sent approximately 10 times per second.
  218.  
  219. ;;TimeOfDay
  220. ; This is sent when the 'Send time of day' option is checked in the
  221. ; Scoreboard pull down menu.
  222. ;\00_01Z00_02GAOfficial Time     _04
  223. \01\=1_01Z00_02GA      %12.12s\B4_04
  224.  
  225. ;;Wind
  226. ; This is sent in the time stream when a wind reading is received.
  227.  
  228. ;;StartListHeader
  229. ; This is sent once each time the scoreboard is updated with results. It
  230. ; is sent before any result lines are sent.
  231.  
  232. ;;StartList
  233. ; This is sent once for each result line displayed on the scoreboard.
  234.  
  235. ;;StartedHeader
  236. ; This is sent once each time the scoreboard is updated with results. It
  237. ; is sent before any result lines are sent.
  238.  
  239. ;;Started
  240. ; This is sent once for each result line displayed on the scoreboard.
  241. ; Register[0] is initialized with the index of the current result line and
  242. ; will range from 0 through PageSize - 1.
  243.  
  244. ;;ResultsHeader
  245. ; This is sent once each time the scoreboard is updated with results. It
  246. ; is sent before any result lines are sent.
  247.  
  248. ;;Result[1]
  249. ; This is sent once for each result line displayed on the scoreboard.
  250. ; Register[0] is initialized with the index of the current result line and
  251. ; will range from 0 through PageSize - 1.
  252. ; Page 1: place nom
  253.  
  254. ;;Result[1]
  255. \00_01Z00_02GA
  256. \01%2.2s
  257. \04 %-11.11s
  258. \05%3.3s
  259. \00_04
  260.  
  261.  
  262. ;;Result[2]
  263. \00_01Z00_02GA
  264. \06 %12.12s\B1\L5\R0
  265. \00_04
  266.  
  267. ;;ResultsTrailer
  268. ; This is sent once each time the scoreboard is updated with results. It
  269. ; is sent after all result lines are sent.
  270.  
  271. ;;MessageHeader
  272. ; This is sent once each time the scoreboard is updated with the message. It
  273. ; is sent before any message lines are sent.
  274.  
  275. ;;Message
  276. ; This is sent once for each message line displayed on the scoreboard.
  277. ; Register[0] is initialized with the index of the current message line and
  278. ; will range from 0 through <number of lines> - 1.
  279. \00_01Z00_02GA
  280. \01%-18.18s
  281. \00_04
  282. \00_01Z00_02GB
  283. \01%-36.36s\L0\D9\D9\R0
  284. \00_04
  285.  
  286. ;;MessageTrailer
  287. ; This is sent once each time the scoreboard is updated with the message. It
  288. ; is sent after all message lines are sent.
  289.  
  290.