home *** CD-ROM | disk | FTP | other *** search
/ Micro R&D 1 / MicroRD-CD-ROM-Vol1-1994.iso / disktools / bakup / mrbkdemo112.lha / Docs / Compressor.doc < prev    next >
Text File  |  1992-10-13  |  3KB  |  48 lines

  1.  
  2. The MRBackup Compressor
  3. Version 1.03, 10/13/92
  4.  
  5. The  compressor is a free-running application typically started by MRBackup
  6. to perform data compression/decompression services.  When MRBackup requires
  7. these  services,  it  enters  into  a  "dialogue"  with the Compressor.  By
  8. separating the compression services from the MRBackup program, the MRBackup
  9. program  is  smaller.   Compression  performance  is  also  enhanced by the
  10. streaming   of  data  to/from  the  compressor  (actual  data  movement  is
  11. minimized).
  12.  
  13. The  compressor is implemented as a small overlayed program.  Upon startup,
  14. it  first checks to see if a copy of Compressor is already running.  If so,
  15. it  exits  immediately  (only  one instance of Compressor may be run at one
  16. time).  Otherwise, it creates a public port named "MRCompress".  When it is
  17. idle,  very  little memory resources are required.  When it becomes active,
  18. the  primary  code  segment  is "rolled in" and memory is allocated for the
  19. compression/decompression tables.
  20.  
  21. The  compressor  should  normally  be  kept in the same directory where the
  22. MRBackup  program  is stored.  The logical name "MRBackup:" should point to
  23. this  directory.   If  you  wish to preload the compressor so that MRBackup
  24. will  always  find it available, simply issue the following command, either
  25. from the CLI or from your s:user-startup script:
  26.  
  27.     RUN <nil: >nil: MRBackup:Compressor
  28.  
  29. If  you  wish to stop the compressor, just issue the following command from
  30. the CLI:
  31.  
  32.     MRBackup:Compressor quit
  33.  
  34. Two  versions  of  the  compressor are provided:  one with overlays and one
  35. without   overlays.    The   overlayed  version,  as  delivered,  is  named
  36. Compressor.   The  non-overlayed version is named "Compressor.No_Overlays".
  37. The  overlayed  version  requires very little memory when it is idle, since
  38. the  compression code segment is removed from memory.  This is normally the
  39. preferred  version  to  use.   However, this also means that the Compressor
  40. program file must be readily accessible so that the overlay segments can be
  41. accessed  quickly.   If  you are in a situation where you must run MRBackup
  42. from  floppy  disk, you may prefer to use the non-overlayed version.  To do
  43. this,  simply  rename  the  overlayed  version to "Compressor.Overlays" and
  44. rename the non-overlayed version to "Compressor".  It's easy to distinguish
  45. between  the  two  versions, even after you've renamed them.  The overlayed
  46. version  will  always  be the (slightly) larger of the two.  This is due to
  47. the additional overlay management code required.
  48.