Analysis model: gpt-5.5 xhigh

# ZIF by Parallax - Technical Dissection

## Scope

`ZIF` is the Finnish Amiga AGA demo by Parallax, released on 13 August
1995. It won the Assembly 1995 Amiga demo competition with 2,917 points.
Public credits name Debug and Simply for code, Mistral and Tukan for graphics,
and Legend for music.

Useful public references:

- Demozoo production: https://demozoo.org/productions/7467/
- Demozoo individual records: [Debug](https://demozoo.org/sceners/8121/) (Finland), [Simply](https://demozoo.org/sceners/4603/) (Finland), [Mistral](https://demozoo.org/sceners/3293/) (Finland), [Tukan](https://demozoo.org/sceners/2023/) (Hämeenlinna, Finland), and [Legend](https://demozoo.org/sceners/1571/) (Vaala, Finland)
- Pouet production: https://www.pouet.net/prod.php?which=1149
- Aminet release: https://aminet.net/demo/ta95/Zif_Parallax.lha
- Assembly 1995 results: https://files.scene.org/view/parties/1995/assembly95/info/asm95res.txt

The original hard-disk release was obtained independently from Aminet and the
Amiga Scene Archive. Their LHA containers differ, but all 17 extracted files
are byte-identical. The release was run silently from beginning to its
continuing end composition. The executable and all fifteen effect
load-segments were then inspected as Amiga HUNK files and disassembled. No
online video was used for the visual analysis.

## Complete Silent Runtime

The preserved release ran in FS-UAE 3.2.35 on an A1200 profile with 2 MiB
chip and 8 MiB fast memory. The package's own note says an A1200 with hard
disk and no fast memory is the minimum, while recommending an A4000/40 for
best results.

Host audio used a dummy driver, emulator audio output was disabled, and both
private lossless captures contain video only. The main capture is exactly 420
seconds; an overlapping 81.64-second continuation proves that the final
Parallax composition remains active rather than being a truncated recording.
Each animation below is a distinct continuous six-second, 400x300, 12 fps
excerpt from that direct run. Main-capture time zero is the first X11 frame
recorded immediately before emulator launch, so it includes the short boot
interval.

![Lit surface-point twister at 01:36-01:42 in the direct silent run](images/zif-parallax-voxel-twister-direct.gif)

![Rotating surface-point head at 02:06-02:12 in the direct silent run](images/zif-parallax-voxel-head-direct.gif)

![Surface-point head held near profile for structural inspection](images/zif-parallax-voxel-head-still.png)

The first sustained 3D passage does not merely rotate a fixed bitmap.
Irregular objects turn through depth, change silhouette and move through
several lighting treatments. The head makes the construction especially
clear: its profile, eye socket, cheek and jaw remain coherent while the
visible samples and highlights change with orientation.

![Relief-lit organic object at 03:10-03:16 in the direct silent run](images/zif-parallax-bump-object-direct.gif)

![Animated vortex at 03:50-03:56 in the direct silent run](images/zif-parallax-vortex-direct.gif)

![Vortex held while its repeated spiral bands remain legible](images/zif-parallax-vortex-still.png)

The middle section alternates between object-centred studies and full-frame
image deformation. A moving light travels across the relief-like object; the
vortex continuously remaps the surrounding image into a rotating funnel.
These are two separate systems and two separate runtime excerpts, not
different frames sampled from one effect.

![Rendered car at 05:20-05:26 in the direct silent run](images/zif-parallax-car-direct.gif)

![Continuing Parallax end composition at 00:05-00:11 in the overlapping continuation](images/zif-parallax-end-direct.gif)

![Final Parallax composition held above its surrounding organic traces](images/zif-parallax-end-still.png)

The late car sequence keeps a recognisable body, windows and wheels while
changing angle and distance. It yields to a vertically segmented city-like
passage and then the final Parallax composition. Small organic traces keep
moving around the logo indefinitely.

## One Loader, Fifteen Executable Parts

`ZiF.run` is not a monolithic frame player. It is an AmigaDOS load-segment
with five hunks: 4,760 bytes of code, 2,488 bytes of ordinary data, 55,096
bytes of chip data, 163,880 bytes of chip BSS and 376,464 bytes of ordinary
BSS.

Its string table gives the complete part order:

```text
Patience.dat  Vapautti.dat  170795.dat  Design.dat  Anim.dat
Vote.dat      Suxx.dat      Dont.dat     Simplyn.dat 040Rules.dat
Soon.dat      Poom.dat      Ossi.dat     Demos.dat   Coming.dat
```

The loader opens `graphics.library`, `intuition.library` and `dos.library`,
loads the first seven parts, runs and unloads them in sequence, then repeats
the process for the remaining eight. This keeps disk latency away from the
current group of effects without retaining all fifteen executables for the
whole show.

Every `.dat` file is itself a valid load-segment, not an opaque movie bank:

| Part | File bytes | Code bytes | Explicit chip-data bytes |
|---|---:|---:|---:|
| `Patience.dat` | 415,600 | 4,088 | 411,428 |
| `Vapautti.dat` | 60,828 | 5,192 | 10,560 |
| `170795.dat` | 76,508 | 7,748 | 7,560 |
| `Design.dat` | 59,484 | 4,016 | 10,564 |
| `Anim.dat` | 64,696 | 3,952 | 10,680 |
| `Vote.dat` | 78,908 | 3,660 | 5,416 |
| `Suxx.dat` | 86,052 | 6,712 | 5,280 |
| `Dont.dat` | 144,692 | 7,732 | 31,352 |
| `Simplyn.dat` | 37,716 | 3,192 | 5,280 |
| `040Rules.dat` | 102,696 | 6,052 | 10,560 |
| `Soon.dat` | 115,984 | 6,448 | 31,352 |
| `Poom.dat` | 51,708 | 588 | 2,348 |
| `Ossi.dat` | 41,144 | 580 | 2,348 |
| `Demos.dat` | 23,472 | 584 | 2,348 |
| `Coming.dat` | 80,744 | 6,192 | 5,408 |

The larger ordinary-data hunks hold further tables and assets. The explicit
chip allocation is significant because the custom chips need addressable
display data, while calculation data can remain in fast memory.

## A Shared Entry Contract

The loader resolves each segment, converts its BCPL segment pointer to a
native address, then calls the part entry directly. The call supplies shared
services and state in registers: a common data/decompression routine, timing
state, the graphics task pointer, a processor flag and a part deadline.

This is a compact demo framework rather than fifteen unrelated programs.
Each part can own its hot rendering loop while reusing the loader's memory,
decompression, interrupt and transition support.

Before starting the show, the loader saves the active copper pointer,
interrupt and DMA state. It installs its own vertical-blank path, later
restores the saved hardware state, unloads every segment and closes all three
libraries. The takeover is direct, but the exit path is deliberate.

## VBlank Deadlines, Not Host-Time Guessing

The installed interrupt increments a long frame counter on every vertical
blank. The loader passes cumulative thresholds such as 700, 750, 1,450,
1,465, 1,490 and 1,500 ticks to successive parts. It also waits on the same
counter between the two preloaded batches.

That makes the edit rhythm display-synchronous. Loading delay can be folded
into the returned timing offset, but an effect's handover is still governed
by the Amiga's vertical blanks rather than by host wall-clock time. A direct
read of CIA-A's left-mouse bit provides the common early-exit path.

The loader also reads `ExecBase.AttnFlags` and tests the 68040 flag. That
result is passed to every part, matching the release note's distinction
between a minimum A1200 and the preferred A4000/40.

## The Surface-Point Renderer

`170795.dat` exposes the construction behind the long rotating-object
passage. Its entry:

- saves all data and address registers;
- installs part-local copper and display state at `$dff000`;
- expands several packed object banks into working memory;
- builds eight bitplane pointers at fixed row strides;
- clears the active planar buffer;
- transforms object coordinates with signed 32-bit multiplication;
- calculates a squared vector length and performs signed long division for
  projection and lighting terms; and
- selects a sequence of object/update routines under the shared deadline.

The use of `muls.l` and `divs.l` is an actual 68020-class path, not an
inference from the AGA label. The renderer also swaps its display bases and
rewrites bitplane pointers rather than drawing over the visible buffer.

Its inner setup creates per-object tables, copies compact coordinate runs and
derives transformed values before plotting. That agrees with the direct
result: the twister, head and later organic forms retain three-dimensional
structure while their sampled surface and illumination change.

## Copper, Raster and Buffer Ownership

The loader and parts address the custom register block directly. The common
code writes the copper-list pointer at `$dff080`, strobes `$dff088`, changes
DMA control at `$dff096`, acknowledges interrupts at `$dff09c` and saves the
system copper state before takeover.

The inspected object part polls `$dff004` with a mask and target raster
position before changing display state. Its bitplane bases advance in
`$13d8`-byte steps. These operations explain why stable planar titles can
coexist with CPU-built object frames and why transitions occur without an
AmigaOS window or screen abstraction.

The vortex, relief lighting, car and segmented city are visually different,
but they arrive through the same disciplined contract: prepare or transform
the next buffer, meet the raster boundary, publish new display pointers, and
return under the shared vertical-blank schedule.

## P61 Music Code, Inspected Silently

`Patience.dat` contains a replay that checks the four-byte `P61A` identifier.
The code parses the packed score representation and drives the Amiga audio
hardware. This identifies a Player 6.1-family music path from the executable
itself.

The soundtrack was not monitored, played, converted or embedded during this
analysis. Legend's public music credit is reported from the production
records; the technical statement here is limited to the replay code and its
tag check.

## Archive Identity

The two public carriers hash differently:

```text
791808acf86cf983cd82e9f1fdfd23eabb0d5a407a875d008338fd9db857ce4d  Aminet LHA
3096834e239719a3b9fe5ba940dd3f96a03a1222991741d1981e8b5080436658  Amiga Scene Archive LHA
```

That difference is archive metadata or packing, not production payload.
Extraction yields the same filenames, sizes and SHA-256 hashes for every
file. `ZiF.run`, for example, is 63,060 bytes and hashes as:

```text
36e0101c05975f8d92debd870a0df7f4f4309a23066241ae8e3f90a7bb85a43c
```

This also resolves a practical preservation question: the run, disassembly
and images all come from payloads independently mirrored in two established
archives.

## What ZIF Is Doing

ZIF's clean presentation can make it look simpler than it is. The release is
a resident coordinator, a shared low-level service layer and fifteen
separately loadable effect programs. It batches disk access, owns the copper
and interrupts, schedules edits by vertical blank, gives each part a compact
register contract and restores the operating system on exit.

The visual continuity comes from that engineering. Surface-point objects,
relief lighting, a full-frame vortex, the car and the final segmented
composition do not share one obvious trick. They share timing, buffer
discipline and a deliberately narrow interface. That is the useful lesson of
ZIF: a 1995 AGA demo can feel like one controlled piece precisely because its
effects are allowed to remain technically independent.
