[comp.unix.questions] Uncompressing 16 bits on a 15 bit system

geoff@yasc.PLA.CA.US (Geoff Leach) (01/04/89)

On a Fortune 32:16 with 1M RAM and process size 512K, it appears
that compress can do at most 15 bits of compression/decompression.
Does anyone know of a way to uncompress 16 bits in such a situation?

debra@alice.UUCP (Paul De Bra) (01/05/89)

In article <228@yasc.PLA.CA.US> geoff@yasc.PLA.CA.US (Geoff Leach) writes:
>On a Fortune 32:16 with 1M RAM and process size 512K, it appears
>that compress can do at most 15 bits of compression/decompression.
>Does anyone know of a way to uncompress 16 bits in such a situation?

I would think that a 16-bit uncompress (and compress) should be able to
run in 512K.
You may want to try to compile compress for 16 bits and see if it runs.
I think compress uses about 400Kbytes in a big array, some 20K of other
variables, and the rest is code. But it's not a very big program so it
should fit in the remaining 90K.

Paul.
-- 
------------------------------------------------------
|debra@research.att.com   | uunet!research!debra     |
------------------------------------------------------

root@conexch.UUCP (Larry Dighera) (01/10/89)

In article <228@yasc.PLA.CA.US> geoff@yasc.PLA.CA.US (Geoff Leach) writes:
>On a Fortune 32:16 with 1M RAM and process size 512K, it appears
>that compress can do at most 15 bits of compression/decompression.
>Does anyone know of a way to uncompress 16 bits in such a situation?

There is a version of 16-bit uncompress available for download on The
Consultants' Exchange BBS in the unix files area that will run 
in 256K of RAM.  I have sent a copy of the source code to the original
poster.  If anyone else needs a copy, the name of the file is pcuncomp.arc.
You'll find the phone number in the .signature.

Larry Dighera


-- 
USPS: The Consultants' Exchange, PO Box 12100, Santa Ana, CA  92712
TELE: (714) 842-6348: BBS (N81); (714) 842-5851: Xenix guest account (E71)
UUCP: conexch Any ACU 2400 17148425851 ogin:-""-ogin:-""-ogin: nuucp
UUCP: ...!uunet!turnkey!conexch!root || ...!trwrb!ucla-an!conexch!root