home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
011.lha
/
Commandes
/
FixHunk.doc
< prev
next >
Wrap
Text File
|
1986-11-10
|
2KB
|
50 lines
FIXHUNK 1.2a 7/12/86
FIXHUNK -- This program will modify executable files to allow them to run
in external memory.
The Amiga loader (since ver 1.1) will try to load both CODE and DATA hunks
into FAST ram if available. This causes problems with programs that use
data structures that must be in CHIP ram. Commedore/Amiga provides the
ATOM utility to developers which allows them to modify object code to
specify where hunks will load, but ATOM works only on object modules.
What about all the existing programs available only in executable form?
FIXHUNK is the answer. It works on executable files. It forces all
DATA and BSS hunks in the file to be loaded into CHIP memory. CODE hunks
will still load into FAST ram if available. There is no way to determine
which specific DATA hunk should reside in CHIP ram, so FIXHUNK places them
all there.
Usage: FIXHUNK {-v} filename where -v produces verbose output
FIXHUNK modifies the executable file IN PLACE, so don't modify an original
file. Only modify a copy.
----------------
Changes with version 1.1
Added support for files with imbedded blanks.
(Why do we have to do this? Come on Manx!)
Changes with version 1.2
Fixed bug with allocation table that sometimes clobbered files with a
large number of hunks. Symptom was that the loader complained that
the file was not a load module.
Some files (Musicraft for one) consist of a single code hunk. FIXHUNK
version 1.0 and 1.1 would simply complain that it 'could do nothing
to this file'. Version 1.2 will now inform the user that the entire
file MUST be loaded into CHIP ram and ask permission to do so.
A 'Y' answer will modify the file. A 'N' answer will exit with no
changes.
(I wonder how they make a single hunk file. Cross development?)
Changes with version 1.2a
Changed some message printouts so they only print in the verbose mode.
Added summary of new hunk allocation on exit.
D.J.James