Analysis model: gpt-5.5 xhigh, sol high Last edited: 2026-08-25
Enigma by Phenomena - Technical Dissection
Scope
Enigma is Phenomena's Amiga OCS/ECS demo released on 30 March 1991. It won
the Amiga demo competition at the Anarchy Easter Conference and was voted the
third-best demo of 1991 in R.A.W issue 2. Pouet currently records 232 positive
votes, twelve neutral votes and no negative votes.
This is a full demo, not a cracktro, intro or effect collection. It falls just outside the site's usual 1992-1995 window, but earns the exception: it is an actual old-school landmark, not an obscure release included merely to fill a year. All seven credited contributors are individually documented as Swedish:
- Azatoth: code and raytraced graphics.
- Firefox: music.
- Imbecille: logo.
- Judas: additional code.
- Terminator: character sets.
- Tip: music.
- Uno: logos and character sets.
Public references:
- Demozoo production: https://demozoo.org/productions/143/
- Pouet production: https://www.pouet.net/prod.php?which=394
- Original DMS mirror: https://archive.scene.org/pub/mirrors/amigascne/Groups/P/Phenomena/PHENOMENA-Enigma.DMS
- WHDLoad install and preservation notes: https://whdload.de/demos/Phenomena_Enigma.html
Complete Direct Silent Run
The original disk was expanded from its preserved DMS and booted directly in FS-UAE 3.2.35 as an Amiga 500. Host audio output was disabled. A continuous 720-second lossless video-only capture followed the release from its opening picture through the full raytraced-image scroller and its subsequent persistent black state. The final raw part and reset path were recovered from the disk and controller, but did not produce visible output in this direct replacement-ROM run; they are not presented as visual evidence. No archival video was needed and no audio was played or inspected.
The published GIFs are continuous ten-second excerpts from a second clean direct run with the mouse sprite moved into the outer emulator margin. That black margin is trimmed to remove the pointer while retaining the complete authored Amiga display. Each excerpt is scaled to 480 by 360 and sampled at 8⅓ frames per second. They contain no interpolation, tiling, audio or embedded video.

The opening TV-BOX runs through outlined logo/text and then grows a blue box
around moving star-like pixels. Its internal script also advertises hidden-line
and plane-vector phases. Azatoth's embedded message says the idea came from a
television coming-attractions graphic. The clip is a temporal excerpt, not one
frame simultaneously nesting every advertised sub-effect.

The long trip to Mars moves along a runway populated by signs, trees, buildings, a wind turbine, a helicopter and small figures. Its flat polygons and sparse landscape are unmistakably 1991. The duration is also its weakest modern trait; the direct run confirms that the fly-through occupies roughly three minutes and is intentionally skippable with the left mouse button.

The transition out of the runway replaces recognizable props with a severe red-and-blue grid, horizon bands and a changing central solid. It is a useful bridge between the extended fly-through and the demo's short geometric studies: the floor still supplies perspective, but the moving object is now the complete subject.

The next sequence changes scale abruptly. Eight hundred plotted points form a rotating sphere above a copper-gradient floor. The points remain unconnected, so surface orientation has to emerge from density and motion rather than faces.

OLLESBOLL replaces the point cloud with a red polygon mesh. The direct pixels
show wireframe edges, not the filled tonal solid previously described here.
The part's own on-screen text says 42 POLYGONS and FOUR BITPLANES; those are
artifact claims rather than counts inferred from the image. The static pass
below tests what the released binary actually does instead of using that title
card to invent face records or a fill mechanism.

The perspective text plane is a separate loaded part, not an overlay supplied
by the controller. Its text advances away from the viewer while the Phenomena
logo holds the top of the frame. WHDLoad clears its low-memory word $2 and a
glyph-stream sentinel, but the source does not identify the exact failing
instruction. The explicitly documented illegal-blit pointer repair belongs to
the preceding track $1b transition part, not this one.

The largest disk part presents an eight-frame prepared raytraced image
sequence: green chains arch over a reflective, cloud-like plane beneath a
coloured horizon while details and pose cycle. A horizontal scroller describes
Azatoth's Perfect View tracer and explicitly lists
reflection, refraction, Phong shading, recursive rays and texture mapping.
Those are claims embedded in the original artifact; this pass does not mistake
the displayed image for real-time raytracing on the Amiga.
The final decrypted part contains direct-addressed text pages and group politics, followed by the controller's reset path. It remained black in the direct replacement-ROM run, so no screenshot or GIF is attributed to it. Old postal contact details present in two raw parts are intentionally neither quoted nor published.
The Original Disk
The preserved carriers and expanded disk have these SHA-256 hashes:
f5a61eec1662f69bcc51bca47b58709169076b9f1282e50648247605c6e9d74e original DMS
76673f1f14a81f5eafb99885f9be16d54beace0b38bf6321f06eb239a762ec95 expanded ADF
fed63919cf88e6040cbb7891af60dee9d700f4f54edec050052f5103f579a2cb WHDLoad install
The 901,120-byte ADF identifies itself as Enigma-Azatoth-1991. It is a
bootable OFS disk, but the filesystem is almost a decoy: its root directory
contains only the 31,332-byte Part10.$35500. The controller and the other
parts live in fixed raw-track spans outside ordinary files.
The boot block is unusually candid. After the normal DOS\0 header and
checksum it jumps over a taunting message addressed to anyone examining the
boot code. At offset $e8, the real loader begins. The personal address in
that message is preservation evidence but has no technical purpose and is not
reproduced here.
Two XOR Keys and One Staging Address
The first loader request is explicit:
track pair $01
length $04 × 5,632 bytes
destination $35500
XOR key $94637281
The loader converts the logical track-pair number to a byte offset by
multiplying it by 2 × 11 × 512. It converts the length with
11 × 512, reads from disk, then walks the destination as sixteen bytes per
loop and XORs four longwords with the supplied key.
Decrypting that first 22,528-byte stage reveals ordinary 68000 code. It builds
four copper-list pointers, performs a short colour transition, and asks the
same loader for track pair $03, length $21, again using $94637281. The
result is a 185,856-byte controller at $3b00.
The controller changes the key to $72122802 for the authored parts. Every
part is still loaded over the same $35500 staging address. This is a true
trackmo chain: the disk supplies mutually exclusive programs, not a directory
of executables held in memory together.
The Recovered Part Schedule
The controller contains ten fixed loader calls:
| Order | Track pair | Units | Bytes | Direct evidence |
|---|---|---|---|---|
| 1 | $15 |
8 | 45,056 | opening credits |
| 2 | $1c |
3 | 16,896 | TV-BOX text and vector scene |
| 3 | $19 |
4 | 22,528 | runway sequence |
| 4 | $1f |
3 | 16,896 | lightsourced-world sequence |
| 5 | $21 |
2 | 11,264 | point-sphere sequence |
| 6 | $1e |
2 | 11,264 | OLLESBOLL sequence |
| 7 | $1b |
2 | 11,264 | fast transition sequence |
| 8 | $22 |
6 | 33,792 | perspective-text part |
| 9 | $29 |
54 | 304,128 | prepared raytraced animation and scroller |
| 10 | $44 |
6 | 33,792 | closing messages |
The table is recovered from code, not estimated from the video. The visual labels are bounded by strings inside the corresponding decrypted spans and by the direct runtime transitions.
All ten decrypted parts begin with the same two instructions:
lea $dff000,a6
move.l #$ffffffff,$44(a6)
The first gives each part a base register for the Amiga custom chips. The
second initializes both words of BLTAFWM/BLTALWM, making the blitter's first
and last word masks fully open. Each part then calls its own initializer and
installs its own copper list. The repeated prologue is a small but strong
signature that these are independently built effect programs sharing a
convention rather than branches in one monolithic renderer.
Addressing And Shared Vector Arithmetic
The effect addresses below are absolute runtime addresses. Each decrypted raw
image is loaded at $35500, so an instruction at part offset $0200 is
described as $35700. Code and tables are interleaved; these labels are
behavioral names recovered from branch targets and consumers, not symbols.
The three early vector parts share several low-level conventions:
a6holds the Amiga custom-chip base$dff000.$40/$42,$48..$54,$60..$66, and$58relative toa6are the blitter control, C/B/A/D pointer, modulo, and size registers.- every blitter wait tests busy bit 6 at
2(a6); - angles are signed 16-bit integer degrees and are wrapped into
0..359; - sine/cosine and matrix coefficients are signed Q1.15 words;
muls.w, double the long product, thenswapimplementsproduct >> 15;- transformed coordinates, depth, and screen positions are signed 16-bit integers, followed by signed integer perspective division.
That common arithmetic does not make the parts one renderer. TV-BOX uses a specialized three-plane cube/surface engine; Runway and Lightsourced share a more general four-plane face/point/edge object manager.
TV-BOX: Cube, Face Surfaces, And Triple Buffer
Part 2's entry builds far more than a spinning outline. It clears 99,396 bytes,
generates a complete 65,536-byte signed-byte multiplication table containing
(x*y)>>7, builds 272 row offsets of 120*y, initializes two sets of 35 star
records, and points COP1LC at its private Copper list. Its eight fixed script
phases execute 100, 780, 90, 270, 90, 350, 870, and 540 frames: 3,090 frame
iterations in total. The dormant joystick/mouse sampler is not called by this
script.
Each ordinary frame has this ownership:
$3570a update text, palette, and Copper state
$35cae clear old page; transform/project cube; render visible face surfaces
and required edges
$3792e wait for raster, rotate three page roles, patch Copper pointers
The three buffers at $39202, $41182, and $49102 are $7f80 bytes apart.
Each row is three interleaved 40-byte bitplanes, or 120 bytes; 272 rows consume
exactly 32,640 bytes. The renderer clears through one pointer and draws through
another. $3792e waits across raster positions $136/$137, rotates all three
pointers, and publishes the completed page by patching Copper bitplane pointers
at offsets +0, +40, and +80. This is true triple buffering, not a
double-buffer plus unrelated scratch page.
The principal cube data is compact:
8 vertices signed words (x,y,z), each coordinate -60 or +60
6 faces four word offsets into the projected-vertex array
12 edges two projected-vertex offsets each
projection four bytes per vertex: screen_x.w, screen_y.w
$35cae builds a Q1.15 Euler matrix and transforms the cube plus one associated
surface/anchor item. Projection at $37478..$374e0 is:
X,Y,Z = matrix * model_vertex;
X += tx;
Y += ty;
Z += 300;
screen_x = 160 + (300*X)/Z;
screen_y = 117 + (300*Y)/Z;
There is no general near-plane clip. Scripted translation keeps the denominator
safe. For each face, $35dbe..$35e24 takes the signed 2-D cross product of
three projected corners; non-negative winding is rejected. A surviving face
dispatches one of six face-specific handlers and marks its incident edges.
Only marked members of the 12-edge set are sent to the blitter line engine, so
hidden edges are not blindly redrawn.
The star surfaces explain the “television” layer. Two arrays contain exactly 35 eight-byte Q8.8 records:
+0 x random -60..+59, shifted left 8
+2 y random -60..+59, shifted left 8
+4 depth fixed -60.0 or +60.0
+6 phase random plane/phase 1..3, shifted left 8
The front/back handlers rotate these records, project them with the same focal
300 and center (160,117), then use bits 8..10 of the phase word to plot into
the three interleaved planes. The phase advances and wraps every frame. Cube
edges use Amiga blitter line mode: octant selection, signed error terms, a
120-byte destination stride, and BLTSIZE formed from the major-axis length.
No viewport clipper precedes those edges; the script keeps them on-screen.
Normalized, the inner lifecycle is:
clear(oldest_page)
build_Q15_euler_matrix()
transform_and_project_cube(focal=300, center=(160,117), z_bias=300)
for face in six_faces:
if projected_winding(face) < 0:
render_face_owned_surface(face)
mark_incident_edges(face)
draw_marked_edges_with_blitter()
wait_raster_and_rotate_three_pages()
The matching GIF shows these phases over time—outlined logo/text, then a small blue box growing around moving star pixels. It should not be read as one frame simultaneously nesting every advertised sub-effect, nor as a conventional filled-cube rasterizer.
Runway: Clipped Ground And A 20-Object Manager
Part 3 begins by installing its Copper list, copying 16 palette words, and
clearing 105,404 bytes. Its choreography is an explicit camera script rather
than user flight: camera (30,-370,-4880), speed 30, heading zero, followed by
fixed movement/height/speed phases. The available input sampler is never called.
The exact per-frame order at $3553a is:
normalize heading
camera_x -= speed*sin(heading)/32768
camera_z += speed*cos(heading)/32768
transform, clip, project, and draw runway/world segments ($360e8)
cull, sort, transform, and render scene objects ($36740)
swap/publish pages ($3750a)
clear the newly selected draw page ($375a0)
update four rotor/orbit point groups ($35590)
Its two pages are 35,200 bytes apart. Four bitplanes are interleaved by row at
44 bytes each, giving a 176-byte scanline and exactly 200 rows per page. The
presenter adds 2,816 bytes to skip the top 16 rows, waits for raster $137, and
patches Copper pointers at +0/+44/+88/+132. It swaps before $375a0 clears,
so the clear owns the new back page, not the page just exposed.
The runway pass transforms 28 world vertices. Every 3-D segment is clipped
against camera-space z=-310; a crossing endpoint is interpolated before:
screen_x = 176 + (400*x)/(z+400);
screen_y = 100 + (400*y)/(z+400);
Projected segments are then clipped by interpolation to x 0..351 and y
100..183. Crossings toggle an 84-byte scanline parity table used to construct
the ground regions. This path owns the gray runway, yellow shoulders, and white
markings; it does not own the green/white rotorcraft body.
$36740 scans exactly 20 candidate object pointers. Its reusable descriptor is:
+00/+02/+04 world x/y/z words
+06/+08/+10 local Euler angles
+12 pointer to 16-byte face records
+16 point-index list pointer, word-30000 terminated
+20 edge-record pointer, word-30000 terminated
+24 signed-word (x,y,z) vertex pointer
+28 vertex count
+30 nonzero enables primitive-depth sorting
Origins outside transformed z -270..1275 or broad projected bounds are
discarded. Survivors become six-byte (object_pointer.l, transformed_z.w)
records and are bubble-sorted by ascending numeric z. Each transformed vertex
then occupies eight bytes: projected x/y, camera z, and workspace.
Faces, points, and edges merge into one four-byte primitive worklist. Plain tags identify faces; bit 8 tags points; bit 9 tags edges. Face records are fixed 16-byte slots containing signed vertex indices terminated by a negative byte; flag bit 0 requests projected-winding culling and bit 1 selects an alternate fill polarity. Face depth is the mean camera z of all incident vertices. Calling the numeric ascending order automatically “far-to-near” would be unsafe without first adopting this part's coordinate convention.
Filled faces are whole-polygon rejected unless their projected bounding box is
inside x 0..351, y 0..183; there is no polygon clipping. Accepted edges are
drawn into a one-plane 70-byte-stride scratch mask with blitter line mode. A
descending/fill blit then applies that mask to four interleaved output planes,
with per-plane minterms chosen by the face color/style bits. Standalone edge
records do receive full 2-D segment clipping. Point records select a bounded
depth variant and stamp a small precomputed masked block.
The GIF's green/white faceted body therefore belongs to the face-mask/fill path; the thin red rotor lines are edge primitives; and the runway markings belong to the separately clipped world pass.
Lightsourced World: Recycled Grid And Face Lighting
Part 4 builds 200 row offsets, constructs repeated world/grid index bands, clears 70,204 bytes, and executes a finite 398-frame script:
16 fade in + 19 initial movement + 62 acceleration/translation
+ 210 main orbit + 75 departure + 16 fade out
Every frame updates heading/speed/camera deltas, renders the grid, processes 15
candidate objects, then waits at raster $136, swaps the same style of
35,200-byte four-plane pages, patches four Copper pointers, and clears the new
back page. Here those present-and-clear actions are combined in $3700a.
The world builder creates four strips of eleven points from -1375 to +1375
in 250-unit steps. $35900 transforms 45 points, clips 3-D segments at
z=-320, projects with focal 400 around (176,100), and clips lines to x
0..351, y 0..184. A 185-byte parity table helps repair the broad surface.
When camera motion crosses a tile boundary, 44 repeated points are shifted by
exactly +250 or -250 and pointer/count pairs are exchanged. The moving
red/blue floor is therefore a recycled geometric grid, not a Copper-only
checkerboard.
The 15-object manager shares Runway's descriptor, projection, primitive tags, face/point/edge worklist, and scratch-mask polygon filler. Its face path adds real per-frame directional lighting:
centroid = integer average of all transformed face vertices
normal = cross(first_edge, second_edge)
normal = normalize_to_about_2000(normal)
light = normalize_to_about_2000((0,-20,-100) - centroid)
shade = ((dot(normal,light)/2000)*7)/2000 + 7
shade = (shade * brightness_ramp) >> 4
The integer square-root helper at $36d2a supplies both normalizations. The
negative face-list terminator is overwritten with a still-negative shade byte,
so it remains a terminator while carrying plane/color selection into the fill
stage. This is neither a scanline gradient nor a prepainted shading table.
Filled faces are rejected unless wholly inside x 0..351, y 16..184; the
later fill rectangle is word-rounded and clipped. Standalone edges are fully
clipped to x 0..351, y 0..184. Point stamps require x 9..344, y 9..192
and select one of eight bounded depth variants. The changing gray pyramid
facets in the GIF are consistent with the recovered centroid/normal/light dot
product, while the bright-tipped poles use the shared point/edge primitives.
Dot Sphere: Exactly 800 Orthographic Points
Part 5 generates its sphere at runtime. The constructor has 20 latitude loops
and 40 longitude loops. Latitude runs from 94 degrees in nine-degree steps;
longitude runs from 4 degrees in the same step; radius is 80. The resulting 800
distinct triples are shifted left eight and stored as 4,800 bytes at $35b1a:
for ring = 0..19:
lat = 94 + 9*ring
x = high_word(2 * 80 * sin15(lat))
yz_radius = -high_word(2 * 80 * sin15(lat+90))
for point = 0..39:
lon = 4 + 9*point
y = high_word(2 * yz_radius * sin15(lon+90))
z = high_word(2 * yz_radius * sin15(lon))
store(x<<8,y<<8,z<<8)
Initialization also builds a 256x256 signed-byte product table at $37808, a
Q7 sine table, a 3x3 coefficient matrix, and a 256-entry screen-row table. The
three angles begin at 200,120,290, advance by +3,+1,+2 degrees per frame,
and wrap at 360. Matrix construction self-patches nine coefficient bytes into
four unrolled transform bodies; the per-point loop therefore does table reads
and byte additions rather than nine MULS instructions:
tx = P(x,M00) + P(y,M01) + P(z,M02)
ty = P(x,M10) + P(y,M11) + P(z,M12)
tz = P(x,M20) + P(y,M21) + P(z,M22)
There is no perspective division. tx and ty are orthographic screen
offsets. A non-negative tz is skipped, so only one transformed depth-sign
hemisphere is plotted; there is no sort and source order remains ring-major.
Object radius and center keep all accepted pixels in bounds, so there is no
general clipper.
The row table is 40*y + 6820, centering the object at (160,170). A separate
Q15 sine moves the entire object vertically with an 80-pixel amplitude. Each
accepted point sets one bit in one plane:
address = draw_page + vertical_offset + row_offset[ty] + (tx >> 3)
bit = 7 - (tx & 7)
BPLCON0=$1200 confirms one active bitplane. Three complete 320x256 pages at
$47808/$4a008/$4c808 are 10,240 bytes each. One recycled page is cleared in
full with a zero-minterm blit, another is drawn, and $36ffe rotates all three
roles under raster synchronization before patching the Copper pointer. The
entrance adds exactly 40 points per frame for 20 frames; the steady phase draws
all 800 for 550 frames; the exit removes 40 per frame. This is why the GIF has
crisp isolated points and no retained trails.
OLLESBOLL: 98 Vertices, 182 Lines, Two Planes
Part 6 is the most important correction in this pass. Its Copper list writes
BPLCON0=$2200, enabling two bitplanes, with 40-byte modulos and pointers
to page and page+40. Its palette is black, bright red, dark red, bright
red: two planes yield four color indices. The released effect does not enable
four bitplanes.
The constructor creates seven latitude rings of 14 points—98 Q8 vertices. The angles are 105..255 degrees in 25-degree latitude steps and 12..350 in 26-degree longitude steps, again at radius 80. A second constructor emits 182 explicit edge records as byte offsets into eight-byte transformed records:
98 closed ring edges: 7 rings * 14 links
84 adjacent-ring links: 6 bands * 14 links
---
182 edge records
This topology geometrically encloses 84 quadrilateral cells, but the binary
stores no cells or faces. The title's 42 may describe the 42 cells in one
hemisphere (6*7), but that is an inference about the boast, not a recovered
face table.
Angles advance by -1,-2,-2 degrees per frame. The same product-table and
self-patched 3x3 matrix scheme transforms all 98 points into eight-byte records:
+0 screen_x = transformed_x + 160
+2 screen_y = transformed_y + animated_center_y
+4 transformed_z
+6 spare
Projection is orthographic. The draw loop visits all 182 edges in generated order. There is no face list, face culling, edge culling, depth sort, clipper, scanline table, area-fill blit, or polygon filler. The only Z use chooses a plane for the whole edge from its second endpoint:
target = draw_page
if transformed[edge.endpoint_2].z < 0:
target += 40
A line crossing that sign plane is not split. Plane choice produces the bright and dark red depth classes visible in the GIF; it is not shaded surface fill or hidden-line removal.
Each edge enters Amiga blitter line mode with 80-byte logical rows. The code
calculates signs and major/minor deltas, selects one of eight octants, ORs the
line into its chosen plane with minterm $fa, and programs:
BLTBMOD = 2*minor
error = 2*minor - major
BLTAMOD = 2*minor - 2*major
BLTSIZE = ((major+1) << 6) | 2
That is one blit for every one of the 182 edges, with busy waits before register reuse and after the final line.
Three two-plane pages at $46d98/$4bd98/$50d98 are $5000 bytes each. Rather
than clearing all 20,480 bytes every frame, the recycled role receives a guarded
24-byte-wide, 164-logical-row rectangle clear around the previous object
position. The interleaved-plane blit addresses 7,872 bytes. Another role is
drawn, and $36568 rotates all three pointers and patches both completed-page
plane addresses into the Copper list.
The released mechanism is therefore:
guard-clear recycled two-plane object rectangle
build Q7 matrix and transform 98 vertices
draw 182 static-order OR-mode lines, plane selected by endpoint Z sign
wait raster; publish completed page; rotate three page roles
The direct GIF agrees exactly: black remains between red mesh lines throughout.
Its later title card visibly says 42 POLYGONS and FOUR BITPLANES, but the
released binary contradicts both as literal implementation counts. The article
keeps the title as historical artifact evidence and the two-plane wireframe as
the technical conclusion.
Sequencing, Skipping and Reset
The boot stage first scales 16 Copper colors up over 16 raster-synchronized
steps, loads the 185,856-byte controller at $3b00, scales the same colors back
down, and jumps—not returns—to $3b00. The controller installs its persistent
vertical-blank handler at vector $6c, owns the intertitle Copper list at
$4502, and prepares its separate replay/CIA interrupt state. No audio payload
was executed or auditioned for this analysis.
Runtime $3d4c marks loading in progress, decrypts the selected track over
$35500, and clears that gate only when loading is finished. $3d66 gives an
effect its normal call contract:
save d0-d7/a0-a6
jsr $35500
restore d0-d7/a0-a6
COP1LC = $4502
The part must balance its stack and eventually RTS; return registers are
discarded. There is no generic per-part DMA or vector cleanup. A part may own
the Copper and blitter during its call, but any CPU vector it replaces must be
restored locally.
The controller puts a continuation address in $42b6 before each part. Its
VBL checks CIA-A bit 6. When the left mouse is pressed outside a load, the
handler restores the interrupted SR, resets SP to the controller's saved base,
reasserts Copper $4502, and jumps directly to the continuation. This is a
force-unwind, not a polite flag that lets the part finish. It can bypass a
part-local fade or DMA epilogue; the next controller/part initialization must
make the display coherent. The long runway is therefore skippable by design.
Between parts the controller renders its own intertitle, loads while skipping is gated, may hold for exact waits such as 50, 100, or 150 frames, clears the title, then enters the replacement part.
Track $1b: The Actual 42-Face Transition
The 11,264-byte part immediately before Star Wars is the binary that really contains a 42-face loop. It builds another 256x256 product table, fades in, runs 501 main iterations from counter 500 through zero, and fades out. Each main iteration:
rotate two old-screen pointers and clear the prior target
advance angles by +2,+1,+2 degrees
transform 51 vertices
evaluate 42 face records and derive intensity 0..15
emit four-plane blitter line/fill work
perform a small clear/copy and swap render buffers
Its original pointer words at runtime $35f28/$35f2c are zero when the first
old-page blit reads them. Official WHD patch PL_08 initializes both to
$510d2. This is the source-commented illegal-blit fix formerly misassigned to
the perspective-text part. There is no separate owned GIF for track $1b, so
the article does not borrow OLLESBOLL or Star Wars pixels to illustrate it.
Star Wars Perspective Text
Part 8 prepares a 520-entry projected-coordinate table, a 1,422-longword glyph
pointer stream, and an 80*300-word perspective table. For source coordinate
-200,-195,..., and divisors 50..349, the table stores:
256 + (source*200)/divisor
After a 16-step fade, it executes exactly 2,050 frames. Each frame prepares the back page, traverses six outer bands by ten text/object records, maps endpoints through the projection tables, writes a terminated edge list, and drains that list through Amiga blitter line mode. A separate fixed rectangle/logo blit owns the Phenomena header visible in the GIF.
The perspective phase advances by four and wraps at 260. On each wrap—every 65 frames—the current text-row pointer advances by 40 bytes, returning to the start when its next longword is zero. This matches the GIF: the top logo has one rendered state while all 83 sampled perspective-text fields differ.
Eight Prepared Fractal Banks And Circular Scroller
Part 9's image region starts at $383b8. Bank selection advances by 36,000
bytes and wraps after 288,000, proving eight banks. Every bank is six planes of
6,000 bytes: 320 pixels by 150 lines at 40 bytes per line. The animated phases
cycle those prepared banks; the long central phase holds one bank. This remains
offline-rendered material, not real-time Amiga raytracing.
The exact script is:
16 fade-in frames, scroller active
350 held bank + scroller
350 bank advances every frame + vertical modulation
4400 held bank + scroller, with an additional mouse check
190 bank advances + reverse modulation
16 fade-out frames
The scroller is not a whole-strip software shift. It maintains current and
target speed, a phase modulo 368, and a duplicated 368-pixel by 16-row circular
strip. Fine motion is patched into BPLCON1; coarse motion changes the Copper
bitplane pointer. Only a coarse-phase change consumes a character. Its compact
stream grammar is:
0 wrap text pointer
1, signed_speed, char set target speed and emit char
char > 1 emit char
Each 16-row glyph word is written twice, 46 bytes apart, so a 368-pixel window can wrap without a special edge copy. The published GIF contains eight repeating upper-image hashes and 83 distinct lower-scroller hashes, matching this bank-plus-circular-strip split.
Closing Part And Chained VBI
Part 10 is the exception to persistent controller-only VBL ownership. It saves
the old vector, installs $3577e, displays 14 text pages with fixed delays,
and later disables sprite DMA, zeroes all eight sprite pointers, restores $6c,
and returns. Its local VBI updates 90 Copper records, then chains to the saved
controller VBL so timing and mouse skip remain alive.
The original VBI self-modifies its jump operand. WHDLoad instead stores the old
vector at $100, patches a fixed chain to controller VBL $3d90, and restores
$6c from $100 on exit. It also adds the missing wait after the closing text
writer's BLTSIZE=$1304 launch.
After part ten, the original code disables interrupts and DMA, executes
RESET, and jumps through address $2. That is the recovered authored exit;
the direct replacement-ROM run's earlier black transition does not prove it
was reached. WHDLoad replaces that site with a jump to its Restart label,
which reloads and re-enters the boot stage rather than parking in a loop.
What the Preservation Source Proves
The official WHDLoad 1.3 slave is only 884 bytes and requires 512 KiB of chip memory. Its included 2017 source gives a rare second view of the original program:
- the raw-track loader is replaced by
resload_DiskLoad; - the same two XOR keys and
$35500staging address are preserved; - a CRC16 check rejects the wrong disk version;
- track
$03gets interrupt acknowledgement and a redirect from the authored reset site to the slave's restart loader; - eleven later track numbers map exactly to the recovered controller/part boundaries;
- missing blitter waits are inserted into multiple parts;
- track
$1b's illegal initial blit pointers are set to$510d2; track$22receives separate low-memory/sentinel clears whose exact failure is unnamed; - the final part's self-modifying vertical-blank code is replaced and its text writer is repaired.
These fixes do not show that the 1991 release was generally broken on its target A500. They show what assumptions stopped being safe under cached, accelerated or closely monitored WHDLoad execution: immediate blitter completion, writable instructions, initialized low memory and exact interrupt ownership.
One patch is especially concrete. Track $1b originally reaches a blit with
uninitialized screen pointers. The slave writes $510d2 into both pointer
slots before execution. Another prevents the final part from modifying its
own vertical-blank routine, stores the previous/controller VBL address at
$100, chains through a fixed controller target while active, and later
restores vector $6c from $100. These are preservation-level findings tied
to exact loaded parts, not generic statements about old Amiga code.
Why It Still Matters
Enigma is uneven in a revealing way. The TV-BOX compresses several spatial
ideas into one lucid image, while the runway spends minutes on a sparse
polygon journey. The sphere studies are concise. The eight-frame prepared
raytraced animation holds one bank during its long central phase while its
hardware-assisted scroller continues, and its ambition and authorial
explanation make it more than decoration. The demo feels like 1991 because it
openly tells the audience what each new technique is supposed to prove.
The implementation is equally direct. A tiny boot path decrypts a controller; the controller decrypts ten fixed-address programs; every program takes over the custom chips and returns to a shared sequencing contract. There is no asset abstraction hiding the disk layout. Track numbers, frame waits, hardware registers and continuation addresses are the structure.
That clarity is why the demo is worth treating as an exception to a 1992-1995 survey. It is not flawless, and the article does not pretend the runway's pacing has aged perfectly. It is, however, a competition winner with an extraordinary reception record, a complete recoverable part chain, one of the period's remembered vector compositions, and preservation source detailed enough to connect visual parts to real hardware failures.