Analysis model: gpt-5.5 xhigh
Xmas '92 (X-Mas Timer) by The Yellow Ones - Technical Dissection
Subject: Xmas '92 (X-Mas Timer) by The Yellow Ones.
Xmas '92 is a December 1992 MS-DOS VGA/Sound Blaster Christmas demo by The
Yellow Ones. Demozoo lists it as a December 1992 MS-DOS demo with Shaggy on
code and Leinad on music, and Pouet's production page identifies it as TYO's
first demo. The public note says it was intended for The Party 1992, but the
group did not attend.
Release year: 1992
This one is a useful early-1990s target because it is not a huge competition winner. It is a compact first production with very ordinary-looking files:
- a small MZ executable;
- two ProTracker
M.K.modules; - two 320x200 8-bit PCX screens hidden behind numeric sidecar names;
- an RNC method-1 packed runtime image;
- a SoundPlayer/Covox/Sound Blaster setup path;
- a Christmas/snow/scroller part and a more general VGA helper layer.
The live DOSBox-X capture path was only partly successful in this pass. The setup screens are captured reliably, but DOSBox-X 2026.01.02 running with the dummy video driver aborted just after the VGA transition. Therefore this page uses decoded archive images and public Demozoo/Pouet runtime screenshots for visual reference, and it does not invent exact timestamps for effects the local capture did not reach.
Sources
- Demozoo production page: https://demozoo.org/productions/121617/
- Pouet production page: https://www.pouet.net/prod.php?which=4252
- Pouet NFO view: https://www.pouet.net/prod_nfo.php?which=4252
- Scene.org file page: https://files.scene.org/view/mirrors/hornet/demos/1992/tyo_xmas.zip
- Scene.org download: https://files.scene.org/get/mirrors/hornet/demos/1992/tyo_xmas.zip
The old NFO and module sample texts contain personal contact details. Those are not reproduced here.
Visual References

The public Demozoo screenshot shows the running Christmas part: black sky, snow, a Santa figure, large snow-capped greeting letters, a small colour/debug strip in the top-left corner, and a bottom text scroller. This is the runtime part our local DOSBox-X video did not reach cleanly.
That screenshot is not a separate asset from the setup path. The executable first records the user's sound and speed choices, then loads the PCX sidecars, uploads their palette tails, and expands the RLE streams into VGA memory before entering the Christmas scene. In other words, the public screenshot is the visible end of the same path that the local capture reaches only as far as the menus and the initial VGA transition.

xmas_tyo.004 is an ordinary 320x200 8-bit PCX despite its numeric extension.
It is the red X-MAS TIMER title plate.

xmas_tyo.003 is also a 320x200 8-bit PCX. It is the blue winter-village still.
Front-page media note: the card uses the public runtime screenshot and the two decoded PCX stills directly. I did not make a GIF for this pass because the local DOSBox-X video capture did not reach a usable temporal sequence.
Runtime Capture Notes
The reliable local setup sequence was:
00:00-00:26 DOS text setup screens.
00:00 sound-device menu visible.
00:01 scripted choice 1 selected SoundPlayer/Covox at LPT1.
00:01-00:26 computer-speed menu visible.
The corrected automation answered:
sound device: 1 SoundPlayer/Covox at LPT1, mono
computer speed: 3 386dx >=25 MHz
After that DOSBox-X started a VGA capture fragment, switched from the text setup mode, then aborted with a host-side heap error. The fragment did not contain a useful demo frame, only the emulator's own blue notice. That failure is useful as a boundary condition, but the effect analysis below is based on the unpacked runtime image and decoded assets, not on a full local movie.
The practical upshot is that the runtime evidence we do have is enough to validate the first half of the engine: the menu state, the stored device/speed choices, and the transition from setup text into VGA mode. The later Christmas scene is then explained by the PCX loaders and scroller/snow routines below.
The existing public runtime screenshot and decoded PCX stills were not regenerated, cropped, padded, resized, or touched in this concordance pass.
Runtime-To-Code Concordance
This is a bounded concordance. The setup screens are locally verified, while the Christmas scene is tied to a public runtime screenshot plus decoded assets and static code. No exact effect timestamps are claimed for the Christmas part because the local DOSBox-X capture aborted before producing usable scene frames.
visual evidence code/data evidence
DOS sound-device menu setup printer at 0x3b30b and input loop
stored sound choice write to 3dca:095a
computer-speed menu delay scalar write to 3dca:095c
decoded red title PCX XMAS_TYO.004 loader at 0x3b50e
decoded blue village PCX XMAS_TYO.003 sidecar and PCX path
public Christmas runtime screenshot snow, text, scroller, palette, VGA helpers
falling snow / point field 0x3c910 2x2 point plotter
large greeting/text reveal 0x3cac3/0x3cb3a/0x3cc12 reveal kernels
selected colour fades 0x3c9e4 DAC range update
hardware panning/scroll helpers 0x3da11 family, 03DAh/CRTC/03C0h
The setup menu bridge is direct. The first local frames show the text menus,
and the expanded image prints those menus through DOS INT 21h/AH=09h from the
string block at 1d63:a35c. The chosen sound device is stored at 3dca:095a;
the speed selection maps to a fixed delay scalar at 3dca:095c. That validates
the local setup capture and explains why the automation needed explicit key
choices.
The two decoded stills are not loose illustrations. xmas_tyo.004 and
xmas_tyo.003 are real 320x200 8-bit PCX files with palette tails. The loader
at 0x3b50e opens XMAS_TYO.004, reads its PCX header, seeks to the palette
tail, uploads DAC entries after reserving the first four colours, then decodes
PCX RLE into unchained planar VGA memory with a Sequencer Map Mask selected from
x & 3. The village PCX follows the same package logic.
The public Christmas screenshot maps to the later drawing helpers. The snow or
point layer is explained by 0x3c910, which unpacks coordinates, computes
y * 320 + x, and writes a 2x2 block using 0x140 as the scanline stride. The
large greeting and text reveal paths around 0x3cac3, 0x3cb3a, and 0x3cc12
use tiny internal RLE records, rep movsb, byte stores, and +/-0x140 address
motion to build visible strips and outlines.
The colour/panning support is also visible in code. 0x3c9e4 updates a small
DAC range starting at palette index 0x20, nudging RGB values toward targets.
The 0x3da11 helper family waits on 03DAh, writes CRTC start-address
registers 0Ch/0Dh, and uses Attribute Controller panning through 03C0h
index 13h. That is the right mechanism for moving static art and scrollers
without copying a full 64,000-byte frame every tick.
The boundary remains: the public screenshot proves the intended Christmas composition, and the recovered code explains the assets and mechanisms. A future clean runtime capture would still be needed before assigning frame-level timing to the snow/scroller/reveal sequence.
Archive Contents
The examined archive is tyo_xmas.zip from the Hornet 1992 mirror.
tyo_xmas.zip 223063 bytes
Archive members:
tyo.nfo 2067 bytes 1992-12-29 16:46
x-mas.nfo 719 bytes 1992-12-29 20:06
xmas.exe 43786 bytes 1992-12-29 20:04
xmas_tyo.001 109796 bytes 1992-12-26 18:25
xmas_tyo.002 123428 bytes 1997-10-12 14:28
xmas_tyo.003 31257 bytes 1992-12-29 19:06
xmas_tyo.004 17545 bytes 1992-12-09 09:52
Important hashes:
0f2e26d0f1418b5c25b5aa2ba0412a888d3dbe28e0485287fc3f6e071a2f37d6 tyo_xmas.zip
adc8b144c62955f06ccfc9cf74d87c8903ae8994f3e7f4963922b4e55682573b tyo.nfo
c671c984ec657900a632418a9ebbf217002a4b3e917068b0ab6bbf13798bbed2 x-mas.nfo
67e69a5d072b3c61b77f715411b340b5b0e9de858ce3d44b30c07bfc675732aa xmas.exe
975792ad897371b0de1651bdd1d369c107eb3acf53a1e2bcb3d49df8102e3e4c xmas_tyo.001
0f5cd6706791abd1bdd748f26c424686c3994246ee2ee42fe687c0347a4a1988 xmas_tyo.002
d334a970b09a1a6843960f731a5c830f0c1cd18769fd34096384304a1aeb9ab5 xmas_tyo.003
e53a827ca101ef31fdb456f12cbde23a68c5039e9b797e6b8d33bbe7dd149c5c xmas_tyo.004
The NFO's public technical claims match the binary:
- first demo release;
- intended for The Party 1992;
- some removed routines/animations;
ENTERskips the Christmas scroller part;- VGA and sound-output support.
MZ And RNC Wrapper
xmas.exe is a small MZ carrier:
file size: 43,786 bytes
MZ header size: 32 bytes
relocation count: 0
initial CS:IP: 0a76:000c
initial SS:SP: 4684:058a
entry file offset: 0x0a78c
The RNC block begins immediately after the 32-byte MZ header:
file+0x20: 52 4e 43 01 ...
RNC header:
method: 1
unpacked size: 288,804 bytes
packed size: 42,829 bytes
unpacked CRC: 0x6e99
packed CRC: 0x7341
leeway: 0
chunks: 25
The expanded payload hash is:
70a305958c1305031e825992c959dc26161b98af96a00d5189c5caf6f700df37 RNC-expanded image
The RNC block plus header ends just before the MZ entry tail. The public file is therefore:
MZ header
RNC method-1 packed raw runtime image
small depacker / transfer tail at the MZ entry
The expanded image is not a second MZ file. It is a raw real-mode runtime image with zeroed workspace at the beginning, code and data at later flat offsets, and far-call style segment:offset references throughout.
The visible setup/main path starts at flat 0x3b300.
Setup Path
The setup menu prints through DOS INT 21h/AH=09h:
3b30b mov ax,1d63h
3b30e mov ds,ax
3b314 mov dx,a35ch
3b317 mov ah,09h
3b319 int 21h ; print sound-device menu
Because this is real-mode code, the menu string is at 1d63:a35c, or flat
0x2798c in the expanded image.
The sound-device input loop is direct and strict:
3b31b mov ah,01h
3b31d int 21h ; read char with echo
3b31f cmp al,'1'
3b321 jb 3b31b
3b323 cmp al,'8'
3b325 ja 3b31b
3b327 sub al,'0'
3b329 mov di,3dcah
3b32c mov es,di
3b32e mov di,095ah
3b333 mov es:[di],ax ; selected device number
The menu accepts:
1 SoundPlayer/Covox at LPT1, mono
2 SoundPlayer/Covox at LPT2, mono
3 SoundBlaster, mono
4 Internal Honker, mono
5 Two SoundPlayers LPT1+2, stereo
6 SoundBlaster Pro, stereo
7 Stereo SoundPlayer in LPT1
8 Stereo SoundPlayer in LPT2
The computer-speed menu is similar, but it maps the digit to a delay constant:
choice 1 -> ax = 012ah
choice 2 -> ax = 0095h
choice 3 -> ax = 0063h
choice 4 -> ax = 004bh
3b367 mov di,095ch
3b36a mov es:[di],ax ; speed/delay constant
This is a classic early-PC compromise. The demo does not measure the CPU with a calibration loop. It asks the user to describe the machine, then stores a preselected delay scalar in shared runtime state.
After setup the main driver calls a sequence of far routines, masks/unmasks
the PIC with port 21h, and uses 03DAh retrace loops as coarse timing. The
top-level shape is:
print setup menus
store sound device and speed constant
initialize selected sound path / player state
load and show sidecar art
run Christmas/snow/scroller section
run later title/end sections
wait several retraces and clean up
print final DOS text and exit
Module Files
The two music sidecars are normal ProTracker modules:
xmas_tyo.001
title: fear of the exams
signature: M.K.
song length: 44 positions
patterns: 30
nonzero samples: 24
pattern bytes: 30,720
sample bytes: 77,992
xmas_tyo.002
title: findus och korven
signature: M.K.
song length: 30 positions
patterns: 21
nonzero samples: 12
pattern bytes: 21,504
sample bytes: 100,840
The file-size arithmetic matches ProTracker exactly:
1084-byte MOD header
+ pattern_count * 1024
+ sum(sample_lengths)
= file size
The end-credit text embedded in the expanded executable credits TCB for
goldplayer, which fits the setup menu's multiple PC sound-output targets. The
sample-name fields in the modules also contain greetings and personal contact
text; this page intentionally treats only the module titles and structural
metadata as public technical evidence.
Sidecar PCX Files
The two numbered image files are PC Paintbrush images:
xmas_tyo.003
size: 31,257 bytes
header: 0a 05 01 08
format: PCX version 5, RLE, 8 bits/pixel
bounds: 0,0 to 319,199
planes: 1
bytes per line: 320
EOF palette mark: file+0x7718 = 0x0c
xmas_tyo.004
size: 17,545 bytes
header: 0a 05 01 08
format: PCX version 5, RLE, 8 bits/pixel
bounds: 0,0 to 319,199
planes: 1
bytes per line: 320
EOF palette mark: file+0x4188 = 0x0c
The executable contains the filenames at translated real-mode addresses:
12c9:9d80 -> flat 0x1ca10 -> XMAS_TYO.003
1d63:ae81 -> flat 0x284b1 -> XMAS_TYO.004
There are two PCX-style load paths. One reads a full 768-byte palette tail; the
other reserves DAC entries 0..3 and uploads only entries 4..255.
The xmas_tyo.004 loader begins at flat 0x3b50e:
3b513 mov ax,3d00h
3b516 mov dx,ae81h
3b519 int 21h ; open XMAS_TYO.004
3b51e mov dx,ab7dh
3b525 mov cx,0080h
3b528 mov ah,3fh
3b52a int 21h ; read 128-byte PCX header
3b544 mov cx,ffffh
3b547 xor dx,dx
3b549 sub dx,02f4h
3b54d mov ax,4202h
3b554 int 21h ; seek to EOF - 0x2f4
3b559 mov ah,3fh
3b55b mov cx,02f4h
3b562 int 21h ; read 252 RGB triplets
Why 0x2f4? It is 252 * 3. The routine skips the first four DAC entries and
loads the remaining 252 colours from the PCX palette tail:
3b564 mov cx,00fch ; 252 colours
3b567 mov dx,03c8h
3b56a mov al,04h
3b56c out dx,al ; DAC write index = 4
3b56d inc dx ; 03c9h
3b571 mov al,[bx]
3b574 shr al,2 ; 8-bit PCX -> 6-bit VGA DAC
3b577 out dx,al ; red
3b578 mov al,[bx+1]
3b57b shr al,2
3b57e out dx,al ; green
3b57f mov al,[bx+2]
3b582 shr al,2
3b585 out dx,al ; blue
3b586 loop 3b571
The image body is then decoded from file offset 0x80, the normal PCX header
length:
3b588 xor cx,cx
3b58a mov dx,0080h
3b58d mov ax,4200h
3b594 int 21h ; seek to start of PCX image data
The byte-level PCX RLE loop is direct:
read one byte into al
cx = 1
if al >= c0h:
cx = al - c0h
read one more byte into al
if 1 <= al <= 3:
al += 14h ; protect reserved palette/control colours
repeat cx times:
write al to the current VGA pixel position
advance x
if x reaches PCX width:
x = 0
y++
The interesting part is that the write is not a simple A000:[di] store. It is
a planar/tweaked write using the VGA Sequencer Map Mask:
3b5d2 mov ax,[ae9f]
3b5d5 shr ax,2
3b5d8 mul word [ae94] ; y * pitch / 4
3b5dc mov bx,[ae92]
3b5e0 shr bx,2 ; x / 4
3b5e3 add bx,ax
3b5e5 mov cl,[ae92]
3b5e9 and cl,03h ; x & 3
3b5ec mov ax,0102h
3b5ef shl ah,cl ; map mask = 1 << (x & 3)
3b5f1 mov dx,03c4h
3b5f4 out dx,ax
3b5f6 mov es:[bx],al ; write the selected plane byte
So the PCX screen is not copied into a standard chained 64,000-byte mode-13h layout. It is expanded into a planar layout where four adjacent pixels share one byte offset and are selected by the VGA plane mask. This matches the later Mode-X/unchained helper code.
Internal RLE Image Loader
The expanded image also has a simpler internal RLE loader at 0x3be20:
3be20 mov ax,0013h
3be23 int 10h ; BIOS mode 13h
3be25 mov di,253ah
3be28 sub di,0300h ; point to 768-byte RGB table
3be2c mov dx,03c8h
3be2f xor al,al
3be31 out dx,al
3be32 inc dx
3be33 mov cx,0100h
The palette upload is the familiar 256-colour loop:
for 256 colours:
out 03c9h, source_r >> 2
out 03c9h, source_g >> 2
out 03c9h, source_b >> 2
Then it decodes an internal byte stream to ES=02d4h, not directly to A000h:
3be4e mov si,0000h
3be51 add si,0080h
3be55 mov ax,02d4h
3be58 mov es,ax
3be5a xor di,di
3be5d mov cx,0001h
3be60 mov al,[si]
3be62 inc si
3be63 cmp al,0c0h
3be65 jb literal
3be67 mov cl,al
3be69 sub cl,0c0h
3be6c mov al,[si]
3be6e inc si
literal:
3be6f rep stosb
3be71 cmp di,0fa00h ; 64,000 bytes
3be75 jb 3be5d
This is PCX-like RLE again, but here the threshold byte 0xc0 controls runs in
an already embedded image stream. The output length is exactly one 320x200
screen.
Snow And Large Text Scene
The public screenshot shows the scene this code is supporting:
- a black background;
- white falling snow points;
- a Santa/gnome bitmap at the left;
- large red-and-white greeting text;
- a bottom white snow bar;
- a red Swedish/English scroller.
The support routines match that structure.
At 0x3c910 there is a point-plotter that consumes a word stream:
3c914 mov si,[a35a] ; pointer into point stream
3c918 mov bx,7362h
3c91b add bx,[si] ; source pixel/pair lookup
3c91f mov ax,[si]
3c921 mov cx,0078h
3c924 div cx ; quotient/remainder from packed coordinate
3c926 mov cx,0140h
3c92c mul cx ; y * 320
3c92e add ax,7db6h
3c932 add ax,dx ; + x
3c934 mov di,ax
It writes a 2x2 block:
3c93b mov al,[bx]
3c93d mov es:[di],al
3c940 mov al,[bx+1]
3c943 mov es:[di+1],al
3c947 mov al,[bx+78h]
3c94a mov es:[di+140h],al
3c94f mov al,[bx+79h]
3c952 mov es:[di+141h],al
This is exactly the cheap way to make snow/dots visible on a 320-wide chunky
surface: update four pixels per logical point, using 320 (0x140) as the
line stride.
At 0x3c9e4 the code manages a small palette fade/update range:
3c9f4 mov dx,03c8h
3c9f7 mov al,20h
3c9f9 out dx,al ; DAC index 32
3c9fa inc dx
...
3c9fb out 03c9h,r
3ca01 out 03c9h,g
3ca05 out 03c9h,b
It decrements or increments a 21-byte RGB table toward a target, so the scene can fade selected colours without rewriting the whole DAC.
The large bitmap/text reveal routines around 0x3cac3, 0x3cb3a, and
0x3cc12 use tiny internal RLE records. They build rows into video memory,
advance by 0x140 per scanline, and clear/pad with zero around the decoded
span. One of the reveal kernels alternates four phases:
phase 0: copy a horizontal strip forward
phase 1: walk downward by +0x140 and write edge pixels
phase 2: copy a horizontal strip backward
phase 3: walk upward by -0x140 and write edge pixels
That produces box/spiral/outline style reveals without a general blitter. The
inner operations are only rep movsb, single-byte stores, and +/- 0x140
address changes.
Unchained VGA / Mode-X Helper
The low-level VGA helper at 0x3d85f starts from BIOS mode 13h, then disables
chain-4-style behaviour:
3d85f mov ax,0013h
3d862 int 10h
3d864 mov dx,03c4h
3d867 mov ax,0604h
3d86a out dx,ax ; Sequencer memory mode
3d86b mov ax,0100h
3d86e out dx,ax ; reset/sync sequencer state
Then it programs the Misc Output and CRTC registers from a table:
3d879 mov dx,03c2h
3d87c out dx,al ; misc output
3d884 mov dx,03d4h
3d887 mov al,11h
3d889 out dx,al
3d88b in al,dx+1
3d88c and al,7fh
3d88e out dx+1,al ; unlock CRTC write-protect bit
3d893 lodsb ; register-count byte
3d896 lodsw
3d897 out dx,ax ; indexed CRTC writes
It clears video memory as words across all planes:
3d89d mov ax,0f02h
3d8a0 out dx,ax ; map mask = all four planes
3d8a1 mov ax,0a000h
3d8a4 mov es,ax
3d8a6 xor di,di
3d8a8 xor ax,ax
3d8aa mov cx,8000h
3d8ad rep stosw
There is also a tiny per-pixel plane writer:
3dc45 mov ax,[fd37] ; screen pitch / plane stride
3dc48 mul word [bp+8] ; y * stride
3dc4b mov bx,[bp+6] ; x
3dc4e shr bx,2 ; x / 4
3dc51 add bx,ax
3dc53 add bx,[bp+0a] ; page/base offset
3dc56 mov ax,0a000h
3dc59 mov es,ax
3dc5b mov cl,[bp+6]
3dc5e and cl,03h
3dc61 mov ax,0102h
3dc64 shl ah,cl ; plane mask
3dc66 mov dx,03c4h
3dc69 out dx,ax
3dc6a mov al,[bp+0c]
3dc6d mov es:[bx],al
That is the same addressing idea used in the PCX loader: pixel x,y becomes
byte offset y * pitch + x/4, and x & 3 selects the plane.
Hardware Scroll Helpers
The CRTC scroll/pan helpers write start-address and overflow bits only during
safe display timing. A representative routine waits on 03DAh, then updates
CRTC registers 0Ch, 0Dh, 07h, and 09h:
3da11 mov dx,03dah
3da14 in al,dx
3da15 test al,01h
3da17 jne 3da14 ; wait for display-enable window
3da19 mov dx,03d4h
3da1c mov ax,bx
3da1e out dx,ax ; CRTC 0Dh low start address
3da1f mov ax,cx
3da21 out dx,ax ; CRTC 0Ch high start address
3da22 mov dx,03c0h
3da25 mov al,33h
3da27 out dx,al ; attribute-controller panning
3da2b mov al,[si+fd55h]
3da2f out dx,al
Several variants around 0x3d905, 0x3da45, 0x3dab7, and 0x3db2c do the
same core job with different offsets and bounds. This makes sense for a demo
with static art and scrollers: moving the visible page start is much cheaper
than copying an entire 64,000-byte frame.
End Text And Credits
The expanded image contains an end scroller block at flat 0x1d3c4. It credits
Shaggy for code, Leinad for music, Dr Pepper from Noxious for graphics, Fr.
Melker for ideas, and TCB for GoldPlayer. It also greets CDA, TSP, TSH, Future
Crew, and other groups.
The important technical clue is the GoldPlayer credit. The sound menu is not a decorative prompt: the binary really has a broad output-device layer and two MOD files to feed it.
What Each Part Does
The practical runtime layout is:
- DOS setup:
print sound-device and speed menus, store the chosen device at
3dca:095a, and store a delay scalar at3dca:095c. - Sound/player setup: initialize the chosen Covox/Sound Blaster/Internal Honker path and load the ProTracker modules.
- Image setup: load the PCX sidecars, upload their palette tails to the VGA DAC, and expand the PCX RLE streams into planar VGA memory.
- Christmas scene: draw or reveal the Santa/greeting layout, run the bottom scroller, update snow as cheap 2x2 point writes, and fade selected palette ranges.
- Title/end sections: use embedded RLE assets, direct DAC writes, mode-13h/unchained-VGA helpers, and CRTC start-address changes for reveal and scroll effects.
- Exit:
restore text mode through
INT 10h, print the final DOS text, and return to DOS.
The code is not organized like a later clean trackmo framework. It is a first-demo engine made of pragmatic kernels:
- ask the user for timing instead of measuring;
- use RNC to keep the executable small;
- hide common formats behind numeric extensions;
- rely on PCX RLE and ProTracker formats instead of inventing everything;
- use planar VGA addressing and CRTC panning where copying would be too slow;
- use tiny special-purpose reveal loops instead of one universal sprite routine.
For a 1992 seasonal demo, that is exactly the interesting part. The effects are not huge, but the file is already using the same vocabulary as more ambitious early PC productions: packed runtime image, external modules, paletted art, VGA DAC writes, unchained planar addressing, retrace waits, and hardware start address motion.