iDecompress

Description #

Decompresses bitpacked data.

Technical Details #

Inputs #

b = length of compressed data.
c = compression factor, either 1, 3, or 15.
hl = Pointer to first byte of compressed data.
de = Pointer to first byte of RAM to store decompressed data.

Outputs #

Data decompressed from hl to de.
hl = Pointer to next byte of compressed data.

Destroyed #

af, bc, de, hl