CPCWiki forum

General Category => News & Events => Topic started by: NewsBot on 19:01, 31 December 16

Title: Octoate's News - LZ4 decompressor code by Docent
Post by: NewsBot on 19:01, 31 December 16
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)
31 December 2016, 8:00 pm

Docent wrote a decompressor the the LZ4 compression algorithm (https://fastcompression.blogspot.de/2011/05/lz4-explained.html), 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 (http://www.union.org.pl/download/z80/) or at the end of this news.

Features




© Octoate for The Amstrad CPC news portal (http://www.octoate.de/wp), 2016. | Permalink (http://www.octoate.de/wp/2016/12/31/lz4-decompressor-code-by-docent/?pk_campaign=feed&pk_kwd=lz4-decompressor-code-by-docent) | No comment (http://www.octoate.de/wp/2016/12/31/lz4-decompressor-code-by-docent/?pk_campaign=feed&pk_kwd=lz4-decompressor-code-by-docent#comments) | Add to del.icio.us (http://del.icio.us/post?url=http://www.octoate.de/wp/2016/12/31/lz4-decompressor-code-by-docent/?pk_campaign=feed&pk_kwd=lz4-decompressor-code-by-docent&title=LZ4%20decompressor%20code%20by%20Docent)  Post tags: 2016 (http://www.octoate.de/wp/tag/2016/), assembler (http://www.octoate.de/wp/tag/assembler/), cross-development (http://www.octoate.de/wp/tag/cross-development/), decompressor (http://www.octoate.de/wp/tag/decompressor/), docent (http://www.octoate.de/wp/tag/docent/), lz4 (http://www.octoate.de/wp/tag/lz4/), 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:


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.
Title: Re: Octoate's News - LZ4 decompressor code by Docent
Post by: Docent on 00:48, 01 January 17
Quote from: NewsBot on 19:01, 31 December 16
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)
31 December 2016, 8:00 pm

Docent wrote a decompressor the the LZ4 compression algorithm (https://fastcompression.blogspot.de/2011/05/lz4-explained.html), 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 (http://www.union.org.pl/download/z80/) 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



FYI: The latest version already supports framing and files, packed with the latest LZ4 format version 1.5.1.
It takes 250 bytes of code, with raw data decompression routine taking only 94 bytes.
Available here: www.union.org.pl/download/lz4/z80/LZ4_Z80.asm (http://www.union.org.pl/download/lz4/z80/LZ4_Z80.asm)
Title: Re: Octoate's News - LZ4 decompressor code by Docent
Post by: roudoudou on 21:45, 19 December 17
Quote from: Docent on 00:48, 01 January 17
FYI: The latest version already supports framing and files, packed with the latest LZ4 format version 1.5.1.
It takes 250 bytes of code, with raw data decompression routine taking only 94 bytes.
Available here: www.union.org.pl/download/lz4/z80/LZ4_Z80.asm (http://www.union.org.pl/download/lz4/z80/LZ4_Z80.asm)


broken link  >:(
Title: Re: Octoate's News - LZ4 decompressor code by Docent
Post by: Docent on 22:49, 19 December 17
Quote from: roudoudou on 21:45, 19 December 17

broken link  >:(

Thanks for the notification -I changed the dir layout but forgot to add a symlink to keep links to previous location working. It should work now.
Powered by SMFPacks Menu Editor Mod