Updated September 2009; see History
VERSYS <wildspec>
The VERSYS displays version and resource information associated with an A-Shell LIT program that relates to the environment in which it was created. For example:
.VERSYS DIR
DIR.LIT -- A-Shell Version & System Information:
File Version: 1.5(125)
System Resource: ashell[74]
System Resource: cmdlin[24]: max devs = 300, max ppns = 512
The file version can also be gotten from the DIR/V command. But DIR/V cannot tell you the details about the ashell and cmdlin resource files, which were used to compile this copy of DIR. Periodically we update these resource files, which when used to re-generate the LIT commands, may create subtle differences which are not reflected in the version number.
VERSYS.LIT shows the program header flags for RUN and LIT files (which indicate how the program was compiled and whether it is compatible with AMOS). Note that it cannot distinguish whether /A was used when compiling (although it can distinguish /AV, which implies /A), and it cannot tell between /X:1, /X:2 and /D, all of which show as /X and are incompatible with AMOS). This version of VERSYS is backwards compatible with A-Shell 4.8.
History
2009 September, A-Shell 5.1.1159, VERSYS.LIT 3.0(107): was modified to support the run header bit indicating that the program uses dynamic variables. It identifies those programs compiled under 1159 as "5.1.1159 only", and newer ones as "5.1.1160+".