Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #958

RE: LZW decompressor

From Mark P M Lim <marklim@macgui.com>
Newsgroups comp.sys.apple2.programmer
Subject RE: LZW decompressor
Date 2013-11-08 09:36 +0000
Organization Mac GUI
Message-ID <marklim-1383903408@macgui.com> (permalink)

Show all headers | View raw


While attempting to build the AppleIIGS emulator GUS from its source code, I
noticed there is a folder named Disk. Within this folder, is an
implementation of a decompressor class called DecompressorShrinkIt written
by Andy Nicholas etal.

Overall, the source code for the decompressor classes appears to be
well-organised. In particular, the method GetCode looks neat. The decoding
logic of UnpackLZW appears to be similar to that of the unix utility
compress.

I imported the necessary source files into an XCode project, made some
modifications and tried to uncompress an item from a ShrinkIt archive. The
compressed file item could only be partially inflated; the XCode debugger
has features that allow one to view the contents of variables as well as
memory blocks. I tried with a few ShrinkIt archives but was unable to get
the original uncompressed file(s).

Just wondering if the decoder (UnpackLZW) is compatible with the encoder of
ShrinkItGS. The decoder was originally meant to inflate sdk (not shk) files 

Regards.

Back to comp.sys.apple2.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

RE: LZW decompressor Mark P M Lim <marklim@macgui.com> - 2013-11-08 09:36 +0000
  RE: LZW decompressor D Finnigan <dog_cow@macgui.com> - 2013-11-09 18:34 +0000
    RE: LZW decompressor Mark P M Lim <marklim@macgui.com> - 2013-11-10 02:37 +0000
      RE: LZW decompressor Mark P M Lim <marklim@macgui.com> - 2013-11-23 02:31 +0000
        Re: LZW decompressor markpmlim@yahoo.com.sg - 2013-12-24 18:51 -0800
          Re: LZW decompressor Mark P M Lim <marklim@macgui.com> - 2013-12-28 01:51 +0000
  Re: LZW decompressor denisbytezone@gmail.com - 2014-03-20 00:37 -0700
    Re: LZW decompressor Mark P M Lim <markpmlim@yahoo.com.sg> - 2014-03-20 22:28 +0000
      Re: LZW decompressor Denis Molony <denisbytezone@gmail.com> - 2014-03-21 16:26 -0700

csiph-web