home *** CD-ROM | disk | FTP | other *** search
/ World of A1200 / World_Of_A1200.iso / programs / system / vercheck / vercheck.doc < prev    next >
Text File  |  1995-02-27  |  4KB  |  129 lines

  1.  
  2.                 VerCheck V2.00
  3.  
  4.             Copyright (c) 1993 by Jan Hagqvist
  5.  
  6.  
  7. COPYRIGHT
  8.  
  9.     Copyright (c) 1993, Jan Hagqvist, All Rights Reserved.
  10.  
  11.     This program is FREEWARE. You may freely use and distribute this
  12.     program under the following conditions:
  13.  
  14.     1) No modifications are made into the program or this documentation
  15.        and all the files are spread together. However, you are allowed
  16.        to compress all the files into an archive for distribution.
  17.  
  18.     2) No money (other than nominal copying fees) is charged for its
  19.        distribution.
  20.  
  21. DISCLAIMER
  22.  
  23.     THIS PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
  24.     EITHER EXPRESSED OR IMPLIED. THE AUTHOR WILL NOT BE LIABLE FOR
  25.     ANY DAMAGES, DIRECT, INDIRECT, INCIDENTAL OR CONSEQUENTIAL,
  26.     RESULTING FROM THE USE OF THE PROGRAM. THE ENTIRE RISK AS TO THE
  27.     USE OF THIS PROGRAM IS ASSUMED BY THE USER.
  28.  
  29.  
  30. What is VerCheck?
  31.  
  32.     VerCheck is a utility for 2.04 hard drive users with 1.3 ROM
  33.     sharer/ReloKick who need to use their hard disk in both 2.04/1.3
  34.     modes.
  35.  
  36.     New in V2.00:
  37.  
  38.     Now you can check 68000/010/020/030/040/881/882 too.
  39.  
  40. How does it work?
  41.  
  42.     When VerCheck is run it will read the current system version
  43.     from Execbase and compare it with the given version and returns
  44.     WARN if the requested system version has been found. Because
  45.     VerCheck reads the version number from Exec instead of reading
  46.     it from a specific absolute address it also works with software
  47.     ROM sharers such as ReloKick.
  48.  
  49. How do I use it?
  50.  
  51.     The usage of VerCheck is very simple indeed and there are two
  52.     modes available. In the first mode the syntax is:
  53.  
  54.     VerCheck vn        , where vn is the Kickstart version number
  55.  
  56.     VerCheck reads the Exec version number and compares it with the
  57.     given version. If the two are exactly same, WARN will be returned.
  58.  
  59.     The other mode is:
  60.  
  61.     VerCheck vn>        , where vn is the Kickstart version number
  62.  
  63.     VerCheck reads the Exec version number and compares it with the
  64.     given version number. If Exec version is the same or greater than
  65.     the given version, WARN will be returned. So adding a '>' in the
  66.     end of the version number means that any version vn or greater will
  67.     be accepted.
  68.  
  69.  
  70.     To check processors the syntax is:
  71.  
  72.     VerCheck pr        , where pr is one of the following:
  73.                   68000/68010/68020/68030/68040/68881/68882
  74.  
  75.     WARN is returned if the GIVEN processor OR BETTER is found.
  76.     Also have a look at the example c (VerTestC) in the examples drawer.
  77.  
  78. Example
  79.  
  80.     This example is for booting the hard disk in 2.0/1.3 modes.
  81.  
  82.     VerCheck 34
  83.     If WARN
  84.       Place your 1.3 startup-sequence here
  85.     Else
  86.       Place your 2.0 startup-sequence here
  87.     EndIf
  88.  
  89.     Also have a look at the examples drawer.
  90.  
  91. Notes
  92.  
  93.     Please don't enter V ahead the version number or revision number
  94.     after it. So Kickstart version 37.175 translates to 37.
  95.  
  96.  
  97.     Should any comments come to your mind, please write to:
  98.  
  99.     Jan Hagqvist
  100.     Reinolankatu 5 A 1
  101.     48600 KARHULA
  102.     FINLAND
  103.  
  104.  
  105. History
  106.  
  107. V1.00    (Saturday, 19 June 1993)
  108.     The first version of this brilliant program. This one just checks
  109.     if the Exec version is same or better than the given version. This
  110.     version originally was about 56 bytes long, but it didn't want to be
  111.     that tiny so I had to add some 30 bytes of stuff in it before it was
  112.     willing to work.
  113.     Size = 86 bytes (more or less)
  114.  
  115. V1.05    (Tuesday, 22 June 1993)
  116.     A minor update of a mode that would only accept specific Exec version
  117.     number and not all from the specified one to the infinity. I was also
  118.     bughunting at least some 30 mins before I realised what was wrong
  119.     in this command line: 'VerCheck 37+'. In the monitor it worked
  120.     perfectly but not in DOS. Then suddenly I realized that it had to have
  121.     something to do with the '+'-sign. So that's why it is '37>' and not
  122.     '37+' anymore. I also spent hours to write this document.
  123.     Size = 120 bytes
  124.  
  125. V2.00    (Monday, 28 June 1993)
  126.     Now VerCheck includes processor checking too, just in case somebody
  127.     would like to check the CPU/FPU stuff too.
  128.     Size = 304 bytes
  129.