home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 4
/
CDPD_IV.bin
/
fish
/
891-910
/
ff897
/
vercheck
/
vercheck.doc
< prev
next >
Wrap
Text File
|
1994-05-04
|
4KB
|
129 lines
VerCheck V2.00
Copyright (c) 1993 by Jan Hagqvist
COPYRIGHT
Copyright (c) 1993, Jan Hagqvist, All Rights Reserved.
This program is FREEWARE. You may freely use and distribute this
program under the following conditions:
1) No modifications are made into the program or this documentation
and all the files are spread together. However, you are allowed
to compress all the files into an archive for distribution.
2) No money (other than nominal copying fees) is charged for its
distribution.
DISCLAIMER
THIS PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
EITHER EXPRESSED OR IMPLIED. THE AUTHOR WILL NOT BE LIABLE FOR
ANY DAMAGES, DIRECT, INDIRECT, INCIDENTAL OR CONSEQUENTIAL,
RESULTING FROM THE USE OF THE PROGRAM. THE ENTIRE RISK AS TO THE
USE OF THIS PROGRAM IS ASSUMED BY THE USER.
What is VerCheck?
VerCheck is a utility for 2.04 hard drive users with 1.3 ROM
sharer/ReloKick who need to use their hard disk in both 2.04/1.3
modes.
New in V2.00:
Now you can check 68000/010/020/030/040/881/882 too.
How does it work?
When VerCheck is run it will read the current system version
from Execbase and compare it with the given version and returns
WARN if the requested system version has been found. Because
VerCheck reads the version number from Exec instead of reading
it from a specific absolute address it also works with software
ROM sharers such as ReloKick.
How do I use it?
The usage of VerCheck is very simple indeed and there are two
modes available. In the first mode the syntax is:
VerCheck vn , where vn is the Kickstart version number
VerCheck reads the Exec version number and compares it with the
given version. If the two are exactly same, WARN will be returned.
The other mode is:
VerCheck vn> , where vn is the Kickstart version number
VerCheck reads the Exec version number and compares it with the
given version number. If Exec version is the same or greater than
the given version, WARN will be returned. So adding a '>' in the
end of the version number means that any version vn or greater will
be accepted.
To check processors the syntax is:
VerCheck pr , where pr is one of the following:
68000/68010/68020/68030/68040/68881/68882
WARN is returned if the GIVEN processor OR BETTER is found.
Also have a look at the example c (VerTestC) in the examples drawer.
Example
This example is for booting the hard disk in 2.0/1.3 modes.
VerCheck 34
If WARN
Place your 1.3 startup-sequence here
Else
Place your 2.0 startup-sequence here
EndIf
Also have a look at the examples drawer.
Notes
Please don't enter V ahead the version number or revision number
after it. So Kickstart version 37.175 translates to 37.
Should any comments come to your mind, please write to:
Jan Hagqvist
Reinolankatu 5 A 1
48600 KARHULA
FINLAND
History
V1.00 (Saturday, 19 June 1993)
The first version of this brilliant program. This one just checks
if the Exec version is same or better than the given version. This
version originally was about 56 bytes long, but it didn't want to be
that tiny so I had to add some 30 bytes of stuff in it before it was
willing to work.
Size = 86 bytes (more or less)
V1.05 (Tuesday, 22 June 1993)
A minor update of a mode that would only accept specific Exec version
number and not all from the specified one to the infinity. I was also
bughunting at least some 30 mins before I realised what was wrong
in this command line: 'VerCheck 37+'. In the monitor it worked
perfectly but not in DOS. Then suddenly I realized that it had to have
something to do with the '+'-sign. So that's why it is '37>' and not
'37+' anymore. I also spent hours to write this document.
Size = 120 bytes
V2.00 (Monday, 28 June 1993)
Now VerCheck includes processor checking too, just in case somebody
would like to check the CPU/FPU stuff too.
Size = 304 bytes