Copyright 2015 Laurens Holst
Thanks go to Wouter Vermaelen, Louthrax and bore for support and contributions.
Extracts files compressed with the gzip (.gz) format.
By generating the Huffman decompression code, it performs very well compared to other compression tools.
Philips NMS 8245 MSX2 (openMSX) with Sunrise IDE:
Panasonic FS-A1GT turboR (openMSX) with Sunrise IDE:
The DEFLATE algorithm which powers gzip is also used by various other compressed file formats, such as zip, png and vgm. As such this implementation is also used by VGMPlay, which triggered its development, and PNGView.
Run gunzip from MSX-DOS 2, specifying the gzipped file on the command line.
gunzip [options] <archive.gz> <outputfile>
/q Quiet, suppress messages.
Suppresses the output of informational and warning messages. Error messages, however, are always output.
/f Fast, no checksum validation.
Disables checksum validation which increases inflation speed. Use at your own risk.
If no output file is specified, the archive will be tested.
Gunzip is free and open source software. If you want to contribute to the project you are very welcome to. Please contact me at any one of the places mentioned in the project information section.
You are also free to re-use code for your own projects, provided you abide by the license terms.
Building the project is easy on all modern desktop platforms. On macOS and
Linux, simply invoke
make to build the binary and symbol files into the
Windows users can open the
Makefile and build by pasting the lines in the
all target to the Windows command prompt.
To launch the build in openMSX after building, put a copy of
COMMAND2.COM and some GZ files to test with in the
bin directory, and then
make run command.
Additionally, Node.js is required. Download it from their website or install it through your favourite package manager.