Analysis model: gpt-5.5 xhigh

# Paperboy Cracktro by Bentley Sidwell Productions and The Prophet - Technical Dissection

`Paperboy Cracktro` is a June 1988 MS-DOS cracktro / loader shell by Bentley
Sidwell Productions and The Prophet. Demozoo lists it as `Paperboy Cracktro`,
released in June 1988, tagged `cga`, and notes it as BSP release #25.

Release year: 1988

The preserved archive is not a complete standalone game image. It contains the
small `PAPERBOY.COM` loader, ANSI/document sidecars, and a batch file, but the
child program that the loader tries to execute, `Sprites.Bsp`, is absent. The
technical object here is therefore the BSP loader shell: show a CGA title page,
wait for input, shrink its memory block, and launch the missing child.

This writeup deliberately avoids reproducing old board / phone listing
material from the sidecar documentation.

## Sources

- Demozoo production page:
  https://demozoo.org/productions/204165/
- Scene.org file page:
  https://files.scene.org/view/demos/compilations/lost_found_and_more/cracktro/paperboy_cracktro.zip
- Scene.org archive:
  https://files.scene.org/get/demos/compilations/lost_found_and_more/cracktro/paperboy_cracktro.zip

## Visual References

`PAPERBOY.COM` enters BIOS CGA mode `04h` and copies a raw 16 KB page from its
own image to `B800:0000`. The frame below is decoded from that exact embedded
page at file offset `03BAh`; it is not an emulator screenshot or a sidecar ANSI
render.

![Paperboy Cracktro decoded CGA title page from PAPERBOY.COM offset 03BAh](images/paperboy-cracktro-cga-title.png)

The control-flow map below shows the whole loader. Runtime addresses are COM
addresses after DOS loads the file at `CS:0100`; subtract `0100h` to get the
file offset.

![Paperboy Cracktro loader/control-flow map showing CGA page copy and missing Sprites.Bsp EXEC handoff](images/paperboy-cracktro-loader-map.png)

## Archive

```text
a2af5bc2087db80556498b8fc4244a6c12e05b250c293a584e5c7e2f89eeb99f  paperboy_cracktro.zip

b9489f7b70c45b1f1ae902ca245df5f612d45af95e482f7ff701ad6bead42992  PAPERBOY.COM
392591245fbe9ae64ee111d6755c372a586fdadd08a51af2f7969e37e24da8fc  PAPERBOY.DOC
1882305b8438ff89f53c1e70621b97994c85c7b715288f6e7d8c270cd60d3a23  README.1ST
e59ccc8a8c6b7be51662c7f634e1aca551c2dfaf077fcfe7625274b4db072a2b  README.BSP
a5581744b45dbe1037468ccadaf95ac4aa32f80df67d0041d81fddde3b318c0e  RUNME.BAT
420866ef6a3b804ecea62627e6147b0b45c8c8558c9b90f1aa9d6defc9958a07  SCREEN.ANS
```

File sizes:

```text
PAPERBOY.COM  17152
PAPERBOY.DOC  11829
README.1ST       58
README.BSP     3269
RUNME.BAT        49
SCREEN.ANS     6251
```

`RUNME.BAT` clears the screen, types `SCREEN.ANS`, pauses, then starts
`PAPERBOY`. That means the release package has two visual layers: a DOS ANSI
front notice and the CGA loader inside `PAPERBOY.COM`. The runtime analysis
below is for the COM loader.

## COM Layout

`PAPERBOY.COM` is a plain COM file, not an MZ executable. DOS loads it at
`CS:0100`, so the first byte in the file is runtime address `0100h`.

The opening bytes are:

```asm
0100  EB 31        jmp 0133h
0102  90           nop
0103  E9 B4 02     jmp 03BAh
0106               "BSP Generic Loader Program - Version 1.0-P"
```

The `0100h` short jump is the real entry. The second jump and signature sit in
the skipped area; in this instantiation there is no incoming transfer to
`0103h`. It is best treated as generic loader identity / residue, not as part
of the active path.

The active file regions are:

```text
file 0000..0032  entry jump, skipped loader signature
file 0033..00FA  active loader code
file 00FB..012D  unused stack marker string
file 012E..01D7  $-terminated farewell/error text
file 01D8..02AD  EXEC parameter block and zero padding
file 02AE..02B8  "Sprites.Bsp" child filename
file 02BA..43B9  raw 16 KB CGA page copied to B800h
```

The `PAPERBOY.COM` file is `17152` bytes. The raw CGA payload is exactly
`0x4000` bytes starting at file offset `0x03BA`, which reaches the end of the
file at `0x43BA`.

## Runtime Path

The main path starts at `0133h`:

```asm
0133  fb             sti
0134  fa             cli
0135  8c c8          mov ax,cs
0137  8e d8          mov ds,ax
0139  e8 a4 00       call 01E0h
013c  e8 52 00       call 0191h
013f  33 c0          xor ax,ax
0141  cd 16          int 16h
0143  8c c8          mov ax,cs
0145  8e c0          mov es,ax
0147  b4 4a          mov ah,4Ah
0149  bb 00 07       mov bx,0700h
014c  cd 21          int 21h
014e  eb 16          jmp 0166h
```

The `STI` / `CLI` pair leaves interrupts disabled for the loader's own work.
There is no timer loop and no audio; this is a key-gated static loader. After
drawing the CGA page and installing a break handler, it waits for a BIOS key
with `INT 16h/AH=00h`.

The memory resize at `0147h` is a standard DOS child-launch preparation:
`AH=4Ah` changes the current PSP memory block size, and `BX=0700h` keeps
`0x700` paragraphs, or 28 KB. Everything above that becomes available to the
child process that will be executed later.

The code does not check carry after the resize. If the resize failed, the
loader would still continue into the `EXEC` attempt; this is typical compact
1980s loader style.

## CGA Copy Loop

The whole visible inner loop is at `01E0h`:

```asm
01e0  b8 04 00       mov ax,0004h
01e3  cd 10          int 10h
01e5  b8 00 b8       mov ax,0B800h
01e8  8e c0          mov es,ax
01ea  33 ff          xor di,di
01ec  be ba 03       mov si,03BAh
01ef  b9 00 40       mov cx,4000h
01f2  f3 a4          rep movsb
01f4  8c c8          mov ax,cs
01f6  8e c0          mov es,ax
01f8  8e d8          mov ds,ax
01fa  c3             ret
```

There is no decompressor. The bitmap is already in CGA hardware memory order,
so the fastest correct drawing routine is the shortest one:

```c
set_video_mode(0x04);
memcpy((void far *)0xB8000000, cs + 0x03BA, 0x4000);
```

The decoded pixel model is the normal CGA 320x200 2bpp layout:

```text
destination B800:0000..1FFF  even scanlines
destination B800:2000..3FFF  odd scanlines
80 bytes per scanline
4 pixels per byte
bits 7..6, 5..4, 3..2, 1..0 are the four pixel colour indices
```

Because the source is in this split-bank order already, the loader does not
need to calculate `B800h + y/2*80 + bank`. The price is file size: it stores the
full 16 KB display page even though only about 4.2 KB of bytes are nonzero.
That is a deliberate size/simplicity tradeoff. On an 8088-class PC, `REP MOVSB`
over 16 KB is still cheap compared with a fancier unpacker, and it makes the
screen copy deterministic on every CGA-compatible machine.

The public PNG in this article uses CGA palette 0:

```text
index 0: black
index 1: green
index 2: red
index 3: brown / yellow-brown
```

The loader itself does not write CGA palette-control port `03D9h`, so this is
the BIOS mode-default interpretation rather than an explicitly selected
alternate palette.

## Break / Error Handler

Immediately after the screen copy, the loader installs an `INT 23h` handler:

```asm
0191  ba 51 01       mov dx,0151h
0194  b8 23 25       mov ax,2523h
0197  cd 21          int 21h
0199  c3             ret
```

`INT 21h/AH=25h` sets an interrupt vector. With `AL=23h`, the target is DOS's
Ctrl-Break vector, and `DS:DX` points at `CS:0151`.

The handler is also used as a generic exit/error path:

```asm
0151  8c c8          mov ax,cs
0153  8e d8          mov ds,ax
0155  b8 02 00       mov ax,0002h
0158  cd 10          int 10h
015a  ba 2e 02       mov dx,022Eh
015d  b4 09          mov ah,09h
015f  cd 21          int 21h
0161  b8 00 4c       mov ax,4C00h
0164  cd 21          int 21h
```

It restores text mode `02h`, prints the `$`-terminated BSP farewell text at
`022Eh`, then exits with return code 0. Since the archived package lacks
`Sprites.Bsp`, a local run reaches this path after the failed `EXEC` attempt.

## Child EXEC Handoff

After the keypress and memory resize, execution continues at `0166h`:

```asm
0166  b8 03 00       mov ax,0003h
0169  cd 10          int 10h
016b  8c c8          mov ax,cs
016d  8e d8          mov ds,ax
016f  a1 2c 00       mov ax,[002Ch]
0172  bf d8 02       mov di,02D8h
0175  89 05          mov [di],ax
0177  8c c8          mov ax,cs
0179  89 45 04       mov [di+04h],ax
017c  89 45 08       mov [di+08h],ax
017f  89 45 0Ch      mov [di+0Ch],ax
0182  8e c0          mov es,ax
0184  ba ae 03       mov dx,03AEh
0187  bb d8 02       mov bx,02D8h
018a  b8 00 4b       mov ax,4B00h
018d  cd 21          int 21h
018f  eb c0          jmp 0151h
```

The loader restores 80-column text mode before launching the child. It then
constructs the DOS `EXEC` parameter block at runtime address `02D8h`:

```text
02D8  environment segment = PSP:002C
02DA  command tail offset = 0000
02DC  command tail segment = CS
02DE  FCB1 offset = 0000
02E0  FCB1 segment = CS
02E2  FCB2 offset = 0000
02E4  FCB2 segment = CS
```

That is a minimal parameter block. It does not pass a meaningful command tail
or FCBs; the intended child apparently does not need them.

`DX=03AEh` points to the zero-terminated string:

```text
Sprites.Bsp
```

`AX=4B00h` then asks DOS to load and execute that child. Because `Sprites.Bsp`
is not present in the preserved ZIP, the loader cannot proceed to the game in
this archive. Whether the original private/game distribution stored a real
executable under that name or used a renamed protected payload is outside what
this archive proves.

## Dormant Generic Loader Residue

There are a few routines in the `019Ah..01DFh` range that are not reached by
the active path in this file. They look like generic loader leftovers rather
than Paperboy-specific code. The important boundary is that no call or jump
from the live path reaches them:

```text
0139 -> 01E0 draw
013C -> 0191 set INT 23h
014E -> 0166 launch path
018F -> 0151 text/error exit
```

So the loader's proven active behavior is compact: draw, wait, resize, execute,
print fallback text on return.

## Why This Loader Looks The Way It Does

This is a 1988 cracktro loader, not a later multipart demo. The priorities are
different:

- The visual identity is a single raw CGA title page.
- The fastest renderer is a 16 KB `REP MOVSB`, because the asset is stored in
  final `B800h` layout.
- The only interactive timing is `INT 16h` key wait.
- DOS process control matters more than animation: shrink memory, build an
  `EXEC` parameter block, launch a child payload.
- The sidecar ANSI/docs advertise and document the release, but the COM loader
  itself is almost entirely a screen-copy and handoff shell.

The result is technically small but historically useful: it shows the
pre-megademo PC cracktro style as a DOS loader wrapped around a static CGA
identity screen.
