home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / utilities / utilsd / drwimp / Utils / !Crunch / !Help next >
Encoding:
Text File  |  1993-09-01  |  3.4 KB  |  67 lines

  1. Help file for the BASS Cruncher application (version 1.00).
  2. -----------------------------------------------------------
  3. This program is FREEWARE: it may be copied and used freely as long as all the
  4. files are unaltered and is not sold for profit etc. However you're allowed
  5. to use the crunched files where you want, even in commercials... Of course
  6. I cannot be held responsible for any data loss...
  7.  
  8. Important: This is NOT an archiver! The files created are crunched and stay
  9.            crunched for ever!
  10.  
  11. This application is the multitaking version of an old tiny executable made by
  12. me to compress executables just as Acorn's Squeeze does, but usually more
  13. efficiently when mixed data is involved. The latest non multitasking very
  14. non user friendly version was 'CrunchC030'. By the way, the very first version
  15. was a conversion from the CBM64...
  16. Now the interface and the algorithms have been completly reworked in order to
  17. be easy to use and fast. Those who used the older version will notice the
  18. difference in compression speed.
  19. The application works fully multitasking with the interface looking like
  20. RISC OS 3 filer operations windows...
  21. As a bonus, clicking ADJUST on the Cruncher icon will bring a RM merger window.
  22. It allows to build an executable that'll install a given number of modules in
  23. RMA when run. Of course you can later compress it with Cruncher to gain disk
  24. space.
  25. However, it is probable that this program will not be of full interest to real
  26. users, but would rather be enjoyed by real programmers.
  27.  
  28. Technical details.
  29. ------------------
  30. - Should work on all versions of RISC OS, although it has been tested only on
  31.   RO 3.11.
  32. - Should work on any configuration, like floppy-only (like me!) or 1Meg-only.
  33. - You can alter a parameter in the !Run file to set the maximum memory
  34.   claimable by Cruncher: more memory speeds up the algorithm a LITTLE bit and
  35.   could be an advantage when filing is on floppy.
  36. - Launch the !Help application for more info.
  37. - Restrictions: when crunching sprites, only a screen dump of the right width
  38.   and no wastage and no mask will be handled correctly.
  39. - Reliability: it's possible for a file containing no compressable data at its
  40.   start to not decrunch properly, although I've not seen such until now. So
  41.   always check it runs as it should!
  42. - It can correctly crunch files with the load/exec addresses.
  43. - The decompression code uses only at most 604 bytes at the decompressed data
  44.   top. It doesn't need any extra workspace.
  45. - All is written in pure ARM code.
  46. - When running the decompression routine is in SVC mode with interrupts
  47.   unaltered. It doesn't use nor corrupt all R13's. On exit processor mode and
  48.   interrupts and R13 are unaltered, the rest is corrupted.
  49. - The exec address can be entered relative to the load address by prefixing
  50.   with a '+'.
  51.  
  52. About efficiency: usually more efficient than Squeeze or any LZW algorithm when
  53. mixed code is involved, I mean something like demo or application code.
  54. LZW can be a little bit better on pictures and Squeeze a little bit better on
  55. ARM-code-only data. In fact I noticed recently that it's a kind of LZ77
  56. compression scheme!
  57.  
  58. Decompression speed: it IS FAST. I think I can't make it faster since all
  59. registers are fully used... It's not as fast as Squeeze since it's byte
  60. oriented; Squeeze is word oriented so it can use LDM/STM but the drawback is
  61. 'lack' of compression efficiency.
  62.  
  63.  
  64. That's it for now... Happy crunching and hello to other cool hackers!
  65.  
  66. Bernard Jungen for BASS, August 1993.
  67.