home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / nethack-3.1 / sys / amiga / splitter / split.doc < prev    next >
Encoding:
Text File  |  1993-01-09  |  1.3 KB  |  59 lines

  1.     Splitter            [split.doc 93/01/08]
  2.  
  3. Usage:
  4.     splitter [-Cc_prototype] [-Dd_prototype] [-ddir_prototype] binary
  5.  
  6. Default prototypes:
  7.     d: %n.dir
  8.     C: %n.c%C
  9.     D: %n.d%D
  10.  
  11. Prototypes:
  12.     %n    base file name
  13.     %C    current code file #
  14.     %D    current data file #
  15.  
  16. Creates:
  17.     binary.dir        directions file
  18.     binary.d00        data files
  19.     binary.d01 ...
  20.     binary.c00        code files
  21.     binary.c01 ...
  22.  
  23. Format of the directions file (subject to change):
  24.     Cbinary.c00
  25.     Cbinary.c01
  26.     Cbinary.c02
  27.     Dbinary.d00
  28.     Dbinary.d01
  29. The above entries may be edited to reflect the location of the various files
  30. if it is necessary for them to be moved by the user.  All C entries must
  31. preceed all D entries.
  32.  
  33. Maximum output file size is 800K (819200 bytes) - this leaves just enough
  34. space on an empty floppy for a small icon.
  35.  
  36. Code file contents:
  37. The first code file contains:
  38.     the (modified) HUNK_HEADER from the original binary
  39.     (followed by)
  40. All code files contain:
  41.     HUNK_CODE's from the original binary
  42.  
  43. Data file contents:
  44.     HUNK_BSS's from the original binary
  45.     HUNK_DATA's from the original binary
  46.  
  47. COMPILING
  48.     [SASC5]
  49.     lc -L splitter.c arg.c
  50.  
  51. BUGS
  52.     The present system for generating multiple files is a hack -
  53.     multi.[ch] should be upgraded instead.
  54.  
  55.     Many optimizations for minimizing the size of the output file
  56.     could/should/will be added.
  57.  
  58.     Not tested with SASC 6.0 yet.
  59.