[comp.sys.apple] SQ and USQ algorithms

delton@pro-carolina.cts.COM (Don Elton) (05/26/88)

Someone had posted a note looking for details of the SQueeze and UnSQueeze
algorithms that I ported to ProDOS.  The ORCA/M source code to my stuff is in
the public domain (for SQ and USQ) and is available on Compuserve and some
other places I imagine.  The algorithms were first seen by me at least on CP/M
systems and my 6502 code is basically a hand-compilation of C and Pascal
sources for these utilities under CP/M and/or MS-DOS.  The Apple SQ and USQ
are completely compatible with the CP/M, MS-DOS, and UNIX counterparts.  USQ.C
compiled without errors with APW C but SQ.C wouldn't and I don't have enough C
experience to do the conversion to create ECP16/APW/ORCA compatible EXE files
for SQ and USQ so I just use the 8-bit assembler versions (which are probably
faster than anything the high level compilers could produce anyway).  The SQ
and USQ in BLU were written using my ORCA/M source modified by Floyd Zink to
fit his utility (and to fix a bug which has subsequently been fixed in my
originals).