LZ48/LZ49 (de)compressor for the Amstrad CPC (http://www.octoate.de/wp/2016/12/31/lz48lz49-decompressor-for-the-amstrad-cpc/?pk_campaign=feed&pk_kwd=lz48lz49-decompressor-for-the-amstrad-cpc)
31 December 2016, 9:00 pmRoudoudou 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 (https://fastcompression.blogspot.de/2011/05/lz4-explained.html) 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 (http://www.cpcwiki.eu/forum/programming/lz48-cruncherdecruncher/msg133582/#msg133582). You can also find a version for SDCC / CPCtelera and binary files for Windows there.
© Octoate for The Amstrad CPC news portal (http://www.octoate.de/wp), 2016. | Permalink (http://www.octoate.de/wp/2016/12/31/lz48lz49-decompressor-for-the-amstrad-cpc/?pk_campaign=feed&pk_kwd=lz48lz49-decompressor-for-the-amstrad-cpc) | No comment (http://www.octoate.de/wp/2016/12/31/lz48lz49-decompressor-for-the-amstrad-cpc/?pk_campaign=feed&pk_kwd=lz48lz49-decompressor-for-the-amstrad-cpc#comments) | Add to del.icio.us (http://del.icio.us/post?url=http://www.octoate.de/wp/2016/12/31/lz48lz49-decompressor-for-the-amstrad-cpc/?pk_campaign=feed&pk_kwd=lz48lz49-decompressor-for-the-amstrad-cpc&title=LZ48/LZ49%20(de)compressor%20for%20the%20Amstrad%20CPC) Post tags: 2016 (http://www.octoate.de/wp/tag/2016/), arnaud (http://www.octoate.de/wp/tag/arnaud/), assembler (http://www.octoate.de/wp/tag/assembler/), compression (http://www.octoate.de/wp/tag/compression/), cpctelera (http://www.octoate.de/wp/tag/cpctelera/), cross-development (http://www.octoate.de/wp/tag/cross-development/), decompression (http://www.octoate.de/wp/tag/decompression/), development (http://www.octoate.de/wp/tag/development/), lz4 (http://www.octoate.de/wp/tag/lz4/), lz48 (http://www.octoate.de/wp/tag/lz48/), lz49 (http://www.octoate.de/wp/tag/lz49/), roudoudou (http://www.octoate.de/wp/tag/roudoudou/), sdcc (http://www.octoate.de/wp/tag/sdcc/), source (http://www.octoate.de/wp/tag/source/), source code (http://www.octoate.de/wp/tag/source-code/)
(http://cpc-live.com/topsites/button.php?u=Octoate) (http://cpc-live.com/topsites/) Related posts:
- LZ4 decompressor code by Docent (http://www.octoate.de/wp/2016/12/31/lz4-decompressor-code-by-docent/?pk_campaign=feed&pk_kwd=lz4-decompressor-code-by-docent)
- CPCtelera v1.1 – Amstrad CPC game engine for C developers (http://www.octoate.de/wp/2015/06/09/cpctelera-v1-1-amstrad-cpc-game-engine-for-c-developers/?pk_campaign=feed&pk_kwd=cpctelera-v1-1-amstrad-cpc-game-engine-for-c-developers)
- CPCtelera v1.3 – Amstrad CPC game engine for C developers (http://www.octoate.de/wp/2015/10/17/cpctelera-v1-3-amstrad-cpc-game-engine-for-c-developers/?pk_campaign=feed&pk_kwd=cpctelera-v1-3-amstrad-cpc-game-engine-for-c-developers)
Source: The Amstrad CPC news portal (http://www.octoate.de/wp)
---
This news item first appeared on Octoate's Blog and was aggregated through RSS for the forum.