Analysis model: GPT-5 (Codex), reasoning level not exposed
Autumn by Epsilon - Technical Dissection
Release year: 1995
Autumn is Epsilon's 64 KB MS-DOS intro from Wired 1995. The Wired result
file lists it as second in the 64 KB intro competition, behind Keen Like Frogs'
Magic Carpet and ahead of Massive's Flexible.
This pass uses the public Scene.org archive autumn.zip. The released
AUTUMN.EXE is a PKLITE-packed real-mode MZ executable. After unpacking with
UNP under DOSBox-X, the recovered executable is still not a single clean body:
its startup code writes an embedded music/resource block to ###.tmp, runs the
visual runtime, and deletes that temporary file at exit.
Public note credits:
- 3D engine, tunnel, and XMS manager: Elliot.
- Other code, linking, and motions: Feanor.
- Music and 3D objects: Blade.
- Design: Blade and Feanor.
- Graphics: Fub-Niggurath.
The note asks for 600 KB conventional memory, 200 KB of XMS, and strongly recommends a Gravis Ultrasound. The group note also contains period contact details; those are deliberately omitted here.
Sources:
Archive Contents
Unpacked archive:
AUTUMN.EXE 61,100 bytes
AUTUMN.NFO 1,062 bytes
EPSILON.NFO 4,747 bytes
FILE_ID.DIZ 75 bytes
Hashes used for this pass:
c68ff97bdc2891042b30dccaccf455ca2f19719c81ad8fab60ab982a48a2539e autumn.zip
670c10b88f04a10d454466d12a1f62e7c9be4fcef973dfd7e3cff4ec01356f2a autumn.diz
a0ef13c27f461faadab676978ee777cf89ca994cf41a751f8851b4f6ebc54541 wired95-results.txt
9563c10c57186a4f80af985e8ffa3b890b756ff8f9e8e464dbcb619f0ac650e4 AUTUMN.EXE
670c10b88f04a10d454466d12a1f62e7c9be4fcef973dfd7e3cff4ec01356f2a FILE_ID.DIZ
55dc1e65430d894145e104fcc8772d3c3d0f7b54c622c82e9cba2978a5486b0d EPSILON.NFO
08d27a53bd5871ae0eaa283b8c81a850a5df409756289890a5a6e1bcbe78f93e AUTUMN.NFO
Recovered executable:
c15a27f54b0483eb37c9ed072ad8049551b12819b3812cb01dfeae279aee4102 AUTUMN.EXE after UNP
size: 181,563 bytes
The file date in the archive is not useful for release dating; the party result file is the source for the 1995 release year.
Complete Runtime Capture
I ran the released AUTUMN.EXE under DOSBox-X 2026.01.02 with the normal CPU
core at a fixed 20,000 cycles, 16 MB of emulated RAM, XMS/EMS enabled,
machine=svga_s3, no scaler or aspect processing, and Sound Blaster, GUS, and
PC speaker output disabled. The release takes the silent path without asking a
setup question. This verifies the visual route, not the GUS/MikMod audio path.
The complete emulator window was recorded through X11 at 640x400 and a nominal
30 frames per second with the host cursor suppressed. No video frame was cropped or
padded. Capture 00:00.000 is the first grabbed mode-13h frame after launch,
not an internal cue. The 360-second source includes every scripted visual part
and more than a minute of the final hold. A held Escape after recording returned
cleanly to DOS; short injected taps were too brief for the program's direct
keyboard-port polling.

The observed phase order is:
- about
00:00..00:15:AUTUMNtitle, rain-like streaks, and blue generated texture/palette states; - about
00:15..00:40: the orange/blue mirrored tunnel and texture compositor; - about
00:40..01:00: dithered texture-field credits; - about
01:00..03:30: a long procession of shaded and textured 3D objects over generated green, mauve, dark, and patterned backgrounds; - about
03:31..04:10: the orange radial/star warp and its palette changes; - from about
04:10: the final Epsilon/Autumn artwork, fully visible by the timeline's04:22.185frame and held until Escape.
The ending is a genuine release frame, not reconstructed artwork:

This timeline materially sharpens the static call map below. 0x0961 owns the
early title/palette family; 0x1a57 owns the first tunnel and its cue-driven
text; 0x405b begins the later texture/3D family; the object procession uses
the transform, sort, triangle, and generated-span paths under 0x43b0; and the
late radial motion is the visible behavior expected from the coordinate tables
built at 0x8afe and consumed at 0x8bc8. The last association is bounded:
the call relationship and table use are recovered, but individual palette
changes inside the late warp have not been assigned to separate helpers.
Packed MZ Layer
The released AUTUMN.EXE carries a PKLITE marker in the MZ header area. Its
header is small:
file bytes: 61,100
header bytes: 144
load image: 60,956 bytes
entry CS:IP: fff0:0100
relocations: 0
min extra: 0x2063 paragraphs
max extra: 0xffff paragraphs
stack SS:SP: 0eeb:0400
The negative-looking CS is normal for this style of packed EXE. The loader
does not jump directly into the final intro; it starts in the PKLITE stub, checks
the DOS memory block, relocates its stack, copies a depacker stub, and expands
the compressed image in memory.
depklite can recover an intermediate 183,461-byte image with useful strings,
but that output is not a clean MZ file. DOS-side UNP repairs the executable
properly:
file bytes: 181,563
header bytes: 1,024
load image: 180,539 bytes
entry CS:IP: 0000:02f4
entry file offset: 0x6f4
relocations: 214
stack SS:SP: 2e44:1000
The relocation table confirms this is not a flat COM-like intro. The recovered
image is a segmented real-mode program with a main data segment at 0x2618,
several library-like segments, and later far calls into the MikMod/GUS code.
Startup And Temporary Module
The UNP-recovered entry code is unusually informative. It immediately points
DS at segment 0x2618, resizes the PSP memory block, creates ###.tmp,
writes a large embedded block, calls the visual runtime, then deletes the file:
mov ax, 2618h
mov ds, ax
; shrink DOS allocation to the current stack top
mov bx, sp
add bx, 0fh
shr bx, 4
mov ax, ss
add bx, ax
mov ax, es
sub bx, ax
mov ah, 4ah
int 21h
; create ###.tmp
mov ah, 3ch
xor cx, cx
mov dx, 0000h
int 21h
mov [0031h], ax
; write 0x9837 bytes from segment 0x0cce
mov ah, 40h
mov bx, [0031h]
mov cx, 9837h
push ds
mov dx, 0cceh
mov ds, dx
xor dx, dx
int 21h
pop ds
; close, run, delete
mov ah, 3eh
int 21h
call 0795h
mov ah, 41h
mov dx, 0000h
int 21h
mov ah, 4ch
int 21h
The block source maps to file offset 0xd0e0 in the recovered EXE. It starts
with UN04 and contains Screamtracker 3.xx, Autumn, by /\BLADE/\,
from EpSiLoN, for WIRED 95, plus MikMod/GUS strings near the end of the
program. The safest reading is that the intro carries an embedded module or
MikMod resource block, extracts it because the player wants a DOS file, and
then removes it after the demo ends.
This also explains why a pure static read of the EXE misses one runtime side effect: even the unpacked file has a tiny file-extraction stage before the visual code starts.
Main Runtime Setup
The main routine at file offset 0x795 sets up the real-mode workspace and
dispatches the scenes. Its first job is to allocate six 64 KB DOS blocks:
mov bx, 1000h
mov ah, 48h
int 21h
mov [1745h], ax
; repeated for:
; [1747h], [1749h], [174bh], [174dh], [174fh]
The important segment variables are:
[1745] main offscreen buffer, copied to A000h for mode 13h scenes
[1747] generated map or texture source, depending on scene
[1749] derived texture/class map, or a second texture source
[174b] extra work segment
[174d] precomputed warp table
[174f] second precomputed warp table
The startup then calls the procedural map builder at 0x414, builds a sine
table, enters VGA mode 13h, precomputes a warp table at 0x8afe, starts the
music path, and runs the scenes:
call 0414h ; generated 256x256 map
mov di, 0343h
mov cx, 04feh
mov ebx, [033fh]
build_sine:
mov eax, ebx
imul ebx
shrd eax, edx, 17h
sub eax, [di-8]
stosd
loop build_sine
mov ax, 0013h
int 10h
call 8afeh ; ray/warp lookup tables
call 83d8h ; later scene setup
call 0961h ; early title/palette scene
call 1a57h ; first tunnel scene
call 405bh ; second tunnel/texture scene
The sine table is not a BIOS or library table. It is generated from a recurrence that squares the previous state and subtracts a value two dwords back. Later angle code indexes this table with 10-bit phase values and quarter-cycle shifts.
Frame Copy And Retrace Helpers
Most mode 13h scenes draw into segment [1745] and present with a tiny
copy helper:
push ds
mov ds, [1745h]
mov ax, 0a000h
mov es, ax
mov si, di
rep movsd
pop ds
ret
The caller supplies DI and CX, so this is both a full-screen and partial-band
present routine. For a full 320x200 copy, CX is 0x3e80 dwords. The first
tunnel uses a smaller band: DI = 0x2580, CX = 0x2bc0.
Two small retrace helpers poll VGA input status port 0x3da. One waits until
vertical retrace is high, and the other waits for a full edge by waiting for
the current high period to end and the next one to begin. That keeps palette
loads and buffer copies from tearing badly on real VGA hardware.
Palette Machinery
There are two palette work areas. The early scenes use a current palette at
0x175b and target ramps at 0x1a5b; later scenes use the same idea at
0x48e3 and 0x4be3.
The ramp builder at 0x5df takes a palette range and two RGB endpoints. For
each palette index in the range, it computes each channel by integer linear
interpolation:
out.r = r0 + (r1 - r0) * i / count
out.g = g0 + (g1 - g0) * i / count
out.b = b0 + (b1 - b0) * i / count
The DAC load helper at 0x557 writes the start index to port 0x3c8, then
streams 3 * count bytes to port 0x3c9 with rep outsb. The fade helper at
0x5b7 walks the current palette one byte per component toward the target
palette. This makes scene fades cheap: the frame loop only has to step the
palette and push it to the DAC.
Generated 256x256 Map
The map builder at 0x414 writes a full 64 KB field into whichever segment is
in ES. It first clears the field to 0xff, seeds four points in 256x256 wrap
space, then recursively subdivides.
The recursive worker at 0x461 uses BL and BH as x/y byte coordinates and
CL as the current step. Because x and y are bytes, stepping naturally wraps at
256. The routine samples four neighboring values, averages them, adds a random
perturbation scaled by the current step, writes a midpoint if it is still
0xff, halves the step, and recurses into four sub-squares.
The random perturbation helper is small and deterministic:
; SI is the random state.
mov ax, 00afh
mul si
add ax, 2bc0h
adc dx, 0
div word ptr cs:[0012h]
mov si, dx
ret
The value combiner clamps generated bytes to 0xfe, preserving 0xff as the
"unwritten" sentinel. After recursion, the map is normalized in one 65,536-byte
pass:
xor di, di
normalize:
mov al, es:[di]
xor ah, ah
shr ax, 2
inc al
stosb
test di, di
jne normalize
The test di, di loop is an old real-mode trick: starting at zero and allowing
DI to wrap after 0xffff gives exactly 64 KB of bytes without keeping an
explicit 16-bit counter.
This map feeds several effects. In one scene it is converted into a low-color texture/class map; in another it becomes a height/warp source. The intro spends startup time here so the release does not need to store large textures.
Text And Glyph Blitter
Text is drawn by a compact stream interpreter at 0x665. The first byte is a
character count, then each character is converted with char - 'A' and passed
to the 24x24 glyph blitter at 0x67f.
The glyph loop uses segment GS as the font segment and treats zero pixels as
transparent:
; BX is the glyph index.
mov bh, 0
mov dx, gs:[bx-7d80h] ; glyph advance
imul bx, 0240h ; 24 * 24 bytes per glyph
mov si, bx
for y = 0..23:
for x = 0..23:
mov al, gs:[si]
or al, al
jz skip
mov es:[di], al
skip:
inc si
inc di
add di, 0128h ; next 320-byte screen row after 24 pixels
sub di, 1dfeh
add di, dx ; variable glyph advance
The loop is not proportional in memory layout, but it is proportional on
screen: every glyph occupies 576 bytes in the font, while DX supplies the
visible advance.
Timer And Music Sync
A timer callback at 0x76c increments two dword counters:
inc dword ptr [173bh]
inc dword ptr [173fh]
call far 099a:119d ; music tick/update path
Frame loops compare [173b] against scene cue tables and use [173f] as a
continuous phase source. Escape is polled through keyboard port 0x60, not
through BIOS keyboard calls, so the loops avoid DOS/BIOS overhead during heavy
effects.
First Tunnel Scene
The first large effect starts at 0x1a57. It converts the generated map in
segment [1747] into a low-range class texture in [1749]:

The direct 00:19..00:26 clip shows the two layers described by the code below:
the broad symmetric field changes with the radial fill while finer horizontal
texture detail travels across it. The palette moves from pale blue/orange to a
darker orange state without changing the address-generation mechanism.
ES = [1747]
FS = [1749]
for si = 0..65535:
al = ES:[si]
dec al
shr al, 2
dec al
if al < 1:
al = 1
FS:[si] = al
The frame loop is built around a cue scheduler and two render passes:
1. run a timed cue if [173b] has reached the next table entry
2. every other tick, step the current palette toward the target palette
3. clear the drawing band in [1745]
4. derive phase offsets from [173f]
5. draw the mirrored radial/tunnel fill at 0x2dd7
6. draw the unrolled rotating texture compositor at 0x1bd3
7. wait retrace and copy the band to A000h
The clear is only over the visible band:
mov es, [1745h]
mov di, 2580h
mov cx, 2bc0h
xor eax, eax
rep stosd
Mirrored Radial Fill At 0x2dd7
The radial pass writes two symmetric screen areas. It sets DI to the forward
screen position and SI to a mirrored position derived from 0xfa00 - DI.
For roughly 75 lines, it computes a scale value through division, then emits a
long repeated two-pixel pattern:
dx += ax
bl = dh
cl = fs:[bx]
dx += ax
bl = dh
ch = fs:[bx]
cx <<= 4
es:[di] = cx
es:[si] = cx
di += 2
si += 2
FS points at the derived class texture. DH is used as the lookup byte, so
the effect intentionally throws away the low fractional bits. Packing CL and
CH lets the routine write two pixels with one word store, and the same word is
written to the mirrored line. The cx <<= 4 step moves the low class values
into a brighter palette range before the word store.
This pass lays down the broad tunnel/radial structure. The next pass adds the fine rotating texture detail on top.
Unrolled Texture Compositor At 0x1bd3
The compositor at 0x1bd3 is the classic inner loop in this intro. It does not
loop per pixel. It builds a pair of fixed-point stepping values from the sine
table, then runs through a long unrolled sequence:
ES = [1745]
FS = [1749]
DI = 2580h
; AX/DX are the current texture coordinates.
; BP/SI are the per-sample increments.
bl = ah
bh = dh
ax += bp
dx -= si
cl = fs:[bx]
bl = ah
bh = dh
ax += bp
dx -= si
ch = fs:[bx]
es:[di] |= cx
di += 2
The important trick is the byte-pair coordinate:
BX = (high byte of DX << 8) | high byte of AX
That turns two 16-bit fixed-point accumulators into a wrapped 256x256 texture
lookup. The loop fetches two samples, packs them into CX, ORs them into the
existing radial-fill pixels, and advances by two output pixels. Since the
instruction stream is unrolled, the CPU pays no branch cost per pair. On a 486,
that is a meaningful win for a full software tunnel.
The OR blend also explains the palette design: the radial pass writes a shifted class value, and the rotating detail contributes lower bits. The final color is not an arithmetic blend; it is a palette-index composition chosen so bitwise OR looks like a brighter textured tunnel.
Second Texture Field Scene
The scene at 0x405b starts with palette setup, blank presentation, and several
ramps. Its main visible pass is the wavy texture field at 0x41fe.
Each frame derives offsets from the timer:
bx = [173f] * 5
bx &= 03ffh
esi = (sine[bx] >> 16) + 0190h
bx = [173f] * 4
bx &= 03ffh
[1d65h] = sine[bx] >> 7
bx = [173f] * 7
bx &= 03ffh
[1d67h] = sine[bx] >> 8
The renderer uses ES = [1745] and FS = [1747]. It draws 100 rows, 160
samples per row, but writes every other screen byte:
for row = 0..99:
bh = high(ax)
bl = high(cx)
al = fs:[bx]
es:[di] = al
di += 2
cx += si
; repeated 160 times
di += 320
ax += row_step
A frame parity flag chooses the starting byte, so alternate frames fill the other columns. That halves the per-frame store count while still covering the whole field over two frames. The palette and motion hide much of the temporal dither, especially on CRT VGA.
A companion cue routine at 0x41d1 chooses timed text streams. It reads a table
entry when [173b] reaches the cue time, updates the target screen position and
text pointer, then calls the 24x24 glyph blitter.
The scene tail fades and composes a logo/text state: it copies a 0x300-byte palette block from an embedded segment, fills symmetric bands in a work segment, copies an image block into the lower screen area, draws two text blocks, and keeps stepping palettes until Escape or the scene end.
Warp Table Precompute At 0x8afe
Before the visible scenes, 0x8afe builds two large lookup tables in [174d]
and [174f]. It uses the generated sine table and a scale counter that runs
from 2 to 0x603. For each scale, it walks phase values from 0 to 0x0ffc
in dword steps:

The continuous 03:42..03:49 clip is the runtime anchor for this table-driven
family. The star outline stays recognizable while the surrounding generated
field expands, contracts, and changes palette. That is consistent with stable
source texture/mask content being sampled through changing precomputed
coordinates, rather than with a sequence of stored full-screen frames.
FS = [174d]
GS = [174f]
for scale = 2..0x603:
for phase = 0..0x0ffc step 4:
x = sine[phase] * scale
y = sine[phase-0x400] * scale
store packed byte-pair coordinate
The helper after it, 0x8bc8, reads those packed coordinates and samples from
texture memory with added phase deltas. This is a setup-for-speed tradeoff:
large tables are generated once, then the visible warp can use table reads and
byte samples instead of divides and trigonometry per pixel.
Radial Table At 0x70b9
Another setup routine generates a 256x256 radial table in [1749]. It iterates
signed x/y values from -128 to 127:
r2 = x*x + y*y
r = integer_sqrt_approx(r2)
value = scaled_or_clamped(r)
table[(y & 255) << 8 | (x & 255)] = value
The square-root helper at 0x710f uses seven integer refinement iterations:
for i = 0..6:
eax = r2
edx = 0
eax = eax / ebx
eax = eax + ebx
eax >>= 1
ebx = eax
This is Newton-style integer square root. It is slow compared with a plain table lookup, which is exactly why it runs during setup rather than during the visible frame loop.
Object/Grid Conversion At 0x712e
The converter at 0x712e reads a grid or object source through GS and writes
the transformed object representation used by the 3D path. It computes a scale
constant from the object dimensions, rotates grid points with sine-table terms,
stores vertices, and builds index records for later face processing.
This stage matters because the 3D engine later expects a compact segment-local object layout:
object header
vertex count and face count
angle fields
matrix fields
vertex records
face/index records
projected screen records
sort scratch
The runtime therefore stores objects in a format that is easy for the inner 3D loops, even if the embedded source representation was more compact.
3D Engine
The 3D path starts around 0x43b0. It builds a rotation matrix, transforms
vertices, projects them, culls and sorts faces, then rasterizes visible
triangles into the [1745] offscreen buffer.

The direct 02:22..02:29 clip makes the pipeline observable: the torus enters
the frame, rotates through changing projected silhouettes, retains coherent
surface texture, and moves against the mauve generated field. A still would
show only one pose; the continuous clip supports the matrix/projection and
texture-span paths together.
Matrix Builder At 0x45f9
The matrix builder reads three angle words from the object record:
angle_x = fs:[0012h]
angle_y = fs:[0014h]
angle_z = fs:[0016h]
Each angle indexes the sine table at 0x33b; cosine is obtained by subtracting
0x0400 in the high byte of the phase. Matrix terms are 32-bit products shifted
back down:
eax = sin_or_cos_a
imul sin_or_cos_b
eax >>= 16
store matrix term
The resulting 3x3 matrix lives in the object record itself. That keeps the
vertex transform loop short: it can read matrix rows through FS without
calling a trig helper per vertex.
Vertex Transform At 0x4787
0x4787 transforms one signed 3D vertex. It is a straightforward fixed-point
matrix multiply:
for each matrix row:
eax = int16(x) * m[row][0]
+ int16(y) * m[row][1]
+ int16(z) * m[row][2]
eax >>= 16
[di] = ax
The caller repeats this for all vertices, then adds object translation and hands the transformed vertices to projection.
Projection At 0x4837
The projection routine applies a simple perspective divide:
z = vertex.z + fs:[1eaah]
if z == 0:
z = 1
screen_x = ((x << 9) / z) + 160 + fs:[1ea8h]
screen_y = ((y << 9) / z) + 100 + fs:[1ea6h]
The << 9 gives the perspective scale. The center offset is hard-coded for
mode 13h's 320x200 screen, with per-object x/y offsets added from the object
record.
Face Culling And Sorting
The face walker at 0x446d iterates face records and reads three vertex indices
from the face table. It rejects back-facing triangles using a 2D screen-space
cross product:
visible if:
(x1 - x0) * (y2 - y0) > (y1 - y0) * (x2 - x0)
Visible faces are written into two parallel sort arrays:
0x1f3b dword depth key
0x31fb face/segment word
The sorter at 0x47bf is an in-place quicksort over those keys. When it swaps
two 32-bit depth keys, it also swaps the paired face word, preserving the face
reference for the draw pass. For a small face count this is a good choice:
little setup, decent average behavior, and all scratch storage remains in the
main segment.
Triangle Setup At 0x48b5 And 0x5c8c
There are two related triangle paths. Both load three projected vertices and three texture/attribute pairs into:
0x1ee2 / 0x1ee4 y0 / x0
0x1ee6 / 0x1ee8 y1 / x1
0x1eea / 0x1eec y2 / x2
0x1eee..0x1ef8 per-vertex texture or shade data
The setup sorts vertices by Y, rejects triangles fully outside the screen, and
clips top/bottom against y 0 and 199. It stores:
[1f2e] screen row base, y * 320
[1f30] remaining scanline count
[1f32] current y
[1f0c] left edge x, 16.16
[1f10] right edge x, 16.16
[1f14] first interpolant, 16.16
[1f18] second interpolant, 16.16
[1f1c] optional first interpolant on the other edge
[1f20] optional second interpolant on the other edge
The divisions are 32-bit signed fixed-point edge slopes:
delta = (value_b - value_a) << 16
slope = delta / (y_b - y_a)
Those slopes are not merely stored in variables. The setup writes them into the instruction stream as immediates. The row loop contains placeholders like:
add dword ptr [1f0ch], 12345678h
add dword ptr [1f10h], 12345678h
add dword ptr [1f14h], 12345678h
add dword ptr [1f18h], 12345678h
add dword ptr [1f1ch], 12345678h
add dword ptr [1f20h], 12345678h
The setup overwrites the 12345678h dwords with the real per-scanline deltas.
That removes memory loads of slope variables from every row. The code also
patches a byte inside the span routine to ret for the final partial chunk,
then restores it afterward. This is runtime code generation, not just ordinary
self-modifying constants.
Shaded Texture Span At 0x4ca0
The span helper at 0x4ca0 is a long unrolled series of:
mov al, ds:[bx + patched_offset]
add al, fs:[si + patched_offset]
stosb
Before the call, DS is set to [1749] and FS is [1747]. BX and SI
hold the two interpolated texture/shade coordinates. The setup helper at
0x5c41 writes small changing offsets into each unrolled load:
for pixel_slot = 0..span_chunks:
cs:[48a2 + pixel_slot * 10] = generated_offset_for_ds_bx
cs:[48a7 + pixel_slot * 10] = generated_offset_for_fs_si
The draw then has no per-pixel add of interpolants. Each unrolled instruction already contains the byte offset for that pixel. The pixel result is a sum of two table samples, which makes palette-index lighting or texture-plus-shade cheap:
pixel = table_a[base_a + generated_offset] +
table_b[base_b + generated_offset]
At the end of each scanline, the patched row loop advances left/right x, texture bases, row base, and current y. The screen row step is a simple:
add word ptr [1f2e], 0140h
inc word ptr [1f32]
0x0140 is 320 decimal, the mode 13h line width.
Single-Source Span At 0x604e
The second triangle path at 0x5c8c is similar but uses one texture source.
Its generated span helper starts at 0x604e:
mov al, ds:[bx + patched_offset]
stosb
dec di
mov al, ds:[bx + patched_offset]
mov ah, ds:[bx + patched_offset]
stosw
; repeated...
The routine can draw odd-leading pixels and then pairs with stosw. As with
the shaded path, 0x6e65 writes offsets into the unrolled instruction stream.
It also changes one opcode depending on span direction:
std ; right-to-left span
cld ; left-to-right span
The pair writer is not a generic horizontal line loop. It is a generated span whose loads already carry the texture-coordinate increments for that specific line length.
Why The Inner Loops Work
Autumn gets a lot of mileage from spending setup time on tables and patched
code:
- PKLITE gets the executable under the 64 KB party limit.
- The residual startup writes the embedded MikMod/module data to a temporary file so the music path can use a file-based loader.
- Six 64 KB blocks give the intro room for offscreen pixels, generated maps, derived textures, and warp tables while staying in real mode.
- The map builder produces a reusable 256x256 texture source without storing one in the archive.
- Palette ramps and one-step fades make many transitions cost only DAC writes.
- The first tunnel's compositor samples two pixels at a time and ORs them into the radial pass with no per-pixel branch.
- The wavy texture field halves store count by filling alternating columns.
- The 3D paths sort and clip triangles once, then patch row and span code so the inner loops mostly execute loads, adds, and stores.
The result is a real-mode 64 KB intro with multiple distinct scenes, music, generated graphics, software tunnels, text overlays, and a compact 3D renderer. The code is not clean in a modern source-organization sense, but the hot loops are careful: they trade code size, startup work, and self-modifying setup for short per-pixel paths that fit the machines Wired 1995 targeted.