Analysis model: gpt-5.5 xhigh
A Necromancer Demo by Fairlight - Technical Dissection
A Necromancer Demo is a 1992 MS-DOS production by Fairlight. Pouet lists it
as A Necromancer Demo by Fairlight, platform MS-Dos, type cracktro, with
release date March 1992. Demozoo lists the same production as a 1992 MS-DOS
demo by Fairlight and credits Necromancer for code and The Sarge for graphics.
The old Hornet catalogue names the archive more tersely as Fairlight by Necromancer under fairlig.zip.
Release year: 1992
The code is much more interesting than the short screen sequence suggests. The
main executable is a PKLITE-packed MZ file with the high-CS entry trick,
which restores into a COM-like DOS image. That recovered image then uses a
Borland/Turbo-style startup shell, loads the external FLT-SND data file into
allocated DOS memory, switches into a direct VGA path, uses retrace and PIT
timing, clears and loads DAC entries, and performs the central graphic work
with planar A000h routines. The most important recovered inner loop is a
four-plane transparent blitter where marker byte 40h means "advance without
writing" and every non-marker byte is written through the active VGA plane.
This is a static reconstruction. I ran the executable under DOSBox-X far enough
to confirm that it starts, but I did not get reliable local runtime screenshots
at first. A later DOSBox-X pass reached the Use Soundblaster (Y/N): gate and
then produced a one-frame magenta startup fragment, so the local runtime probe
is at least visible even though it still does not reach the full logo scene.
The first runtime image below is a compact contact sheet from that probe; the
public Pouet screenshot remains the clean reference for the final effect.
Sources
- Pouet production page: https://www.pouet.net/prod.php?which=23876
- Demozoo production page: https://demozoo.org/productions/173587/
- scene.org file-info page for the Demozoo-linked preservation archive: https://files.scene.org/view/demos/compilations/lost_found_and_more/a_necromancer_demo.zip
- scene.org Hornet 1992 directory: https://files.scene.org/browse/mirrors/hornet/demos/1992/
- Hornet archive search result for the old catalogue name: https://hornet.org/cgi-bin/scene-search.cgi?search=fairlight
- Hornet archive download used for this local analysis: https://files.scene.org/get/mirrors/hornet/demos/1992/fairlig.zip
- Pouet screenshot copied locally: https://content.pouet.net/files/screenshots/00023/00023876.gif
Visual Reference



The public screenshot matches the code shape: a dark VGA screen, tall
FAIRLIGHT letters, a bright central flare, a grey cracked landscape or floor
band, and small pixel highlights. The recovered routines are consistent with a
compact 1992 landscape/logo sequence driven by image blocks, palette updates,
font rendering, star/dot or meter tables, and sound data from FLT-SND.
Runtime-To-Code Concordance
The visual evidence is deliberately split: the local DOSBox-X probe proves the startup/sound gate and a first visible VGA fragment, while the public Pouet GIF and generated runtime map are the references for the complete logo scene. The recovered code explains both without pretending that the partial local run captured the whole sequence.
| Visual evidence | Code path / data path | What it proves |
|---|---|---|
Local DOSBox-X contact sheet with Use Soundblaster (Y/N): and magenta startup fragment |
PKLITE restore reaches the real runtime image, Borland-style startup runs, FLT-SND loader at C05A is on the path, and the program reaches VGA setup around BB52. |
The archive is executable and enters the expected runtime path, but the local capture is only a partial probe. |
Public Pouet GIF with FAIRLIGHT logo, central flare, cracked floor, and highlights |
Direct VGA setup, DAC blank/load routines, CRTC programming, A000h/9000h clears, C0F5 transparent planar blitter, rectangle helpers, and font masks. | The final screen is built from layered VGA data operations, not from a single text-mode or BIOS-only screen. |
| Generated runtime map image | Archive/MZ/PKLITE restore boundary, FLT-SND allocation, VGA/timer/palette families, and C0F5 source-to-plane drawing path. |
The diagram is a code-navigation map for the article, not a replacement for runtime capture. |
| Tall logo and landscape/floor block in the Pouet frame | C0F5 uses VGA sequencer map masks 0102h, 0202h, 0402h, and 0802h, stepping source bytes by four and using 40h as transparent. |
The main picture data is preformatted for four VGA planes; transparency preserves already-drawn background pixels. |
| Centered or horizontally adjusted picture placement | Caller at BE82 selects source segment 300Dh, destination A000:00F0, row count 0087h, and the C0F5 row steps 013Eh source / 0140h destination. |
The large visual block is inserted with explicit placement and row stride, explaining the centered landscape/logo layout. |
| Small text/labels and short title material | Text routine near 3DD3 calls glyph-mask renderer C011, using 8-row masks, carry-bit tests, and 0140h row stride. |
Text is rendered as transparent bit masks into the same VGA surface, not stored only as full-screen bitmaps. |
| Small highlights, bars, dots, or meter-like cells | Conditional plot helper BEFC, doubled-dot helper BF23, rectangular clear/copy helpers, and the 60-byte table around 1EED:1227h. |
The public screenshot's fine details fit table-driven overlays on top of larger image blocks. |
| Timed palette/video update behaviour inferred by the static path | Retrace wait BBCE, PIT handler BC09, installer/calibration BC2D, and palette routines including direct DAC writes and BIOS AX=1012h table load at BFF0. |
The intro has the usual early-1990s timing split: compact VGA/palette changes synchronized around retrace instead of brute-force full redraws. |
| Missing reliable local full-scene screenshots | Evidence-limits section and the public screenshot boundary. | Exact effect ordering and durations remain open; the recovered inner loops are still strong enough to explain the visible final screen. |
So the page should be read as a static reconstruction with bounded runtime confirmation: startup and VGA entry are locally observed, while the full Fairlight logo scene is interpreted through the public screenshot and the recovered planar/palette/font/timer code.
Archive And File Shape
Local hashes from the Hornet archive path:
684f2368fcaeca269e47558211fc1788245fe0e8d5887fca8c60ac90b0ebe685 fairlig.zip
535624a0d0e345e822ea02cb2f70e269a05d08ce0b7bd7d10ee5990e84e766d7 FLT-1.EXE
8713d7ff83748b7cd2e6d846af1787f1500f68bd860443a6713ac117919356c5 FLT-SND
b63c9799c2ef1016c7e40e425378bea6c08ca55b7e223ebd296ce1ba4b609dbc restored image after PKLITE
e8fe352fb11880cf4d0cfee06c42424a6f8a02b86525037fd5e4944c060b1b20 2 MiB emulator memory dump at restore stop
390fa8d0bd1ed222da49ef460c1f7e2b9b7dea6fe863208762e9aba6bec972eb fairlight-necromancer-pouet.gif
39ba396fc7011aafb98e94ea464e6fae3d5da9d30a802198ed5b5e1cc8cc8413 fairlight-necromancer-runtime-map.png
The Hornet ZIP contains just the executable and the external sound/data file:
FLT-1.EXE 44,475 bytes 1992-03-31 21:35
FLT-SND 57,698 bytes 1992-02-24 19:45
The Demozoo-linked scene.org preservation archive is a later repack named
a_necromancer_demo.zip; scene.org's file-info page lists FLT-1.EXE,
FLT-SND, and FLT.NFO. For this dissection I used the smaller Hornet
fairlig.zip because it is the exact old catalogue target and contains the
same two runtime files needed by the code path.
FLT-SND begins with:
46 6c 65 74 63 68 00 00 ... 42 4d 4f 44 32 53 54 4d
F l e t c h ... B M O D 2 S T M
Its strings include Fletch, BMOD2STM, SCRMG, Fletch1 through
Fletch11, and MixSynth3. That looks like a converted module/sound bank
plus playback data rather than a simple raw sample. The executable contains
code that opens this file, sizes it, allocates a DOS memory block, and reads it
in large chunks.
MZ And PKLITE Carrier
FLT-1.EXE is an MZ executable and also has a PKLITE signature:
!PKLITE Copr. 1990-91 PKWARE Inc. All Rights Reserved
The header is characteristic of PKLITE:
physical file size 44,475 bytes
declared image size 44,475 bytes
header size 160 bytes
relocation entries 1
CS:IP at entry fff0:0100
SS:SP 0adc:0200
minalloc 2683h
maxalloc ffffh
relocation table 0052h
The important field is CS=FFF0h. DOS loads the image at some allocation
segment; adding FFF0h wraps the entry segment back near the load base while
still letting the packer use a weird-looking legal MZ entry. In the emulation
layout I used:
PSP segment 0FF0h
image load 1000h
entry CS:IP 0FF0:0100
initial DS/ES 0FF0h
After applying the one MZ relocation and letting PKLITE run, the restored
program body appears at 1000:0000 as a COM-like image. The first bytes are:
ba ed 1e 2e 89 16 13 02 b4 30 cd 21 8b 2e 02 00
Disassembled as the new runtime entry:
mov dx,1eedh
mov cs:[0213h],dx
mov ah,30h
int 21h
mov bp,[0002h]
...
That first store is the key to the rest of the program. The runtime's main
data segment is 1EEDh, and many later routines explicitly load DS=1EEDh
before touching state variables, palette tables, animation counters, and
vector-save slots.
Restore Boundary
The packer was emulated until the restored image made its first actual DOS call:
step 958045
INT 21h at 1000:000c
AX=3000h
DX=1EEDh
DS=0FF0h
ES=0FF0h
SS=201Dh
SP=0080h
AX=3000h is DOS get-version. At that point the packed carrier has done its
job, and the code at 1000:0000 is no longer the PKLITE stub; it is the real
demo runtime. That recovered image is the basis for the code offsets below.
One caveat: because this is a packed, relocated real-mode program, offsets in
this article are logical recovered-image offsets, not physical offsets in the
packed FLT-1.EXE. The numbers are still useful because they identify stable
blocks inside the restored image.
Runtime Startup
The first section is a DOS runtime shell rather than effect code. It performs these jobs:
1. Store 1EEDh as the runtime data segment.
2. Query DOS version with INT 21h AH=30h.
3. Read PSP and allocation information.
4. Shrink the process memory block with INT 21h AH=4Ah.
5. Save selected interrupt vectors with INT 21h AH=35h.
6. Install a local handler for runtime exceptions.
7. Clear the data area at DS=1EEDh.
8. Read BIOS time ticks with INT 1Ah AH=00h.
9. Run init-table records.
10. Far-call into the real demo body.
11. Run cleanup-table records.
12. Restore saved vectors and exit through INT 21h AX=4Cxx.
The data clear is small but important:
mov ax,1eedh
mov es,ax
mov di,0b6ah
mov cx,12f2h-0b6ah
xor ax,ax
rep stosb
That means 1EED:0B6A..12F1 is runtime state, not immutable packed data.
Later code uses this region for font pointers, scroll or meter tables,
animation values, vector-save words, and the 1227h byte table used by a
higher-level visual loop.
The init/finalization dispatcher at 01B2 walks records that are six bytes
wide:
record +0: priority / active marker
record +1: call kind flag
record +2: offset
record +4: segment
The loop repeatedly finds the lowest priority byte that is not already FFh,
marks it as FFh, then calls the target:
while true:
best = none
for record in table:
if record.priority != FFh and record.priority < best.priority:
best = record
if best is none:
break
old = best.priority
best.priority = FFh
if old == 0:
near call best.offset
else:
far call best.segment:best.offset
This is a standard compiled-language support shape: constructors, destructors, or module startup functions are sorted by a compact priority byte. The real demo is still underneath, but it sits behind this library-style boot layer.
External FLT-SND Loader
The routine at C05A is a plain DOS whole-file loader. Its job is to open
FLT-SND, determine the file length, allocate enough paragraphs, and read the
file into the allocated segment.
The control flow is:
mov ah,3dh
xor al,al
mov dx,offset "FLT-SND"
int 21h ; open read-only
jc load_error
mov bx,ax ; file handle
mov ax,4202h
xor cx,cx
xor dx,dx
int 21h ; seek EOF, size in DX:AX
; size to paragraphs, rounded up
shr ax,4
inc ax
mov bx,ax
mov ah,48h
int 21h ; allocate memory block
jc load_error
mov [394ah],ax ; remember load segment
mov ax,4200h
xor cx,cx
xor dx,dx
int 21h ; seek start
Then it reads in chunks:
segment = allocated_segment
while true:
DS = segment
AH = 3Fh
BX = file_handle
CX = 8000h
DX = 0000h
INT 21h
if AX != 8000h:
close file
return loaded_segment
segment += 0800h
The increment by 0800h paragraphs is exactly 8000h bytes, so the next read
continues immediately after the previous 32 KiB chunk. This is careful old DOS
code: it does not assume the file fits under one DS:DX offset window.
The local archive's FLT-SND file is 57,698 bytes, so the loader performs one
full 32 KiB read and one partial read, then closes the handle.
Video Mode And Work Buffers
The setup block at BB52 is the main VGA entry path. It is direct port code,
not a BIOS-only drawing path.
The broad shape:
mov ax,0013h
int 10h ; VGA 320x200x256 entry mode
cli
; blank DAC components
mov dx,03c9h
mov cx,0300h
xor ax,ax
rep outsb-like loop ; zero 256 * 3 DAC bytes
call wait_retrace
mov dx,03c4h
mov ax,0604h
out dx,ax ; sequencer memory mode
; CRTC programming follows from a local table
; then plane mask and clears
The table-driven CRTC part unlocks the protected register and writes a block of register values:
write CRTC index 11h with bit 7 clear
for each byte in table at 059Ch:
out 03D4h, index
out 03D5h, value
After that, the code selects all VGA planes and clears two 64 KiB regions:
mov dx,03c4h
mov ax,0f02h
out dx,ax ; map mask = all four planes
mov ax,0a000h
mov es,ax
xor di,di
xor ax,ax
mov cx,8000h
rep stosw ; clear A000h 64 KiB
mov ax,9000h
mov es,ax
xor di,di
mov cx,8000h
rep stosw ; clear 9000h work buffer
The stride used by later routines is 0140h, which is 320 bytes. That means
the routines treat the visible page as a 320-byte linear row even while using
plane masks and VGA hardware state to choose which bytes are actually written.
Vertical Retrace Wait
The retrace wait at BBCE is the classic VGA 03DAh two-phase wait:
mov dx,03dah
wait_until_not_in_retrace:
in al,dx
test al,08h
jnz wait_until_not_in_retrace
wait_until_in_retrace:
in al,dx
test al,08h
jz wait_until_in_retrace
ret
This avoids updating timing-sensitive CRTC, palette, or page-state values mid-display. It is used by the video setup and by the PIT/timer code.
PIT And INT 08 Timing
The timer code has three related pieces:
BBE0 read PIT channel 0 and scale the count
BC09 timer interrupt handler body
BC2D install and calibrate timer path
BC9B restore timer vector and PIT defaults
BBE0 latches channel 0 and computes a scaled frame fraction:
mov al,00h
out 43h,al
in al,40h
mov bl,al
in al,40h
mov bh,al ; BX = current channel-0 counter
mov ax,[05b9h] ; calibrated base count
sub ax,bx
mov bx,0190h
mul bx
div word [05b9h] ; scaled 0..0190h-ish phase
The interrupt handler at BC09 switches to the runtime data segment, performs
a small callback/stub, sends EOI, waits for retrace, and reloads the PIT:
push ax bx cx dx ds es
mov ax,1eedh
mov ds,ax
cli
call BCCD ; local timer callback, stub-like in this dump
sti
mov al,20h
out 20h,al ; PIC EOI
call wait_retrace
mov al,36h
out 43h,al ; PIT channel 0, lobyte/hibyte, mode 3
mov al,[05bbh]
out 40h,al
mov al,[05bch]
out 40h,al
pop es ds dx cx bx ax
iret
The installer saves the previous INT 08 vector from the interrupt table,
installs the local handler, measures the interval, and stores reload bytes in
05BBh/05BCh. The restore routine writes the saved vector back and resets the
PIT reload to zero. This is a very normal early-1990s PC demo tradeoff: take
over the BIOS timer, synchronize updates to VGA retrace, and clean up before
returning to DOS.
Palette Routines
The single-entry DAC writer is direct and simple:
; input: palette index and RGB components in caller-chosen registers/stack
mov dx,03c8h
out dx,al ; DAC write index
inc dx ; 03C9h
out dx,red
out dx,green
out dx,blue
ret
The blanking routine at 3E41 clears palette entries 00h..B9h:
for index in 0..B9h:
out 03C8h, index
out 03C9h, 0
out 03C9h, 0
out 03C9h, 0
The two small palette-window loaders at 3E5F and 3E96 move nine RGB
triples at a time. One walks forward from a source table, the other effectively
loads a reversed or shifted nine-entry window ending before DI. That is a
useful shape for small glow fades, equalizer highlights, or cycling bars.
There is also a BIOS DAC-table call at BFF0:
mov ax,1012h
xor bx,bx ; first DAC register
mov cx,00ffh ; 255 entries
mov dx,029ch ; table offset
int 10h
So the demo uses both approaches: BIOS for a full table load and direct DAC ports for small, timing-sensitive updates.
C0F5 Transparent Planar Blitter
The strongest and most useful recovered inner loop is at C0F5. It draws an
interleaved source image to A000h through four VGA map masks. It treats 40h
as transparent. Everything else is copied.
The setup:
mov ax,0a000h
mov es,ax
Then, per output row:
save CX, SI, DI
plane 0:
restore row SI/DI
SI += 0
OUT 03C4h,0102h
copy 004Fh source steps
plane 1:
restore row SI/DI
SI += 1
OUT 03C4h,0202h
copy 004Fh source steps
plane 2:
restore row SI/DI
SI += 2
OUT 03C4h,0402h
copy 004Fh source steps
plane 3:
restore row SI/DI
SI += 3
OUT 03C4h,0802h
copy 004Fh source steps
restore row SI/DI
SI += 013Eh
DI += 0140h
next row
The per-plane byte loop is the heart:
mov cx,004fh
copy_one_plane:
lodsb ; AL = DS:[SI], SI++
cmp al,40h
je transparent
stosb ; ES:[DI] = AL, DI++
jmp after_pixel
transparent:
inc di
after_pixel:
add si,0003h
loop copy_one_plane
Pseudocode:
for y in 0..height-1:
row_source = source
row_dest = dest
for plane, mask in [(0,0102h), (1,0202h), (2,0402h), (3,0802h)]:
out 03C4h, mask
si = row_source + plane
di = row_dest
repeat 004Fh times:
al = source[si]
if al == 40h:
di += 1
else:
A000[di] = al
di += 1
si += 4
source += 013Eh
dest += 0140h
The disassembly expresses the source step as lodsb plus add si,3, which is
equivalent to si += 4 total. The four plane passes start at source offsets
+0, +1, +2, and +3, so a naturally packed chunky-ish source row is
split across VGA planes without doing bit math per pixel. The visible width per
plane is 004Fh bytes. With four planes, that corresponds to about
004Fh * 4 = 316 source positions, close to a full 320-pixel row once
side margins are accounted for.
40h as a transparent marker is a practical choice because the blitter can
test a single byte before the stosb. The transparent case still advances the
destination, preserving pixel alignment, but avoids overwriting the background.
That explains how the logo/landscape blocks can be layered over a pre-cleared
or previously drawn screen.
Data-Driven Picture Entry
The routine at BE82 is a compact caller for the blitter:
mov ax,300dh
mov ds,ax
xor si,si
mov di,00f0h
mov cx,0087h
call C0F5
This selects a source segment 300Dh, starts at source offset 0000h, draws
to A000h offset 00F0h, and asks for 0087h rows. With the row step
0140h, destination 00F0h places the image 240 bytes into the first row,
which is suspiciously consistent with a centered or horizontally adjusted
picture block. The source stride increment 013Eh is slightly less than the
destination stride, which fits the four-plane unpacking pattern rather than a
plain memcpy source layout.
This routine is probably one of the main still/landscape insertions used for the visible screen.
Font Mask Renderer
The C011 block renders an 8-row mask glyph into an arbitrary destination
segment. The destination segment is passed as an argument, and the stride is
again 0140h.
The inner loop model:
ES = destination segment
DS = C000h or a font-like source segment
SI = source character mask
DI = destination offset
for row in 0..7:
AH = DS:[SI]
AL = colour + 1
for x in 0..width-1:
AH <<= 1
if carry set:
ES:[DI] = AL
DI += 1
DI += 0140h - width
SI += 1
The recovered loop uses shl ah,1 to move one mask bit into carry. If the bit
is set, it stores the colour byte; if not, it only advances the destination.
That is the same transparency idea as the image blitter, but bit-packed for
font rows instead of byte-packed for picture data.
The nearby text routine at 3DD3 reads zero-terminated byte strings,
multiplies each character by 8, adds it to a font base, calls this glyph
renderer, and advances DI by 8 pixels per character:
while (ch = *text++) != 0:
glyph = font_base + ch * 8
render_glyph(glyph, dest, width=8, colour, destseg=A000h)
dest += 8
That is enough for the short titles and labels without storing large rendered bitmaps.
Block Copy And Landscape Helpers
Several recovered routines around BDxx and BExx are rectangular A000h
helpers. They use the same 0140h row stride and explicit VGA map masks.
BD01 copies a 6Dh by 63h word-ish source block from segment 300Dh to
A000h:
DS = 300Dh
SI = A8F0h
ES = A000h
for row in 0..6Ch:
copy 63h words
advance destination by row remainder to next 0140h row
BD30 changes VGA graphics-controller state, selects all planes, and copies a
smaller 43h by 38h byte rectangle from one A000h region to another:
OUT 03CEh,4105h
OUT 03C4h,0F02h
for row in 0..42h:
copy 38h bytes from A000:00FC to A000:dest
source += 0140h
dest += 0140h
BD7E is a two-sided copy/restore routine. For a height in BX, it copies
4Fh bytes per row from an upper A000h source into a destination adjusted by
height, then copies from another source backward into a mirrored destination.
The structure fits a split reveal, wipe, or landscape reflection/restore
operation.
BE0D is a left/right split copy:
left half:
source = 00FCh
dest = DI - width
rows = 44h
bytes = width
right half:
source = 0134h - width
dest = DI
rows = 44h
bytes = width
That is exactly the kind of helper a demo uses to open, close, or center a horizontal block without redrawing the whole picture.
BEA2 copies BX rows of 50h bytes from A000:55F0 to a destination, with a
source and destination step of 00F0h. This one is not a full 320-byte stride;
it copies from a compact intermediate or offscreen strip.
BEFC plots a conditional byte into plane 0:
mov ax,0a000h
mov es,ax
mov dx,03c4h
mov ax,0102h
out dx,ax
cmp byte [es:di],00h
jne skip
mov [es:di],colour
skip:
ret
Only empty destination pixels are overwritten. That is useful for star points, sparkles, or meter dots over an existing image.
BF23 writes the same byte at DI and DI+013Fh with map mask 0702h.
That writes into planes 0..2 and touches two nearly adjacent rows. It looks
like a compact vertical pair, line endpoint, or doubled dot.
BF4C clears a rectangular A000h region:
OUT 03C4h,0F02h
for row in height:
write 28h zero words
dest += 0140h
Taken together, these helpers show that the visible sequence is not drawn by one large framebuffer copy. It is built from reusable rectangle operations, transparent image insertion, font masks, conditional dots, palette changes, and timed restores.
Higher-Level Table Loops
The block around 3AC2 appears to drive a column/row threshold table and call
a far draw helper when each cell becomes active. The clear, trustworthy part
is the loop structure:
threshold = 6
yoffset = 2Ch
for column in 0..59:
for row in 1..12:
value = table[1227h + column]
active = value > threshold
flag[0F56h + index] = active
if active:
call far draw_helper with destination and yoffset
yoffset -= 1
destination -= 0280h
threshold += 6
threshold = 6
yoffset += 0Ch
destination += 1E01h
The table at 1EED:1227h is also touched by BFA0, which reads 60 bytes from
a far pointer, adjusts values greater or equal to 04h by subtracting 02h,
stores the resulting bytes to 1227h, and writes the adjusted values back to
the source. Given the FLT-SND data and the public description of meter-like
bars, this is plausibly an audio-derived or script-derived bar table. The code
evidence supports "60-byte visual driver table"; the exact semantic label
should remain cautious without a clean runtime trace.
The text renderer at 3DD3 also lives near this higher-level area and calls
the glyph mask renderer for each character. That means the demo can mix
scripted text and table-driven graphical bars/dots in the same A000h display
phase.
BIOS Video Wrapper
There is also a BIOS video wrapper at 223A. It handles ordinary mode calls,
but has special branches for text mode 03h and a 40h case:
DS = 0040h
if requested mode is 03h:
BIOS mode path
if requested mode is 40h:
INT 10h AX=1A00h ; display combination / VGA check
INT 10h AX=1112h ; font load path
INT 10h AX=1200h BL=20h or related setup
otherwise:
INT 10h
The actual intro screen path uses direct VGA mode setup, but this wrapper explains why the restored image contains general-purpose BIOS video glue. It is part of the compiled support/runtime layer around the demo.
Visible Sequence Model
The public screenshot and recovered code together support this high-level model:
1. PKLITE carrier restores the real DOS image.
2. Runtime startup clears state, saves vectors, and initializes modules.
3. FLT-SND is loaded into a dynamically allocated segment.
4. VGA is switched into a mode-13h-derived direct-port display path.
5. DAC entries are blanked or loaded.
6. Picture/landscape blocks are inserted through C0F5 and rectangle helpers.
7. The FAIRLIGHT/logo and small text are composed with blitters and font masks.
8. The timer path keeps palette/video updates aligned with retrace.
9. Small tables drive bars, dots, or star-like highlights.
10. Cleanup restores vectors and returns to DOS.
The important design point is that the demo is not using a slow "draw every pixel with one CPU loop" model. It preformats data for VGA planes, uses map masks to choose the write plane, treats a sentinel byte as transparent, uses row-stride copies for large blocks, and keeps palette/timer work compact enough to run in the retrace-synchronized path.
Why It Feels Like A 1992 Transitional PC Demo
This sits in an interesting place historically. It is not yet a long multi-effect PC demo with elaborate part sequencing, but it is also not just a text scroller over a logo. It has:
- a packed MZ carrier rather than a flat COM;
- compiled-runtime memory and vector management;
- an external sound/data payload;
- direct VGA port programming;
- PIT and retrace control;
- several A000h block operations;
- a real transparent planar blitter;
- palette windows and DAC table loads;
- bitmask font composition;
- table-driven visual updates.
That is a lot of machinery for a short Fairlight intro. The recovered C0F5
loop is the core: it is the point where the preserved asset data becomes the
visible VGA picture efficiently enough for early 1992 PC hardware.
Evidence Limits
The hard evidence:
- catalogue metadata from Pouet, Demozoo, scene.org, and Hornet;
- public screenshot for the exact production;
- archive listing and file hashes;
- PKLITE signature and MZ header shape;
- restored-image boundary reached by emulation;
- DOS file loader for
FLT-SND; - direct VGA setup, DAC, CRTC, PIT, and retrace routines;
- the
C0F5transparent planar blitter; - the glyph and block-copy helper loops.
The softer evidence:
- exact effect timestamps;
- exact order and duration of the landscape/logo/bar/star phases;
- exact meaning of the 60-byte
1227hvisual table; - exact audio-player behaviour inside the opaque sound-data/player region.
Those require a reliable video capture or deeper dynamic instrumentation than I used here. The static code still explains the main inner loops and why the single public screenshot looks the way it does.