Analysis model: gpt-5.5 xhigh
Jump by Public NMI - Technical Dissection
Subject: Jump by Public NMI.
Release year: 1992. Demozoo gives the release date as 29 December 1992 at The Party 1992, in the PC demo competition. Pouet lists the production as an MS-DOS demo released in December 1992.
This is a multipart, real-mode DOS demo built from separate executables tied
together by JUMP.BAT. It is not one large engine with one central part
dispatcher. The three substantial visual parts are:
BOBS.EXE- Public NMI logo and vector/ball sprite stage.LANDSCAP.EXE- dot landscape / height-field stage.SBOBS.EXE- "twenty shadebobs" / plasma-looking additive stage.
There are also three small fade*.exe transition programs, SETUP.EXE for
GoldPlay sound setup, and UMDREH.EXE, a final text-screen rotation TSR-style
piece.
Old archive documentation contains personal contact material. I used it only for structural verification and public credits context; those details are intentionally not reproduced here.
Sources
- Pouet production page: https://www.pouet.net/prod.php?which=4210
- Demozoo production page: https://demozoo.org/productions/5309/
- Demozoo screenshot page: https://demozoo.org/productions/5309/screenshots/
- Demozoo Public NMI group page: https://demozoo.org/groups/6630/
- DOSBox-X compatibility note for this demo: https://dosbox-x.com/wiki/Software%3Ademoscene%3AJump-by-Public-NMI-(1992)
- Hornet/scene.org archive: https://files.scene.org/get/mirrors/hornet/demos/1992/jump.zip
Public Metadata
Demozoo credits Public NMI with HSMF and PC Pac on code, Raed-Aed on graphics,
and Trashcan on music. The soundtrack references include Re-Call and
Cultoftecno, both ProTracker modules by Trashcan according to Demozoo.
The local archive supports that public metadata structurally: the three module
files are normal M.K. ProTracker modules with titles:
bobs.mod re-call
landscap.mod cultoftecno
sbobs.mod 16 bit
The executable credits and code ownership in the local readme line up with the three-stage split: shadebobs and landscape are HSMF-facing parts, while the fast sprite/vector-ball part is PC Pac-facing. The archive also identifies the font as coming from another scene source. I am not copying the private contact section.
Visual References
These are public Demozoo screenshots copied into the local image directory.




I also made local DOSBox-X captures of the three main executable parts. These are not a perfect full-demo run because the original batch chain expects interactive part transitions and runs a setup stage first. The captures are direct executable runs with no music, used only to give exact local visual timestamps for the individual parts.







Runtime Capture
Local capture setup:
Emulator: DOSBox-X 2026.01.02 SDL2
Capture date: 2026-06-20
Machine: vgaonly
Memory: 1 MB
CPU: normal core, 386, 5000 cycles
Audio: disabled for capture
Commands: BOBS.EXE, LANDSCAP.EXE, SBOBS.EXE run separately
Input: queued N for the music prompt, queued ESC around 16 seconds
Timing zero: start of each direct `dx-capture /v <part>.EXE` capture
This intentionally follows the DOSBox-X compatibility note's conservative
vgaonly, 1 MB, normal 386, 5000-cycle direction. The DOSBox-X note warns that
the landscape part is cycle-sensitive and can disappear above roughly 7000
cycles. The 5000-cycle captures did show the dot landscape.
Because sound was disabled and each part was captured directly, the timestamps below are part-local timestamps, not the original full-batch timeline:
BOBS.EXE:
00:06.000 Public NMI logo with diagonal purple ball train.
00:10.000 Same vectorball/logotype stage with shifted ball train.
LANDSCAP.EXE:
00:06.000 dot landscape visible as a forward height-field grid.
00:10.000 landscape phase with higher ridges and denser foreground dots.
SBOBS.EXE:
00:06.000 "INCOMING TWENTY SHADEBOBS" title.
00:10.000 accumulated additive shadebob field / plasma-looking frame.
The GIF in the visual-reference section is therefore a direct-part overview:
two 640x400 frames from BOBS.EXE, two from LANDSCAP.EXE, and two from
SBOBS.EXE. It is assembled directly from those DOSBox-X frames and is not a
claim about uninterrupted full-batch timing.
Archive Layout
The downloaded archive is the Hornet mirror jump.zip:
jump.zip 288316 bytes
SHA-256 5e49db3e058bc4e84a2f276e2c3c9f4fdda2b009eda5377e2e2a53f099d918b2
Extracted files:
bobs.exe 80516 bytes vector/ball sprite part
bobs.mod 65822 bytes ProTracker module, title "re-call"
demo.cfg 7 bytes setup input/config, text "Y6225"
fade1.exe 6560 bytes LZEXE 0.91 transition stub
fade2.exe 3360 bytes LZEXE 0.91 transition stub
fade3.exe 1712 bytes LZEXE 0.91 transition stub
jump.bat 157 bytes original launcher chain
landscap.exe 148132 bytes dot landscape part
landscap.mod 102418 bytes ProTracker module, title "cultoftecno"
read.me 1848 bytes release notes, credits, old contact material
sbobs.dat 10562 bytes data for the shadebob part
sbobs.exe 125700 bytes shadebob/plasma part
sbobs.mod 100606 bytes ProTracker module, title "16 bit"
setup.exe 38246 bytes GoldPlay setup
umdreh.exe 4736 bytes final text-screen rotation helper
Main extracted hashes:
5f7b4378f969fda57eb90b09aefdb6f601084a69afab2d3b28828cdc1e0b2515 bobs.exe
a4b82c56eaccf92ddd8a60ea7ec1a1b575b0080ad812c667ffe65bc32154023c landscap.exe
8f4c76101d26e93167eacefc0debd3d0b3e71517a62ac2aef7346a787a1e1fce sbobs.exe
54e18ce48cb1a8558503baaec007c31af339017883573869844a64f1131e407d sbobs.dat
582842da1a78302785cd74aa0e89df496e7b856f17f2e4d9af16fcc5bdec9117 setup.exe
8086c63870cc5910f2c206409d50f94b320cad7e5b1e4cc0f83aa5109cb207d0 umdreh.exe
The original launcher:
@echo off
setup
ctty nul
fade1
bobs<demo.cfg
fade2
LANDSCAP<DEMO.CFG
fade3
SBOBS<DEMO.CFG
ctty con
mode co80
echo contact PUBLIC NMI NOW
umdreh
The important point is the redirection. Each major part asks whether music
should be enabled. demo.cfg begins with Y, so the original batch answers
yes. The remaining characters, 6225, match the setup-style sound choices:
Sound Blaster Pro, 220h, IRQ 5, and a replay-rate choice. For visual capture I
used N instead, because the goal was video timing and the Sound Blaster path
is known to be emulator-sensitive for this production.
MZ Shapes
The three large visual executables are normal MZ files with a 512-byte header.
The three fade*.exe files are small LZEXE 0.91-compressed MZ files with
32-byte headers. UMDREH.EXE is also normal MZ.
bobs.exe:
size 80516
header 512
relocs 12
entry 0000:0000, file offset 0200h
ss:sp 0635:0064
landscap.exe:
size 148132
header 512
relocs 10
entry 0000:009c, file offset 029ch
ss:sp 0b32:0200
sbobs.exe:
size 125700
header 512
relocs 8
entry 0000:0035, file offset 0235h
ss:sp 15c8:0100
setup.exe:
size 38246
header 512
relocs 0
entry 0901:0010, file offset 9220h
ss:sp 09c8:0080
umdreh.exe:
size 4736
header 512
relocs 1
entry 0000:0000, file offset 0200h
ss:sp 0108:00c8
There is no single packed outer demo shell around the main parts. The organization is older and more transparent: DOS batch file, independent MZ programs, ProTracker sidecars, and a shared GoldPlay setup convention.
Sound Setup and GoldPlay
SETUP.EXE, LANDSCAP.EXE, and SBOBS.EXE contain GoldPlay setup and player
strings. SBOBS.EXE exposes the clearest setup menu text:
GoldPlay ver 1.00
Sound System Setup - Using GoldPlay ver 1.00 by Sourcer and Robban
Soundplayer / Covox speechthing in LPT1
Soundplayer / Covox speechthing in LPT2
Soundblaster
Internal Speaker
Soundplayers in LPT1 and LPT2 * STEREO *
Soundblaster PRO * STEREO *
Stereo-Soundplayer in LPT1 * STEREO *
Stereo-Soundplayer in LPT2 * STEREO *
The parts use far calls into the linked GoldPlay/player code after the user
answers the music prompt. For example, BOBS.EXE sets a local music flag when
it reads Y/y, then calls far routines in the player block before the visual
setup. If the answer is N/n, the visual part still runs.
This matters for reconstruction: most of the graphics loops are not timer callback renderers. They are foreground VGA loops that optionally call or coexist with the module player.
fade1.exe, fade2.exe, fade3.exe
The three fade files are LZEXE 0.91 compressed transition helpers. They are not
large effect engines. Static strings identify the LZEXE version (LZ91), and
the bodies contain small VGA/DAC/retrace access patterns.
Their job in the original chain is simple:
fade1 before BOBS
fade2 before LANDSCAP
fade3 before SBOBS
The structure suggests separate transition cards rather than shared in-memory state. Each fade program starts, sets or modifies screen/palette state, exits, and lets DOS run the next executable. Because the main parts reinitialize VGA state themselves, the fade stubs are presentation glue, not required loaders.
BOBS.EXE: Startup
BOBS.EXE starts at file offset 0200h. The first instructions shrink the
memory allocation and ask whether music should be enabled:
0200 mov ah,4ah
0202 mov bx,249fh
0205 int 21h ; resize allocation
0207 mov ax,0000h
020a mov ds,ax
020c mov dx,01b5h
020f mov ah,09h
0211 int 21h ; "Do you want music (Y/N)"
0213 mov ah,01h
0215 int 21h ; blocking key read
0217 cmp al,59h ; Y
...
0235 mov byte ptr cs:[01d3h],01h
Then it switches to its work segment, optionally initializes GoldPlay, and sets up graphics:
023b mov ax,0122h
023e mov ds,ax
0240 cmp byte ptr cs:[01d3h],01h
024b call 0ad0h:498eh ; player setup path
0250 call 0ad0h:4931h
0258 call 0ad0h:3f9dh
025d call 135ah ; video / buffer setup
0263 call 1311h ; phase-dependent draw helper
0269 call 13b3h ; phase-dependent draw helper
The visible string near the drawing code says:
* * * FASTEST SPRITES 1.0 Codeing:PC-PAC * * *
The spelling is from the binary. The engine is not drawing arbitrary bitmaps through a high-level sprite library. It contains multiple unrolled plane-aware stamp routines for small shaded ball shapes.
BOBS.EXE: Main Loop
The main animation loop increments two four-state phase counters:
027c mov al,cs:[01d1h]
0282 inc al
0284 cmp al,04h
028b mov al,00h ; wrap phase 0..3
028d mov cs:[01d1h],al
0291 call 1311h
0294 mov al,cs:[01d2h]
029a inc al
029c cmp al,04h
02a3 mov al,00h ; wrap another phase 0..3
02a5 mov cs:[01d2h],al
02a9 call 13b3h
Then it advances through a word table at segment 0122h, offset 030ah:
02ac mov bx,cs:[01cfh]
02b1 inc bx
02b2 inc bx
02b3 mov cs:[01cfh],bx
02b8 mov ax,0122h
02bb mov es,ax
02bd mov di,030ah
02c0 mov ax,es:[bx+di] ; next script/value word
02c3 or ax,ax
02c5 je part_end
That word is split into:
02ca mov si,ax
02cc shr si,2 ; coarse position/index
02cf and ax,0003h ; low 2 bits select one of 4 stamp variants
02d2 call 03d4h
So the core representation is compact: a table word encodes a position/index plus a two-bit phase. The called routine dispatches to one of four large stamping kernels.
After stamping, the loop:
02d5 mov al,cs:[01d2h]
02d9 call 13b3h
02de mov ds,cs:[1158h]
02e3 mov si,0c99h
02e6 call 063ch:0000h ; helper in another segment, likely player/tick path
02ed in al,60h
02ef cmp al,01h ; ESC scancode
02f6 jmp 027ch ; continue
The keyboard test reads port 60h directly rather than going through BIOS,
which is typical for a tight demo loop.
BOBS.EXE: Retrace and Fade-Out
When the table reaches zero, the part performs a long palette fade:
02fb xor cx,cx
0306 mov cl,03h
0308 mov dx,03dah
030b in al,dx
030e test al,08h
0310 je wait_not_vblank
0315 in al,dx
0318 test al,08h
031a jne wait_vblank_end
031c in al,dx
031f test al,08h
0321 je wait_vblank_start
0323 loop 0308h
It waits for three vertical retraces per fade step. Then it walks the DAC
entries backwards, reads each channel through 03c7h/03c9h, scales it by
7/8, and writes it back through 03c8h/03c9h:
0325 mov cl,0ffh
032a mov dx,03c7h
032d mov al,cl
032f out dx,al ; select DAC read index
0330 mov dx,03c9h
0335 in al,dx ; red
0336 imul ax,ax,0007h
0339 sar ax,3
033c mov cs:[120eh],al
0345 in al,dx ; green, same scaling
...
0355 in al,dx ; blue, same scaling
0360 mov dx,03c8h
0363 mov al,cl
0365 out dx,al ; select DAC write index
0369 mov al,cs:[120eh]
036f out dx,al
0375 mov al,cs:[120fh]
0379 out dx,al
037f mov al,cs:[1210h]
0383 out dx,al
0384 loop 0327h
This is an in-place exponential fade. The palette converges toward black without needing a separate target palette table.
BOBS.EXE: Sprite Kernels
The dispatch target at 03d4h chooses one of four stamp routines. The
low-two-bit selector leads to four code islands beginning around:
0429h
07c4h
0b83h
0f59h
Each island has the same general form:
- Select a VGA plane mask through Sequencer index 2 at
03c4h. - Load the active drawing segment from
cs:[1158h]. - Write a fixed cluster of bytes/words at offsets relative to
si. - Switch to the next plane mask.
- Repeat for all four planes.
Example from the first island:
0429 mov dx,03c4h
042c mov ax,0f02h
042f out dx,ax ; all planes enabled for one part of stamp
0430 mov ds,cs:[1158h]
0435 mov word ptr [si+03c1h],0706h
043b mov word ptr [si+0411h],0606h
0441 mov word ptr [si+0461h],0606h
0447 mov byte ptr [si+0002h],01h
044b mov byte ptr [si+0052h],04h
...
0486 mov dx,03c4h
0489 mov ax,0102h
048c out dx,ax ; plane 0 only
048d mov ds,cs:[1158h]
0492 mov word ptr [si+01e0h],0601h
0498 mov word ptr [si+0230h],0601h
...
0557 mov dx,03c4h
055a mov ax,0202h
055d out dx,ax ; plane 1 only
055e mov ds,cs:[1158h]
0563 mov word ptr [si+0140h],0601h
0569 mov word ptr [si+0190h],0702h
...
062d mov dx,03c4h
0630 mov ax,0402h
0633 out dx,ax ; plane 2 only
The constants are color indices. The offsets are not arbitrary. They are screen-layout offsets for a small ball/logotype pattern:
+0050his one scanline-like stride in this internal planar layout.+0140h,+0280h, and similar offsets correspond to larger y advances.- plane masks move the same logical stamp across VGA bitplanes.
So BOBS.EXE is "fast sprites" in a literal sense: many pixel writes are
pre-expanded into code. The runtime loop mostly chooses the precomputed
position/variant and jumps into one of the four plane-write stamp templates.
That is why the effect can afford diagonal trains of shaded balls on a 1992
DOS PC.
LANDSCAP.EXE: Startup and VGA Mode
LANDSCAP.EXE starts at file offset 029ch. Like BOBS.EXE, it shrinks
memory, prompts for music, optionally initializes GoldPlay, and then switches
to graphics.
The VGA setup routine at 0262h uses BIOS mode 13h, then immediately tweaks
VGA registers:
0262 mov ax,0013h
0265 int 10h ; mode 13h
0267 mov dx,03c4h
026a mov al,04h
026c out dx,al
026d inc dx
026e in al,dx
026f and al,0f7h
0271 out dx,al ; Sequencer memory mode adjustment
0272 mov dx,03d4h
0275 mov al,14h
0277 out dx,al
0278 inc dx
0279 in al,dx
027a and al,0bfh
027c out dx,al ; CRTC underline/location tweak
027d dec dx
027e mov al,17h
0280 out dx,al
0281 inc dx
0282 in al,dx
0283 or al,40h
0285 out dx,al ; CRTC mode control tweak
0286 mov dx,03c4h
0289 mov ax,0f02h
028c out dx,ax ; enable all planes
028d mov ax,0a000h
0290 mov es,ax
0294 mov cx,8000h
0299 rep stosw ; clear 64 KB
It starts from mode 13h, but the register writes put it into a tweaked planar access mode. The later plot loop confirms this: it writes one byte at a plane-selected address after deriving the plane mask from the low two bits of the screen offset.
LANDSCAP.EXE: Palette and Height Source
Routine 0235h uploads a 768-byte palette from ds:ab9eh:
0235 xor al,al
0237 mov dx,03c8h
023a out dx,al
023b inc dx
023c mov si,0ab9eh
023f mov cx,0300h
0242 rep outsb
Routine 0245h clamps a 64,000-byte buffer in segment 0b52h so values below
50 become 50:
0245 mov ax,0b52h
0248 mov es,ax
024a xor di,di
024c mov al,es:[di]
024f xor ah,ah
0251 cmp ax,0032h
0254 jg keep
0256 mov byte ptr es:[di],32h
025a inc di
025b cmp di,0fa00h
025f jne 024ch
This buffer is the landscape source field. The part also has a plasma.pic
string, and the source values behave like height/color bytes for a dot
landscape.
LANDSCAP.EXE: Four-Oriented Projection Builder
The central loop is not "draw every height byte directly." It builds a 1024-entry word list of projected screen addresses first.
The code chooses one of four traversal routines through a jump table:
0329 mov ax,0164h
032c mov [2022h],ax
032f mov ax,0297h
0332 mov [2024h],ax
0335 mov ax,0230h
0338 mov [2026h],ax
033b mov ax,01c7h
033e mov [2028h],ax
0359 mov si,[201eh]
035d and si,0007h
0360 jmp word ptr [si+2022h]
In file-offset disassembly, the four builder bodies begin around 0364h,
03c7h, 0430h, and 0497h. They are the same projection loop with different
source stepping:
- forward across a 32-wide row, then jump to the next source band;
- down columns, then wrap back;
- backward across a row;
- upward columns, then wrap forward.
That gives the landscape a rotating/view-direction feel without a full 3D mesh. The orientation changes are just alternate walks through the same height field.
The first builder loop:
0364 xor di,di
0366 mov si,[2020h] ; source offset into height buffer
036a xor cx,cx
036c mov bx,[201ch] ; table bank
0370 xor ah,ah
0372 mov al,es:[si] ; height/color byte
0377 mov [di+181ch],al ; save color for this dot
037b neg al
037d add ax,0140h
0380 shl ax,5
0383 cwd
0384 idiv word ptr [bx+di+339eh] ; perspective divisor
0388 cmp ax,00c8h ; y >= 200?
038b jl in_y
038d xor bp,bp ; reject dot
038f jmp store_address
0391 shl ax,6
0394 mov bp,ax
0396 shl bp,2
0399 add bp,ax ; bp = y * 320
039b mov ax,[bx+di+2b9eh] ; projected x
039f cmp ax,0000h
03a2 jl reject
03a4 cmp ax,0140h
03a7 jge reject
03a9 add bp,ax ; bp = y*320 + x
03ab mov [di+001ah],bp ; save projected screen address
03af inc di
03b0 inc di ; next word slot
03b1 inc si ; next source byte
03b2 inc cx
03b3 cmp cx,0020h
03b6 jne same_row
03b8 xor cx,cx
03ba add si,0120h ; next 32-wide source row in 320-wide image
03be cmp di,0800h
03c2 jne 0370h
The essential math is:
height = source[si]
color = height
y = ((320 - height) << 5) / distance_table[dot]
x = x_table[dot]
if 0 <= y < 200 and 0 <= x < 320:
address = y * 320 + x
else:
address = 0
The multiplication by 320 is built from shifts:
y * 320 = (y << 6) + ((y << 6) << 2)
= y * 64 + y * 256
The loop builds exactly 0800h / 2 = 1024 word addresses per pass, while the
saved byte colors at 181ch are walked alongside the address list.
LANDSCAP.EXE: Planar Dot Plotter
After a projection list is built, control falls to 04feh:
04fe mov es,[202ah] ; current draw page, A000h or A400h
0502 xor bx,bx
0504 mov si,181ch ; color bytes
0507 mov dx,03c5h ; Sequencer data port for map mask
050a mov di,[bx+001ah] ; projected address
050e or di,di
0510 je skip
0512 mov cx,di
0514 and cx,0003h ; plane = address & 3
0517 mov al,01h
0519 shl al,cl
051b out dx,al ; select VGA plane
051c shr di,2 ; planar byte offset
051f movsb ; write one color byte to selected plane
0520 inc si
0521 inc bx
0522 inc bx
0523 cmp bx,0800h
0527 jne 050ah
This is the key trick. The projected address is still a chunky y*320+x
address, but the renderer converts it to planar VGA addressing at the last
moment:
plane = address & 3
byte = address >> 2
out 03c5h, 1 << plane
A000_or_A400[byte] = color
That gives a single logical pixel plot in an unchained/tweaked VGA layout.
LANDSCAP.EXE: Page Flip and Erase
After plotting the dots, the part copies the new address list over an old-list area and flips between two video pages:
0535 mov ax,ds
0537 mov es,ax
0539 mov si,001ah
053c mov di,081ah
053f add di,[181ah]
0543 mov cx,0400h
0546 rep movsw ; copy 1024 addresses
0548 cmp word ptr [202ah],0a000h
054e je switch_to_a400
0550 mov word ptr [202ah],0a000h
0556 mov dx,03d4h
0559 mov ax,400ch
055c out dx,ax ; CRTC start high
055d mov word ptr [181ah],0800h
0563 jmp after_flip
0565 mov word ptr [202ah],0a400h
056b mov dx,03d4h
056e mov ax,000ch
0571 out dx,ax
0572 mov word ptr [181ah],0000h
Then it erases previous dots from the newly hidden page:
0578 mov es,[202ah]
057c xor bx,bx
057e mov si,[181ah]
0582 mov dx,03c5h
0585 mov al,0fh
0587 out dx,al ; all planes for erase
0588 mov di,[bx+si+081ah] ; old projected address
058c shr di,2
058f mov byte ptr es:[di],00h
0593 inc bx
0594 inc bx
0595 cmp bx,0800h
0599 jne 0588h
This is a dirty-list dot renderer. It does not clear the whole screen every frame. It remembers the previous 1024 point addresses and clears just those bytes before the next frame. That makes the effect viable on a 386-class machine.
The main loop then advances phase variables:
059b mov bx,[2097h]
059f and bx,03ffh
05a3 add bx,bx
05a5 mov ax,[bx+2099h]
05a9 mov [2020h],ax ; new source offset
05ac add word ptr [2097h],0002h
05b1 add word ptr [2095h],0080h
05bc and ax,001fh
05c1 and bx,0007h
05c4 shl bx,0ch
05c7 mov [201ch],bx ; table bank
05d2 mov [201eh],bx ; jump-table orientation index
So the perceived camera motion comes from:
- source offset change into the height buffer;
- table-bank change for x/distance tables;
- four-way traversal orientation;
- CRTC page flips.
LANDSCAP.EXE: Fade-Out
The exit phase scales a 768-byte palette by a decreasing factor:
05ec mov bx,[2b9ch]
05f2 shr ax,2
05fb mov es,1b52h
05fb mov es:[0964h],ax ; player-ish state update
0600 mov cx,0300h
0603 xor si,si
0605 mov al,[si+ab9eh] ; original palette byte
060b mul bx
060d mov [si+289ch],ah ; scaled byte
0611 inc si
0612 loop 0605h
0621 mov si,289ch
0626 mov dx,03c8h
0629 out dx,al
062b mov cx,0300h
062e rep outsb
0630 sub word ptr [2b9ch],0002h
Unlike BOBS.EXE, which reads the live DAC and multiplies by 7/8,
LANDSCAP.EXE scales from its original palette table into a temporary 768-byte
palette and uploads the whole thing.
SBOBS.EXE: Startup
SBOBS.EXE starts at file offset 0235h. It sets DS = 061fh, shrinks DOS
memory, prompts for music, optionally initializes GoldPlay, and switches to
mode 13h:
0235 mov ax,061fh
0238 mov ds,ax
023a mov ah,4ah
023c mov bx,20f5h
023f int 21h
0241 mov ah,09h
0243 mov dx,01adh ; "Do you want any muzic? (y/n)"
0246 int 21h
...
0285 push 01a3h
0288 call 0200h ; GoldPlay init wrapper
0295 mov ax,0013h
0298 int 10h
029a mov ax,0a000h
029d mov es,ax
Then it performs a small table expansion:
029f xor bx,bx
02a1 xor di,di
02a3 mov cx,0014h
02a6 mov ax,[bx+00a0h]
02aa shl ax,7
02ad add [di+0000h],ax
02b1 mov ax,[bx+00a2h]
02b5 shl ax,7
02b8 add [di+0002h],ax
...
02d2 add di,0008h
02d5 add bx,0008h
02d8 and bx,00ffh
02dc loop 02a6h
This consumes 20 rows of 8-byte records, wraps the source index to 256 bytes, shifts words into 7-bit fixed-point scale, and accumulates them into the working table. It is a compact path/phase initializer for the moving bobs.
It then uploads a 768-byte palette from ds:0a16h:
02de mov si,0a16h
02e1 xor al,al
02e3 mov dx,03c8h
02e6 out dx,al
02e7 inc dx
02e8 mov cx,0300h
02eb rep outsb
SBOBS.EXE: The Classic Additive Shadebob Loop
After a short retrace-counted delay and a full screen clear, the part enters the additive shadebob loop. The setup:
0321 mov cx,7d00h
0324 xor di,di
0326 xor ax,ax
0328 rep stosw ; clear 64000 bytes
032a in al,21h
032c mov [01a0h],al ; save PIC mask
032f mov al,7ah
0331 out 21h,al
0333 xor si,si
Then the loop computes a center from four byte-indexed word tables. Each bob
record is 8 bytes wide, but only bytes at offsets +1, +3, +5, and +7
are used as phase indices:
0339 mov bl,[si+0001h]
033d xor bh,bh
033f add bx,bx
0341 mov cx,[bx+0214h] ; x component A
0345 mov bl,[si+0003h]
0349 xor bh,bh
034b add bx,bx
034d add cx,[bx+0414h] ; x component B
0351 mov bl,[si+0005h]
0355 xor bh,bh
0357 shl bx,1
0359 mov dx,[bx+0614h] ; y component A
035d mov bl,[si+0007h]
0361 xor bh,bh
0363 add bx,bx
0365 add dx,[bx+0814h] ; y component B
The resulting cx and dx are converted to a mode-13h screen address:
0369 mov di,dx
036b shl di,6
036e mov ax,di
0370 shl di,2
0373 add di,ax ; di = y * 320
0375 add di,cx ; di = y * 320 + x
Then comes the classic part: an unrolled rectangular additive stamp. The first row writes ten words, so 20 pixels:
0377 add word ptr es:[di+0000h],0101h
037c add word ptr es:[di+0002h],0101h
0382 add word ptr es:[di+0004h],0101h
0388 add word ptr es:[di+0006h],0101h
038e add word ptr es:[di+0008h],0101h
0394 add word ptr es:[di+000ah],0101h
039a add word ptr es:[di+000ch],0101h
03a0 add word ptr es:[di+000eh],0101h
03a6 add word ptr es:[di+0010h],0101h
03ac add word ptr es:[di+0012h],0101h
The next rows repeat with +0140h, +0280h, +03c0h, and so on. 0140h is
320 decimal, the byte stride of mode 13h:
03b2 add word ptr es:[di+0140h],0101h
03b9 add word ptr es:[di+0142h],0101h
...
03f8 add word ptr es:[di+0280h],0101h
...
043e add word ptr es:[di+03c0h],0101h
...
059c add word ptr es:[di+0a00h],0101h
...
06b4 add word ptr es:[di+0f00h],0101h
...
0786 add word ptr es:[di+12c0h],0101h
The stamp reaches offset 12d2h, which is 15 * 320 + 18. Since each row
writes ten words from +0 through +18, the footprint is:
width: 20 pixels
height: 16 rows
operation per 2 pixels: add 0101h
That is an additive shadebob. It is not alpha blending in a modern sense and it is not a palette lookup per pixel. It simply increments two adjacent 8-bit pixels at once:
old pixels: [p0, p1]
word add: +0101h
new pixels: [p0 + 1, p1 + 1] modulo byte overflow
Because many bobs overlap, the screen turns into a contour/plasma field. The colorfulness comes from the palette: repeated numeric increments walk through the palette ramps.
After one 20x16 stamp, the code advances to the next 8-byte record:
07cc add si,0008h
07cf xor ch,ch
07d1 xor dh,dh
07d3 mov bl,[si+0001h]
...
The same computation and unrolled stamp repeat for the next bob. The title "twenty shadebobs" matches the table expansion and visual design: many bobs are moving over the same accumulating framebuffer.
This is the strongest inner loop in the demo. It is intentionally brute force: avoid multiplies after the center address has been computed, avoid per-pixel branches, write two pixels per instruction, and let the palette do the visual interpretation.
SBOBS.DAT
SBOBS.DAT is 10,562 bytes. It begins with regular word-like byte patterns:
00 00 00 00 00 02 00 00 04 00 00 06 ...
Inside SBOBS.EXE, the active tables around 0214h, 0414h, 0614h, and
0814h behave as sine/path lookup tables. The external .DAT file likely
feeds or complements these tables and palette/path data. The executable also
contains many long ordered ramps near the end, consistent with palette or
lookup material. The important verified behavior is how the runtime consumes
the tables: four phase bytes produce two x components and two y components,
which produce the stamp center.
UMDREH.EXE: Final Text Rotation
UMDREH.EXE is a tiny final helper. It switches to text mode, installs an
INT 1Ch timer handler, and stays resident:
0205 mov ax,0003h
0208 int 10h
020d mov ax,1110h
021a int 10h ; load font / text character data path
0223 mov ax,251ch
0226 push cs
0227 pop ds
0228 mov dx,0034h
022b int 21h ; set INT 1Ch handler
022d mov ah,31h
022f mov dx,0190h
0232 int 21h ; terminate and stay resident
The handler copies the text screen from the start toward the end while storing backward:
0237 mov ax,0b800h
023a mov ds,ax
023c mov es,ax
023e mov si,0000h
0241 mov di,1f9eh
0244 mov cx,07d0h ; 2000 text cells
0247 cld
0248 lodsw
0249 std
024a stosw
024b loop 0247h
This reverses the 80x25 text cell order in place: first cell to last, second cell to second-last, etc. Then it adjusts the CRTC start address using registers 0Ch and 0Fh:
024d mov dx,03d4h
0250 mov ax,080ch
0253 out dx,ax
0254 mov al,0eh
0256 out dx,al
0258 in al,dx
0259 mov bh,al
...
0264 mov ax,0fcfh
0267 sub ax,bx
...
026f out dx,ax
0274 out dx,ax
0278 iret
So the final "180-degree rotate" behavior noted publicly is a text-mode trick: reverse the text cell memory order and move the visible start address. It is not a bitmap rotation kernel.
Runtime-To-Code Concordance
The local media set mixes public Demozoo stills with direct DOSBox-X runs of
the three main visual executables. This pass does not recapture, crop, pad,
resize, regenerate, or alter those assets. The direct-part timestamps are
part-local evidence only: they show BOBS.EXE, LANDSCAP.EXE, and SBOBS.EXE
run separately with sound disabled, not an uninterrupted JUMP.BAT timeline.
| Visual evidence | Code / package evidence | What it means |
|---|---|---|
| Demozoo intro/traveller still | JUMP.BAT, setup.exe, fade1.exe, BOBS.EXE, sidecar modules, and demo.cfg redirection |
The production is a DOS batch-chain demo made from separate executables, not one monolithic dispatcher. |
| Runtime overview GIF | Two frames each from direct BOBS.EXE, LANDSCAP.EXE, and SBOBS.EXE captures |
The GIF is a compact part sampler. It deliberately does not claim continuous music-synchronized full-demo timing. |
BOBS.EXE runtime frames and Demozoo vectorball/logo still |
BOBS.EXE word-script table at 0122h:030Ah, two-bit stamp variant selector, dispatcher at 03D4h, plane-specific stamp islands at 0429h, 07C4h, 0B83h, and 0F59h |
The diagonal ball/logo stage is built from compact position/phase words feeding pre-expanded VGA plane stamp kernels. |
| BOBS fade-out behavior | Retrace wait around 0308h, DAC read through 03C7h/03C9h, 7/8 scaling, and DAC write through 03C8h/03C9h |
The part fades by repeatedly shrinking the live palette, not by redrawing every object darker. |
LANDSCAP.EXE runtime landscape frames |
Mode-13h plus tweaked planar setup at 0262h, palette upload at 0235h, height clamp at 0245h, four traversal builders around 0364h, 03C7h, 0430h, 0497h |
The landscape is a projected height-field/dot stage, with alternate source walks giving the view-direction changes. |
| Denser foreground dots and stable ridges in LANDSCAP | 1024 projected address list at 001Ah, color list at 181Ch, perspective divisor tables, planar dot plotter at 04FEh |
The renderer separates projection from plotting: first compute chunky y*320+x, then convert to plane/address at the final write. |
| LANDSCAP smooth motion without full-screen clears | Page flip at 0548h, previous-address copy, and dirty erase loop at 0578h |
The part clears only the previous 1024 dot positions on the hidden page, which is the practical reason the effect works on a 386-class machine. |
SBOBS.EXE title and plasma frames plus Demozoo shadebob/plasma stills |
Setup at 0235h, palette upload at 02DEh, phase/table expansion at 029Fh, four sine/path tables around 0214h, 0414h, 0614h, 0814h |
The "twenty shadebobs" stage is table-driven path motion over a mode-13h framebuffer. |
Accumulated plasma-looking SBOBS frame |
Unrolled additive stamp beginning at 0377h, 20-pixel by 16-row footprint, repeated add word ptr es:[di+offset],0101h writes |
The visible plasma is classic additive shadebob accumulation: overlapping bobs increment palette indices, and the palette turns those increments into contour colour. |
| Final text-rotate helper | UMDREH.EXE mode-3 setup, INT 1Ch TSR install, B800h reverse-copy loop, and CRTC start-address update |
The final "rotation" is a text-cell reversal/CRTC trick, not part of the VGA bitmap effects. |
The code and visuals line up cleanly because each major visual family has its
own executable. BOBS.EXE owns the plane-stamped ball/logo stage,
LANDSCAP.EXE owns the dirty-list dot landscape, SBOBS.EXE owns the additive
shadebob/plasma stage, and UMDREH.EXE owns the text-mode ending. The boundary
to keep is timing: the published local GIF samples those parts directly, while
the original release chain also includes setup, fade helpers, music prompts,
and GoldPlay playback.
What Each Part Does
At a full-demo level, the chain is:
setup.exe writes/selects GoldPlay sound configuration.
fade1.exe transition into first visible part.
bobs.exe vectorball/logo part with plane-selected unrolled sprite stamps.
fade2.exe transition into landscape.
landscap.exe dot landscape: height-field projection, planar dot plot, dirty erase, page flip.
fade3.exe transition into shadebobs.
sbobs.exe additive 20x16 shadebob stamps over mode-13h framebuffer.
umdreh.exe text-mode final reversal / rotate helper.
At the code level:
BOBS.EXEis driven by a compact word table. The low two bits choose one of four stamp routines; the rest of the word becomes the position/index. Each stamp routine writes a fixed pattern through VGA plane masks.LANDSCAP.EXEseparates projection from plotting. It first computes 1024 chunkyy*320+xaddresses from a height field and lookup tables, then plots those addresses into planar VGA one byte at a time.SBOBS.EXEis the purest inner loop: four phase bytes select x/y sine-table terms, the center becomesy*320+x, and a fully unrolled 20x16 rectangle increments the framebuffer with0101hword adds.UMDREH.EXEis a TSR timer handler for text mode, not part of the VGA graphics pipeline.
The demo feels "early PC" because the parts are separate executables and the coordination is DOS-batch simple. It feels technically interesting because the inner loops are not naive. Each major effect has the classic 1992 optimization shape: precompute or table-drive as much as possible, specialize the pixel kernel, and use the VGA hardware model directly.