home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 244 / 244.d81 / t.packmeister < prev    next >
Text File  |  2022-08-26  |  3KB  |  113 lines

  1. u
  2.      BYTES: P A C K M E I S T E R
  3.  
  4.     Program and Text by Jeff Jones
  5.  
  6.  
  7. [DAVE'S RAVE:] I used PACKMEISTER and
  8. DTEXT to tighten up the Super LOADSTAR
  9. Library (on Side 4) -- and thought you
  10. might like having these tools easily
  11. available.
  12.  
  13.  
  14.     PACKMEISTER is LOADSTAR's prefered
  15. method of packing text. Anyone
  16. creating disks for use with STAR
  17. LOADER or DTEXT (on this issue) can
  18. now flawlessly batch process "t."
  19. files.
  20.  
  21.     The center of this incarnation is
  22. Gene Barker's (MADMAN SOFTWARE)
  23. packing algorithm. I had to give you
  24. an easy way to pack your EDSTAR files
  25. rather than some quick and dirty
  26. interface.
  27.  
  28.  
  29.  USING PACKMEISTER
  30.  {SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}
  31.  
  32.     This is a straightforward
  33. utilitarian procedure. Select the
  34. mode of operation: do you want to
  35. pack t.files or unpack p.files? By
  36. the way, your files [must] be named
  37. with those prefixes, and must be PRG
  38. files.
  39.  
  40.     If you have a ton of files that
  41. need to be renamed with t.prefixes,
  42. you can use DISK SWEEPER, by me,
  43. published on LOADSTAR #97. It'll
  44. batch rename, adding prefixes or
  45. removing suffixes.
  46.  
  47.     PACKMEISTER will pack an EDSTAR
  48. file, or any legal text file into a
  49. "p." file. These files can be BLOADed
  50. using the DTEXT utility (found on this
  51. issue). DTEXT will BLOAD and
  52. decompress the file into any area of
  53. memory you want. You can then use
  54. Mr.Mouse's RACK command to turn the
  55. file into a virtual string array.
  56.  
  57.     Just BLOAD the proper DTEXT
  58. routine, and:
  59.  
  60.    SYSaddr,"file",device,location
  61.  
  62.  where [location] is the address where
  63. you want to LOAD the packed file.
  64. Remember, the packed file won't be
  65. packed once it's LOADed.
  66.  
  67.     The packing algorithm doesn't
  68. use any variable space, and is pretty
  69. fast. We could have used LZS
  70. compression, but that would consume
  71. 24K of variable space, which may crowd
  72. your program. The cost of using no
  73. variable space is that some characters
  74. are illegal.
  75.  
  76.   1-12 are illegal
  77.   96-192 are illegal
  78.   220-246 are illegal
  79.  
  80.     The following characters are
  81. exceptions, and are allowed, since you
  82. might want to draw nice boxes:
  83.  
  84.  146, 163, 171, 173, 174, 176, 177,
  85.  178, 179, 189, 192, 221
  86.  
  87.     These are the CMDR-qweraszx,
  88. and other characters used in drawing
  89. boxes, like SHIFT-PLUS.
  90.  
  91.     The program automatically remaps
  92. SHIFT SPACEs into SPACEs, as well as
  93. some of the box characters that are
  94. duplicated (such as 171 and 235).
  95.  
  96.     NOTE: 1581/CMD users, this feature
  97. will batch process up to 256 files. If
  98. you have a directory with more than
  99. 256 t. or p.files in it -- you
  100. SHOULDN'T -- copy the files you want
  101. to work with to another disk.  Note
  102. that the requestor looks at t.files
  103. and p.files exclusively, so you can
  104. have the directory filled with other
  105. things.  And since it looks at the
  106. t.files and p.files separately, you
  107. won't have to worry about keeping
  108. packed and text files on the same
  109. disk.
  110.  
  111.  JJ
  112.  
  113.  
  114.