This is my attempt to describe how the LDP (Line Drawn Pictures) images were stored
in the Mysterious Adventures games. The information seems to be consistent for both
the Spectrum and the Commodore 64 file formats.
Format of data
After the normal data for the Brian Howarth driver, there are a group of
pictures, one for each room (minus room 0 - which is usually just "(C) BH")
Each picture is a stream of bytes indicating what the drawing action is:
(Each parameter is one byte in size)
0xff col |
start of picture, background colour is col |
0xc0 y x |
move to co-ordinates x,y |
0xc1 c y x |
fill, using colour c starting at x,y |
y x |
draw from last position to x,y |
Each picture continues until the next 0xff character.
Screen Details
The screen is based on the ZX Spectrum graphics settings:
Screen size: 254 x 192; 8 colours
Note origin on the Spectrum is sensible (as opposed to the PC!) and is at
the bottom left corner of the screen!
ie
192 ^
|
|
|
|
|
|
0 +--------------->
0 254
The actual area used is only the top half from the range:
x = 0 - 254
y = 96 - 192
The palette settings are:
0 | black | (0,0,0) |
1 | blue | (0,0,63) |
2 | red | (63,0,0) |
3 | magenta | (63,0,63) |
4 | green | (0,63,0) |
5 | cyan | (0,63,63) |
6 | yellow | (63,63,0) |
7 | white | (63,63,63) |
Images
The extracted images:
The Golden Baton
|
Time Machine
|
Arrow of Death Part 1
|
Arrow of Death Part 2
|
Escape from Pulsar 7
|
Circus of Death
|
Feasibility Experiment
|
Wizard of Akryz
|
Perseus and Andromeda
|
10 Little Indians
|
Waxworks
|
|