home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Millennium Time Capsule
/
AC2000.BIN
/
disks
/
ac2_disk
/
comp_fix
/
compfix.doc
< prev
next >
Wrap
Text File
|
1996-03-07
|
2KB
|
53 lines
STOS Compiler Fix version V1.0
by L.J.Greenhalgh
Pd
The author is not responsible for any damage which may result
to your system as a result of using this progam.
At compile time the STOS compiler inserts a table into all
compiled progams which contains the addresses of certain TOS routines.
The address of these routines varies depending on the TOS version.
Officially STOS supports up to TOS 1.62, however with this fix the
tables for up to 11 different versions of TOS can be inserted into
compiled STOS programs automatically. This means your compiled
programs can automatically work on the Falcon and TOS 2.06. On the
disc are separate data files for the most popular TOS versions called
def????.dat where the question marks signify the TOS version.
Installation
copy all the def????.dat files into your compiler directory.
copy the file compfix.bas into the same directory as your compiler.acb
program.
ensure that you perform the following operation on a copy of your
compiler .acb.
Run STOS
type:
load "compiler.acb" <return>
merge "compfix.bas" <return>
your compiler has now been updated, save it under a different name for
example save"compiler2.acb." <return>.
When you now compile a STOS program into a .prg the compiler will
patch the program for all the tos versions contained in the compiler
directory, it will tell you when the patch is complete. You can now
save the program as normal.
Note that for the patch to take place you must select the compile to
memory option from the compiler screen.
The data files are exactly the same as the data files produced by the
STOS Fix program by Robert Quezeda, and are also utilised by Anthony
Jaques Generic STOS Fixers. This means that if any more versions of
TOS appear you can compile STOS programs which will work on an
updated TOS, providing you have the appropriate .dat file, just ensure
that you have no more than 11 .dat files in the compiler directory.
enjoy.