News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

BriefLZ compression code ported to MASM

Started by Jibz, January 09, 2005, 04:00:17 PM

Previous topic - Next topic

Jibz

Here is a port of my little BriefLZ project to MASM.

BriefLZ is a small and fast open source implementation of a Lempel-Ziv style compression algorithm. The main focus is on speed, but the ratios achieved are quite good compared to similar algorithms.

The included example is compressing the input file in 56k chunks. This is for compatibility with the 16-bit version, and you can get better ratios by using a larger block size.

The full package contains source in C and NASM style assembler, but since a couple of people have asked for a MASM port, here it is :U.

[attachment deleted by admin]

Petroizki

thanks,

Is this the "small" or the "fast" version, i remember seeing two version in the original package?

Jibz

It was the "fast" version.

I have uploaded a new zip above, which contains both the "fast" and "small" versions :U.

Vortex


Ghirai

MASM32 Project/RadASM mirror - http://ghirai.com/hutch/mmi.html

hutch--

Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Jibz

Thanks for all the positive feedback :U.

I updated the attachment above with 'safe' versions of the depackers, which should not read or write outside the bounds they are given, no matter what the input is. These should also be in the next release of BriefLZ.