home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / archiver / pack2prg / removsym.doc < prev    next >
Text File  |  1989-04-05  |  2KB  |  41 lines

  1. When contemplating the PACKing of my entire database, there were two
  2. pitfalls to consider.  The remembering and typing of all of my program
  3. names, (as PACK did not use the GEM file selector), and the several
  4. programs I had run across that wouldn't PACK.
  5.  
  6. The solution to the first one was simple.  Add a selector box to the PACK
  7. program.  This has been done, and is included in this ARC file.  Every
  8. effort was made to avoid possible compatibility problems.  The PACK
  9. program was not reassembled, but simply patched with a GEM call at the
  10. lowest level where the program was doing keyboard input.  The PACK program
  11. is also exactly the same size.
  12.  
  13. A partial solution to unpackable programs is REMOVSYM.PRG.  Most of the
  14. PACKing errors are caused by either having a Symbol Table embedded in the
  15. program, or by having data in the 'Reserved' part of the header.  (PACK
  16. will give an 'Error in Header' message in these cases.)  If a Symbol Table
  17. exists, REMOVSYM will delete it, its associated relocation entries, and
  18. move the fixup table up into its correct place.
  19.  
  20. In the cases of data in the Reserved area, it will give a warning prompt,
  21. and allow you to erase that data also.  At this time, I don't know what
  22. this reserved area is, or what the data in it can be used for.  So far,
  23. the programs where I have erased this data and PACKed them have run just
  24. fine.  Until I find out more information, I suggest keeping the original
  25. file backed up, and thoroughly testing the PACKed version before relying
  26. on it.
  27.  
  28. These other messages cause REMOVSYM to skip the file:
  29. File Header OK - There is no Symbol Table or Reserved Data to fix.
  30. Not Program File - The file requested does not have a program file header.
  31. Not Enough Memory - There is not enough memory to load the selected file.
  32.  
  33. I hope this program helps you in PACKing files.  I don't even save the
  34. originals, because you can always UNPACK to get them back!
  35.  
  36. John Harris
  37. 45346 Graceway Dr.
  38. Ahwahnee, CA 93601
  39. (209)683-6540
  40. GEnie: JHARRIS32
  41.