aPLib is a
general-purpose compression library written by Jørgen Ibsen, based
on his aPACK executable compressor. Dwedit ported the decompression code
Z80 for TI calculators, and I adjusted it for Sega 8-bit systems,
targetting the WLA DX assembler.
This is based on my Pucrunch code, but I was
pleasantly surprised to find that Z80 aPLib compresses better and uses
less RAM and ROM.
Features:
Proper, strong compression from a well-used algorithm
Should be bug-free since it's been used for years
Example code showing how to use it for decompressing data and also
as a loader for an entirely compressed program
1/12/2008: v1.2: Fixed code to decompress directly to VRAM. Updated compressor to support decompression, be very tiny, and have a broken %f handler.
27/5/2006: v1.1: Added code to decompress directly to VRAM.
25/3/2006: I've updated it to use WLA DX's .ramsection syntax, and also
optimised a dozen bytes off the ROM size.