Analysis model: gpt-5.5 xhigh

# Test Drive 2 Speed Shop Trainer by The Stealth Pirate Network - Source-Limited Technical Dissection

`Test Drive 2 Speed Shop Trainer` is a 17 July 1989 MS-DOS cracktro / trainer
by The Stealth Pirate Network. Demozoo preserves metadata, three public
screenshots, and a Defacto2 download reference. The Defacto2 file and download
routes return a Cloudflare challenge from this environment, so no executable
bytes are available for this pass.

Release year: 1989.

This is therefore a source-limited article. It is more informative than a pure
title-card still because the public screenshots expose a key-gated launch state
and a concrete file-open failure path, but the actual trainer patch code is not
available.

## Sources

- Demozoo production page:
  <https://demozoo.org/productions/363234/>
- Demozoo group page for The Stealth Pirate Network:
  <https://demozoo.org/groups/146712/>
- Defacto2 file reference listed by Demozoo:
  <https://defacto2.net/f/af28ce2>
- Defacto2 download reference listed by Demozoo:
  <https://defacto2.net/d/af28ce2>

## Visual References

| Time | Image | Notes |
| --- | --- | --- |
| `00:00.000`, public still | ![Test Drive 2 Speed Shop Trainer title and key gate](images/test-drive-2-spn-demozoo-01.png) | Custom low-colour storefront / service-window screen. The visible state includes the group name, a crack credit, and a bottom prompt that waits for a key before loading `SPEED`. |
| after key / failure state, public still | ![Test Drive 2 Speed Shop Trainer missing-file state](images/test-drive-2-spn-demozoo-02.png) | Text-mode or console-style failure state. It reports that `speed.dat` and `cars.dat` could not be opened and that the program must be in the same directory as the Test Drive II files. |
| duplicate failure capture, public still | ![Test Drive 2 Speed Shop Trainer duplicate missing-file state](images/test-drive-2-spn-demozoo-03.png) | Same failure state as the second public screenshot. It probably exists because the capture carousel preserved multiple emulator frames after the failed load. |

Generated source-boundary map:

![Test Drive 2 Speed Shop Trainer source-boundary map](images/test-drive-2-spn-source-boundary-map.png)

## Evidence Boundary

Available evidence:

- Demozoo title, group, date, platform, and production-type metadata;
- three public Demozoo stills;
- Defacto2 identifier `af28ce2`;
- the first-screen prompt that accepts a key before loading `SPEED`;
- the failure text identifying `speed.dat` and `cars.dat` as required files;
- HTTP evidence that both the Defacto2 file page and download route are blocked
  by a Cloudflare challenge in this environment.

Missing evidence:

- archive filename, hash, and exact program size;
- executable format;
- exact video mode;
- palette and drawing routines;
- keyboard polling implementation;
- DOS file-open path and error handling code;
- trainer patch target, offsets, and bytes;
- checksum or copy-protection bypass strategy;
- any verified machine-code inner loop.

That means this article can describe the visible state machine and plausible
implementation classes, but not exact registers, offsets, or instructions.

## Public Screen Sequence

The title still is a 640x400 PNG. It shows a mostly black low-colour screen
with a custom storefront graphic in the centre, a small labelled panel at the
left, a sign-like `TSPN` block on the right, and a two-line prompt at the
bottom. A visible credit line attributes the crack to BladeRunner.

The important technical detail is that this is not a passive text file. It is
an interactive gate:

```text
display title / trainer screen
wait for key
attempt to load SPEED / trainer payload
```

The next public state is a DOS-looking text screen. It reports that the program
could not open two files:

```text
speed.dat
cars.dat
```

It also states that the program must be in the same directory as the Test Drive
II files. This gives a firmer runtime model than many source-limited 1989
loaders: the program is not just presenting a brag screen and exiting; it
expects to read game data files after the key gate.

## What The First Frame Proves

The title frame proves:

- a custom low-colour graphical presentation existed before the trainer logic;
- the screen includes fixed-position string output and small graphic blocks;
- at least white, cyan, blue, magenta, yellow, red, and black are visible;
- the program has a key-driven transition;
- the user-facing operation is to load `SPEED`, not just quit to DOS;
- The Stealth Pirate Network branding is part of the visible artifact.

The exact rendering path is unresolved. The screen could be:

- a precomposed bitmap copied into graphics memory;
- a compact coordinate renderer drawing rectangles, glyphs, and text;
- a text/graphics hybrid with BIOS/DOS text over a graphics page;
- or a runtime conversion from an internal picture format.

The public still does not distinguish those classes.

## The Missing-File State

The failure screen is the strongest functional clue. It implies the post-key
path performs at least two file-open attempts before the trainer can proceed.
A conservative high-level state model is:

```text
on key:
    open "speed.dat"
    if open failed:
        print missing-file diagnostic
        return to DOS prompt

    open "cars.dat"
    if open failed:
        print missing-file diagnostic
        return to DOS prompt

    continue into trainer patch/load path
```

That is not recovered code. It is the smallest control-flow model that matches
the public failure text.

The order of the file opens cannot be proven from the still. The diagnostic
names both files in one sentence, so the binary could:

- open `speed.dat`, then open `cars.dat`, then print one shared failure message;
- check both filenames through a loop over a two-entry table;
- try one combined data-reading path and report both names on any failure;
- or call into a higher-level runtime/library routine that prints a fixed
  message when either dependency is absent.

Without bytes, all four remain possible.

## Plausible Inner Loop Classes

The observed screen sequence implies several loop classes, but none are
verified instruction loops.

The title renderer might have a region painter:

```text
for each shape in title_layout:
    choose colour
    draw horizontal span or rectangle at fixed coordinate

for each text string:
    place glyphs at fixed coordinate
```

Or, if the first frame is precomposed:

```text
set video mode
copy packed or raw title image to display memory
draw / print the bottom prompt
```

The key gate likely has a tiny wait loop:

```text
repeat:
    poll keyboard or call DOS/BIOS key input
until a key is available
```

The data-file phase might have a two-name table loop:

```text
required_files = ["speed.dat", "cars.dat"]

for each filename in required_files:
    open filename
    if failed:
        print shared diagnostic
        abort to DOS
```

The actual trainer path, if both files are present, probably modifies game data
or a loader image associated with Test Drive II's Speed Shop material. The
public evidence does not show whether this is:

- an in-place `*.DAT` patcher;
- a memory patch before executing the game;
- a file copier with altered records;
- or a small launcher that depends on the two data files.

The title "trainer" and the file names make a patch/load path likely, but the
patch method is not proven.

## What Cannot Be Claimed

The blocked binary prevents claims about:

- `A000h`, `B800h`, or BIOS text memory targets;
- CGA/EGA/VGA/Tandy mode numbers;
- palette register programming;
- exact image or font storage;
- copy-loop length, stride, or direction;
- `INT 16h` versus DOS character input;
- `INT 21h AH=3Dh` versus C runtime file opening;
- the order of `speed.dat` and `cars.dat` open attempts;
- patch offsets inside either data file;
- checksum correction;
- payload handoff;
- cleanup and exit path.

The only responsible "inner loop" here is the state-machine loop class inferred
from the public screens. It is not a disassembly.

## Relationship To Nearby 1989 PC Releases

This trainer sits next to early PC cracktro/loaders where the scene format is
still unstable:

- some 1989 loaders are text-only or one-screen graffiti cards;
- CPC2001's `Motocross Loader` and `Heavy Barrel Loader` expose graphic title
  screens but no binary;
- PTL-family loaders from 1988 have recovered CGA page-copy and DOS `EXEC`
  paths because their archives are accessible;
- this one adds a useful trainer-specific datapoint because it visibly leaves
  the title card and attempts to open game data files.

The difference is important: `Test Drive 2 Speed Shop Trainer` is not merely a
static credit screen. Even without bytes, the public failure state shows a real
post-key dependency check.

## Summary

The public evidence for `Test Drive 2 Speed Shop Trainer` establishes a July
1989 MS-DOS cracktro/trainer by The Stealth Pirate Network with a custom
low-colour title gate and a data-file loading phase for `speed.dat` and
`cars.dat`. The Defacto2 binary route is blocked here, so patch offsets,
graphics memory writes, keyboard polling, and exact file-open loops remain
unknown. A later pass with the `af28ce2` executable should replace this
source-limited model with hashes, a file map, disassembly of the title renderer,
the key gate, DOS file calls, and the real trainer patch loop.
