TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

FC8 – Faster 68K Decompression (2016)

68 pointsby electricantabout 1 year ago

2 comments

dansalvatoabout 1 year ago
I&#x27;m working on a game for Amiga (another 68k-based platform) and settled on ZX0 to decompress assets on the fly: <a href="https:&#x2F;&#x2F;github.com&#x2F;einar-saukas&#x2F;ZX0">https:&#x2F;&#x2F;github.com&#x2F;einar-saukas&#x2F;ZX0</a><p>I was originally using LZ4, but I switched to ZX0 after learning that it can do in-place decompression, which means I don&#x27;t have to allocate separate memory for the compressed data. I&#x27;m very happy with the compression ratio, and decompression of large assets (~48kb) only takes a few frames on a 7MHz 68000.<p>Also of note is LZ4W, included in Sega Genesis Dev Kit (and discussed in the comments section of OP&#x27;s article), a variant of LZ4 that only uses word-aligned operations. That makes it much faster on the 68000, which can struggle to efficiently handle 8-bit data. More info here: <a href="https:&#x2F;&#x2F;github.com&#x2F;Stephane-D&#x2F;SGDK&#x2F;blob&#x2F;master&#x2F;bin&#x2F;lz4w.txt">https:&#x2F;&#x2F;github.com&#x2F;Stephane-D&#x2F;SGDK&#x2F;blob&#x2F;master&#x2F;bin&#x2F;lz4w.txt</a>
评论 #40211318 未加载
评论 #40205103 未加载
miohtamaabout 1 year ago
In “faster than memcpy” series we have also Blosch for modern CPUs<p><a href="https:&#x2F;&#x2F;www.blosc.org&#x2F;pages&#x2F;blosc-in-depth&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.blosc.org&#x2F;pages&#x2F;blosc-in-depth&#x2F;</a><p>I have never been able to use Blosch myself. But it sounds really interesting, outperforming RAM. Not sure what are the applications - columnar data processing, Parquet files, etc?
评论 #40204459 未加载
评论 #40204309 未加载