Analysis model: gpt-5.5 xhigh

# Mindflow by Stellar - Technical Dissection

## Scope

`Mindflow` is a Finnish Amiga AGA demo by Stellar, released on 7 August 1994
at Assembly and placed first in the Amiga demo competition with 921 points.
The original text credits Zuikki and Nose for code, Frankie for graphics,
Strobo for the Mindflow logo and music, Stellar for design, and Razer for
moral support.

All named contributors pass the Finnish-credit boundary. Demozoo locates
Frankie in Mikkeli, Nose and Zuikki in Finland, Strobo in Helsinki, and Razer
in Hämeenlinna.

Useful public references:

- Demozoo production: https://demozoo.org/productions/6827/
- Pouet production: https://www.pouet.net/prod.php?which=3473
- A.D.A. entry: https://ada.untergrund.net/?p=demo&i=614
- Original Assembly archive:
  https://archive.scene.org/pub/parties/1994/assembly94/amiga/demo/mindflow.zip
- Assembly 1994 results: https://demozoo.org/parties/102/results_file/34/
- `Aglow` soundtrack: https://demozoo.org/music/259488/
- Frankie profile: https://demozoo.org/sceners/1987/
- Nose profile: https://demozoo.org/sceners/8119/
- Strobo profile: https://demozoo.org/sceners/1554/
- Zuikki profile: https://demozoo.org/sceners/8120/
- Razer profile: https://demozoo.org/sceners/2725/
- Stellar member history: https://demozoo.org/groups/1490/
- Amiga ROM Kernel overlay documentation:
  https://developer.amigaos3.net/sites/default/files/downloads/2024-10/Amiga_ROM_Kernel_Reference_Manual_DOS.pdf

The original archive, executable and text, the independently preserved
soundtrack module and a complete direct silent run were examined. This is a
full AGA demo, not a cracktro, intro or later video conversion.

## Complete Direct Silent Run

The unchanged `MINDFLOW.EXE` was run from an emulated hard disk under FS-UAE
3.2.35 as an Amiga 1200 with a 68020, 2 MB chip RAM and 4 MB fast RAM. Audio
output used a null driver. The 330-second lossless FFV1 capture contains one
video stream and no audio stream. A later ten-minute verification pass with
8 MB fast RAM reproduced the same show and clean return at the same time; its
long stationary tail rules out mistaking the shell for a late demo scene.

The first attempt stopped at Stellar's own configuration tester because the
AROS replacement ROM had not initialised the AGA identification bits. This is
the exact case anticipated by `MINDFLOW.TXT`: “if MINDFLOW.EXE complains that
your machine has no AGA features, run c:Setpatch and try again.” Running the
AROS `SetPatch` first changed the demo's own result from `Chipset : No` to
`Chipset : Yes`; no byte of the production was patched.

The animated Stellar logo starts near 32 seconds. The show runs through its
final cyan block field, then returns cleanly to the shell near 250 seconds.
Every GIF below is a continuous six-second, 10 fps excerpt from that direct
run, cropped to the Amiga display and scaled to 400x320. No online-video frame
or contact sheet is used.

![Animated Stellar logo from the direct silent run](images/mindflow-stellar-stellar-logo.gif)

![Mindflow moving island landscape from the direct silent run](images/mindflow-stellar-landscape.gif)

The opening is unusually patient. The logo gives way to a long painterly
island passage whose viewpoint and terrain keep changing. It is not one still
image being shaken around the screen: coastlines enter, cross the frame and
leave while the cloud and water fields move on different visual scales.

![Mindflow handwritten title from the direct silent run](images/mindflow-stellar-mindflow-script.gif)

![Mindflow rotating credit composition from the direct silent run](images/mindflow-stellar-rotating-credits.gif)

The thin handwritten title is drawn and erased against black. The credits then
replace restraint with a continuously rotating and rescaled photograph while
names remain readable as a separate compositional layer. This long sequence is
direction, not merely a list of contributors.

![Mindflow texture-mapped maze from the direct silent run](images/mindflow-stellar-maze.gif)

![Mindflow fractal zoom from the direct silent run](images/mindflow-stellar-fractal.gif)

The maze is a sustained first-person passage through textured walls, floor and
ceiling rather than a single obligatory 3D fly-by. It cuts into the best-known
part of the demo: a long palette-changing fractal zoom. The zoom preserves a
clear nested path while colours and local contrast change, so it reads as a
designed journey rather than an arbitrary sequence of Mandelbrot pictures.

![Mindflow face-cloud Stellar sequence from the direct silent run](images/mindflow-stellar-face-cloud.gif)

![Mindflow final cyan block field from the direct silent run](images/mindflow-stellar-blocks.gif)

The late face-cloud section combines the vertical Stellar lettering with a
dissolving portrait and strong colour cycling. The final field returns to hard
geometry: large shaded blocks cross one another in depth until the executable
exits. These are eight separate phases of one run, not eight crops of the same
effect.

## The Original One-File Release

The Assembly archive is only a container for the executable, Stellar's text
and a later scene.org notice. Its SHA-256 is:

```text
8dbaf0a447620767330ab92cd34bfd2684c7220e06685e7b1f5eae5926887c3f  mindflow.zip
```

The production itself is one 780,068-byte file dated 6 August 1994:

```text
01ace0afebe22c70aad8a4e5bbad82bf349a2981539a018e5bfa759e9df76af8  MINDFLOW.EXE
9476d36af474e8d27688b7dcd4997c1786d764563860ddf00b1aa30abe46b6b5  MINDFLOW.TXT
```

There is no external picture directory, module filename or scene script. That
matters when interpreting the visuals: all show code, graphics, animation and
music data have to pass through the executable's own loading structure.

## A Small Root and a Large Overlay Body

`MINDFLOW.EXE` is a valid Amiga `LoadSeg()` executable. Its `HUNK_HEADER`
declares two root slots. The permanent code hunk is only 704 bytes, beginning
at file offset `$24`; it contains the required `$ABCD` overlay marker.
`HUNK_END` occurs at `$2e4`, followed by a zero-length `HUNK_OVERLAY` at
`$2e8`, then `HUNK_BREAK` at `$2f0`. The custom continuation begins at
`$2f4` and occupies essentially the rest of the file.

This is not an error or a missing external library. AmigaDOS recognizes the
`$ABCD` marker and gives an overlay root access to the retained executable
file handle and segment table. The official ROM Kernel documentation
describes that calling convention and the purpose of `HUNK_OVERLAY` and
`HUNK_BREAK`. Stellar uses the contract but replaces the ordinary hierarchical
overlay table with its own packed body.

The root's first branch skips a small overlay header and the adjacent
`dos.library` name. It opens DOS, retrieves the retained file handle, allocates
a 5,120-byte input buffer and reads the continuation in bounded chunks. The
whole resident loader—including allocation, decompression, relocation, error
cleanup and transfer to the show—is only 704 bytes.

## Exact Allocation Ledger

The first continuation longword is 27, which the loader consumes with a
`DBF`; it therefore describes 28 allocations. Each following descriptor uses
the low 24 bits as the payload size and bits 24-26 as Amiga `AllocMem` flags.
The loader adds an eight-byte private header and always adds `MEMF_CLEAR`.

```text
memory class  regions  bytes including private headers
------------  -------  -------------------------------
CHIP                6                        1,051,052
FAST               22                        1,410,464
total              28                        2,461,516
```

The largest chip region is 400,008 bytes including its header; the largest
fast region is 430,088 bytes. This explains the release note's requirement
for 2 MB of 32-bit fast RAM more precisely than the root hunk table can: the
permanent Amiga hunk is tiny, while the private continuation allocates more
than 1.34 MiB of cleared fast memory plus the surrounding system and loader
overhead.

The segment table stores Amiga BPTR-style addresses. After every successful
allocation the root writes the total allocation length in the first longword,
converts the address of the following segment-link longword to a BPTR for the
table, and leaves a zero terminator after entry 28. The expanded payload starts
one longword beyond that BPTR target.

## Bitstream Expansion and Relocation

The packed body starts immediately after the descriptor table at `$368`.
The decoder is not merely a call to an unidentified library. It is present in
the root code itself.

It shifts a 32-bit control reservoir one bit at a time, refilling it from the
5,120-byte DOS buffer when needed. One branch copies a literal byte. The
others decode a negative backward distance and a run length, then reproduce
bytes already written to the current destination. Short matches copy two
bytes directly; longer forms derive length and distance from additional
2-, 7-, 8- or 11-bit fields. Expansion stops at the exact destination end
address from the descriptor rather than on a guessed marker.

Once all regions are expanded, the loader makes a second pass over them.
Each region carries grouped relocation records:

```text
target region index
number of offsets
offset 0, offset 1, ...
```

For every offset, the loader finds the target region through the segment
table, converts its BPTR to a byte address, adds four to reach its payload,
and adds that base to the longword at the recorded location. A zero group
count advances to the next region. This is a complete private counterpart to
`HUNK_RELOC32`, applied after Stellar's compressed regions have been rebuilt.

The root then frees its 5,120-byte read buffer, closes DOS, takes the first
entry from the segment table and jumps to its payload. The visible demo is
therefore not a monolithic opaque blob: it is a 28-region program reconstructed
and relocated by a deliberately minimal resident manager.

The body is densely encoded. Gzip at its strongest setting reduces
the complete executable only from 780,068 to 737,245 bytes. Searches find no
exposed `M.K.`, `FORM`, `ILBM`, `PP20`, `XPKF` or `Aglow` signature. Those two
facts agree with the directly disassembled bitstream decoder; they do not
identify it as a named third-party cruncher.

The architecture also explains the visible startup. The shell and tester can
remain present while the tiny root arranges memory and reads the real show.
The release's requirement of 2 MB 32-bit fast RAM is therefore substantive,
not boilerplate copied from another production.

## What the Run Proves—and What It Does Not

The direct frames establish several behaviours without guessing at hidden
source code:

- the landscape changes terrain geometry and viewpoint over roughly thirty
  seconds;
- the photograph is transformed continuously underneath separately readable
  credit text;
- the maze advances and turns through a coherent textured space;
- the fractal follows a continuous nested zoom with coordinated palette
  changes;
- the final blocks retain independent depth and shading as they cross;
- the complete program returns to AmigaDOS instead of ending in a crash or a
  missing-data screen.

The single packed overlay does **not** expose enough evidence to call the
fractal either a frame animation or a fully calculated real-time zoom. Both
methods, and hybrids that transform stored key imagery, were possible in
1994. The long sequence and large payload make stored data plausible, but
plausibility is not a file format. This analysis therefore leaves that point
open rather than promoting an old scene comment into binary fact.

## Aglow: A 1992 Track in the 1994 Winner

Demozoo identifies `Aglow` by Strobo as Mindflow's soundtrack. The preserved
file is a standard four-channel ProTracker module:

```text
title          aglow
positions      39
patterns       33
events         3,009
sample bytes   190,828
complete size  225,704 bytes
SHA-256        e8ae27c0da8a0f8a23d2073a82f19bddc891f990c688ac85e5ee673a21d021df
```

Its order list is mostly linear but deliberately revisits patterns 11-13 three
times. Two `D00` pattern-break commands appear; the one at pattern 24, row 49
shortens that pattern. `F03` and `F06` commands switch between speeds 3 and 6.
FFmpeg's module decoder reports 199.92 seconds.

The sample-name message is more interesting than the bare statistics. Strobo
dates the composition to 14-15 November 1992 and describes it as a prospective
contribution to the Analogy Hi-Tek party in Rauma. Mindflow is a 1994 release,
so “released with Mindflow” and “composed for Mindflow” are not the same claim.
Stellar reused an older in-group track and built a new visual progression
around it.

The approximately 200-second module fits the core show between the loader,
logo and final hold. Because the executable body is encoded and contains no
raw module signature, the independent module cannot be byte-matched at a
public file offset. Its identification rests on the preservation record, its
Strobo/Stellar authorship and the runtime-length agreement.

## Why Mindflow Won

Mindflow is not one technical trick stretched to four minutes. It moves from
painted landscape to calligraphy, photographic typography, fantasy art,
first-person texture mapping, fractal travel, a dissolving portrait and hard
3D geometry. The common thread is controlled motion and colour, not a repeated
renderer.

Its engineering is equally economical: a tiny AmigaDOS overlay root, one
dense self-contained payload, an explicit AGA and fast-memory gate, and a
four-channel score used as a long-form clock. The result is recognisably 1994
AGA—ambitious, occasionally rough, and directed as a complete demo rather than
a catalogue of isolated effects.
