home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 011.lha / Commandes / FixHunk.doc < prev    next >
Text File  |  1986-11-10  |  2KB  |  50 lines

  1.                    FIXHUNK 1.2a            7/12/86
  2.  
  3. FIXHUNK -- This program will modify executable files to allow them to run
  4. in external memory.
  5.  
  6.   The Amiga loader (since ver 1.1) will try to load both CODE and DATA hunks
  7. into FAST ram if available.  This causes problems with programs that use
  8. data structures that must be in CHIP ram.  Commedore/Amiga provides the
  9. ATOM utility to developers which allows them to modify object code to
  10. specify where hunks will load, but ATOM works only on object modules.
  11.  
  12. What about all the existing programs available only in executable form?
  13.  
  14. FIXHUNK is the answer.  It works on executable files.  It forces all
  15. DATA and BSS hunks in the file to be loaded into CHIP memory.  CODE hunks
  16. will still load into FAST ram if available.  There is no way to determine
  17. which specific DATA hunk should reside in CHIP ram, so FIXHUNK places them
  18. all there.
  19.  
  20. Usage:  FIXHUNK {-v} filename   where -v produces verbose output
  21.  
  22. FIXHUNK modifies the executable file IN PLACE, so don't modify an original
  23. file.  Only modify a copy.
  24.  
  25. ----------------
  26. Changes with version 1.1
  27.  
  28.    Added support for files with imbedded blanks.
  29.       (Why do we have to do this?  Come on Manx!)
  30.  
  31. Changes with version 1.2
  32.  
  33.    Fixed bug with allocation table that sometimes clobbered files with a
  34.       large number of hunks.  Symptom was that the loader complained that
  35.       the file was not a load module.
  36.    Some files (Musicraft for one) consist of a single code hunk.  FIXHUNK
  37.       version 1.0 and 1.1 would simply complain that it 'could do nothing
  38.       to this file'.  Version 1.2 will now inform the user that the entire
  39.       file MUST be loaded into CHIP ram and ask permission to do so.
  40.       A 'Y' answer will modify the file.  A 'N' answer will exit with no
  41.       changes.
  42.         (I wonder how they make a single hunk file.  Cross development?)
  43.  
  44. Changes with version 1.2a
  45.  
  46.    Changed some message printouts so they only print in the verbose mode.
  47.    Added summary of new hunk allocation on exit.
  48.  
  49. D.J.James
  50.