Skip to main content

Sound and music

From files to the game · Sound effects · AdLib music and sounds (ADL) · PC speaker and Tandy sounds (SND)

In brief​

The game has ten sound names, each stored twice: an .ADL file for the AdLib card and a .SND file for the PC speaker or the Tandy sound chip, chosen by the sound driver of EOSPREFS.DAT. One file is loaded at a time. Seven names serve the levels and three the sequences. Music exists only in the .ADL files: the .SND files hold short sound effects.

A file is a library of numbered programs with a table that turns the game's 120 sound numbers into programs. This page says what plays each file and lists what it holds; the pages of the ADL and SND formats say how the original files use their programs. Which event plays which number is on the sound effects page.

How a sound reaches the card. A level's INF file, or the sequence being played, names one of ten sound names; the sound driver of EOSPREFS.DAT chooses the .ADL file of that name for the AdLib card, or the .SND file for the PC speaker or the Tandy chip. When the game plays a sound number from 0 to 119, the sound-effect table of the loaded file gives the program to start, and the driver plays it.
One file is loaded at a time; its table turns the game's sound numbers into programs.

What plays each file​

NameLoaded for
CATACOMBLevels 1, 2 and 3.
FORESTLevel 4.
MEZANINELevels 5 and 6.
SILVERLevels 7, 8 and 9.
AZURELevels 10 to 14.
CRIMSON1Level 15.
CRIMSON2Level 16.
INTROThe program start, the introduction and party creation.
FINALE1The story of the ending.
FINALE2The credits and the last picture of the ending.

Each level names its file in its INF records. Both records of a level with two name the same file.

Party creation​

Party creation has no file of its own: the program loads INTRO when it starts and the introduction loads it again, and no other file is loaded before a level. The creation screen plays sound 13 when it opens and sound 15 when the party is complete.1 In INTRO.ADL, sound 13 is a tune of eight voices lasting 69.3 seconds, and sound 15 is a fade. In INTRO.SND, both are 0, so party creation has no music with the speaker or the Tandy chip. Sound 76, which the creation screens play for their buttons, has no entry in INTRO.ADL, and is 0 in INTRO.SND: it plays nothing with any driver.

AdLib files​

FileBytesProgram numbersDifferent programsInstrumentsSound numbers in useTunesSound effectsSound numbers that start a tune
AZURE.ADL10,543211203133113169522, 52–63, 84, 91, 111
CATACOMB.ADL8,358180179128113129922, 52–59, 84, 91, 111
CRIMSON1.ADL7,8631981511379998822, 58–62, 84, 91, 111
CRIMSON2.ADL9,288198169131103109122, 52–56, 58, 84, 91, 111
FOREST.ADL6,9971511501099798622, 52–56, 84, 91, 111
MEZANINE.ADL8,070180179114104138922, 52–58, 60, 61, 84, 91, 111
SILVER.ADL10,381194193130109159222, 52–62, 84, 91, 111
INTRO.ADL7,8493333451621212, 13
FINALE1.ADL8,40226262611191
FINALE2.ADL13,3491111203101

Program numbers are those present in the file, from 0 without gaps; different programs counts their distinct positions, since several numbers may share one program. Instruments counts the instrument entries present. Sound numbers in use counts the entries of the sound-effect table other than 255, which plays nothing. They divide into the tunes, the sound effects, sound 0, which silences every voice, and one fade in all files but FINALE1.ADL: sound 2 in the level files and FINALE2.ADL, sound 15 in INTRO.ADL.

Speaker and Tandy files​

FileBytesProgramsSound numbers that start a programDifferent programs they start
AZURE.SND5,1906810752
CATACOMB.SND5,1906810354
CRIMSON1.SND5,1906810252
CRIMSON2.SND5,190689754
FOREST.SND5,190689451
MEZANINE.SND5,190689951
SILVER.SND5,1906810253
INTRO.SND1,5298107
FINALE1.SND2,115766
FINALE2.SND1,529800

An entry of 0 starts program 0, which ends at once and only stops the sound in progress, so it is not counted here. No file holds the value 255.

Sources​

Every program of the 20 files of the file inventory was decoded with the schemas ADL.ksy and SND.ksy. The file names are read from the INF files and from load the sound file. See also the sound-effect table.

Footnotes​

  1. The party creation screen, the start menu and the introduction; the sounds are listed under screens and sequences. ↩