VGA restoration of the adult camp DOS adventure game Planet of Lust.
HINT: Stuck at the start? Type LUST to proceed.
The original DOS port of Planet of Lust created RLE-encoded EGA images using the default EGA palette. This
was not ideal for representing the... ahem... skin tones that were common in the game. In some cases the screens
look fine, but others look very far from ideal.
The Amiga version of the game contains full-color images, conveniently in 320x200 (which is the exact same
resolution as VGA's linear mode 13h). The palette for each image (plus the standard 16-color EGA palette)
are combined into a new VGA palette. The code for drawing images is replaced with a PCX decoder, but we also
add code for things like palette initialization.
The patch attempts to reproduce what a VGA port would have looked like. Because the VGA decoding is
actually faster than EGA decoding, the patch adds a short sleep after the title screen pops up so the
screen is visible.
This has currently been tested on DOSBox, but not real hardware. We're not doing anything too crazy with
VGA, so it's likely to work.
Don't expect pretty code. This code is good enough to get things patched, but that's it. It's a hack