home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
CPM
/
UTILS
/
SQUSQ
/
COMPRESS.ARK
/
COMPRESS.DOC
< prev
Wrap
Text File
|
1989-03-14
|
1KB
|
23 lines
3/14/89
COMPRESS is an adaptation for CP/M of the Unix 'compress' from Usenet, as
found in COMPRES4.ARC in the GEnie CP/M library. It does both compression
and decompression of files, using adaptive LZW techniques. Documentation of
usage can be found in the source. In no way is COMPRESS a replacement for
the CRUNCH-UNCR(unch) combination, since the latter is much faster and more
efficient. COMPRESS is useful if you enjoy examining code.
The COMPRESS program was compiled with Aztec C, v. 1.06d. It should compile
properly with any C compiler which implements the #ifdef, #ifndef, and #else
preprocessor directives, and which is not confused by often unimplementable
(for the 8080 and Z80) register variables. A necessary kludge was to use the
ftell() function to circumvent CP/M's lack of a filesize, as found in Unix and
MSDOS. No attempts were made to rehash the code for more convenience of use,
speed, or compactness. Depending on compiler specifics and available TPA, an
attempt to compile with the DEBUG option on will probably create code which is
too demanding of memory, bringing the system to a crash when the .COM file is
run.
Bob Presswood
(R.PRESSWOOD on GEnie)