Analysis model: gpt-5.5 xhigh

# Apache Cracktro by Miami Cracking Machine - Technical Dissection

`Apache Cracktro` is an 8 July 1989 MS-DOS cracktro by Miami Cracking Machine.
Demozoo lists Captain Crunch as supplier.

Release year: 1989

This is a source-limited pass. Demozoo lists a Defacto2 download and external
record, but the Defacto2 download is Cloudflare-challenged from this
environment, so I did not acquire a verified executable. The analysis below is
bounded by the public Demozoo metadata and three public screenshots. It does
not claim exact file offsets, exact bitmap tables, exact animation timing, or
a recovered executable trace.

One public screenshot contains old BBS/contact rows and a contact-style release
note. This article uses a redacted derivative and does not transcribe those
details.

## Sources

- Demozoo production page:
  https://demozoo.org/productions/362652/
- Defacto2 external record:
  https://defacto2.net/f/ae267d2
- Defacto2 download listed by Demozoo, not acquired here:
  https://defacto2.net/d/ae267d2

Demozoo records:

```text
Title:        Apache Cracktro
Group:        Miami Cracking Machine
Type:         Cracktro
Platform:     MS-Dos
Released:     8 July 1989
Credits:      Captain Crunch - Other (Supplier)
Advert for:   several BBS boards, not transcribed here because the entries are
              old contact-style records
```

Screenshot hashes used while preparing the public-safe images:

```text
30b786657ceafe59c6533b1fcd6512a4ddabd0a893f382e96b81f1fbf52a11a4  contact/exit screenshot, held only in scratch
150b759b170d8cd283b0cd97bc13ce92f4bf729c4da5d4d53b01397510d34c32  images/apache-mcm-ega-title.png
74e9b680b1e494bdfc05e986a3bf36f44d0b425c9722a82a501bab1be5ce460d  images/apache-mcm-menu-selector.png
baf7c518cd045e52cf819c242eba114678f32bbb6362b21a9c5819daf8caf11a  images/apache-mcm-exit-redacted.png
f548938c329f3dfccb922c25203a5ca9b7ba84b0eecd965f336d2cf9cdaa5309  images/apache-mcm-flow-map.png
```

## Visual References

| Stage | Image | Notes |
| --- | --- | --- |
| selector | ![Apache Cracktro menu selector](images/apache-mcm-menu-selector.png) | 80x25 text-mode selector offering Monochrome, CGA, EGA, and Tandy 1000 paths. The image bytes match the U.S.S. Stinger selector still, which strongly suggests shared MCM shell code or a shared shell screen. |
| EGA title scene | ![Apache Cracktro EGA MCM title scene](images/apache-mcm-ega-title.png) | 640x350 EGA-style blue title frame with a black/grey stippled top mask, mirrored angular letter/lightning shapes, a central `C`, and a small `Presents.....` string. |
| exit/contact page, redacted | ![Apache Cracktro redacted exit text page](images/apache-mcm-exit-redacted.png) | 80x25 text-mode page after the title path. Old contact-style rows are masked. |

![Apache Cracktro visible pipeline and inner-loop model](images/apache-mcm-flow-map.png)

## What The Screenshots Prove

Like `U.S.S. Stinger Cracktro`, `Apache Cracktro` proves a three-stage visible
pipeline:

1. an 80x25 text-mode video selector;
2. a 640x350 EGA title renderer;
3. an 80x25 text-mode exit page.

The selector and exit frames are 640 by 400 pixels and align exactly to an
80-column, 25-row text grid:

```text
80 columns * 8 pixels  = 640 pixels
25 rows    * 16 pixels = 400 pixels
```

The title frame is 640 by 350 pixels. That is EGA mode 10h:

```text
INT 10h AX=0010h
logical pixels:       640 * 350
bytes per scanline:   640 / 8 = 80 per plane
bytes per plane:      80 * 350 = 28000
video segment:        A000h, planar EGA
```

The program therefore has at least one planar graphics renderer. The visible
path is:

```text
text selector -> EGA mode 10h -> MCM Apache title scene -> text exit page
```

The screenshots do not prove the non-EGA renderers, but the selector proves
the code was presented as a multi-target shell.

## Visual-To-Code Concordance

This concordance is intentionally bounded: it links the existing public-safe
stills to the renderer model above, but it does not invent recovered executable
offsets. The executable was not acquired in this pass, so the evidence is
public-image geometry, shared MCM shell behavior, and standard DOS/EGA memory
models.

The selector still is a direct 80x25 text-mode screen. The 640x400 frame size
and character-cell alignment match the `B800h` cell model exactly:

```text
visible image:      apache-mcm-menu-selector.png
screen model:       80 columns * 25 rows
memory target:      B800:0000, 2000 character/attribute words
proved behavior:    text clear, row-fragment writer, BIOS keyboard gate
bounded inference:  branch table for Monochrome/CGA/EGA/Tandy paths
```

The important point is that this is not a bitmap menu. It is a normal DOS text
screen, so each row of menu text is best explained by a fragment writer that
loads `DI = (row * 80 + column) * 2`, puts the colour attribute in `AH`, and
stores `AL/AH` words into text memory. The highlighted `C`/EGA choice then
enters the graphics path through an `INT 10h` mode change.

The title still proves the EGA renderer boundary:

```text
visible image:      apache-mcm-ega-title.png
frame size:         640x350
video mode:         EGA mode 10h
memory target:      A000h planar framebuffer
proved behavior:    full blue fill plus mask/sprite/text passes
bounded inference:  set/reset + bit-mask writes for 1bpp coverage masks
```

The blue field is a full-frame planar fill. The stippled black/grey cap at the
top is not aligned to text cells, so it must be generated inside the graphics
framebuffer. The cheapest robust implementation is a sequence of 1bpp coverage
masks: program EGA set/reset to the desired colour, program the graphics
controller bit mask for the current byte, and write a dummy byte to `A000h`.
That same primitive explains the yellow lightning strokes, grey angular logo
pieces, central `C`, shadow offsets, and the small `Presents.....` lettering.

The generated flow map summarizes the visible data path rather than a recovered
call graph:

```text
visible image:      apache-mcm-flow-map.png
pipeline:           selector -> EGA title -> text exit page
renderer class:     shared text shell plus flat layered EGA composition
not proved here:    exact routine addresses, data-table offsets, animation
```

That distinction matters because Apache is visually close to `U.S.S. Stinger`
in shell structure but not in the title renderer. Stinger's EGA still implies
perspective-card lane drawing; Apache's title is better modelled as a static
painter-order composition:

```text
blue clear
top black silhouette mask
grey stipple/highlight masks
yellow lightning masks
grey logo masks and darker offsets
central C masks
small graphics-font or bitmap text masks
```

The redacted exit still returns to the same text-memory world as the selector:

```text
visible image:      apache-mcm-exit-redacted.png
screen model:       80x25 text mode
proved behavior:    row fragments, masked contact/release-note blocks,
                    key wait, DOS return visible after exit
bounded inference:  same or related text writer as the selector shell
```

The concordance therefore supports a conservative technical reading: Apache is
a shared MCM text-selector shell wrapped around a custom EGA mode-10h title
screen. Its meaningful inner loops are text-cell writers, planar fills,
coverage-mask blitters, optional byte/bit shifting for unaligned sprites, and a
keyboard wait/return path, not a 3D or polygon engine.

## Shared MCM Selector Shell

The selector image hash is:

```text
74e9b680b1e494bdfc05e986a3bf36f44d0b425c9722a82a501bab1be5ce460d
```

That is the same hash as the selector frame used for `U.S.S. Stinger
Cracktro`. The safest conclusion is that Apache reused the same selector
screen, and possibly the same small selector code:

```text
Menu Selector
An MCM Production.

Enter 'A' for Monochrome
Enter 'B' for CGA
Enter 'C' for EGA
Enter 'D' for Tandy 1000
```

The text-mode memory model is:

```text
segment = B800h
offset  = (row * 80 + column) * 2
byte 0  = character
byte 1  = attribute
```

The selector clear loop:

```asm
mov  ax,0003h
int  10h
mov  ax,0B800h
mov  es,ax
xor  di,di
mov  ax,0720h
mov  cx,2000
cld
rep  stosw
```

The inner loop is the usual text page fill:

```text
repeat 2000 cells:
    ES:[DI+0] = 20h
    ES:[DI+1] = 07h
    DI += 2
```

The selector writer can be the shared row-fragment routine:

```asm
; DS:SI -> zero-terminated string
; AH    = attribute
; DI    = (row * 80 + col) * 2
write:
lodsb
or   al,al
jz   done
stosw
jmp  write
done:
```

The key dispatch:

```asm
read_key:
mov  ah,00h
int  16h
and  al,11011111b
cmp  al,'A'
je   mono_path
cmp  al,'B'
je   cga_path
cmp  al,'C'
je   ega_path
cmp  al,'D'
je   tandy_path
jmp  read_key
```

The screenshot proves the EGA path exists. The exact code address behind each
branch is not known without the executable.

## EGA Mode Setup

The EGA path almost certainly starts with BIOS mode set:

```asm
mov  ax,0010h
int  10h
mov  ax,0A000h
mov  es,ax
```

Mode 10h is planar. A CPU write to `A000:offset` can affect one or more of the
four planes depending on the sequencer map mask and graphics controller state:

```text
plane 0 -> colour bit 0
plane 1 -> colour bit 1
plane 2 -> colour bit 2
plane 3 -> colour bit 3
```

The useful register set for this title screen is:

```text
3C4h index 02h  sequencer map mask
3CEh index 00h  graphics set/reset colour
3CEh index 01h  enable set/reset
3CEh index 08h  bit mask
```

With set/reset enabled, the byte value written by the CPU can act mostly as a
trigger; the EGA writes the selected colour to the pixels selected by the bit
mask.

## Blue Background Fill

The title frame is dominated by solid blue. In standard EGA palette terms this
is colour index `01h`.

A compact fill is:

```asm
; enable all planes
mov  dx,03C4h
mov  ax,0F02h
out  dx,ax

; set/reset colour 01h, enable set/reset on all planes
mov  dx,03CEh
mov  ax,0100h            ; index 00h = set/reset, value 01h
out  dx,ax
mov  ax,0F01h            ; index 01h = enable set/reset, value 0Fh
out  dx,ax
mov  ax,0FF08h           ; index 08h = bit mask, value FFh
out  dx,ax

mov  ax,0A000h
mov  es,ax
xor  di,di
mov  ax,0FFFFh
mov  cx,14000            ; 28000 bytes / 2
cld
rep  stosw
```

Expanded inner loop:

```text
for word = 0..13999:
    write two byte positions at A000:DI
    selected pixels receive EGA colour 01h in all enabled planes
    DI += 2
```

The result is a full 640x350 blue canvas. The later black/grey/white/yellow
passes simply overwrite or mask into that canvas.

## Top Stipple / Mask Pass

The top edge of the frame is a black and grey irregular band. It is not text;
it has pixel-level noise and curved/uneven edges. There are two plausible
implementations:

1. a packed bitmap mask stored in the executable;
2. a small procedural stipple/noise generator with a row-height table.

The still cannot distinguish them. The bitmap-mask version is simpler and more
likely for an exact logo/title composition:

```text
for y in 0..mask_height-1:
    dst = A000: y * 80
    for xbyte in 0..79:
        mask = source_mask[y][xbyte]
        if mask != 0:
            set EGA bit mask = mask
            set/reset = black or grey for this layer
            write dummy byte at dst+xbyte
```

To get mixed black and grey, the code can make two passes:

```text
pass 1: black silhouette mask
pass 2: grey highlight/stipple mask
```

The two-pass shape matches the visible frame: a heavy dark edge with grey
speckling and grey contour regions.

The inner loop:

```asm
mask_loop:
lodsb                    ; AL = 8-pixel mask
or   al,al
jz   skip
; program 3CEh index 08h with AL
mov  es:[di],al          ; value is less important when set/reset is enabled
skip:
inc  di
loop mask_loop
```

If the mask bytes are RLE-compressed, the inner decompressed writer is still
the same: fetch mask, program bit mask, write one destination byte.

## Letter / Lightning Shape Model

The title scene shows:

- a left angular `M`-like shape;
- a central `C`;
- a right angular mirrored `M`-like shape;
- yellow lightning strokes behind or around the grey shapes;
- darker shadow offsets on the grey shapes.

The simplest implementation is not a vector renderer. It is a set of planar
bitmap sprites:

```text
sprite:
    width_bytes
    height
    x
    y
    colour
    source bits
```

For each sprite row:

```text
dst = A000: (y + row) * 80 + (x >> 3)
x_phase = x & 7
```

If `x_phase` is zero, the blit is byte-aligned:

```asm
row:
lodsb
or   al,al
jz   transparent_byte
; bit mask = AL
mov  es:[di],al
transparent_byte:
inc  di
loop row
```

If the sprite starts at an arbitrary pixel x position, every source byte has
to be shifted into destination-byte phase:

```text
carry = 0
for source_byte in row:
    out0  = (source_byte >> x_phase) | carry
    carry = (source_byte << (8 - x_phase)) & 0ffh
    write out0 mask to current destination byte
write carry to final destination byte if nonzero
```

The EGA register sequence per nonzero mask byte is:

```text
set/reset = sprite_colour
bit mask  = shifted_mask
write dummy byte at destination
```

This is a classic EGA sprite inner loop: the source bitmap supplies coverage,
and the EGA set/reset register supplies colour.

## Mirroring The Right Side

The left and right angular shapes are symmetrical enough that the right side
may reuse the left-side source data. There are two ways to do it:

1. store a second pre-flipped bitmap;
2. reverse bits and byte order while drawing.

Pre-flipped data costs more bytes but is faster:

```text
draw_sprite(left_shape)
draw_sprite(right_shape_preflipped)
```

Runtime mirroring saves data but costs a bit-reversal path:

```text
for source byte from right to left:
    reversed = bit_reverse[source_byte]
    shift reversed into destination phase
```

The lookup table is only 256 bytes:

```text
bit_reverse[00h] = 00h
bit_reverse[80h] = 01h
bit_reverse[40h] = 02h
...
```

For a small title still, either option is plausible. Pre-flipped data is more
likely if the cracktro wants to draw the title quickly after the selector.

## Layering Order

The title can be built in a fixed painter order:

```text
1. blue background fill
2. black top silhouette
3. grey top stipple/highlight
4. yellow lightning strokes
5. grey main letter shapes
6. dark blue/black shadow edges
7. central C
8. Presents..... text
```

There is no evidence of depth sorting or 3D math. The scene is a flat layered
bitmap composition. The "inner loops" are therefore memory fills, bitmap mask
writers, and shifted planar blitters rather than polygon transforms.

## Central `C`

The central `C` is a grey shape with a dark outline/shadow. It can be drawn as
two or three masks:

```text
draw_sprite(C_shadow, x+2, y+2, dark_grey)
draw_sprite(C_outline, x,   y,   dark_blue_or_black)
draw_sprite(C_fill,   x,   y,   grey)
```

If the source bitmap is a packed 1bpp mask, every pass reuses the same blitter
with a different colour and offset.

The visible `C` has a crisp edge and no scanline-dependent distortion, so a
bitmap mask is a better fit than a generated ellipse or arc routine.

## `Presents.....` Text

The `Presents.....` string is not the BIOS text font; it sits in EGA graphics
space around the lower middle of the title frame. It is likely one of:

- a small pre-rendered bitmap;
- an 8x8 or 8x14 font blitted into EGA memory.

The font-blit loop:

```text
for char in string:
    glyph = font[char]
    for gy in glyph_height:
        mask = glyph[gy]
        dst = A000: (y + gy) * 80 + (x >> 3)
        shift mask by x_phase
        write with set/reset colour
    x += glyph_advance
```

The pinkish/white look can be produced with one light colour pass plus a dark
or blue shadow offset:

```text
draw_text(x+1, y+1, shadow_colour)
draw_text(x,   y,   bright_colour)
```

The dots after `Presents` are just repeated glyphs or a small run of single
pixel/byte masks.

## Exit Page

The redacted exit screenshot is back in text mode. The public-safe frame still
shows:

```text
separator row
redacted contact/release-note blocks
thanks line
member-name block
Press any key to continue.
Hope you enjoyed this MCM Production..
DOS prompt after exit
```

The writer is the same text-mode fragment loop as the selector:

```text
for fragment in fragments:
    DI = (row * 80 + column) * 2
    AH = colour attribute
    while char:
        STOSW
```

The key gate:

```asm
mov  ah,00h
int  16h
```

The visible DOS prompt means the captured path returned to DOS after the
cracktro. Because the executable was not acquired, this does not prove whether
the normal distribution also patched or launched a child program before or
after the visible page.

## Relationship To U.S.S. Stinger

`Apache Cracktro` appears to reuse the selector/exit shell family introduced
in the previous MCM analysis, but swaps in a different EGA title renderer:

```text
U.S.S. Stinger: flying-card MCM perspective scene
Apache:         blue title scene with top mask and mirrored angular logo shapes
```

The shared technical substrate is:

- text selector with four display targets;
- EGA mode-10h high-resolution path;
- direct planar writes to `A000h`;
- set/reset and bit-mask sprite writers;
- text-mode exit page and BIOS key gate.

The Apache-specific work is the static layered title composition. It is less
geometric than U.S.S. Stinger's card lanes, but it is still a real EGA
renderer because the top mask and angular shapes require pixel-level planar
output.

## What Is Not Proven

The screenshots do not prove:

- exact executable bytes or file layout;
- whether the top stipple is bitmap data or procedural noise;
- whether the right-side shape is pre-flipped or mirrored at runtime;
- whether the title scene animates before the captured still;
- whether the non-EGA renderers are distinct;
- whether sound exists;
- whether the exit page is before or after any game-loader handoff.

The strongest bounded conclusion is that `Apache Cracktro` is a 1989 MS-DOS
multi-renderer cracktro whose visible path is best modelled as a shared MCM
text selector, an EGA mode-10h title renderer built from a blue planar fill,
top stipple masks, mirrored bitmap/logo blits, central-letter and small-text
mask passes, and a final text-mode exit page with old contact-style material
redacted here.
