Compiling lzhuf.c on a modern computer

There's an old data compression computer program named lzhuf.c ("Lzhuf"). It was written in the late 1980s by Haruyasu Yoshizaki. Even today, it is potential useful, if you want to support LHarc format, or certain other compression formats. But it doesn't work correctly when compiled by a modern C compiler. In this post, I'll investigate … Continue reading Compiling lzhuf.c on a modern computer

Notes on PKLITE format, Supplement 3: Checksum

This post is part of a series on PKLITE format. It assumes you have some knowledge of PKLITE-compressed files, and of DOS EXE files in general. For a list of all the posts in the series, see the first post. PKLITE versions 1.50 through 2.01 have a feature, invoked by the "-c" option, that does … Continue reading Notes on PKLITE format, Supplement 3: Checksum

Notes on PKLITE format, Part 7: v1.20 compression

This is a continuation of my series on PKLITE executable compression format for DOS. For a list of other posts, see the first post. In particular, Part 3 is an important prerequisite. In a previous post, I named a then-unknown compression scheme "PKLC-U". In this post, I'll call it "v1.20 compression". I'll refer to all … Continue reading Notes on PKLITE format, Part 7: v1.20 compression

ColoRIX compressed 16-color format

This is a follow-up to my previous post on ColoRIX compressed 256-color images. Here I'll explain how to decode (at least some) compressed 16-color images. The short answer: The compression for 16-color images is the same as for 256-color images, except that the "XOR filter" step doesn't happen. The documentation for "RIX3" format (or "new" … Continue reading ColoRIX compressed 16-color format

Win32 I/O character encoding supplement 3: UTF-8 manifest

For a list of other posts in this series, refer to the first post. A relatively recent Windows software development feature, affecting character encoding, is the ability to request a specific "ANSI" character encoding (or "code page"), presumably UTF-8, using a manifest. I decided to investigate what this really does. This "manifest method" is independent … Continue reading Win32 I/O character encoding supplement 3: UTF-8 manifest

Updated survey of LHarc and LHA

Since my first post on DOS versions of LHarc/LHA, I've found a few more versions of the software. Six of them appear to be original/official, and all of those are Japanese-language: 1.13d, 2.05b, 2.13, 2.52, 2.54, and 2.55. And I found quite a few new modified or hacked versions, two of which I'll discuss: "v1.14a" … Continue reading Updated survey of LHarc and LHA