Data compression
Posted: Sun Oct 21, 2007 4:55 am
Is there any data compressors with decompression routines for SMD which can be used in homebrew SMD projects? Mainly for graphic data compression.
I recently made C versions (don't get it wrong, there already was C++ versions for PC made by authors) of decompression routines of two popular ZX Spectrum and MSX compressors:
Hrust - one of best data compressors for ZX, after ZIP, RAR (yes, the famous archivers ported to ZX) and RIP (best native ZX compressor, without PC version unfortunately).
Bitbuster - popular data compressor on MSX scene, made by Team Bomba. Much less effective than Hrust, but with simpler and faster decompression.
Both of these decompressors take few seconds to decompress fullscreen image (35K). Of course, rewritting routines in M68K asm can make they faster to get more acceptable speed. But I currently don't want to rewrite that code (I need to found how to make C functions interface for assembly routines in SGCC first, or make asm version of testing framework). So, I offer this topic to discussion - maybe someone know other suitable compressors or already have complete solution.
Temporary link for my versions of decompression code is here (just headers with code, without testing framework; I tested it with SGCC).
I recently made C versions (don't get it wrong, there already was C++ versions for PC made by authors) of decompression routines of two popular ZX Spectrum and MSX compressors:
Hrust - one of best data compressors for ZX, after ZIP, RAR (yes, the famous archivers ported to ZX) and RIP (best native ZX compressor, without PC version unfortunately).
Bitbuster - popular data compressor on MSX scene, made by Team Bomba. Much less effective than Hrust, but with simpler and faster decompression.
Both of these decompressors take few seconds to decompress fullscreen image (35K). Of course, rewritting routines in M68K asm can make they faster to get more acceptable speed. But I currently don't want to rewrite that code (I need to found how to make C functions interface for assembly routines in SGCC first, or make asm version of testing framework). So, I offer this topic to discussion - maybe someone know other suitable compressors or already have complete solution.
Temporary link for my versions of decompression code is here (just headers with code, without testing framework; I tested it with SGCC).