Analysis model: gpt-5.5 xhigh Revision model: GPT-6 Astra (user-reported) Last edited: 2026-09-17
Verses by Electromotive Force - Technical Dissection
Scope
This is a binary and direct-runtime dissection of Verses by Electromotive
Force, released for MS-DOS at Assembly 1994. Demozoo and Pouet both list it as the 1st-place
entry in the Assembly 1994 PC demo competition. In the current repo sequence,
this starts filling the Assembly 1994 top-three PC demo set.
Useful public references:
- Demozoo production: https://demozoo.org/productions/6785/
- Demozoo competition: https://demozoo.org/competitions/676/
- Pouet production: https://www.pouet.net/prod.php?which=67
- Pouet Assembly 1994 results: https://www.pouet.net/party_results.php?when=1994&which=7
- Scene.org archive: https://files.scene.org/get/parties/1994/assembly94/demo/emf_vrs.zip
- Scene.org Revision II archive: https://files.scene.org/get/parties/1994/assembly94/demo/emf_vrs2.zip
- Pouet-linked AVI reference: https://ftp.untergrund.net/users/rarefluid/67_EMF_-_Verses.avi
The analysis is based on both released archives, their NFOs, UNP-unpacked
executable code, the appended resource tables, 16/32-bit x86 disassembly, a
complete direct silent DOSBox-X run of Revision II, and a public video-reference
capture retained for its earlier effect timing. Offsets such as 0x304a6 refer to
offsets in the UNP-expanded MZ load image after stripping the executable
header. Offsets explicitly named as overlay+... refer to the appended data
area after the MZ image. Resource-table offsets are absolute offsets in
VERSES.EXE, not overlay-relative offsets.
Examined Files
The archive contains four files:
FILE_ID.DIZ BBS file description
VERSES.EXE single executable containing PMODE code and appended data
EMF.NFO group info
VERSES.NFO production info, requirements, credits, technical notes
Hashes from the examined files:
42312e5aba5e09471c18c1f347118d40b4e6ec13abd301bb08cbd3af8030f657 emf_vrs.zip
dd675463c6c9e5f8313b85747a8b910376fde0ffd2aca0366f0223af524374c8 emf_vrs2.zip
f3784702213a7a40ff8788bd5ac3f550f8050a369cc7a6b2615e2fc957960460 FILE_ID.DIZ
7073c9bb3303bf08e0e387beb7ba07d9e88043ad15300da51d32744de3343a84 VERSES.EXE packed
6726fdc86fd2072b76189a2c1e8426f793317ed47c96158ceee4f20ea6290360 VERSES.EXE after UNP
3268eb6a910830146f59e4fe21bba3e7f1b0e8d1365f3806d024489dbbe0d79e EMF.NFO
cd6b26396f1cc3de66c78982e5f48e628be3a7af150ebadb534f59f6fd00780d VERSES.NFO
bbc4f8a2ed70fe7d48129c1ca819dfb26ef7accd55153e6b4ccf377e5212f0d8 Revision II VERSES.EXE
d7dc7ce2acff1e8f35cc14c692fd54f579d53eba43196396595424511bcae287 Revision II VERSES.NFO
68d3dd0344184513b0e7bc1cf41107464576f39d6a4bf36990474f9f515f2b5c 67_EMF_-_Verses.avi
The AVI reference is 512x384 MPEG-4 video at 25 fps, duration about 266.08 seconds. The screenshots below use that public capture's timestamps; they are not local DOSBox-X timestamps.
The NFO states that the demo uses a slightly customized PMODE 2.24 by Tran, is coded in assembly, is optimized for i486, needs a 386sx or better, VGA, about 400 KB conventional memory, at least 1 MB extended memory, and a Gravis Ultrasound for music. It explicitly does not include Sound Blaster music support.
Revision II, dated 26 April 1995, adds SB/SBPro and 256 KB GUS support, fixes a
fast-machine hang, adds QEMM7/QDPMI compatibility and software volume control,
and introduces the ! no-questions command-line route. That last option makes
the revised executable the cleanest release for a reproducible silent run; it
does not change the credited visual production.
Credits relevant to the code/effects:
Saracen voxel cave, bitmap rotation, ripple, dotfade, kaleidoscope,
julia morpher, greetings, credits/frontend routines
The Grim Reaper gouraud routines, design star, IFS morpher, diagonal dotfade,
Bill Gates whirl, EMF gouraud logo
Devastator mosaic, polygon ball, file routines, music routines/frontend
Saint presentation text, Bill Gates writer/mutation, music routines
Whalebone music and some graphics
I am intentionally not reproducing old phone/address/BBS contact data from the NFO.
Executable Shape
The original VERSES.EXE is not just a flat DOS MZ program. The packed file has
a small initialized MZ image and a large appended data area:
Packed file size: 1,030,549 bytes
Packed MZ size: 86,951 bytes
Packed load image: 86,919 bytes
Packed overlay/data: 943,598 bytes
Header size: 32 bytes
Relocations: 1
Entry CS:IP: FFF0:0100
UNP expands only the MZ image. The appended data stays byte-identical and at the same length:
UNP file size: 1,315,177 bytes
UNP MZ size: 371,579 bytes
UNP load image: 371,467 bytes
UNP overlay/data: 943,598 bytes
Header size: 112 bytes
Relocations: 20
Entry CS:IP: 0000:03C1
Initial SS:SP: 5AB1:1C00
This matters. The front of the original file is a real-mode unpacker. After UNP, the visible image contains:
0x00000..0x01bxx PMODE/VCPI/DPMI/bootstrap strings and transition code
0x01c1c..0x01d09 VGA helper routines: vertical retrace, DAC, mode/tweak setup
0x01d1a..0x01e1x timer IRQ and keyboard IRQ handlers
0x04a00..0x04e40 file/overlay table loader and simple resource depacker
0x05223..0x05cxx frontend, sound-system dispatch, GUS driver setup
0x2005d..0x20671 affine/texture/palette-controlled effect loop cluster
0x211b8..0x2161f text/presentation renderer and screen reveal loops
0x2273c..0x22fxx heavily unrolled span/warping table builder
0x30000..0x304e9 3D transform, projection, face culling, polygon span filler
0x59c70..0x5a390 planar VGA blit/twister/palette routines
The higher chunks are reached through part-specific dispatch tables and loaded
resources rather than through a neat main()-style sequence. The demo is a
single executable with internal part scripts and an embedded file system.
Appended Resource Table
The appended overlay ends with an EMF! signature and a compact directory.
The first record starts at file offset 0xfb6a9, which is overlay+0xe6302
relative to the packed MZ image. The EMF! signature follows at file offset
0xfb991. Entries are laid out as 32-byte records:
name[16] file_offset stored_size packed_flag unpacked_size
Examples from the table:
tausta.dat file 0x000153a7 stored 0x009e92 packed 1 target 0x012c00
anprod.sci file 0x0001f239 stored 0x000bc8 packed 1 target 0x00fd0a
xwarp.sci file 0x0001fe01 stored 0x007407 packed 1 target 0x00fd0a
xwarp.scr file 0x00027208 stored 0x00339b packed 1 target 0x00918c
doors.pic file 0x0002b72e stored 0x0018d5 packed 1 target 0x00fd00
doors.snd file 0x0002d003 stored 0x01833a packed 1 target 0x02b90d
cave.dat file 0x0004533d stored 0x00589e packed 1 target 0x010000
ripple.pic file 0x0004abdb stored 0x005bff packed 1 target 0x00fa00
imagine.sci file 0x000507da stored 0x002584 packed 1 target 0x00fd0a
endlogo.pic file 0x00052d5e stored 0x002f4b packed 1 target 0x00fd00
ss.dat file 0x00055ca9 stored 0x01393b packed 1 target 0x01f400
vscroll.pic file 0x000695e4 stored 0x000cb5 packed 1 target 0x001680
credits.dat file 0x0006a299 stored 0x001a9c packed 1 target 0x005e68
dt.mod file 0x0006bd35 stored 0x03ac12 packed 0 target 0x03ac12
titlepic.pic file 0x000a6947 stored 0x00fd00 packed 0 target 0x00fd00
ripple.dat file 0x000b6647 stored 0x00fa00 packed 0 target 0x00fa00
ripple.pal file 0x000c6047 stored 0x000300 packed 0 target 0x000300
vertlogo.img file 0x000c6347 stored 0x002bc0 packed 0 target 0x002bc0
imfont.dat file 0x000c8f07 stored 0x0036a2 packed 0 target 0x0036a2
twist.dat file 0x000cc5a9 stored 0x00fa00 packed 0 target 0x00fa00
twist.pal file 0x000dbfa9 stored 0x000300 packed 0 target 0x000300
twist.pic file 0x000dc2a9 stored 0x01f400 packed 0 target 0x01f400
The directory explains why the executable itself contains so many filenames even
though the archive has no separate part files. The parts ask the internal loader
for resource names, and the loader resolves them inside the appended overlay.
For the packed .sci resources, the table target is the loader's requested
resource target size, not proof that the final on-screen representation is raw
chunky pixels. xwarp.sci, for example, begins with RIX3 40 01 c8 00, so the
loaded stream still has an image-format header before any part-specific image
decode.
Overlay Loader and Depacker
The loader core at 0x4c43 takes a requested filename pointer in EDX, a
destination in EDI, and optional offset/length controls in EBX/ECX.
The lookup path:
0x4c43 save registers, store caller offset control at 0x3346
0x4c4a if table pointer/count 0x3352 is zero, fall back to DOS file path
0x4c75 copy requested ASCIIZ name to scratch at 0x3332
0x4c87 start scanning table at 0x335e
0x4c92 compare first 12 name bytes as three dwords
0x4caf advance by 0x20 bytes per table entry
0x4cbb on match, load file handle/segment state from 0x3b5e into 0xd4
0x4cc7 seek to table offset + requested suboffset
When the table entry has packed_flag == 1, execution goes through the resource
depacker:
0x4ce0 test entry+0x18 for packed flag
0x4ce6 allocate/prepare a temporary buffer for stored_size bytes
0x4d06 read stored_size bytes from overlay into that buffer
0x4d1d EBP = stored_size, ESI = temp buffer
0x4d29 call depacker at 0x4e09
0x4d34 release temporary buffer
The depacker at 0x4e09 is a small run/literal stream, not a heavyweight
dictionary compressor:
0x4e0d CL = input_byte & 0x3f
0x4e14 bit 6 says length extends into next byte
0x4e22 count = encoded_count + 1
0x4e25 bit 7 selects run mode
0x4e29 literal mode: rep movsb from packed input to output
0x4e2d run mode: read one byte, rep stosb to output
0x4e34 loop until bytes consumed reaches stored_size
So the table supports both raw resources (dt.mod, titlepic.pic, twist.pic)
and simple RLE-packed resources (cave.dat, doors.snd, ss.dat, many
screens/scripts).
What Revision II Changed Inside the Package
Revision II is not merely a new front-end stub. Its executable is 1,067,404
bytes, with a 91,496-byte packed MZ body and 975,908-byte overlay. Its footer
still has the same four-byte EMF! signature, now preceded by 22 records at
file offset 0x1046c0. Parsing both tables shows that all 21 shared non-music
payloads are byte-identical. The visual resources were relocated, not redrawn.
The original has 23 records because music data is split between dt.mod and
doors.snd. Revision II removes doors.snd and folds its samples into a
larger module:
original Revision II
dt.mod offset 441,653 347,068
dt.mod bytes 240,658 372,130
module signature 8CHN 8CHN
song length 78 orders 80 orders
patterns 54 56
sample bytes 128,982 256,358
doors.snd record 99,130 stored absent
doors.snd target 178,445 bytes absent
Both modules identify themselves as double trouble; the instrument text
credits Whalebone and dates completion to 15 August 1994. Samples 20--22 in
Revision II total 127,376 bytes, exactly the increase in declared module sample
data. This is the concrete package-level counterpart to the revised NFO's
claim that the sound system was reworked: the visual archive is stable while
the module/sample layout and executable driver are changed.
PMODE and Machine Setup
The unpacked entry at 0x03c1 is the PMODE bootstrap. It is still 16-bit code
using many 32-bit operand/address prefixes.
Important checks and setup:
0x0356 386+ check using FLAGS high bits
0x0377 SMSW protected-mode/V86 check
0x045d DPMI probe via int 2f, AX=1687h
0x0468 VCPI probe through int 67h path
0x0472 XMS probe via int 2f, AX=4300h
0x048c A20 fast gate attempt: in/out port 92h, set bit 1
0x04a2 keyboard-controller A20 attempt: out 64h D1h, out 60h DFh
0x04c5 PIT-based fallback/memory stability check using ports 43h/40h
The direct protected-mode entry path:
0x01e7 lgdt [0x0c46]
0x01ec lidt [0x0c40]
0x01f1 mark TSS descriptor byte at 0x0f09 as 89h
0x01f9 mov eax, cr0
0x01fc set PE bit
0x01fe mov cr0, eax
0x0201 far jump to selector 20h, offset 0206h
0x0206 load TR with selector 30h
0x020c jump to 0x0e7f
The DPMI path is more verbose. Around 0x0702..0x08c7, it allocates selectors,
builds descriptors for the code/data spaces, queries free memory with DPMI
function 0500h, allocates linear memory with 0501h, and fills per-selector
base/limit data. The final far handoff at 0x08dc..0x08eb pushes the prepared
selector and offset and uses a 32-bit far return. The surrounding thunks at
0x0e7f..0x112e bridge interrupts and callbacks between PMODE's real-mode and
protected-mode sides.
The important practical result is that the demo code can address linear memory
directly, including VGA memory at 0xa0000, while still using protected-mode
interrupt callbacks for timer, keyboard, DOS file access, and GUS playback.
Timer and Keyboard Interrupts
The timer handler at 0x1d1a is the central scheduler.
0x1d1a load demo data selector from CS:[0x1e]
0x1d23 send PIC EOI: out 20h, 20h
0x1d27 if byte [0x0b2e] != 1, skip most scheduling
0x1d34 increment word [0x0ae5], the frame/tick counter waited on by parts
0x1d3b if callback [0x0b48] is nonzero, call it once and clear it
The CRTC start-address scroll/page path is inside the same IRQ:
0x1d54 if byte [0x0b2f] != 1, skip display-start update
0x1d5d EBX = [0x0b34] + [0x0b38]
0x1d69 wrap to zero if EBX > [0x0b3c]
0x1d73 if unchanged from [0x0b30], skip hardware write
0x1d7b store new start at [0x0b34]
0x1d81 DX = 3d4h
0x1d85 AL = 0ch, AH = high byte; out AX,DX
0x1d8b AL = 0dh, AH = low byte; out AX,DX
Then the handler re-arms the timer:
0x1d91 wait for retrace edge through 0x1c1c
0x1d96 out 43h, 34h
0x1d9c AX = [0x0b2c]
0x1da2 out 40h, low byte
0x1da6 out 40h, high byte
Two callbacks are serviced after reload:
0x1daa if [0x0b44] != 0, call it once and clear it
0x1dc4 if [0x0b40] != 0, call it as a persistent per-tick callback
The keyboard IRQ at 0x1dd7 is similarly minimal:
0x1de3 AL = in 60h
0x1de5 ignore break codes where bit 7 is set
0x1de9 save make code to [0x0af0]
0x1dee pulse port 61h bit 7 to acknowledge keyboard controller
0x1df8 out 20h,20h
0x1dfc if [0x0af0] == 1, enter the shutdown/exit path
This division is important: most effects do not poll the timer directly. They
install callbacks or wait for 0x0ae5 to advance, and the IRQ calls their
per-frame step.
VGA Register Helpers
The small VGA helpers around 0x1c1c are reused across parts.
Vertical retrace waits:
0x1c1c DX = 3dah
0x1c20 in al,dx
0x1c22 test bit 3
0x1c24 loop while in vertical retrace
0x1c26 same port
0x1c2a loop while not in vertical retrace
Black DAC setup:
0x1c30 DX = 3c8h, AL = 0
0x1c36 out DAC index
0x1c37 DX = 3c9h, ECX = 0x300
0x1c40 output zero 768 times
Attribute/overscan helper:
0x1c47 read 3dah to reset attribute flip-flop
0x1c4d DX = 3c0h
0x1c50 select attribute register 11h
0x1c53 write byte [0x0ae4]
0x1c59 write 20h to re-enable display
Mode/tweak helper:
0x1cc7 DX = 3c4h, AX = 0604h, out AX,DX ; sequencer memory mode
0x1cd1 read 3dah, then write attr 10h = 61h
0x1ce3 touch CRTC register 07h and force bit 4
0x1cf0 write CRTC 11h
0x1cfa stream seven dwords through outsl
The higher parts then write directly to 0xa0000 - [0x18], where [0x18] is
the PMODE linear-base correction.
Gravis Ultrasound Path
There is no Sound Blaster path. The GUS code starts by parsing ULTRASND from
the DOS environment.
At 0x565a:
0x565a EDI = environment segment from PSP via GS:[PSP+2c]
0x5670 ESI = literal at 0x4dfa, the string "ULTRASND="
0x5675 compare bytes while scanning ASCIIZ environment strings
0x569c parse base port high digit
0x56a2 base = (digit << 4) + 0x200
0x56b4 parse DMA digit
0x56c8 parse IRQ, including two-digit 10..15 form
0x56f9 save parsed IRQ/control value to 0x52f2
GUS reset/voice register setup then uses the base port in [0x52ea].
The code repeatedly writes a register index to base+0x103, then writes data
through base+0x105 or nearby GUS data ports.
The reset sequence at 0x574d:
0x5755 DX = base + 103h, AL = 4ch, out
0x5761 DX += 2, AL = 0, out ; reset off/clear
0x576b dummy reads from base
0x5778 select 4ch again
0x5785 write 1 ; reset on
0x579b select 41h, write 0
0x57ac select 45h, write 0
0x57c3 select 49h, write 0
0x57df read base+6
0x57ef select 41h, read
0x5802 select 49h, read
0x5815 select 8fh, read
The voice initialization loop at 0x581c initializes 32 voices:
0x581c ECX = 0x20
0x5821 decrement voice index
0x5828 out voice select to base+102h
0x5838 write register 00h = 03h
0x5849 write register 0dh = 03h
0x5860 write register 06h = 3fh
0x5877 write register 09h = 0000h
0x588e loop until all voices configured
Sample upload is at 0x5996. It copies a block descriptor into a local table
and streams bytes through base+0x107:
0x599f pick descriptor slot = [0x5302] * 0x14 + 0x530a
0x59ad copy block fields from caller descriptor
0x59d4 EBX = remaining byte count
0x59d8 clamp transfer chunk to ECX
0x59de call source-supply callback through [0x4df6]
0x59e9 set GUS address low through register 43h
0x5a03 set GUS address high through register 44h
0x5a1f DX = base + 107h
0x5a25 AL = [ESI], out, increment ESI/EDI
0x5a2a loop for chunk
0x5a32 align next allocation to 32 bytes
Playback of a loaded sample uses 0x5a56, which selects the voice, computes
the sample start/end addresses in GUS address units (<< 9), and writes
registers 0b/0a/03/02/05/04/00 depending on loop flags. This is a direct GUS
hardware driver, not a high-level library call.
Presentation Text Renderer
The presentation part around 0x211b8 and 0x21310 uses imagine.sci and a
font buffer to draw block text to mode 13h.
Screen initialization:
0x211c3 AX = saved mode word
0x211c9 EDX = 0xa0000, call PMODE video/mapping helper through [0x30]
0x211d4 EDI = 0xa0000 - [0x18]
0x211df EAX = 0x0f0f0f0f
0x211e4 ECX = 0x3e80 dwords
0x211e9 rep stosd, clear 320*200 bytes to color 0fh
The actual character renderer is 0x21310:
0x21310 EDI = VGA base
0x2131b EBX = 0x1f7e8, the 16*20 character-state grid
0x21320 outer row count = 0x10
0x21326 inner column count = 0x14
0x2132d glyph_index = byte [EBX]
0x2132f glyph_offset = glyph_index * 0xd0
0x21335 ESI = 0x1f928 + glyph_offset
0x2133d glyph row count = 0x0d
0x21342 ECX = 4 dwords per glyph row
0x21347 rep movsd, copy 16 bytes of glyph pixels
0x21349 EDI += 0x130, advance to next scanline at 320-byte stride
0x21353 after one character, EDI -= 0x1030 to return to top of next cell
0x2135d after one text row, EDI += 0x0f00
That is a cell renderer for 20 columns by 16 rows. Each glyph is 16 pixels wide
and 13 scanlines high, copied as four dwords per scanline. The state update at
0x212bd increments the character-state bytes until they reach their final
glyph numbers, producing the "writer" reveal.
The reveal loop:
0x212bd clear [0x1f7e3], progress/done counter
0x212c7 ESI = character-state grid
0x212cc ECX = 16 rows
0x212d1 EBP = 20 columns
0x212d6 AL = current cell state
0x212d8 zero means empty; compare against wave threshold [0x1f7e7]
0x212e8 if AL == 0x0b, count it as complete
0x212f4 otherwise increment the cell
0x21304 increase wave threshold up to 0x10
This is a data-driven writer, not a per-pixel font plotter. Most of the visual
cost is bulk rep movsd glyph copies.
Complete Direct Silent Run
Revision II was run directly under DOSBox-X 2026.01.02 as a 486-class machine
with 16 MB, VGA, XMS, no EMS, no emulated sound card, ULTRASND cleared, host
audio on the dummy backend, and VERSES.EXE !. The demo selected its no-sound
path, completed its internally timed sequence, returned to DOS normally, and
produced a 273.024-second capture. Audio inspection found digital silence at
-91 dB; no music was played or monitored.
The animations below are continuous six-second, 10 fps excerpts from that direct run. They replace inference from isolated public-video stills with the actual motion of the revised executable. The local capture changes VGA modes and resolutions between parts, so it was decoded sequentially into a uniform 4:3 working stream before these GIFs were made; no public H.264/MP4 derivative is published.

The shaded EMF mark establishes the demo's preference for objects that mutate instead of simply cutting away. Even this early logo is treated as a moving surface rather than a title card.


The picture sequence makes the distinction between source art and effect clear: the same image remains recognizable while the sampler pulls it into waves, holes and edge fragments.




The duck is useful evidence for the polygon path: silhouettes, lighting bands and self-occlusion change continuously as the object turns, unlike the flat coordinate-field remapping used for the face.

The closing filmstrip is not a generic list pasted over black. It recycles recognizable frames from the earlier parts, turning the credits into a compact visual index of the demo itself.
Bill Gates Quote and Face Warp
The public reference sequence below includes the "640 kb" quote, face
deformations and a rotating/whirl passage. These are two successive renderers:
xwarp deforms an authored control grid, then the following routine captures
its final screen and applies a radius-dependent rotation. These
timestamps belong to the public AVI, not the local DOSBox-X capture.

The GIF above is assembled directly from the six same-size 512x384
AVI-reference frames listed below. It is a compact view of the face-warp part,
not continuous footage or a local emulator capture.

Visible sequence:
01:48.000 quote scene enters from white/black transition
01:52.000 quote is legible over black, with the Bill face part about to enter
01:58.000 already-deformed face: glasses and features widened sideways
02:02.000 narrower, drooping/compressed features
02:08.000 tall tapered forehead and pinched eye region
02:14.000 upright face with elongated lower region and open mouth
02:20.000 near-inverted face in the following rotation passage






The resource names line up unusually cleanly:
xwarp.sci file 0x01fe01 stored 0x007407 packed 1 target 0x00fd0a
xwarp.scr file 0x027208 stored 0x00339b packed 1 target 0x00918c
xwarp.sci is not raw 320x200 chunky data immediately after the resource
depacker. Its first bytes are:
52 49 58 33 40 01 c8 00 ...
R I X 3 width 0x0140 height 0x00c8
So the still image is a RIX-style 320x200 picture resource. The table target of
0x00fd0a fits "picture plus small header", not a naked mode-13h page.
xwarp.scr begins with small little-endian dwords:
0a 00 00 00 09 00 00 00 44 00 00 00 62 00 00 00
6a 00 00 00 83 00 00 00 9a 00 00 00 ac 00 00 00
The script is now decoded: it describes 18 poses of a deformable control grid, with pauses between poses. The face is not being stretched by one global zoom matrix. Different parts of its grid can spread, pinch, rise and sag independently.
The resource-to-code link is direct. Entry 0x21820 allocates the workspace,
loads xwarp.sci through 0x21883, and calls 0x27e76 to load xwarp.scr.
Its frame loop calls 0x25f5c, 0x2273c, 0x242d6, then 0x219bc.
Those are the two map builders followed by the vertical and horizontal
resampling passes. The affine mapper at 0x2005d, discussed separately
below, is not this part's renderer.
What the Artist Animates
The correctly expanded script is 37,260 bytes (0x918c). Its layout is:
| Script offset | Contents |
|---|---|
0x000 |
X and Y control counts: 10 and 9 |
0x008 |
Sixteen slots for fixed X anchors, followed by sixteen Y slots |
0x088 |
Zero dword in the released file |
0x08c |
Sixty-four signed pause/sentinel words, each 32 bits |
0x18c |
Eighteen poses, each 0x800 bytes: a padded 16x16 X array and a transposed 16x16 Y array |
The active source anchors are X=68,98,106,131,154,172,194,220,229,253
and Y=2,65,82,94,116,128,141,154,183. They concentrate controls in the
face rather than dividing the whole picture into equal squares. Each pose
specifies where those anchors should move. Initialization adds the right and
bottom boundaries at 320 and 200, so the map builders work with 11 horizontal
and 10 vertical spans, including the outer regions.
Here are concrete authored changes, with keys numbered from zero:
| Pose | What changes |
|---|---|
| 0 | Identity grid: every row/column repeats the original anchors. |
| 1 | Selective upper-face widening. On source row 82, X=106 moves to 48 while X=194 moves to 226. A neighbouring 25-pixel interval expands to 67 pixels; another compresses from 8 to 4. |
| 4 | Broad, sagging lower region. On row 116, the outer controls move from 68/253 to 3/313. Much of row 141 moves down to 165, but its central controls stay at 141. |
| 8 | A sharp local pinch: on row 82, X=98/106/131 become 28/30/113. A two-pixel interval sits beside an 83-pixel interval. |
| 14 | The interior lifts: row 65 moves to 33 and much of row 116 to 84, while the outer limits remain comparatively anchored. |
| 15 | An enlarged upper region over a narrower lower face: row-65 outer X controls become 4/320, while row-141 bounds become 84/237. |
| 16–17 | Return through the same authored pose as key 4, then the identity pose. |


These two images are outputs of the original instructions driven by the original picture, script and updater, not new DOSBox recordings. They make the difference from uniform scaling visible: adjacent facial regions acquire very different magnifications.
How One Pose Becomes the Next
The updater at 0x27d3e interpolates control coordinates, not finished
images. For each transition, 0x27e10 computes a small fixed-point increment
from each pair of successive pose coordinates:
increment = trunc_toward_zero((next - previous) * 65536 / 320)
It then takes 80 updater calls to reach the next pose. Each call repeats that increment between one and six times, according to a shared weight table read backwards. The weights rise gradually, stay at six for 25 calls, then fall; their total is 320. That gives the movements an ease-in/ease-out shape without evaluating a cubic curve for each control. Integer and fractional halves are updated with ADD/ADC. There is no final endpoint snap, so the fixed-point state can retain small rounding residuals.
The pause words add holds between transitions, rather than extra rendered frames stored in the file. For example, key 4 holds for 30 updater calls and the final identity key for 40. The main loop can consume several updater calls after a render when multiple timer ticks have accumulated. Thus an updater call is not automatically one displayed frame, nor an AVI timestamp.
Two Resampling Passes, Not a Radial Formula
The rendering sequence is:
authored poses → eased live control grid
→ vertical map → temporary image
→ horizontal map → final image
0x25f5c interpolates the vertical control positions across the image in
two-pixel-wide columns. For each column it constructs destination span
lengths. 0x242d6 walks those spans vertically, reads a word containing
two adjacent original pixels from the picture at workspace+0x30a,
and writes that word into the temporary image at workspace+0xfd0a.
Those two pixels share a vertical mapping; they are not duplicate copies of
one sampled colour. Integer source advances are in multiples of 320, with
a fractional carry adding one more source row.
0x2273c similarly interpolates horizontal control positions down the
image. The final renderer, 0x219bc, then processes 200 rows, splitting
each row at those interpolated X boundaries. For each span, precomputed
tables turn its destination length into a source increment: a compressed
span steps farther through the picture, while an expanded span repeats
source samples. The table preparation at 0x27af8 performs these divisions
once for the fixed source intervals and candidate destination lengths.
The hot horizontal body is only 13 bytes:
sample = temporary[source_index]
destination += 1
fraction += span_fraction_step
source_index += span_integer_step + carry
destination[0] = sample
Rather than decrementing a pixel counter, the code jumps into the appropriate
tail of an unrolled sequence. 0x27ce1 builds 256 entry addresses, each
13 bytes apart. A length of zero jumps past the stores; a length N executes
N single-byte samples/stores. This is why identifying the actual caller
matters: the final image is not the unrelated mapper's 160x100 field with
horizontally duplicated pixels.
The result is a separable, piecewise-linear grid warp. Moving a handful of controls gives the expressions their local bulges and pinches; interpolating the grid between controls prevents each cell from looking like a separately moved tile. No per-pixel radius, arctangent or square root is needed for this path. The older radial-whirl pseudocode was a visual hypothesis, not recovered implementation, and is withdrawn. The following stage really does use a radial field, but with the specific construction and handoff below.
The Following Whirl: One Captured Image, Two Oscillating Angles
The main sequence calls 0x21820 at 0x5181, then 0x2f90c at
0x5186. In that second entry, 0x2fe39 copies the current 64,000-byte
screen to private workspace+0xcf80. Thus the whirl inherits the final
mesh-rendered image; it does not reload xwarp.sci or feed each rotated
frame back into the next one. The mesh script has returned to its identity
pose, subject to the interpolation and resampling rounding described above.
The twist comes from blending two changing angles according to distance
from the centre. At setup, 0x2fa64..0x2fb2c builds a static radial weight
field for 320 columns and 101 rows. For screen coordinates (X,Y):
r2 = (X - 160)^2 + (Y - 100)^2
q = max(0, 65535 - ((85*r2) >> 4))
weight[X,Y] = integer_sqrt_lookup[q]
The square-root-like lookup is made by writing successive runs of 2*n+1
copies of byte n, starting at n=1. Its interval for n starts at
n*n-1, so this is not quite a textbook floor(sqrt(q)) table. The resulting
weights range from 1 to 255: high near the centre, low outside. Once those
weights exist, their temporary lookup storage is overwritten with a
256x256 table of signed-byte products shifted right by seven. The expensive
radial construction is over before the frame loop starts.
Two phases advance by three and two units per elapsed timer tick, wrapping
at 1024. They index a Q15 sine table; the resulting values, shifted right
six, are the two angles A and B. Renderer 0x2fd2b chooses each pixel's
rotation angle as:
angle = (B + ((weight * (A - B)) >> 8)) & 1023
Near the centre the image follows A; farther out it follows B. Because the two sine-driven angles oscillate at different rates, the difference grows and reverses: the face winds up, unwinds and turns back. This is not a constant spin plus a fixed twist, nor an angular speed simply proportional to radius.
The inner loop inverse-maps the captured picture using signed-byte sine and cosine (the high bytes of the Q15 entries). All four products below are fetched from the precomputed multiplication table; each shift is an arithmetic right shift performed when that table was built:
sx = ((x*cos8) >> 7) - ((y*sin8) >> 7)
sy = ((y*cos8) >> 7) + ((x*sin8) >> 7)
I = 32160 + 320*sy + sx
d = (y + 100)*320 + (x + 160)
output[d] = captured[I]
output[64320 - d] = captured[64000 - I]
Here x runs from -110 through 110 and y from -99 through 0. One explicit
upper-half iteration also writes a mirrored lower-half sample, reducing
the mapping work to 22,100 iterations. The constants above are the actual
linear-address offsets, including their one-row difference; replacing them
with a tidier symmetric-centre formula changes the output. The row-offset
lookup supplies 32160 + 320*sy. There is no per-pixel square root or
arctangent, and no bilinear filtering. Even zero angle is not an exact
identity: the signed-byte cosine is 127, not 128.
The captured screen sits inside a larger region prefilled with palette index 219. Sampling beyond its 64,000 picture bytes therefore reaches background padding, rather than requiring a clamp on every source coordinate.

This reconstruction executes the original capture, table initialization and whirl renderer with phases corresponding to 240 elapsed ticks. It is not an AVI timestamp or a new DOSBox capture. It shows the curved winding that the upright mesh-deformation frames must not be captioned as.
The output buffer starts at workspace+0x61ac0, initially filled with
palette index 219; 0x2fe97 copies its 64,000 bytes to the visible screen.
The loop displays the previously rendered buffer before making the next
one. At elapsed count 0x41a (1050), it also clears the output and starts
calling 0x2feb1 and 0x307a5: the polygon shutter and animation updater
described next, not a fade.
Closing the Face into a Checkerboard Ball
The two effects overlap deliberately. While the whirl continues to render,
0x2feb1 draws two flat quads over it. Their eight source vertices have
X bounds -200 and 200, Z=0, and initial Y intervals [-200,-90] and
[90,200]. On each animation update, 0x306d6 adds one to the first
quad's four Y coordinates and subtracts one from the second's. The gap
between them closes. At the same time the second rotation parameter advances
by two degrees per update; with the other two zero, this is rotation in
the image plane. The visible result is a turning slit, not a dissolving face.

The panels use palette indices 252 and 253. Entry 0x2f95c arranges an
upload of just those two colours, from RGB triples (41,27,48) and
(51,41,56) in six-bit DAC units. That leaves the face palette available
underneath while giving the two covers distinct purple shades.
The script's first command, 0x304ea, centres the object at (160,100),
sets the rotation step and installs a 90-update delay. The next command,
0x30554, switches the object record at runtime 0x2b908 to its next
16-byte entry and sets the handoff flag. The first object has two quads and
eight vertices; the second has 114 vertices and 128 faces: 96 quads and
32 triangles. Half the faces use colour 252 and half use 253. They form
a checkerboard ball, not a smooth-shaded object. No lighting calculation or
vertex-colour interpolation is needed to produce its alternating patches.
Once that flag is set, the caller stops the whirl loop. Its next loop calls
0x2fe53 to rebuild the background, then draws the selected polygon object
and presents the result. The background routine copies 56 bytes of
vertlogo.img per row to the left edge and fills the remaining 264 bytes
with index zero. The raw resource is exactly 56*200 = 0x2bc0 bytes.
A separate palette upload replaces entries 0–63; the ball retains its
two high-index colours. The image therefore changes from face-plus-shutters
to a ball over a dark background with a vertical Verses logo.

Subsequent script commands make the initially oversized ball recede by
increasing the projection's Z offset: first 0x5000 per update for a
210-update interval, then 0x10000, 0x12000, 0x14000 and 0x16000.
Additional rotation and screen-centre motion send it towards the lower right.
The final command sets the completion flag at runtime 0x2b8f8. These are
authored motion phases, not a generic fade or a change to the ball's mesh.
Both illustrations execute the original mesh, capture, whirl, polygon and animation code, with one timer tick supplied per updater call. They show the mechanism and asset handoff, not measured AVI timestamps or new DOSBox recordings. The span renderer and its flat-colour boundary are detailed below.
Reconstruction Boundary
The original-release executable was independently unpacked to the previously
recorded hash. Its protected-mode address base begins at load-image 0xea0:
for example, the loader's 0x20780 name pointer addresses xwarp.sci at
load-image 0x21620. Code locations above remain load-image offsets; workspace
offsets belong to the separately allocated selector, not the EXE file.
The original initialization, script updater, both map builders and both
resamplers produced all 18 reconstructed poses. A separate horizontal-span
check confirmed single-byte sampling across complete 320x200 output frames.
This replaces the earlier plausible-but-untraced affine/radial explanation
with the actual xwarp call chain. Six following-whirl outputs, at simulated
tick counts 0, 120, 240, 360, 500 and 700, also matched a separate integer
implementation byte for byte. This establishes the captured-image handoff
and whirl mapping, not exact AVI synchronization. The following shutter/ball
reconstruction continues the original animation commands through their final
completion flag. The affine mapper remains separate; the polygon engine below
is now directly bound to this transition and ball.
Affine Texture Mapper / Ripple-Style Mapper
The routine beginning at 0x2005d builds four transformed corner points and
then fills a 160x100 low-resolution field into VGA memory as duplicated pixels.
The code uses fixed-point math and row/column deltas.
Corner transform:
0x2005d ESI = 0, EBP = 4 corners
0x20064 ECX = angle index [0x1c728]
0x2006b EAX = sin/cos table [0x1c738 + angle*4]
0x20072 imul corner_x
0x2007c EAX = second trig table [0x1cb38 + angle*4]
0x20083 imul corner_y
0x2008b combine/subtract terms for rotated x
0x2008d multiply by zoom [0x1c72a]
0x20095 shrd EDX,EAX,7 for fixed-point rescale
0x20099 add x center [0x1c732]
0x2009f store transformed x
The y component repeats the same pattern with swapped/additive terms and center
[0x1c72e].
Interpolation setup:
0x200e5 divide top-edge delta by 100 rows, store integer/fraction parts
0x20122 divide left-edge delta by 160 columns
0x2015f load starting source u/v fixed-point pair
0x20183 add source row table base [0x1c220]
0x2018f EDI = active page start * 4 + 0xa0000 - [0x18]
0x2019e ECX = 100 destination rows
The inner mapper at 0x201a3:
for each of 100 rows:
save row u/v and x/y accumulators
ECX = 80 columns, because each iteration writes two duplicated pixels
row_base = table[v]
0x201ad EAX = row table for current v
0x201b4 advance v fraction by column delta
0x201c1 AL = texture[row_base + u]
0x201c4 advance u fraction by column delta
0x201cb AH = AL
0x201d3 write AX to VGA
0x201d6 repeat a second sample/write
0x20200 EDI += 4
0x20203 loop for 80 iterations
restore saved accumulators
advance row edge fixed-point values
loop for next row
The two samples per loop and AH=AL duplication write four VGA pixels per loop
as two 16-bit stores. The visible resolution is 160x100 doubled horizontally,
which is a common speed tradeoff for animated affine/warped textures on 486-era
VGA.
Palette fade for this cluster is at 0x2022d:
0x20236 ESI = current palette buffer
0x2023c DX = 3c8h, AL = 0
0x20242 write DAC start index
0x20245 DX = 3c9h
0x2024a output 3 bytes per color, 255 colors
0x20271 EDX = 63 * fade_step / 64
0x20280 EBX = 64 - fade_step
0x20297 ECX = 0x2fd bytes
0x2029e AL = source byte
0x2029f AL = AL * EBX / 64
0x202a5 add EDL bias
0x202a7 store into active palette
This fades by mutating a palette buffer, then streaming it to the DAC every tick, rather than by touching the framebuffer.
Flat-Colour Polygon Engine: Shutters and Checkerboard Ball
The cluster around 0x30000 is the renderer called by 0x2feb1 for the
shutters and checkerboard ball above. It transforms vertices, projects them,
culls faces and fills constant-colour spans. The earlier association of this
cluster with the NFO's Gouraud credit was too broad: this caller uses flat
face colours, and no alternative Gouraud span dispatch is established here.
Rotation Matrix
The first routine computes a 3x3 matrix from trig tables:
0x3000c load trig table value from 0x2aa1c[angle]
0x3001c load paired trig value from 0x2ab84[angle]
0x30025 signed multiply table terms
0x3002d shrd EAX,EDX,10h to retain the product shifted right by 16
0x30031 keep partial product in EBX
0x30033 multiply/add second term
0x30053 store matrix coefficient at 0x27184
The coefficients land at 0x2716c..0x2718c.
Vertex Transform
0x300ab applies the matrix to a point array:
for each point:
x' = m00*x + m01*y + m02*z
y' = m10*x + m11*y + m12*z
z' = m20*x + m21*y + m22*z
ESI += 0x10
EDI += 0x10
The multiply/add sequence is explicit:
0x300bc imul [ESI+0] by m00
0x300be imul [ESI+4] by m01 into EBX
0x300c2 imul [ESI+8] by m02 into ECX
0x300c6 add EBX
0x300c8 add ECX
0x300ca store transformed x
Projection
0x3011a projects transformed points to screen coordinates:
0x3011a ECX = z
0x30125 z += [0x2b8d0]
0x30127 z += 0x320000
0x3012d EBX = 0x180, x scale
0x30132 imul x by scale
0x30134 idiv z
0x30136 add screen center x [0x2b8c8]
0x3013c store projected x
0x30141 EBX = 0x140, y scale
0x30146 imul y
0x30148 idiv z
0x3014a add screen center y [0x2b8cc]
This is normal perspective division. The large 0x320000 bias keeps the
denominator positive and prevents near-plane singularities for the intended
object ranges.
Backface Test
0x3015d computes a signed 2D area for each face:
dx1 = x[v_b] - x[v_a]
dy2 = y[v_c] - y[v_a]
term1 = dx1 * dy2
dy1 = y[v_b] - y[v_a]
dx2 = x[v_c] - x[v_a]
term2 = dy1 * dx2
visible = (term1 - term2) > 0
The result is written as a byte flag at face+1. A negative or zero area marks
the face as hidden.
Triangle/Quad Handling
0x301cb walks face records:
0x301cb EDX = face flags/color
0x301cd if DH has sign bit set, skip face
0x301d3 store face color to 0x271b4
0x301d9 EBP = vertex count / polygon type
0x301dc load up to four vertex indices
0x301e8 map indices through projected coordinate pointer table at 0x2b670
0x30204 call polygon setup
0x3020b advance face record by 0x20
At 0x30212, all vertex y values are biased by 0x03200000 before the edge
sort. The polygon is then split into one or two triangles:
0x30240 if EBP == 3, only draw triangle (a,b,c)
0x30245 otherwise draw triangle (a,c,d)
0x30260 then draw triangle (a,b,c)
Edge Table
0x30286 sorts packed (y << 16) | (x & 65535) coordinates and stores
them at 0x271cc. Their high words give the scanlines; shifting the packed
value left by 16 puts X, not Y, into the edge walker's 16.16 format:
0x3028b sort packed coordinates by exchange
0x3029b store sorted packed values
0x302a4 shift packed values left by 16 to obtain fixed-point X
0x302d1 numerator = (x2 - x0) << 16
0x302e1 denominator = y2 - y0, from the stored high words
0x302f5 slope_long = numerator / denominator, signed division
0x30301 compute upper edge slope
0x3033d compute lower edge slope
The former pseudocode reversed these axes. The actual slope is the horizontal
advance per scanline, not its reciprocal. The +800 Y bias puts edge records
in a larger scratch table; the filler starts at its visible 200-row window,
800 records after the base (0x28adc - 0x271dc = 800*8). Quads accumulate
both triangles into that table before one fill, rather than drawing a
separately shaded diagonal through the face.
The code chooses which pair of slopes is left/right by comparing them:
0x30374 compare ECX and EDX slopes
0x30378 xchg if needed
0x30383 call 0x30415 to write spans
0x30415 is the edge-table writer:
0x30415 if current left bound is greater, replace it
0x3041b if current right bound is smaller, replace it
0x30423 advance left by slope
0x30425 advance right by slope
0x30427 advance edge-table pointer by 8
0x3042a loop for scanline count
Span Filler
0x3042e walks 200 scanlines of generated left/right spans:
0x30443 EDX = 200 rows
0x30448 EBP = framebuffer base table [0x2d134] + 0x61ac0
0x30454 ESI = left x, EDI = right x
0x30459 convert 16.16 x values to integer
0x3045f clip left/right to 0..319
0x30483 if right >= left, call span writer
0x3048c reset span to sentinel values
0x30499 EBP += 320 for next scanline
0x304a6 is the optimized horizontal fill:
0x304a6 EBX = right - left + 1
0x304ad if length < 12, use byte-only fill
0x304b2 load packed color dword from 0x271b4
0x304ba EDI = framebuffer_row + left
0x304be compute bytes needed to align EDI to dword
0x304c8 rep stosb for leading unaligned pixels
0x304ca ECX = remaining / 4
0x304cf rep stosd for middle
0x304d1 EBX &= 3
0x304d6 rep stosb for trailing pixels
The fill includes both endpoints. Its alignment prefix is 4-(address & 3):
an already aligned long span still writes four bytes before the dword body.
Twenty complete 200-row span passes matched an independent clipped inclusive
fill, including preservation outside the spans and reset of every visible
edge record to its sentinels. This is a flat-colour polygon pipeline; the
demo's separately credited Gouraud routines must not be inferred from it.
Twister / Planar VGA Copy Cluster
The cluster around 0x59c70 handles an unchained or planar-ish VGA part. It
uses direct sequencer/graphics-controller writes plus a ring buffer.
Initial transfer:
0x59c74 DX = 3c4h, AX = 0f02h, enable all plane masks
0x59c7e EDI = [0x586c8] + 0xa0000 - [0x18] + 7
0x59c93 ESI = current source pointer [0x58724]
0x59c99 EBP = 0x28 rows
0x59c9e call 0x59d2d
0x59d2d copies a vertical stripe:
0x59d2d ECX = 16
0x59d32 rep movsb, copy 16 source bytes
0x59d34 wrap source pointer if it reaches end [0x586c4]
0x59d42 EDI += 0x94
0x59d48 loop EBP times
The stride 0x94 is 148 bytes, not the standard 80 or 320. Combined with the
part's starting offsets and plane masks, that produces a skewed/twisted copy
pattern rather than a linear bitmap blit.
The center bands use specialized nibble/byte selectors chosen by [0x58728]:
0x59d4c read mode byte
0x59d58 mode 0 -> 0x59db8
0x59d63 mode 1 -> 0x59df4
0x59d6e mode 2 -> 0x59e2c
0x59d79 mode 3 -> 0x59d80
Each mode copies eight visible bytes per row, but with a different phase:
mode 3: add 2 to source/dest, copy 2, skip 2, copy 2...
mode 0: start one byte later, copy pairs, then back up one byte at row end
mode 1: copy pairs from the current alignment
mode 2: copy 1, skip 2, copy pairs, then copy a final byte
So the part is not just copying a picture. It is changing which plane/phase lands on the screen for each band, creating an interleaved twisting motion.
The vertical line insertion/erase at 0x59e64 uses graphics-controller write
mode:
0x59e64 select GC register 5 at 3ceh
0x59e6b read current value
0x59e6d OR AH with 1, write mode control back
0x59e72 sequencer map mask all planes
0x59e7c EDI = active VGA base + 0x2058
0x59eb0 loop 100 times copying one byte every source +0x27, dest +0xa3
0x59ec2 back source by 0x0fa0 and dest by 0x4064
0x59ed3 draw second 100-byte column
0x59f0b clear write-mode bits again
0x59f20 erase/zero vertical path every 0xa3 bytes
This is classic VGA-plane trickery: a small number of CPU writes are expanded by the VGA latch/plane hardware into visible columns or masks.
Twister Palette Fades
The same part uses a compact 96-color palette. Palette upload:
0x5a220 DX = 3c8h, AL = 0
0x5a226 write DAC start index
0x5a227 DX = 3c9h
0x5a229 EBP = 0x60 colors
0x5a22e ECX = 3
0x5a233 rep outsb for one RGB triplet
0x5a235 loop 96 colors
Fade-in at 0x5a211:
0x5a253 EBX = 64 - fade_step
0x5a25e ESI = original palette at 0x58735
0x5a263 EDI = working palette buffer [0x586bc]
0x5a269 ECX = 0x120 bytes
0x5a270 AL = source component
0x5a271 AL = AL * EBX / 64
0x5a277 write component
0x5a27b fade_step++
Fade-out/invert at 0x5a282 does three interleaved passes over R, G, and B
components:
0x5a2c8 EDX = 0x3d * fade_step / 64 for first channel
0x5a2e2 process 96 components with stride 2 in source/dest
0x5a2fc EDX = 0x3b * fade_step / 64 for second channel
0x5a318 same loop, starting one byte later
0x5a332 EDX = 0x38 * fade_step / 64 for third channel
0x5a352 same loop, starting two bytes later
0x5a36c fade_step--
That gives each RGB channel a slightly different destination bias (0x3d,
0x3b, 0x38), so the fade is colored rather than a purely gray fade.
End Logo / Bitmap Conversion
The setup around 0x5a0b3 converts chunky data into planar VGA:
0x5a0b3 clear graphics-controller write mode bits
0x5a0c1 AX = 1102h, initial sequencer map mask value
0x5a0c5 EBP = 4 planes
0x5a0ca out AX to 3c4h
0x5a0d0 save source/dest/count
0x5a0d3 movsb one byte, then source += 3
0x5a0d7 loop over byte count
0x5a0dd ESI++ to move to next chunky byte phase
0x5a0de rol AH,1 to rotate the plane mask
0x5a0e0 repeat for four planes
This is a chunky-to-planar splitter. It walks the same chunky source four times, copying every fourth byte into a different plane by rotating the sequencer map mask.
What Verses Is Doing
Verses is a mature 1994 protected-mode PC demo. Its core technical shape is:
- A single executable with a custom PMODE-based runtime and embedded resource directory.
- A simple internal RLE/literal resource depacker for packed screens and data.
- Direct GUS support driven from
ULTRASNDin the original release; Revision II adds SB/SBPro and a no-sound command-line route. - Timer-driven part scheduling through IRQ callbacks.
- Direct VGA programming: DAC streaming, CRTC page/scroll writes, sequencer
masks, graphics-controller write mode, and linear protected-mode writes to
0xa0000. - Multiple classes of inner loops: bulk
rep movsdtext/glyph copy, low-res affine texture mapping, planar twister copies, palette-space fades, and a full 3D filled-polygon pipeline. - A script/image-driven Bill Gates quote and face-warp part using
xwarp.sciandxwarp.scr, where the visible work is a moving 2D coordinate remap rather than a polygon pass.
The demo's "fancy" feel is not coming from one miracle routine. It is the combination of protected-mode memory freedom, embedded resources, a callback driven runtime, and several small inner loops that are each specialized for one visual job. The direct run also confirms that this variety is held together as one paced 4.5-minute work: logos, image fields, recursive forms, face mapping, kaleidoscope, shaded objects and the self-referential filmstrip credits all belong to the same executable sequence.