home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
d
/
drwimp
/
DrWimp
/
Utils
/
!Linker
/
!Help
next >
Wrap
Text File
|
1997-06-02
|
3KB
|
93 lines
------------------------------------
LINKER
version 2.01 (02-Jun-97)
© Andrew Ayre 1996-97
------------------------------------
INTRODUCTION...
Linker takes a BASIC RunImage file (or similar) and a BASIC library file
which it calls and creates a new RunImage file which is the old RunImage
file plus just the bits of the library file that are required.
This can be very useful if the library is large, and a fair proportion of
it is not used.
LINKER WILL NOT WORK IN A READ-ONLY FILING SYSTEM
USING...
Load in the usual way by double-clicking on the icon. Linker supports
interactive help applications such as Acorn's !Help.
Click on the icon to open the main window, which consists of two large
“drop boxes”. One is for the RunImage to be dropped on and the other is for
the library.
Alternatively you can type the full pathnames into the writeable icons
below.
If you have just added the bits of the library that are needed, any
LIBRARY commands are now redundant, and will have to be removed.
The “Strip LIBRARY” option will make Linker strip LIBRARY commands out of
the final RunImage. The option is on by default, and clicking on the radio
icon allows you to toggle it on and off.
Clicking on “Cancel” will ignore any changes you have made and close the
window. Clicking on “Link” will bring up a save box.
Use the save box in the usual way to specify a place to save the new
RunImage to. You are not allowed to overwrite the original RunImage or the
library as these are needed! and because messing about with your original
copies is a daft thing to do anyway.
If everything you have specified so far is valid then the linking will
begin and a status window will open telling you what is going on. A progress
bar will show how much has been completed of each stage.
The stages are (in order):
Reading RunImage function calls and definitions.
Reading Library function calls and definitions.
Compling functions needed (will take several passes to complete).
Linking RunImage with Library.
If you are using the exact same library (not neccessarily the same actual
file, but a file with the exact same contents) as last time you used Linker,
then it will be recognised and the second stage (listed above) will just
take moment instead of a minute or so.
NOTES...
When I mention the RunImage file it doesn't mean that the the BASIC file
has to be called “!RunImage” or “RunImage”, but is just a name for the main
program that calls the functions in a BASIC library.
All procedures and functions (except the last one) MUST end with a
:
on a line by itself with no preceding spaces.
BlibII tags eg:
*|start <name>
are allowed but they must be on a line by themselves with no preceding
spaces.
CONDITIONS OF DISTRIBUTION...
Linker may be distributed freely as long as all of the files are
included and unaltered and no profit is made.
If you got your copy with the DrWimp programming system then it may be
distributed seperately, but I remind you that the DrWimp system must not be
distributed without Linker.