Analysis model: gpt-5.5 xhigh

# Christmas Demo 1992 by Omicron - Technical Dissection

`Christmas Demo 1992` is a December 1992 MS-DOS demo by Omicron. Demozoo
lists it as an MS-DOS demo released in December 1992, tags it as `christmas`
and `requires-286`, and credits Blackcross, Joe, Onyx, Orc, Starlight, and
Wizard across music, graphics, and code. Pouet lists the same production as an
MS-DOS demo from December 1992. The Hornet 1992 index preserves it as
`omc_xmas.zip`.

Release year: 1992

The short version: this is not a single Christmas-card executable. It is a
PKLITE-packed launcher, four PKLITE-packed executable children, three plain
ProTracker modules, seven low-entropy raw visual/table files, and a small
public instruction file. The launcher performs setup, writes or reads
`omc-xmas.cnf`, and runs a fixed executable sequence:

```text
OMC-XMAS.EXE -> OMC-XMAS.010 -> OMC-XMAS.013 -> OMC-XMAS.011 -> OMC-XMAS.013 -> OMC-XMAS.012
```

The technical personality is very 1992 PC: packed real-mode MZ files, a
separate sound-system setup layer, 4-channel MOD assets, raw VGA-ish resource
planes, and child parts that carry their own GoldPlay support code.

This writeup deliberately omits old distribution/contact material from the
archive sidecars.

## Sources

- Demozoo production page:
  https://demozoo.org/productions/180432/
- Pouet production page:
  https://www.pouet.net/prod.php?which=4218
- Hornet 1992 index:
  https://files.scene.org/get/mirrors/hornet/demos/1992/00_index.txt
- Scene.org archive:
  https://files.scene.org/get/mirrors/hornet/demos/1992/omc_xmas.zip
- Scene.org file page:
  https://files.scene.org/view/mirrors/hornet/demos/1992/omc_xmas.zip

## Visual References

The public Demozoo/Pouet screenshot is the opening identity screen: black
background, silver `OMICRON PRESENTS`, and red `X-MAS DEMO` script. Local
DOSBox-X did not produce a video capture for this pass, so the only literal
runtime frame used here is the public screenshot.

![Christmas Demo 1992 public Demozoo screenshot](images/omicron-xmas-92-demozoo.png)

The following map is generated from the archive, MZ headers, `depklite` raw
streams, launcher strings, and ProTracker metadata. It is not a screenshot.

![Christmas Demo 1992 archive and runtime pipeline map](images/omicron-xmas-92-pipeline-map.png)

The MOD map shows why the archive is much more music-heavy than the tiny
launcher suggests.

![Christmas Demo 1992 ProTracker module map](images/omicron-xmas-92-module-map.png)

The byte atlas maps raw bytes to brightness for the low-entropy sidecar files.
It is a diagnostic resource view, not a runtime capture. It makes the font and
image/table nature of several sidecars visible without publishing old sidecar
text.

![Christmas Demo 1992 raw data byte atlas](images/omicron-xmas-92-byte-atlas.png)

## Archive Contents

The examined archive is the Hornet mirror package:

```text
2c432ba8df24b95603aebdd30f0837e4bcae4a7d3583f9ef2b0ff73f95f0e708  omc_xmas.zip
```

Extracted files:

```text
OMC-XMAS.001   35116 bytes  1992-12-10 11:06
OMC-XMAS.002   87328 bytes  1992-12-13 17:54
OMC-XMAS.003   11940 bytes  1992-12-03 07:09
OMC-XMAS.004   11652 bytes  1992-12-13 17:27
OMC-XMAS.005  120960 bytes  1992-12-13 17:53
OMC-XMAS.006  176510 bytes  1992-11-26 22:56
OMC-XMAS.007   44518 bytes  1992-12-03 15:42
OMC-XMAS.008   13352 bytes  1992-11-28 17:50
OMC-XMAS.009   18761 bytes  1992-11-07 19:04
OMC-XMAS.010   11023 bytes  1992-12-13 17:35
OMC-XMAS.011   22891 bytes  1992-12-13 17:34
OMC-XMAS.012   22650 bytes  1992-12-13 17:36
OMC-XMAS.013    2113 bytes  1992-12-13 17:36
OMC-XMAS.014   20199 bytes  1992-12-05 18:31
OMC-XMAS.EXE   24224 bytes  1992-12-13 17:43
OMC.TXT          823 bytes  1992-12-13 15:24
READTHIS.BAT      40 bytes  1992-12-13 15:26
```

Important hashes:

```text
cccf9c7f199c8acf8cf4da09bf3a772eb28fe324d3e70bdb644cab6337c945e0  OMC-XMAS.EXE
3b77e822f766db97fa51dda428e6836dde247af660c1e3b79bb0f635356ed7a5  OMC-XMAS.002
40a7455f6b4a48a4bba72d3ff199ef42e1df17ca47942de5ba6572609676b762  OMC-XMAS.005
1286b93c849663191f2c220f141f4c8b3da931ae9d997225280b98d9b6bae477  OMC-XMAS.006
05d03b0cbe26f6833ca37d15819fe4c790147d0af5f5c7325bc4db0d53171127  OMC-XMAS.010
0dd932ca320ffc41c2bab40ac646ab3ff98df0cd01d8bcb492d7279761c823a9  OMC-XMAS.011
e8814cff9a6ba8f9f06d50524d5a6068d7e9de368e0460f43a920ee8fc8f2116  OMC-XMAS.012
6459f584d0091cb77c46385df67fda587b1c75cebc27e954a23c577c85a39bc1  OMC-XMAS.013
```

The public instruction file says the demo requires:

```text
286 machine or better
DOS 2.11 or better
at least 300 KB of memory
VGA card
hard disk recommended
```

It starts with `OMC-XMAS`.

## File Roles

`file(1)` recognizes three files as ProTracker modules:

```text
OMC-XMAS.002  4-channel ProTracker module, title "Reality....Not!"
OMC-XMAS.005  4-channel ProTracker module
OMC-XMAS.006  4-channel ProTracker module, title "The dead gnu."
```

The MZ/PKLITE executable set is:

```text
OMC-XMAS.EXE  main launcher, PKLITE marker at file offset 001Eh
OMC-XMAS.010  packed child executable
OMC-XMAS.011  packed child executable
OMC-XMAS.012  packed child executable
OMC-XMAS.013  packed child executable
```

`OMC-XMAS.005` begins with bytes that look like `MZ`, but that is a false
positive inside module title/sample metadata. Its `M.K.` signature and exact
MOD size accounting identify it as music data, not an executable.

The remaining files are raw low-entropy resources:

```text
file          bytes  entropy  likely use
OMC-XMAS.001  35116    4.36   packed visual plane or combined tables
OMC-XMAS.003  11940    3.73   font/alphabet-like table
OMC-XMAS.004  11652    2.13   heavily repeated control/mask stream
OMC-XMAS.007  44518    2.83   large visual/table plane
OMC-XMAS.008  13352    4.43   packed visual/control stream
OMC-XMAS.009  18761    4.09   packed visual/control stream
OMC-XMAS.014  20199    0.36   tiny alphabet/table plus repeated fill
```

The byte atlas above is useful here because several streams are too structured
to be general compression output. `OMC-XMAS.003` and `OMC-XMAS.014` visibly
contain alphabet/digit-shaped tables when bytes are viewed as brightness.
`OMC-XMAS.007` has broad low-frequency regions that look like a packed picture
or mask plane rather than code.

## MZ Headers And Depacked Stream Sizes

The visible executable headers all enter the same late PKLITE-style carrier
shape. The packed MZ entry is `CS:IP FFF0:0100`, which wraps to the start of
the loaded image and runs the carrier stub rather than Omicron's final code.

```text
file           packed  header  relocs  min/max extra  stack       entry
OMC-XMAS.EXE   24224     112       0   0579/FFFF      05EB:0400  FFF0:0100
OMC-XMAS.010   11023     144       0   0C29/FFFF      02B1:0400  FFF0:0100
OMC-XMAS.011   22891     144       0   2FD4/FFFF      0597:0400  FFF0:0100
OMC-XMAS.012   22650     144       0   2274/FFFF      0588:0400  FFF0:0100
OMC-XMAS.013    2113     144       0   0A8E/FFFF      0085:0400  FFF0:0100
```

Native `unp` was not available in this VM, so I built the small public
`depklite` helper in untracked scratch. Its output is raw depacked data, not a
repaired MZ, but it gives useful stream sizes and readable strings:

```text
OMC-XMAS.EXE  ->  44473 bytes
OMC-XMAS.010  ->  52241 bytes
OMC-XMAS.011  -> 202975 bytes
OMC-XMAS.012  -> 161184 bytes
OMC-XMAS.013  ->  43723 bytes
```

The child depacked streams are much larger than their packed files. This is why
the 624 KB extracted archive can still fit a multi-part show with several
sound-enabled children.

## Launcher Flow

The launcher depacked stream exposes the important control strings near the end
of the file. The visible flow is:

```text
Setup and loading
Continue
This demo uses the soundsystem GOLDPLAY v1.00
Continue
omc-xmas.010
omc-xmas.013
omc-xmas.011
omc-xmas.013
omc-xmas.012
omc-xmas.cnf
```

The repeated `.013` is the oddity. It is small when packed but expands to about
43 KB, and its depacked strings include an artwork-protection warning. That
makes it look like a reusable transition/interstitial or graphic-loader part
rather than a one-off major effect.

The sound setup table is broad for a 1992 Christmas demo:

```text
Soundplayer / Covox in LPT1
Soundplayer / Covox in LPT2
Sound Blaster
Internal speaker
two Soundplayers in LPT1 and LPT2
Sound Blaster Pro
stereo Soundplayer in LPT1
stereo Soundplayer in LPT2
```

The Sound Blaster base menu covers `210h` through `270h`, the IRQ menu covers
IRQ 5 and IRQ 7, and the replay-rate menu ranges from `4000 Hz` through
`62799 Hz`. The menu labels explicitly describe several rates as suitable for
286 or 386 machines. The separate CPU-speed selection strings include slow
286 choices, matching the public 286 requirement but also showing that the
demo's authors expected a wide range of machine speeds.

The loader keeps this setup out of the visible child effects by storing it in
`omc-xmas.cnf`. That is the practical reason for the launcher: it centralizes
sound and speed selection, then starts the visual/music parts in a fixed order.

## PKLITE Carrier Inner Loop

All five MZ files share the same carrier skeleton. The constants differ per
file, but the loop shape is the same. The main launcher starts at loaded offset
`0070h`:

```asm
0070: mov ax,0b5ch
0073: mov dx,05e3h
0076: mov bx,ds
0078: add bx,ax
007a: cmp bx,[0002h]
007e: jae not_enough_memory
0080: sub bx,20h
0083: cli
0084: mov ss,bx
0086: mov sp,0200h
0089: sti
008a: sub bx,25h
008d: mov es,bx
008f: push bx
0090: mov cx,0122h
0093: xor di,di
0095: push di
0096: mov si,0148h
0099: cld
009a: rep movsw
009c: retf
```

This is the setup step:

1. Compute the high-memory workspace from the DOS load segment.
2. Compare it with the memory block top stored in the PSP area at `[0002h]`.
3. Move the stack into that high area.
4. Copy `0122h` words of the second-stage depacker from the packed image to
   `ES:0000`.
5. `retf` into the copied depacker.

The copied depacker first shifts the compressed source and output destination
into paragraph-aligned positions. The `rep movsw` at `00e2h` is not the final
decompression loop; it is a block relocation/normalization pass that moves a
range of the loaded image so the bitstream and output window can be addressed
with 16-bit offsets.

The actual bitstream loop starts with a 16-bit reservoir in `BP` and a bit
counter in `DX`:

```asm
00f5: xor si,si
00f7: lodsw
00f8: xchg bp,ax
00f9: mov dx,0010h
...
0134: movsb                  ; literal byte path
0135: shr bp,1               ; consume one bit
0137: dec dx
0138: je refill_reservoir
013a: jae literal_path
013c: xor cx,cx              ; match path
013e: xor bx,bx
0140: shr bp,1
0145: rcl bx,1
014c: rcl bx,1
...
0176: mov bl,cs:[bx+0206h]   ; short length lookup
017b: xchg cx,bx
```

The important detail is the `shr bp,1` plus `rcl bx,1` idiom. Each match field
is assembled one bit at a time through carry. When the 16-bit reservoir runs
dry, the stub reloads with:

```asm
lodsw
xchg bp,ax
mov dl,10h
```

The literal path is minimal: if the flag path falls through to `movsb`, one
byte is copied from compressed input to the output stream.

The match-copy path is a classic LZ window copy:

```asm
01ae: lodsb
01af: mov bl,al
01b1: push si
01b2: mov si,di
01b4: sub si,bx
01b6: cli
01b7: rep movsb es:[di],es:[si]
01ba: sti
01bb: pop si
01bc: jmp 0135h
```

`BX` is the backward distance. `CX` is the match length. The source is
`ES:DI-BX`, so the copy reads from the already-expanded output and writes
forward to `ES:DI`. Interrupts are disabled only around the `rep movsb`, which
keeps the stack/segment state stable during a potentially overlapping copy.

The long-match path uses two small tables:

```asm
0176: bl = cs:[bx+0206h]
0215: cl = cs:[bx+0211h]
01a9: bh = cs:[bx+022ch]
```

Those tables compress the common small lengths/distances into very few bits.
Longer distances are assembled by consuming more bits, masking with `00dfh`,
and swapping `BH/BL` before falling into the same copy loop.

The most important safety code is the segment-normalization escape:

```asm
022f: push ax
0230: lea bx,[di-2000h]
0234: and di,000fh
0237: add di,2000h
023b: mov cl,04h
023d: shr bx,cl
023f: mov ax,es
0241: add ax,bx
0243: mov es,ax
0245: mov ax,ds
0247: mov bx,si
0249: and si,000fh
024c: shr bx,cl
024e: add ax,bx
0250: mov ds,ax
0252: pop ax
```

The depacker keeps `DI` around a `2000h` window and carries the high address
bits into `ES`. It does the same for `SI` and `DS`. That lets the 16-bit
depacker expand much larger streams without every byte copy needing far
pointer arithmetic.

## ProTracker Modules

The three module files are exact 4-channel MODs with `M.K.` at offset `1080`.
Their sizes match normal MOD accounting:

```text
file          title             orders  patterns  pattern bytes  sample bytes  total
OMC-XMAS.002  Reality....Not!       22        11          11264         74980   87328
OMC-XMAS.005  title starts MZ...    20        21          21504         98372  120960
OMC-XMAS.006  The dead gnu.         36        23          23552        151874  176510
```

For each file:

```text
module size = 1084-byte header/order area + pattern_count * 1024 + sample bytes
```

That formula exactly reproduces the stored sizes. This is stronger evidence
than `file(1)` alone: these are not arbitrary binary blobs with an accidental
`M.K.` marker.

`OMC-XMAS.002` carries the cleanest public title, `Reality....Not!`, and sample
metadata credits Blackcross of Omicron. `OMC-XMAS.006` carries `The dead gnu.`
and sample text that ties it to Onyx of Omicron and October 1992. `OMC-XMAS.005`
uses deliberately noisy sample names and a title that starts with `MZ`, which
explains why naive file detection can misclassify it.

## Raw Visual And Table Data

The raw files are not self-describing formats like PCX or GIF. They are also
not high-entropy compressed streams. Their byte distributions are structured:

```text
OMC-XMAS.004: 80 unique byte values, but 0x24 and 0x22 dominate
OMC-XMAS.007: 113 unique byte values, 0x1f and 0x04 dominate
OMC-XMAS.014: only 5 unique byte values, mostly 0x04
```

The atlas reveals visible alphabet/digit rows in `.003` and `.014`, plus
larger picture-like regions in `.001` and `.007`. The likely runtime model is:

1. child executable selects mode/tables,
2. child reads one or more numbered raw sidecars,
3. child decodes or expands low-entropy graphics/control streams into VGA
   memory,
4. child starts GoldPlay or OldPlay-style timer audio against one of the MODs,
5. launcher regains control and starts the next child.

The exact raw-file-to-effect mapping needs a repaired child executable or a
debugger memory dump. This pass does not overclaim that mapping.

## DOSBox-X Runtime Attempt

A bounded DOSBox-X run used `machine=svga_s3`, dummy video/audio, fixed
`12000` cycles, and a 25-second limit. The demo switched video geometry during
startup, but no capture file was emitted through the attempted automatic video
command. The log ended with:

```text
INT10:Function EF00 not supported
```

That means the local run proves the loader starts and reaches video BIOS calls,
but it did not produce trustworthy timestamped runtime frames. The article
therefore uses the public Demozoo/Pouet screenshot and archive-derived maps
instead of local screenshots.

## Visual/Archive-To-Code Concordance

This page has one public runtime still and three generated evidence maps. The
current analysis connects those assets to the recovered package and code
boundaries as follows:

- `images/omicron-xmas-92-demozoo.png` is the only literal runtime frame in the
  article. It proves the visible opening identity screen, but it does not prove
  the later child effects or exact timing. The launcher strings and child order
  show that the screenshot is only one stage in a longer chained show.
- `images/omicron-xmas-92-pipeline-map.png` is an archive/code map. It is backed
  by the shipped file list, the five PKLITE-marked MZ files, the launcher string
  sequence, the repeated `.013` transition child, and the `omc-xmas.cnf`
  setup-file boundary.
- `images/omicron-xmas-92-module-map.png` is backed by exact ProTracker
  accounting. `.002`, `.005`, and `.006` all have `M.K.` signatures, valid
  order/pattern/sample sizes, and sizes that reproduce the stored file lengths.
  This is why they are treated as music assets even when `.005` begins with
  misleading `MZ`-looking bytes.
- `images/omicron-xmas-92-byte-atlas.png` is diagnostic resource evidence. It
  supports the claim that `.003` and `.014` contain alphabet/digit-like tables
  and that `.001`/`.007` look like structured visual or mask planes. It is not a
  substitute for a repaired child-executable disassembly.
- The launcher flow is proven by depacked strings and the fixed sequence
  `OMC-XMAS.EXE -> .010 -> .013 -> .011 -> .013 -> .012`. The front executable
  is therefore a setup/sequencer, not the whole demo.
- The sound setup shown in the depacked launcher belongs to the central
  sequencer layer: GoldPlay text, device menus, Sound Blaster base/IRQ menus,
  replay-rate choices, CPU-speed choices, and the persisted `omc-xmas.cnf`
  file.
- The executable boundary is proven by the shared PKLITE carrier skeleton in
  all five MZ files. The high-memory copied depacker, bit reservoir, LZ
  literal/match paths, and segment-normalization escape explain how small child
  files expand into much larger runtime bodies.
- The exact renderer/resource binding remains unresolved. The current evidence
  can say that the child parts probably read numbered raw sidecars, start their
  own GoldPlay/OldPlay support, and render VGA Christmas screens/text. It cannot
  yet assign `OMC-XMAS.001` or `.007` to a specific screen without a repaired
  `.010`/`.011`/`.012`/`.013` MZ or memory dump.

Evidence boundary: this is a bounded public-still/archive-to-code concordance,
not a full runtime capture. The existing images were not regenerated for this
pass. A future video pass should capture the whole child sequence directly from
DOSBox, then place short clips beside the matching child-stage disassembly.

## What The Demo Does

At a system level, the demo is a small show runner:

```text
launcher:
  show setup/loading text
  present sound device, SB base, IRQ, replay-rate, and speed menus
  save/read omc-xmas.cnf
  execute child .010
  execute transition .013
  execute child .011
  execute transition .013 again
  execute child .012

child parts:
  start through PKLITE carrier
  expand into memory with the shared bitstream/LZ loop
  use GoldPlay/OldPlay support strings and module data
  consume raw graphics/table sidecars
  render Christmas-themed VGA screens and text
```

The key implementation point is the split. The visible Christmas presentation
is not in `OMC-XMAS.EXE` alone. The launcher is mostly setup and sequencing.
The heavy assets and likely VGA loops live in child executables plus numbered
raw files and MODs.

## Why It Belongs In The 1992 Pass

`Christmas Demo 1992` is modest compared with the major 1992 competition
demos, but it is historically useful because it shows the everyday PC demo
architecture of the time:

- packed MZ executables to keep distribution size down,
- child-part chaining instead of one protected monolith,
- MOD playback through a reusable sound system,
- direct hardware setup hidden behind menus,
- raw sidecar graphics/tables instead of standardized image containers,
- and a 286/VGA baseline rather than a 386-only design.

It also fills another Christmas-demo branch in the early-1990s PC sweep without
collapsing it into the better-known Cascada, Phoney Coders, Space Pigs, or
Yellow Ones Christmas releases.

## Limits And Follow-Up

The PKLITE carrier loop is directly disassembled from the shipped files. The
launcher part order and sound setup come from raw depacked streams. The MOD
metadata is exact.

The missing layer is a clean repaired MZ dump for `.010`, `.011`, `.012`, and
`.013`. A future pass should run DOS `UNP` or dump memory after each child
finishes PKLITE expansion, then disassemble the actual VGA routines. That is
where the exact raw-resource decoders, screen blitters, palette writes, retrace
waits, and any CRTC tricks should become visible.
