Analysis model: gpt-5.5 xhigh Revision model: GPT-6 Astra (user-reported) Last edited: 2026-09-17
Stars: Wonders of the World by NoooN - Technical Dissection
Scope
This is a static binary dissection of Stars : Wonders of the world by NoooN,
released for MS-DOS and shown at Assembly 1995. The Assembly 1995 PC demo
archive lists the top three PC demo entries as:
1. Stars : Wonders of the world by Nooon
2. Psychic link by Juice
3. DX Project by RealTech
Useful public references:
- Assembly 1995 PC demo archive: https://archive.assembly.org/1995/pc-demo
- Scene.org archive: https://files.scene.org/get/demos/groups/nooon/nooon_st.zip
This is not a source reconstruction. The notes below come from the shipped archive, the NFO, UNP expansion of the PKLITE executable, MZ/overlay carving, static disassembly, resource-table parsing, targeted inspection of the inner loops, and a DOSBox-X runtime capture of the original release. Old BBS phone and site contact details in the NFO are intentionally not reproduced.
Examined Files
Downloaded archive:
69ef4d04d1e289144ca7f12086aed0bb05a81220ee75e9884eff6d32db57c433 nooon_st.zip
Archive contents:
ULTRINIT.EXE 18384 bytes
GO.BAT 28 bytes
FILE_ID.DIZ 493 bytes
STARS.EXE 1689417 bytes
STARS.NFO 10296 bytes
Hashes of the extracted files:
89d4dda243c6de29c001b9d2f828174599cf709f28f459f17e1e811d27241bc5 FILE_ID.DIZ
7b17200b8697ba3f271b1da4725f9b72e614658d80b73c66a3a2b774fc809d22 GO.BAT
565caa226097e8c53d268ff614d9aa6e7a3a7eb9f2982072ba74d461031a374a STARS.EXE
2477060f1265b7c192ddafd15b7cb1da10c45bd7f52a3a162ca549ec9fd80a79 STARS.NFO
b210683f780632f2cdf356c0a29f7315d0c83b241f05825fada007ad95c62b2a ULTRINIT.EXE
STARS.EXE is a DOS MZ executable compressed with PKLITE. The embedded string
is:
!PKLITE Copr. 1990-92 PKWARE Inc. All Rights Reserved
UNP expands the executable code while preserving the appended data body:
packed STARS.EXE 1689417 bytes
UNP-expanded STARS.EXE 1959042 bytes
The expanded STARS.EXE hash used for disassembly:
040983728316220aa6b854838b807dd485fbc83a1f011d5f2482f02178486b4e STARS.EXE expanded
NFO Facts
The NFO credits the production as:
Symphony GROO
3D motion and linking BARTI
System, Special effects KARL
Script and graphics RA
Replay routine LCA of Infiny
The stated requirements are modest but very specific:
386+ processor
2.5 MB free memory
valid ULTRASND string for Gravis Ultrasound
valid ULTRINIT.EXE
GO.BAT does exactly this:
@echo off
ultrinit
stars
The archive includes ULTRINIT.EXE, and STARS.EXE contains strings for
Gravis Ultrasound probing, Sound Blaster probing, and LCA's MOD player. The GUS
path is the expected primary route, but the executable also contains fallback
Sound Blaster detection strings.
Runtime Capture
The runtime pass used the original archive hash listed above, DOSBox-X
2026.01.02, a temporary local Xvfb server, and an external ffmpeg X11 grab.
This avoided a DOSBox-X internal dx-capture crash that occurred just after
STARS.EXE switched video modes. Timing zero in the notes below is the start of
the external capture, about two seconds after DOSBox-X launch.
Machine: svga_s3
Memory: 32 MB
CPU: normal core, fixed 50000 cycles
DOS memory: XMS on, EMS off
Audio path: GUS enabled, SDL dummy host audio
Environment: ULTRASND=240,3,3,5,5
ULTRADIR=C:\ULTRASND
Startup path: ultrinit -s
STARS.EXE
Capture: Xvfb 1024x768x24, ffmpeg x11grab, cropped to 640x400
Duration: 170.000 s at 30 fps

The capture validates the static script model: the production is staged around large black negative space, object entrances from the lower or side edges, palette fades, and several hard clears. Sampled runtime landmarks:
00:05-00:16 bottom-edge NoooN logo and "bring the family" typography sweep
00:45-00:65 credited name plates and dog-head collage elements
01:25-01:55 photo/palette section with sky, insect-wing, and chain overlays
02:05-02:15 saturated vector/ribbon object with strong palette remapping
02:25-02:35 distorted photo-collage remap section
02:35-02:45 repeated collage sprites moving through remapped space
The demo leaves large parts of the 320x200 logical frame black in many shots. That is not a capture crop error: the object placement is part of the visual language, and the later renderer often drives detail through a smaller active window or an off-screen entrance/exit.





MZ And Overlay Shape
The released packed executable:
file size 1689417 bytes
MZ image 70114 bytes
MZ header 160 bytes
load image 69954 bytes
overlay 1619303 bytes
entry fff0:0100
relocations 1
After UNP:
file size 1959042 bytes
MZ image 339739 bytes
MZ header 512 bytes
load image 339227 bytes
overlay 1619303 bytes
entry 50e8:0000
relocations 17
The overlay hash is identical before and after UNP:
9b9fb480a0067b573fd5265b62275f990d39e06ce970b64b8f408d6a02caed54 overlay
So PKLITE only wrapped the DOS executable image. The large art/music/resource body appended to the EXE is already in its final shipping form.
ULTRINIT.EXE is a separate MZ program:
file size 18384 bytes
MZ image 18384 bytes
MZ header 512 bytes
load image 17872 bytes
entry 0000:0100
relocations 0
Runtime Architecture
The expanded code is a custom protected-mode runtime rather than a PMODE/W or DOS/4GW binary. It enters through a real-mode bootstrap and uses DPMI services directly:
int 31h, ax=0000h allocate LDT selectors
int 31h, ax=0007h set selector base
int 31h, ax=0008h set selector limit
int 31h, ax=0009h set selector access rights
int 31h, ax=0501h allocate DOS memory block
int 31h, ax=0502h free DOS memory block
The real-mode entry constructs the protected selectors, switches segment registers, adjusts the stack, and far-returns into 32-bit code:
0x50f83 push ebp
0x50f85 pushd 0x45c97
0x50f8b retfd
The 32-bit entry at 0x45c97 is small:
0x45c97 call 0x000089 ; main script
0x45c9c call 0x045f34 ; memory manager / shutdown path
...
0x45cd6 call 0x045f6f ; cleanup
0x45cdb int 21h, ax=4c00h
It also installs protected-mode exception handlers. DPMI vectors 0 and 13 are saved and replaced, giving the demo its own divide-by-zero and general protection fault reports. The crash path restores text mode and prints register state.
Heap And Selector Model
The internal heap uses 16-byte block headers and four-byte tags:
KMMF free block
KMMB busy block
Important routines:
0x45f8d initialize heap sentinels
0x45fb5 allocate from the low/front side
0x46021 allocate from the high/back side
0x4606c free and coalesce adjacent blocks
0x460ac return allocation size from block header
0x460b0 shrink/split an allocation
0x46181 create a selector for a linear buffer
0x461db free a selector
The two allocation directions matter. Resource loading uses 0x46021, which
places packed resource data from the high side of the heap. Normal effect
buffers usually use 0x45fb5, from the front. The resource depacker then frees
the packed high-side block after producing a normal unpacked block.
Selector creation at 0x46181 takes a linear buffer, adds the protected-mode
linear base, allocates one selector, sets base and limit, then copies the access
rights from DS with 32-bit present data semantics. Effects use those selectors
as ES, FS, and GS so byte indexing can stay compact inside the inner
loops.
Resource Table
The expanded EXE has a 68-entry resource table at the very end of the file.
The table starts at file offset 0x1de152; each entry is 12 bytes:
struct stars_resource_record {
uint32_t id;
int32_t seek_from_eof;
uint32_t stored_size;
};
The loader at 0x43374 indexes from EOF:
movzx ecx, ax
imul ecx, ecx, -12 ; record offset relative to EOF
call seek_from_eof
read 12 bytes to 0x43348
edx = [0x43350] ; stored_size
call high_side_alloc
ecx = [0x4334c] ; seek_from_eof
call seek_from_eof
read stored_size bytes
call maybe_depack
Selected records:
id stored size unpacked size data start type
01 462087 677314 0x052f1b dlz
02 418622 660712 0x0c3c22 dlz
03 46040 65536 0x129f60 dlz
04 50485 65536 0x135338 dlz
05 700 768 0x14186d dlz
06 2968 20781 0x141b29 dlz
07 4375 37936 0x1426c1 dlz
08 2442 65984 0x1437d8 dlz
28 768 raw 0x17f261 raw table
33 768 raw 0x19f905 raw table
44 634 768 0x1bd0d7 dlz
68 2667 64000 0x1dd6e7 dlz
The final resource ends exactly where the 68-record table begins:
resource 68 start 0x1dd6e7
resource 68 size 2667
table start 0x1de152
That confirms the table is not a guessed structure: it is the trailer directory used by the live loader.
DLZ Depacker
Resource post-processing starts at 0x43540. It checks for a packed header:
0x43540 pusha
0x43541 cmp word [eax+6], 0x6c64 ; "dl"
0x43549 cmp byte [eax+8], 0x7a ; "z"
For dlz resources, the unpacked size is encoded in a 22-bit-ish form:
unpacked_size = (src[0x0e] << 14) | read16le(src + 0x0f);
The bitstream begins at src + 0x11. The core depacker at 0x435b0 is an LZ
copy engine:
BP = 16-bit bit buffer
DL = number of bits left in BP
ESI = packed stream cursor
EDI = unpacked output cursor
EBX = negative back-reference offset
CL = copy length
Every bit test follows the same pattern:
shr bp, 1
dec dl
if dl == 0:
dl = 16
bp = read16(esi)
esi += 2
branch on carry
The literal path is minimal:
if next_bit_is_1:
*edi++ = *esi++
continue
The match path reads one byte into BL, starts BH as 0xff, and then uses
more flag bits to choose the offset and length class. The simple class copies
two bytes from a short negative offset:
bh = 0xff
bl = *esi++
...
cl = 2
copy from edi + ebx to edi for cl bytes
Longer classes build high offset bits with rcl bh,1, then build CL through
a chain of bit tests. The actual copy is always:
push esi
esi = edi + ebx
rep movsb
pop esi
So the unpacker supports overlapping LZ copies; it is not a pure memcpy from a
separate dictionary. EOF is an escape in the same match-token grammar: a BL
value of 0xff combined with the terminating flag causes the source allocation
to be freed and the unpacked allocation to be returned.
If the dlz marker is absent, the routine allocates a same-size block, copies
the resource bytes directly, frees the packed input block, and returns the copy.
That raw path is used by the two 768-byte table resources.
Main Script And Music Timing
The main routine begins at 0x89. It first performs cleanup from any previous
state, initializes the LCA player, waits for command-line/environment parsing,
opens the resource file handle, installs the timer interrupt, sets VGA mode
13h, and allocates a 1 MB script/data workspace:
0x0094 call 0x434c3 ; restore previous timer vector / PIT state
0x0099 call 0x43367 ; close resource file handle if open
0x00a5 call 0x1a46c ; audio/player init
0x00aa call 0x45d05 ; PSP/environment helper
0x00cc edx = 8
0x00d1 call 0x4335a ; open resource file
0x00d6 call 0x43495 ; install IRQ0/timer handler
0x00db bx = 0x4286
0x00df call 0x434e2 ; program PIT divisor
0x00e4 int 10h, ax=0013h ; 320x200x256
The top-level script has two big phases. It loads resource 1 into the 1 MB workspace, executes a long chain of part calls, frees that workspace, loads resource 2 into a new 1 MB workspace, and executes the second chain.
The recurring wait primitive is:
call 0x1b3e1
xchg al, ah
cmp ax, pattern_threshold
jbe wait
0x1b3e1 returns two bytes from the LCA replay state:
0x1b3e1 mov al, cs:0x1b415
0x1b3e7 mov ah, cs:0x1b414
0x1b3ee ret
So thresholds such as 0x0b00, 0x1600, 0x2700, 0x3500, and 0x4500
are music-position thresholds, not wall-clock frame counts.
The first large phase:
load resource 1
copy/depack into 1 MB workspace
0x56f6 / 0x56a2 / 0x5701 setup first part family
0x1200d start effect
wait 0x0b00
0x122bc / 0x11fc5 / 0x11994 / 0x11a6b / 0x11b35
clear A000h
0x61e3 effect group
wait 0x1600
0x6124 / 0x61a1 stop/free group
clear A000h
0x9921 effect group
wait 0x2700
0x934b / 0x99d9
clear A000h
0x0bbe span/raycast-like part
wait 0x3500
0x0d42 / 0x0c67
clear A000h
0x9d64 effect group
wait 0x4500
0x9cda / 0x9f3d
wait 0x5500
image/palette transition using resources 0x2c and 0x2d
wait 0x5614
The second phase begins the same way:
load resource 2
copy/depack into 1 MB workspace
0x16c06
wait 0x0100
image/palette fade out
wait 0x0200
0x1679c
wait 0x0a00
0x13284 / 0x132a9
0x15500
wait 0x1200
0x155da / 0x1558d
0x17036
wait 0x1500
0x1722a
0x132ca / 0x13299
wait 0x3000
0x1073f / 0x1049c / 0x107f2
wait 0x3e00
several image/palette transitions using resource pairs 0x3c..0x43
delay 0x14 retraces
free workspace
delay 0xb4 retraces
final fade
return to text mode
The important design point is that STARS.EXE is not a linear blob of effects.
It is a music-position script driving effect modules, resource loads, palette
state, and explicit screen clears.

The early runtime sequence matches that scripting style closely. The logo and typographic material is not simply blitted full-screen; it is staged as cropped edge motion against black, then faded or cleared before the next family/name plate enters. The black frames in the contact sheet line up with the explicit screen clears and fade transitions in the top-level call chain.
Timer Interrupt
The timer path is tiny and callback-oriented.
0x43495 saves the old interrupt vector, installs handler 0x4350b, and sets
the callback pointer at 0x43426 to a default ret routine. 0x434e2 writes
the PIT divisor through ports 0x43 and 0x40:
out 0x43, 0x36
out 0x40, low(divisor)
out 0x40, high(divisor)
The actual IRQ handler:
push eax
push ds
ds = program data selector
call [0x43426]
out 0x20, 0x20 ; EOI to PIC
pop ds
pop eax
iret
Effects install their per-tick update routine with 0x434fa and restore the
dummy callback with 0x43500. This lets a heavy frame renderer remain in the
foreground while animation parameters advance from IRQ0.
VGA And Palette Helpers
The demo uses plain mode 13h framebuffer addressing for the analysed paths, but it does direct DAC and retrace control.
Palette scale helper:
source RGB byte -> AL
AX = AL * BX
AX = high-scaled result
if AL > 63: AL = 63
*dest++ = AL
DAC upload helper:
out 0x3c8, first_index
dx = 0x3c9
repeat count * 3:
out dx, *esi++
Palette blank:
out 0x3c8, 0
repeat 768:
out 0x3c9, 0
Vertical retrace wait at 0x432a0:
dx = 0x3da
while (in(dx) & 8) != 0: pass ; wait out current retrace
while (in(dx) & 8) == 0: pass ; wait for next retrace
The image/fade helpers around 0x552, 0x686, and 0x72e combine those
pieces. They load one 64,000-byte image resource and one 768-byte palette
resource, blit the image to A000h with rep movsd, and fade palette intensity
over 32, 64, or 128 retraces.
The tiny palette interpolation loops are deliberately simple:
0x078c for 768 bytes: dst = (src * bp) >> 5 ; 32-step scale
0x07a0 for 768 bytes: dst = (src * bp) >> 6 ; 64-step scale
0x07b4 for 768 bytes: dst = (src * bp) >> 7 ; 128-step scale
0x07d6 upload all 768 bytes to DAC ports
Inner Loop: Span/Raycast-Like Part At 0x0bbe
The clearest self-contained rendering core starts at 0x0bbe. I am not naming
the visual effect from static code alone; mechanically it is a height/span
renderer into a 256-wide intermediate surface followed by a precomputed remap
to the 320x200 VGA screen.
Setup:
load resource 3 -> 64 KB selector at [0x804]
load resource 4 -> 64 KB selector at [0x806]
allocate 0x300 palette work buffer
load resource 5 -> palette source
build screen remap at 0x0eca
build a small lookup strip at [0x810]
The frame driver at 0x0d42 installs IRQ callback 0x0ad5, then each frame:
wait vertical retrace
update palette fade
format frame counter text/value through 0x178b0
build per-column stepping table at 0x0cb2
difference it against previous table at 0x0d28
render spans at 0x0dc1
exit on Esc or music position > 0x44
Per-Column Table 0x0cb2
This loop builds 256 word deltas from a sine table:
esi = [0x0a16] & 0x0fff
edx = 0
ebx = 0
do 256 times:
eax = sintab[esi] ; dword at 0x0a340 + esi * 4
eax >>= 10
eax *= 0x100
eax += edx ; low byte phase / y coordinate
word [0x0816 + ebx*2] = ax
esi += [0x0a26]
dl++
bl++
0x0ce9 is a related amplitude version. It takes one sine value, shifts it by
7, multiplies by the column number, then writes the same word table format.
0x0d28 turns the new absolute table into per-column deltas:
for bl = 255 down to 1:
word[0x0816 + bl*2] -= word[0x0814 + bl*2]
That means the renderer can advance its source coordinate with one 16-bit add per sample instead of recalculating a sine expression in the inner loop.
Remap Precompute 0x0eca
0x0eca builds a 64,000-entry word map, stored as 0x7d00 dwords. The bounds
make the coordinate system explicit:
0x1400000 / 65536 = 320
0x0c80000 / 65536 = 200
The loop walks 4096 angles. For each angle it starts near fixed-point screen center:
x = 160 << 16
y = 100 << 16
Then it steps outward up to 0xbe times using sine/cosine-derived increments
from tables at 0x0a340 and 0x0b340. The screen index is:
index = (y >> 16) * 320 + (x >> 16);
If the word map entry is still zero, it stores two bytes:
low byte = depth counter CL
high byte = angle group DL
So the map is a first-hit polar-to-screen table. Later rendering can visit the screen in linear order and fetch from the intermediate effect buffer through precomputed packed offsets.
Foreground Renderer 0x0dc1
The first part of 0x0dc1 does not clear the entire intermediate surface. It
clears a narrow 24-byte strip at offset +0xa9 on each of 256 rows:
edi = [0x07f6] + 0xa9
repeat 256 rows:
store six zero dwords
edi += 0x100
Then it sets three segment registers:
FS = selector [0x0814] height/lookup table
ES = selector [0x0804] source index field from resource 3
GS = selector [0x0806] color field from resource 4
The main span loop is 256 output rows. The initial source coordinate is built from two bytes:
dh = [0x0809]
dl = [0x080b]
For each destination row:
saved_edx = edx;
saved_edi = row_pointer;
ch = 0; // current filled height
bh = 0; // source scan/sample coordinate
for (sample = 0; bh < 0xd2; sample++) {
bl = ES[edx]; // resource-index byte
cl = FS[bx]; // height at this sample
if (cl > ch) {
cl -= ch; // only draw newly visible height
al = GS[edx]; // color at this source coordinate
ch += cl;
// run-fill cl bytes with color al
if (cl & 1) *edi++ = al;
cl >>= 1;
if (cl & 1) { *(uint16_t *)edi = al | (al << 8); edi += 2; }
cl >>= 1;
eax = al repeated four times;
while (cl--) { *(uint32_t *)edi = eax; edi += 4; }
}
bh += 2;
dx += word[0x0816 + sample*2];
}
edx = saved_edx;
edi = saved_edi + 0x100;
dh++;
The important tricks:
- It is horizon/height style hidden-surface drawing:
CHremembers the highest filled point, and only positive height deltas become spans. - It keeps all source indexing in
DXand updates it with a precomputed word delta table. - It uses
BHas the loop coordinate, soBXcan addressFS[BX]afterBL = ES[DX]. - It expands runs with byte/word/dword stores, avoiding a one-byte loop for most spans.
- It draws into a 256-byte stride surface, not directly to A000h.
Final Screen Remap 0x0e80
The second half of 0x0dc1 maps the 256-wide intermediate surface to the
320x200 VGA screen:
FS = selector [0x07fa] ; intermediate surface
EDI = 0x9fffc - linear_base
EBX = [0x07f0] ; remap table
ECX = 0x3e80 ; 16000 dwords = 64000 pixels
Each iteration emits four VGA pixels:
uint32_t p1 = *(uint32_t *)(ebx + 4);
al = FS[p1 & 0xffff];
ah = FS[p1 >> 16];
eax <<= 16;
uint32_t p0 = *(uint32_t *)(ebx + 0);
al = FS[p0 & 0xffff];
ah = FS[p0 >> 16];
ebx += 8;
edi += 4;
*(uint32_t *)edi = eax;
Starting EDI at 0x9fffc and adding 4 before the store makes the first write
land at A000:0000 after subtracting the protected-mode linear base. The loop
then writes exactly 64,000 bytes.
This is the main performance shape: a compact renderer writes a convenient intermediate space, and a dense remap table converts it to the mode 13h screen with four dependent byte reads and one dword store per four pixels.
Inner Loop: Mapped Image Distortion Around 0x57f4
Another strong rendering family starts at 0x57f4. It constructs a 320x200
word map and then uses that map every frame to sample a texture/image resource.
The map builder allocates 0x1f400 bytes:
0x1f400 bytes = 128000 bytes = 64000 words
It initializes the whole buffer to 0xffffffff. Each dword covers two pixels,
so every pixel starts as one 0xffff sentinel word, not two as previously
stated:
edi = map
eax = 0xffffffff
ecx = 0x7d00
rep stosd
It then builds a 4096-entry sine-derived helper table at 0x0f60:
for (i = 0; i < 4096; i++) {
table[i] = (sintab[phase] + 0x10000) >> shift;
phase += phase_step;
}
The main map-fill loop walks esi from 0 to 0x4000 in steps of 4. The code
uses self-modifying immediates: it writes sine/cosine values into the immediate
fields of the later add edx, imm32 and add eax, imm32 instructions. That
saves two memory loads inside the radial loop.
Per ray:
radius_start = table[esi >> 2] + 1;
steps = 100 - radius_start;
uint32_t x = 160 << 16;
uint32_t y = 100 << 16;
bp = ((si << 3) & 0xff00) | (radius_start & 0xff);
do {
y += patched_dy;
if (y >= 200 << 16) break;
x += patched_dx;
if (x >= 320 << 16) break;
bx = (y >> 16) * 320 + (x >> 16);
if (FS[bx] == 0) {
map[bx] = bp;
}
bp = (bp + 1) & 0xffff;
steps = (steps - 1) & 0xffffffff;
} while (steps != 0);
The code contains a second cmp FS[bx], 1 immediately before the store, but no
conditional branch uses it. The live write condition is the preceding
FS[bx] == 0 test.
That FS byte is an eligibility mask, not a first-hit marker: this loop does
not set it after writing, nor does it test whether the map word is still
ffffh. Consequently, a later ray can replace an earlier ray's map entry.
This differs from the separate first-hit remap at 0x0eca above. Two
controlled 99-step rays with different packed angle words and the same
trajectory confirmed all 99 replacements while the FS mask stayed unchanged.
The coordinate comparisons are unsigned, which also rejects wrapped negative
16.16 positions. The actual counter is tested after the body; it is not a
zero-trip while (steps--) loop.
The render loop at 0x5a0f is direct and classic:
FS = selector [0x4f78] ; source image/texture selector
ESI = current word map
EDI = A0000 - linear_base
ECX = 0xfa00 ; 64000 pixels
For each screen pixel:
uint16_t bx = *map++;
if (bx != 0xffff) {
al = FS[(bx + dynamic_offset) & 0xffff];
*vga++ = al;
} else {
vga++;
}
The wrap is imposed by the original address-size override, not an inferred texture boundary:
5A4B: mov bx,[esi]
5A4E: add esi,2
5A51: cmp bx,ffffh
5A55: je 5A5F
5A57: mov al,[fs:bx+disp16] ; bytes 64 67 8A 87 xx xx
5A5D: mov [edi],al
5A5F: inc edi
5A60: dec ecx
5A61: jnz 5A4B
In this 32-bit code, prefix 67h makes the effective offset 16-bit. For
example, map word fffeh and displacement 1234h read FS offset 1232h,
not 11232h. The sentinel comparison happens before that addition: ffffh
always skips the texture read and VGA write, leaving the previous pixel
untouched. Every frame still consumes all 128,000 map bytes and advances
through all 64,000 destination positions. If V map entries are non-sentinel,
it performs exactly V texture-byte reads and V VGA-byte writes.
The dynamic_offset is patched into the instruction displacement from bytes at
0x4f6e and 0x4f6c, and 0x4f6e is updated each frame from the sine table:
ebx = word[0x4f6c] << 7
ebx &= 0x3ffc
eax = sintab[ebx] + 0x10000
eax >>= 12
word[0x4f6e] = ax
So this part spends setup time generating a visibility/sample map, then renders the live frames with one map read and sentinel branch per pixel, plus the conditional texture read and VGA write described above.
The 2026-09-17 check freshly downloaded the cited archive and reproduced the
exact unpacked EXE hash listed earlier using UNP 4.12. Four isolated full
render-loop executions used synthetic word maps, source bytes, a real 16-bit
FS effective-address path, and displacements 0000h, 0001h, 1234h,
and ffffh. All source read addresses, output write addresses/values/order,
and complete output buffers matched. Each case had 58,180 visible entries
and 5,820 sentinel holes; all holes retained their initial pixels. Together
with the overlapping-ray test, this verifies the recovered kernels, not a
new runtime capture or the existing screenshot-to-scene associations.
Inner Loop: Image And Palette Transitions
The image transition routines are less exotic but important to the pacing. The pair-based system uses globals:
[0x0778] first resource id
[0x077c] second resource id
[0x0780] temporary 768-byte palette
[0x0784] first loaded resource pointer
[0x0788] second loaded resource pointer
0x686 loads both resources, clears the screen, uploads an initial darkened
palette, blits the second resource as a 64,000-byte image, then ramps the
palette for 64 retraces:
load resource [0x778] -> first
alloc 768 palette bytes
load resource [0x77c] -> second
scale_palette(first_palette, bp=0, shift=6)
wait_retrace()
upload_palette()
memcpy(A0000, second_image, 64000)
for (bp = 0; bp != 0x3f; bp++) {
scale_palette(first_palette, bp, shift=6)
wait_retrace()
upload_palette()
}
0x72e reverses the process by counting BP down from 0x40 and then frees
the three allocations. The last part uses 0x640, which is the same pattern
with a 128-step shift.
This is deliberately synchronized to retrace, not to the music byte. The music script decides when a transition begins; the transition routine controls its own exact retrace count once called.

The photo section around 01:25-01:55 is a good runtime example of why those image/palette helpers matter. The visible work is not only a 64,000-byte image copy; the same scene is repeatedly re-lit by palette ramps while separate foreground shapes enter from the edge of the frame.

The later saturated object section is the clearest visual counterpart to the selector/table-heavy rendering code. The object is not a conventional shaded 3D mesh in the modern sense; it behaves like a remapped image/vector texture being driven through precomputed screen-space tables and palette state.

The final collage/remap material reinforces the same point. Still frames can look like arbitrary chopped-up photos, but the short clip shows that the effect is built around coherent warping and repetition. That is visually consistent with the masked, overwriteable map, sentinel entries, wrapping texture offset, and 64,000-position screen loop above. This remains a visual-to-code interpretation, not an instruction trace identifying the clip's active routine.
What The Code Suggests About The Visual Design
The binary architecture matches a sophisticated 1995 trackmo:
- a compact protected-mode runtime rather than a generic extender;
- appended resource archive inside the executable;
- custom LZ resource compression;
- LCA music replay state used as a timeline clock;
- timer-callback effect updates;
- selector-heavy access to 64 KB resources;
- many full-screen mode 13h effects;
- screen-space remap tables and per-frame sine tables to keep inner loops cheap;
- palette transitions treated as first-class timed parts.
The 0x0bbe part is the most instructive inner loop in this pass. Its
combination of a first-hit screen remap, a 256-byte stride intermediate buffer,
height-delta span drawing, and final packed offset remapping is exactly the kind
of structure that made mid-1990s DOS demos look much richer than a naive
per-pixel renderer could manage on a 386/486.

The runtime capture also explains the unusual asset choices. Stars is less
about continuous full-screen tunnel spectacle than about abrasive graphic
design: cropped logos, mascot heads, cut-out photos, palette violence, and
music-timed entrances. That makes the modest mode-13h framebuffer less of a
limitation; the code spends its budget on when and how pieces enter, remap, and
fade.
Runtime-To-Code Concordance
The five motion clips now form a direct cross-index into the recovered architecture rather than a loose gallery of attractive frames.
The title-sweep GIF maps to the top-level music-position script. It is visible
runtime evidence for the early resource-1 phase: staged logo/typography motion,
explicit A000h clears, and fade transitions around the first effect-family
calls. The code-side anchors are the 0x89 main script, the LCA
music-position wait primitive at 0x1b3e1, the IRQ0 callback installer at
0x43495, and the mode-13h setup before the first 1 MB workspace is populated.
The sunset/photo-chain GIF maps to the image-and-palette transition system.
Those scenes are not just still pictures placed back to back: routines around
0x552, 0x686, and 0x72e load paired 64,000-byte image resources and
768-byte palette resources, copy full frames to A000h, and ramp palette
intensity over retrace-counted 32/64/128-step loops. The GIF shows the exact
kind of relighting and edge entrance that those helpers are built to support.
The vector-ribbon GIF maps to the selector/table-heavy remap family. The safe code-side link is not a modern shaded-mesh claim; it is the combination of front-side heap buffers, generated or precomputed screen-space tables, selector access to 64 KB resources, and palette state. The visible saturated ribbons behave like image/vector texture material driven through remap tables rather than a simple full-screen bitmap.
The flesh-warp GIF maps most directly to the 0x57f4 mapped-image distortion
family. That code builds a 64,000-word screen map, keeps sentinel 0xffff
entries for holes, patches sine-derived offsets into the render path, and then
renders with a map read plus a texture byte read per visible pixel. The clip
shows why that matters: the chopped photo material repeats coherently through
space instead of flickering as unrelated stills.
The dog-collage GIF maps back to the script and transition layer more than to one hot loop. It is evidence for music-timed graphic entrances, mascot/collage assets, black negative space, and hard/faded page changes. That belongs beside the resource table, DLZ loader, LCA timeline waits, and palette/VGA helpers because the design depends on the scheduler as much as on individual renderers.
The current analysis therefore has two levels of confidence: the resource
loader, DLZ depacker, music-position script, timer callback, VGA/palette
helpers, 0x0bbe span/remap core, and 0x57f4 mapped-image distortion are
code-backed; original part names and the exact implementation of every other
visual family remain intentionally bounded.
Limits Of This Pass
The archive does not include source, and I did not attempt a full decompilation of every effect module. Effect names in this writeup are therefore mechanical descriptions, not claimed original part names. The runtime capture is from emulation, not from period hardware, and the external X11 grab records the DOSBox-X window rather than the guest framebuffer directly.
The resource unpacker and two major rendering families are understood well
enough to explain their data flow and hot loops. Several other effect groups in
the call chain deserve separate passes if we want complete coverage of every
part, especially the large groups around 0x11994, 0x1200d, 0x15500, and
0x17036.