Dec 312016
 

Roudoudou worked on a compressor / decompressor which uses the LZ48 / LZ49 compression algorithm on the Amstrad CPC and released his work in the CPCWiki forums. The compressor is inspired by the LZ4 compression algorithm of Yann Collet and the modifications fits well to the Z80 CPU of the Amstrad CPC. The advantage of this compression method is, that the decompression code is very small (83 bytes) and very fast. The disadvatage is that there are other compressors which feature a better compression ratio, but require more memory and more time for decompression as well.
You can get more information about the modified algorithm and download the assembly source from the CPCWiki forums. You can also find a version for SDCC / CPCtelera and binary files for Windows there.

LZ48/49 (de)compressor
LZ48/49 (de)compressor
LZ48-49-de-compressor.zip
16.5 KiB
210 Downloads
Details
Dec 312016
 

Docent wrote a decompressor the the LZ4 compression algorithm, which can be used on any Zilog Z80 CPU. The focus of the LZ4 compression algorithm is a fast decompression speed and a small decompression routine. The size of Docents version of the decompression routine is 219 bytes (raw decompression routine under 110 bytes) and it supports the legacy and the newest LZ4 format (except for framing).
You can download the latest version of the decompression code here or at the end of this news.

Features

  • decompresses files packed by lz4 command line packer and raw lz4 compressed data
  • supports legacy and the newest lz4 file format (except framing)
  • fully relocatable code
  • total size of 219 bytes size with raw decompression routine below 110 bytes
  • cpc firmware friendly (no alternate register set used)
  • ROM friendly – no self modifying code or additional memory required
  • simple interface – only start of file in memory and target memory destination required

 

LZ4 Decompressor
LZ4 Decompressor
LZ4-Decompressor.zip
7.0 KiB
145 Downloads
Details

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close