+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Miraculum LZSS compressor
Pages: [1]
Author Topic: Miraculum LZSS compressor  (Read 364 times)
Mednafen
Guest
« on: October 14, 2007, 05:28:01 pm »

I wrote a compressor for Miraculum a few months ago, and thought it might be useful for other people...somehow!

The compressor itself is much slower than it really should be, but the data chunks that need to be compressed in Miraculum are fairly
small, so it's not too much of an issue there.

Miraculum uses LZSS with a 256-byte window(8-bit window offsets), 4-bit lengths, and a 1-byte flags byte to mark literals or offsets/lengths.

The format really seems to be suitable for an 8-bit system with limited RAM, especially the PC Engine with its bit-branching instructions.

http://mednafen.sourceforge.net/junk/compress.cpp
tomaitheous
Guest
« Reply #1 on: October 19, 2007, 07:18:14 pm »


  Hmmm.... it needs more "flair"   Wink

Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC