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 / GillWind.lss < prev    next >
Text File  |  2006-08-30  |  6KB  |  133 lines

  1. ; Defaults: 9600,8,N,1
  2. ;
  3. ; Lynx Scoreboard Script
  4. ;
  5. ; Copyright (c) 1995-1997 Lynx System Developers, Inc.
  6. ;
  7. ; Written by Doug DeAngelis
  8. ; For a single Gill Board at ID 01 used as Wind Gauge Display
  9. ;
  10. ; Notes:
  11. ;  + Empty lines and lines that start with a semicolon are ignored.
  12. ;  + Lines that start with two semicolons indicate a section header.
  13. ;    They must be one of the following:
  14. ;      ;;Initialization
  15. ;      ;;TimeRunning
  16. ;      ;;TimeStopped
  17. ;      ;;TimeGun
  18. ;      ;;TimeBreak
  19. ;      ;;TimeUpdate
  20. ;      ;;Wind
  21. ;      ;;TimeOfDay
  22. ;      ;;ResultsHeader
  23. ;      ;;ResultsTrailer
  24. ;      ;;Result
  25. ;      ;;StartListHeader
  26. ;      ;;StartListTrailer
  27. ;      ;;StartList
  28. ;      ;;MessageHeader
  29. ;      ;;MessageTrailer
  30. ;      ;;Message
  31. ;    Sections may be omitted, appear in any order, and occur more than once.
  32. ;  + Format lines must begin with a value indicating which variable
  33. ;    they want to access. The special code \00 indicates that no variable
  34. ;    is being requested. If a variable is requested it will be inserted where
  35. ;    a '%s' printf style format specifier appears. There can only be one '%s'
  36. ;    specifier in lines requesting a variable and no other printf format
  37. ;    specifiers may appear. Remember, lines requesting a variable are used as
  38. ;    a printf format string and therefore must behave as such. Lines not 
  39. ;    requesting variables (code \00) can do whatever they want as these 
  40. ;    lines are not fed to a printf statement.
  41. ;  + Arbitrary 8 bit values are entered as \hh where h is a lowercase hex
  42. ;    digit. Note that h must be lowercase.
  43. ;  + Format lines can have the following commands embedded in them.
  44. ;    Note that only 10 registers (indexed 0-9) are currently implemented.
  45. ;     \U\hh   Set the 'U' value to hh. It is reset after the next command.
  46. ;     \Ui\hh  Set the 'U' value to register[hh].
  47. ;     \X\hh   Set the 'X' value to hh. It is reset after the next command.
  48. ;     \Xi\hh  Set the 'X' value to register[hh].
  49. ;     \=\hh   register[hh] = {register[U]|X|1}                 (assign)
  50. ;     \*\hh   register[hh] = register[hh] * {register[U]|X|1}  (multiply)
  51. ;     \/\hh   register[hh] = register[hh] / {register[U]|X|1}  (divide)
  52. ;     \#\hh   register[hh] = register[hh] # {register[U]|X|1}  (modulus)
  53. ;     \+\hh   register[hh] = register[hh] + {register[U]|X|1}  (add)
  54. ;     \-\hh   register[hh] = register[hh] - {register[U]|X|1}  (subtract)
  55. ;     \<\hh   register[hh] = register[hh] << {register[U]|X|1} (shift left)
  56. ;     \>\hh   register[hh] = register[hh] >> {register[U]|X|1} (shift right)
  57. ;     \&\hh   register[hh] = register[hh] & {register[U]|X|1}  (bit and)
  58. ;     \|\hh   register[hh] = register[hh] | {register[U]|X|1}  (bit or)
  59. ;     \^\hh   register[hh] = register[hh] ^ {register[U]|X|1}  (bit xor)
  60. ;     \~\hh   register[hh] = ~register[hh]                     (bit invert)
  61. ;     \F\hh   register[hh] = The result of running Function {U|0} on the 
  62. ;             next {X|<eol>} characters.
  63. ;              \U\00  IDS checksum.
  64. ;              \U\01  XOR checksum. register[hh] is used as the seed value.
  65. ;              \U\02  ADD checksum. register[hh] is used as the seed value.
  66. ;              \U\03  CRC-16. register[hh] is used as the seed value
  67. ;                       and register[hh+1] is the polynomial.
  68. ;              \U\04  CRC-32. register[hh] is used as the seed value
  69. ;                       and register[hh+1] is the polynomial.
  70. ;     \O\hh   Output register[hh] as an {X|1} byte value using method {U|0}.
  71. ;              \U\00  Binary little-endian (Intel byte order).
  72. ;              \U\01  Binary big-endian (Motorola byte order).
  73. ;              \U\02  ASCII text right justified space padded.
  74. ;              \U\03  ASCII text right justified zero padded.
  75. ;              \U\04  ASCII text left justified space padded.
  76. ;              \U\05  ASCII text left justified zero padded.
  77. ;     \S\hh   Scan the next {X|1} bytes into register[hh] using method {U|0}.
  78. ;              \U\00  ASCII text base 10.
  79. ;              \U\01  Binary little-endian (Intel byte order).
  80. ;              \U\02  Binary big-endian (Motorola byte order).
  81. ;     \P\hh   Run Procedure hh on the next {X|<eol>} characters.
  82. ;              \P\00  Reverse characters.
  83. ;              \P\01  Convert characters to Colorado Time format. Register[1]
  84. ;                       is the current character position on entry and the
  85. ;                       next character position on exit.
  86. ;              \P\02  Convert characters to Daktronics AllSport format.
  87. ;     \B\hh   Delete {register[U]|hh} (to beginning of line if zero) characters 
  88. ;             before the cursor or until the string contains X characters.
  89. ;     \D\hh   Delete {register[U]|hh} (to end of line if zero) characters 
  90. ;             at the cursor or until the string contains X characters.
  91. ;     \I\hh   Insert {register[U]|hh} spaces at the cursor or until the string
  92. ;             contains X characters.
  93. ;     \Ic\hh  Insert {register[U]|hh} {X's|spaces} at the cursor.
  94. ;     \L\hh   Move the cursor {register[U]|hh} positions to the left (to the 
  95. ;             beginning of the line if zero).
  96. ;     \R\hh   Move the cursor {register[U]|hh} positions to the right (to the
  97. ;             end of the line if zero).
  98. ;    Note that numbers 0 thru 9 can be entered directly for single character
  99. ;    embedded commands. For example, '\U\04' is the same as '\U4' and 
  100. ;    '\=\01' is the same as '\=1'.
  101. ;  + Be very careful about whitespace in each format line. Characters other
  102. ;    than '%s' specifiers and embedded commands and values will be sent
  103. ;    exactly as they appear on the line. This means, for instance, that using
  104. ;    tabs to make a line 'look right' in your favorite editor will cause
  105. ;    tabs to be sent to the scoreboard instead of the equivalent number of
  106. ;    spaces (probably not what you wanted).
  107. ;
  108. ; The format lines follow.
  109.  
  110. ;;Initialization
  111. ; This is sent once to initialize the scoreboard.
  112. ; Line codes:
  113. ;  \00 No variable
  114. \00\021
  115. \00    \R0\03\00
  116.  
  117.  
  118. ;;ResultsHeader
  119. ; This is sent once each time the scoreboard is updated with results. It
  120. ; is sent before any result lines are sent.
  121. ; Line codes:
  122. ;  \00  No variable
  123. ;  \01  OFFICIAL/UNOFFICIAL string
  124. ;  \02  Event name
  125. ;  \03  Wind
  126. ;  \04  Event number
  127. ;  \05  Round number
  128. ;  \06  Heat number
  129. ;  \07  AUTO/MANUAL start type
  130. ;  \08  Number of participants
  131. \00\021
  132. \03%4.4s\03\00
  133.