Analysis model: GPT-5 (Codex), reasoning level not exposed

# Bugfixed by Acme - Technical Dissection

`Bugfixed` is Acme's MS-DOS demo from The Party 1994. Demozoo dates it to
30 December 1994 and records it as 10th in the PC Demo competition. The
original party archive calls it a fast four-week party production, requires a
386 or better, recommends a Pentium, and treats Gravis UltraSound as optional.

The credits are compact: code by SimStim and Lone Ranger, graphics by Aap and
Ricochet, and music by ViC. The old distribution, postal, telephone, fax, and
email details in the NFO are deliberately not reproduced here.

This pass uses the original Scene.org party ZIP, Demozoo and Pouet metadata,
the release NFO/DIZ, a silent local DOSBox-X startup attempt, a video-only
public recording, and a full static extraction of Lone Ranger's embedded VFS.
The locally downloaded video contains no audio stream. It is visual reference,
not proof of exact timing on original hardware.

## Sources Checked

- Demozoo production page: https://demozoo.org/productions/6976/
- Demozoo screenshot page: https://demozoo.org/productions/6976/screenshots/
- Pouet production page: https://www.pouet.net/prod.php?which=1117
- Scene.org party archive: https://files.scene.org/view/parties/1994/theparty94/demo/acme-bug.zip
- Scene.org group archive: https://files.scene.org/view/demos/groups/acme/demos/acme_bug.zip
- The Party 1994 page and result list: https://demozoo.org/parties/93/
- Public video-only visual reference: https://www.youtube.com/watch?v=srjK6yUymUY

The original party result records `Bugfixed` as 10th. That is historical
placement metadata, not this article's quality ranking. The demo is much more
interesting internally than one number suggests.

## Original Package

The party archive is 741,732 bytes:

```text
98c6844d235eb36f4f25e48b6f4cbff3fc4dbd5c4f027b6f4f5b610f9764a915  acme-bug.zip
```

It contains only three files:

```text
ACME-BUG.EXE   769511
ACME-BUG.NFO     5699
FILE_ID.DIZ       552
```

The executable hash is:

```text
3bf95971b4fe6570b8d667a588ceaca2eb2027ac3144e1f201748ef9cd96cd75  ACME-BUG.EXE
```

This sparse package is deceptive. Nearly the whole multipart demo is stored
inside the executable's overlay.

## Runtime Route

The public recording gives a coherent 3 minute 43 second route. These labels
describe visible sections, not filenames guessed from imagery:

| Approximate time | Visible section |
| ---: | --- |
| `00:00` | Sparse `shut up and check this` opening |
| `00:15` | Pink polygon tunnel and rotating faceted object |
| `00:40` | Gears, textured Earth, and horizontal disturbance |
| `01:05` | White shaded object and blur trail |
| `01:30` | Painted fantasy panel |
| `01:50` | Ring, radial energy field, and pink fractal field |
| `02:30` | Perspective floor under a painted sky |
| `03:00` | Framed line object, spiral, and molecular lattice |
| `03:25` | `Bugfixed` end panel and Acme mark |

The Hornet catalog notes that Escape is needed to advance some parts. That
matters when comparing captures: a recording can contain human-controlled
holds that are not part of an automatic timeline.

## Moving Visual Evidence

The following GIFs are continuous excerpts from the silent public video-only
stream. They are not tiled sheets and no audio was downloaded with them.

![Bugfixed polygon tunnel and faceted object motion](images/bugfixed-acme-polygon.gif)

The opening part uses a fixed side panel while polygon geometry moves in the
remaining viewport. That is a design partition as well as a performance
choice: the expensive redraw area is smaller than the full 320x200 screen.

![Bugfixed textured Earth motion](images/bugfixed-acme-earth.gif)

The Earth section keeps the gear decoration stable and spends its changing
pixels on the rotating globe and interference strip.

![Bugfixed radial fractal field motion](images/bugfixed-acme-fractal.gif)

The fractal part is a genuine evolving field, not a still picture with palette
cycling inferred from one frame.

![Bugfixed perspective floor motion](images/bugfixed-acme-floor.gif)

The floor stage combines a low horizon, repeated perspective lines, and a
painted sky. The separate `FLOOR.EXE` payload makes this a named program stage,
not merely a visual nickname added by this article.

![Bugfixed late psycho and lattice motion](images/bugfixed-acme-psycho.gif)

The late section alternates framed line work, a circular repetition, and a
dense linked lattice before the final panel.

## The Outer MZ Is A Loader

The DOS header describes an MZ image of only 1,979 bytes:

```text
whole file:       769511 bytes
MZ image:           1979 bytes
overlay:          767532 bytes
header:               32 bytes
entry:             0000:0739
```

The small loader announces itself directly:

```text
VFS - Virtual File System v1.0
Copyright (c) 1994 by Lone Ranger/AcmE
```

It finds its own executable name in the DOS environment block, opens that
file, reads the MZ page fields, and computes the end of the outer load image.
At offset 1,979 it finds this 13-byte VFS header:

```text
directory offset:  769295
directory bytes:      216
record count:           8
reserved:               0
marker:               VFS
```

The arithmetic is exact: 216 bytes is eight 27-byte directory records, and the
directory ends at byte 769,511, the end of `ACME-BUG.EXE`.

## Directory And Payload Cipher

The directory is lightly hidden. For each 27-byte record the loader XORs the
first 14 bytes with `56h` and the final 13 bytes with `9Dh`:

```asm
mov cx, 000eh
xor byte [es:di], 56h
inc di
loop ...

mov cx, 000dh
xor byte [es:di], 9dh
inc di
loop ...
```

The decoded record layout is:

```text
+00  status/flags byte
+01  32-bit file offset
+05  DOS-style attribute byte
+06  32-bit file length
+0a  packed DOS date/time field
+0e  13-byte zero-terminated 8.3 filename
```

File contents use a rolling XOR stream. The first byte is XORed with `ADh`;
the key then advances by `1Dh` for every subsequent byte. The loader preserves
that key position across 32 KB reads, so seeking into a virtual file requires
reconstructing the key from the virtual offset.

Decoded, the overlay contains:

| Virtual file | Offset | Packed bytes | Second layer |
| --- | ---: | ---: | --- |
| `DEMOBASE.EXE` | `0007C8h` | 19,813 | PKLITE |
| `PART1.EXE` | `00552Dh` | 27,852 | PKLITE |
| `GOLF.EXE` | `00C1F9h` | 80,910 | LZEXE 0.91 |
| `FRACTAL.EXE` | `01FE07h` | 124,660 | PKLITE |
| `PSYCHO.EXE` | `03E4FBh` | 47,347 | PKLITE |
| `WORLD.EXE` | `049DEEh` | 17,933 | LZEXE 0.91 |
| `FLOOR.EXE` | `04E3FBh` | 21,892 | LZEXE 0.91 |
| `PDEMO.SMP` | `05397Fh` | 426,896 | sample bank |

The offsets are contiguous. There is no unexplained padding between payloads.

## Virtual DOS Handles

The VFS installs an `INT 21h` wrapper rather than extracting temporary files.
Its dispatch table handles these DOS functions:

```text
3Dh  open
3Eh  close
3Fh  read
42h  seek
4Bh  execute
4Eh  find first
4Fh  find next
```

Virtual handles have bit 15 set. The remaining bits index a small table holding
the directory-record pointer and a 32-bit logical file position. Reads seek the
real outer executable to `payload_offset + logical_position`, call the saved
DOS handler, decrypt the returned bytes with the offset-adjusted rolling key,
and advance the logical position.

That design lets normal child programs believe they are opening ordinary
`PART1.EXE` or `PDEMO.SMP` files while all data remains inside one executable.
Unknown DOS functions and ordinary handles are passed to the original
`INT 21h` handler.

The VFS also implements EXEC itself. It decrypts the virtual child's MZ header,
allocates a DOS memory block, creates a PSP, reads and decrypts the load image,
applies relocations, establishes the child's stack, and transfers control. On
return it restores the previous stack. This is a small resident program loader,
not just an archive reader.

## The Second Packing Layer

After VFS extraction the visual programs are still executable-packed. Static
unpacking gives these sizes:

| Child | Packed | Unpacked |
| --- | ---: | ---: |
| `DEMOBASE.EXE` | 19,813 | 57,008 |
| `PART1.EXE` | 27,852 | 194,512 |
| `GOLF.EXE` | 80,910 | 273,152 |
| `FRACTAL.EXE` | 124,660 | 434,320 |
| `PSYCHO.EXE` | 47,347 | 427,824 |
| `WORLD.EXE` | 17,933 | 254,720 |
| `FLOOR.EXE` | 21,892 | 84,848 |

This two-level construction explains why raw `strings` on the released
769 KB file reveals almost nothing: VFS encryption hides the virtual files,
then PKLITE or LZEXE hides most child code and data again.

## DEMOBASE And PolyPlayer

The unpacked base program names the complete route:

```text
PDEMO.SMP
PART1.EXE
WORLD.EXE
GOLF.EXE
FRACTAL.EXE
FLOOR.EXE
PSYCHO.EXE
```

It also identifies the replay system precisely:

```text
PolyPlayer v2.0
(c) Copyright 1993, 1994 by Lone Ranger/AcmE
Compiled on 27/12/94 at 19:47:38 using TASM 3.2

Gravis Ultrasound driver
(c) Copyright 1993, 1994 by Lone Ranger/AcmE
```

`PDEMO.SMP` is the 426,896-byte sample bank. The base executable contains the
track description and names such as `Jam String`, `Yamaha Synth Bass`,
`D-50 Future Pad`, `HardCore Bass`, `China Crash`, and `U20-Snare`. It labels
the piece `BugFixed (The Song)` and credits ViC.

The GUS path parses `ULTRASND=` and contains its own PIT programming. Sound is
optional at the package level, but the intended soundtrack path is not a
generic external player: it is Lone Ranger's embedded PolyPlayer 2.0 and GUS
driver using the virtual sample bank.

## Stage Concordance

The payload names, base-program route, unpacked strings, port accesses, and
visible sequence support this conservative mapping:

| Program | Evidence-backed role |
| --- | --- |
| `PART1.EXE` | Opening text, panel, tunnel, and polygon route; contains `3D-World Vector Engine 1.5 (c) 1994 by SimStim / A(c)Me` |
| `WORLD.EXE` | Early world/globe family; repeated retrace and DAC programming around its runtime entry |
| `GOLF.EXE` | Middle multipart program including the painted panel and object work; broad VGA/DAC and timer surface |
| `FRACTAL.EXE` | Radial/fractal field program; large unpacked tables and repeated retrace/DAC access |
| `FLOOR.EXE` | Perspective-floor stage; its own PIT, retrace, palette, and mode-setting paths |
| `PSYCHO.EXE` | Late framed, spiral, and lattice route; the largest late-stage visual state surface |

This table does not claim that every visible subeffect belongs to one exact
function. It identifies program-level boundaries. Function-level names would
require a longer dynamic trace or original source.

## VGA And Timing Surface

All six visual children contain direct hardware paths rather than delegating
rendering to BIOS calls. Across them are repeated accesses to:

```text
03DAh  VGA status / vertical retrace
03C8h  DAC write index
03C9h  DAC colour data
0043h  PIT control
0040h  PIT channel 0
A000h  VGA framebuffer segment
```

The pattern fits the runtime: direct palette updates, retrace waits, and
part-local pacing surround custom pixel and polygon code. `PART1.EXE` exposes
SimStim's named 3D engine, while the other parts carry their own large tables,
buffers, and render paths. The demo is a suite of cooperating executables, not
one monolithic effect loop.

## Local Runtime Boundary

The original archive was started in DOSBox-X with a 486-class configuration,
GUS emulation enabled, and host output disabled. The executable reached its
graphics-mode transition. DOSBox-X's `dx-capture` recorder then aborted while
splitting AVI files across that mode change. That is a recorder failure, not
evidence that `Bugfixed` itself crashes there.

For that reason this article does not label the public video frames as direct
local captures. The archive/container/code analysis is local and exact; the
complete visual route is independently observed from the silent public video.

## What Is Proven

- The inspected file is the original The Party 1994 archive version.
- The outer executable is a 1,979-byte VFS loader plus a 767,532-byte overlay.
- The VFS directory has eight records and an exact decoded layout.
- Every virtual payload offset, length, filename, and rolling-XOR rule is
  recovered.
- Seven child executables and the `PDEMO.SMP` sample bank extract cleanly.
- Four children use PKLITE and three use LZEXE 0.91.
- `DEMOBASE` explicitly names the execution route, PolyPlayer 2.0, the GUS
  driver, ViC's song, and the sample bank.
- The visual children directly use VGA, DAC, retrace, and PIT hardware paths.
- The five GIFs above are continuous excerpts from a video-only public stream.

## Remaining Boundary

The original assembly source is not present. Static unpacking reveals the
program structure and substantial code surface, but this page stops short of
inventing source-level function names for every effect. A debugger trace of
each virtual EXEC boundary would be the next useful step.

## Placement

`Bugfixed` is a proper late-1994 multipart demo built under party pressure. Its
strongest technical idea is not a single polygon or fractal effect but the
delivery system: one small DOS loader provides encrypted virtual files,
virtual handles, EXEC loading, relocation, nested child programs, a shared
sample bank, and an embedded GUS replay path. The visible demo then moves
through six separately packed visual programs without exposing that machinery
to the viewer.

The name jokes about shipping without waiting for fixes. The executable is
nevertheless unusually organized: the joke is on the surface, while the file
underneath is a compact DOS runtime environment.
