Analysis model: gpt-5.5 xhigh

# Strike Eagle 2 Cracktro by The Underground Council - Technical Dissection

`Strike Eagle 2 Cracktro` is a 15 August 1989 MS-DOS cracktro by The
Underground Council. Demozoo lists it as a cracktro for MS-DOS, with Ford
Perfect credited for code / supplier, Mack Bolan credited for the crack, and
Jenetic Bytemare thanked. The rendered screen itself spells the visible name as
`Ford Prefect`, so this writeup preserves both spellings in context.

Release year: 1989

This is one of the smallest useful cracktro specimens in the current pass. The
preserved ZIP is only 714 bytes and contains a single 4176-byte `.COM`. That
`.COM` is not an animated effect engine, an executable patcher, or a key-gated
game loader. It is a TheDraw COM screen save: a short display stub followed by
a raw 80-column text page.

The interesting part is the exact display stub. The file stores a full 4000
bytes of text-page data, but its header row counter is `17h`, so the program
copies only 23 rows. The bottom two rows of the real screen are deliberately
left untouched. That explains why public emulator screenshots can show the DOS
prompt after the intro returns: the prompt residue is machine state outside the
authored art, not hidden cracktro text.

## Sources

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

Demozoo records:

```text
Title:        Strike Eagle 2 Cracktro
Group:        The Underground Council
Type:         Cracktro
Platform:     MS-Dos
Released:     15 August 1989
Credits:      Ford Perfect - Code (Supplier)
              Mack Bolan - Code (Crack)
              Jenetic Bytemare - Other (Thanks)
```

## Visual References

The cracktro has one display state and then exits. The `00:00.000` timestamp
below means "the page after the COM display stub has run", not an animation
timeline.

| Time | Still | What is happening |
| --- | --- | --- |
| `00:00.000` | ![Strike Eagle 2 Cracktro decoded TheDraw text page](images/strike-eagle-2-tuc-decoded-page.png) | Direct render of the embedded 80x25 character/attribute page. The active COM stub copies only rows 0..22 from this page. |
| `00:00.000+` | ![Strike Eagle 2 Cracktro public Demozoo screenshot](images/strike-eagle-2-tuc-demozoo.png) | Public Demozoo screenshot after the COM has returned. The bottom DOS prompt lines are residue from the caller because the program never overwrites rows 23 and 24. |

Generated loader map:

![Strike Eagle 2 Cracktro TheDraw COM loader map](images/strike-eagle-2-tuc-loader-map.png)

## Visual/Stub-To-Code Concordance

This cracktro has a direct visual-to-stub mapping because it is a TheDraw COM
screen save. The decoded page, public still, and loader map each expose a
different part of the same 113-byte display wrapper.

The decoded page is the stored text asset:

```text
visible image:      strike-eagle-2-tuc-decoded-page.png
file bytes:         UGC-SE2.COM file 00B0h..104Fh
runtime bytes:      CS:01B0h..114Fh
stored format:      80x25 character/attribute words, 4000 bytes
active copy:        rows 0..22 only, 3680 bytes copied
```

The public Demozoo screenshot shows the runtime artifact of that row limit:

```text
visible image:      strike-eagle-2-tuc-demozoo.png
code path:          017Ah row loop, 01A1h REP MOVSW fast path,
                    01A8h decrement row counter
header field:       CS:0104h = 17h = 23 rows
proved behavior:    rows 23 and 24 are caller/DOS residue, not intro art
```

That is the main interpretive point for this production. The apparent DOS
prompt at the bottom is not hidden cracktro text and not a separate footer. The
stub never overwrites those rows.

The loader map ties the visible pages to the whole runtime:

```text
visible image:      strike-eagle-2-tuc-loader-map.png
entry:              0100h jump to 013Fh
mode gate:          INT 10h AH=0Fh, accept modes 2, 3, and 7
target segment:     B800h for colour text, B000h for mono text
copy mode:          REP MOVSW because CS:0103h snow-safe flag is zero
dead option:        CGA snow-safe 03DAh one-cell copy path remains unused
exit:               INT 21h AH=4Ch immediately after the 23-row copy
```

So the whole visual mechanism is a row-limited text-memory transfer. There is
no key wait, no `EXEC`, no animation, and no graphics-mode draw path in this
file.

## Archive

The examined Scene.org ZIP:

```text
45a4e6ed05e1e970cd1fb1ba7301b7c830af8ffa0adcd8064cfee79ca9326f0a  strike_eagle_2_cracktro.zip
```

ZIP central directory:

```text
UGC-SE2.COM  4176 bytes  deflated to 594 bytes  1989-08-15 00:08
```

Extracted executable:

```text
76e093c2816ad261c3af66fe94f86f2d3c5ca641ee9acc35583ed21d05da00ab  UGC-SE2.COM
```

The only plain strings in the executable are:

```text
0009h  TheDraw COM file Screen Save
0026h  Unsupported Video Mode
```

That is a strong signature: this is a generated TheDraw screen-save wrapper,
not custom drawing code by The Underground Council.

## COM Layout

For a DOS `.COM` file:

```text
file offset 0000h -> runtime CS:0100h
runtime offset    = file offset + 0100h
file offset       = runtime offset - 0100h
```

The file is laid out like this:

```text
file 0000h..0002h  runtime 0100h..0102h  jump over header
file 0003h..0008h  runtime 0103h..0108h  TheDraw mutable header fields
file 0009h..0025h  runtime 0109h..0125h  "TheDraw COM file Screen Save",1Ah
file 0026h..003Eh  runtime 0126h..013Eh  "$"-terminated error string
file 003Fh..00AFh  runtime 013Fh..01AFh  113-byte display stub
file 00B0h..104Fh  runtime 01B0h..114Fh  4000-byte 80x25 text page
```

The first bytes:

```text
EB 3D 90 00 17 50 00 00 00 54 68 65 44 72 61 77
```

Decoded:

```asm
0100  EB 3D          jmp 013Fh
0102  90             nop
0103  00             snow-safe flag byte, initially zero
0104  17             row counter = 23
0105  50 00          words per row = 80
0107  00 00          destination offset = 0000h
0109                 "TheDraw COM file Screen Save",1Ah
```

The key field is `0104h = 17h`. A normal 80x25 colour text page is:

```text
25 rows * 80 columns * 2 bytes/cell = 4000 bytes
```

This file stores all 4000 bytes, but the program copies:

```text
23 rows * 80 columns * 2 bytes/cell = 3680 bytes
```

Rows 23 and 24 therefore remain whatever the caller already had on screen.

## Startup And Mode Probe

The active code begins at runtime offset `013Fh`:

```asm
013F  B4 0F          mov ah,0Fh
0141  CD 10          int 10h
0143  8C CB          mov bx,cs
0145  8E DB          mov ds,bx
0147  BB 00 B0       mov bx,0B000h
014A  B4 00          mov ah,00h
```

`INT 10h/AH=0Fh` asks BIOS for the current video mode:

```text
AL = video mode
AH = number of text columns
BH = active display page
```

The stub does not set a video mode. It expects to be launched from an
appropriate 80-column text mode. Then it prepares `DS=CS`, because all header
fields and the raw page live in the same COM segment.

The default video segment is `B000h`, the monochrome text segment. The code
then switches to `B800h` only if the current mode is a supported colour text
mode:

```asm
014C  3C 07          cmp al,07h
014E  74 1B          je  016Bh          ; mode 7: mono text, ES = B000h
0150  3C 04          cmp al,04h
0152  73 0B          jae 015Fh          ; graphics modes are unsupported
0154  BB 00 B8       mov bx,0B800h      ; colour text segment
0157  8A 26 03 01    mov ah,[0103h]     ; copy flag byte into AH
015B  3C 02          cmp al,02h
015D  73 0C          jae 016Bh          ; modes 2 and 3 accepted
```

Supported modes:

```text
02h  80x25 colour text,  B800:0000
03h  80x25 colour text,  B800:0000
07h  80x25 mono text,    B000:0000
```

Unsupported modes:

```text
00h, 01h  40-column colour text
04h..06h  CGA graphics modes
08h+      anything else from this simple gate's point of view
```

On unsupported modes, the program uses DOS string output:

```asm
015F  8D 16 26 01    lea dx,[0126h]
0163  B4 09          mov ah,09h
0165  CD 21          int 21h
0167  B4 4C          mov ah,4Ch
0169  CD 21          int 21h
```

The string at `0126h` is:

```text
Unsupported Video Mode\r\n$
```

There is no recovery path and no mode setup fallback. A wrong display mode just
prints the message and exits to DOS.

## Pointer Setup

The supported-mode path:

```asm
016B  88 26 03 01    mov [0103h],ah
016F  8E C3          mov es,bx
0171  8B 3E 07 01    mov di,[0107h]
0175  8D 36 B0 01    lea si,[01B0h]
0179  FC             cld
```

In normal mode 3:

```text
DS = CS
ES = B800h
DI = 0000h
SI = 01B0h
direction flag = clear
```

`SI` points at the embedded text page. `DI` points at the first cell of the
active text page. The destination offset comes from the header, so the same
generated display stub could theoretically place a TheDraw block lower on the
screen. This particular file uses offset zero.

`[0103h]` is also rewritten here. In colour text modes, `AH` was loaded from
the same byte, so the value stays zero. In mono mode, `AH` was already cleared,
so it is also zero. The preserved file therefore always takes the fast copy
path.

## Row Loop

The outer loop starts at `017Ah`:

```asm
017A  57             push di
017B  8B 0E 05 01    mov cx,[0105h]     ; 80 words
017F  80 3E 03 01 00 cmp byte [0103h],00h
0184  74 1B          je  01A1h          ; fast path when flag is zero
...
01A1  F3 A5          rep movsw
01A3  5F             pop di
01A4  81 C7 A0 00    add di,00A0h       ; next 160-byte text row
01A8  FE 0E 04 01    dec byte [0104h]
01AC  75 CC          jne 017Ah
01AE  EB B7          jmp 0167h          ; exit to DOS
```

The high-level shape:

```c
uint8_t rows = 0x17;        // 23
uint16_t words_per_row = 80;
uint16_t di0 = 0;
uint16_t *src = page_at_01B0;

do {
    uint16_t di = di0;
    uint16_t cx = words_per_row;

    rep_movsw(es:di, ds:src, cx);  // copies 80 text cells

    di0 += 0x00A0;                 // 80 cells * 2 bytes
    rows--;
} while (rows != 0);

exit_to_dos();
```

The `push di` / `pop di` pair is important. The inner copy advances `DI` by
160 bytes. The code then restores the original row start and adds exactly
`00A0h`, which is the text-memory stride for one 80-column row. It does not
compute offsets from `row * 160`; it carries the row base forward in `DI`.

The source pointer `SI` is not restored. It streams forward through the page:

```text
row 0  reads source 01B0h..024Fh
row 1  reads source 0250h..02EFh
...
row 22 reads source 0F50h..0FEFh
```

The stored row 23 begins at `1010h` and row 24 begins at `10B0h`, but neither
is reached by the active loop.

## Fast Inner Loop

Because `[0103h] == 0`, the actual copy loop used by this file is just:

```asm
01A1  F3 A5          rep movsw
```

On 8086-family machines, `REP MOVSW` performs:

```text
while CX != 0:
    word ptr ES:[DI] = word ptr DS:[SI]
    SI += 2
    DI += 2
    CX -= 1
```

Each word is one DOS text cell:

```text
low byte   character code, CP437
high byte  attribute: background in high nibble, foreground in low nibble
```

So one row copy is:

```text
80 cells * 2 bytes = 160 bytes
```

The whole visible copy is:

```text
23 rows * 160 bytes = 3680 bytes
```

There is no retrace wait, timer wait, key polling, page flip, palette upload,
or audio call on the fast path. The intro appears as quickly as the CPU and
text memory allow, then the program immediately exits.

## Disabled CGA Snow-Safe Path

The generated stub still contains the alternative single-cell copy path:

```asm
0186  BA DA 03       mov dx,03DAh
0189  B3 09          mov bl,09h
018B  AD             lodsw
018C  8B E8          mov bp,ax
018E  EC             in  al,dx
018F  D0 D8          rcr al,1
0191  72 FB          jb  018Eh
0193  FA             cli
0194  EC             in  al,dx
0195  22 C3          and al,bl
0197  75 FB          jne 0194h
0199  8B C5          mov ax,bp
019B  AB             stosw
019C  FB             sti
019D  E2 EC          loop 018Bh
```

This path is selected only if `[0103h]` is nonzero. It is not selected in the
examined file, but it explains what TheDraw was prepared to do for CGA-era
hardware.

The copy is one text cell at a time:

```c
dx = 0x03DA;        // CGA status register
bl = 0x09;          // mask display-enable bit 0 and vertical-retrace bit 3

do {
    ax = *src++;
    bp = ax;

    do {
        al = inportb(dx);
        carry = al & 1;
    } while (carry);

    disable_interrupts();

    do {
        al = inportb(dx);
    } while (al & 0x09);

    ax = bp;
    *dest++ = ax;

    enable_interrupts();
} while (--cx != 0);
```

The intent is to write during a small safe interval instead of while active CGA
display fetch is reading the same memory. Old CGA adapters could show "snow"
when the CPU wrote to display memory at the wrong time. The status-port loops
try to wait until the display-enable and vertical-retrace status bits are both
clear, then write one word with interrupts briefly disabled.

For this cracktro the byte at `0103h` is zero, so the snow-safe path is dead
code. That also fits the visible result: a full text page is copied quickly,
with no observable per-character draw.

## Text Page Contents

The embedded page uses only six attribute bytes:

```text
01h  blue
08h  dark grey
0Bh  bright cyan
0Ch  bright red
0Eh  bright yellow
0Fh  bright white
```

The visible layout:

```text
rows 03..08  yellow UGC block logo
row 05       white "Proudly Presents:"
rows 10..19  grey STRIKE EAGLE title and white aircraft / "2" shape
row 21       white slogan
row 22       red "Ford Prefect"
rows 23..24  stored as blank page data, not copied by the executable
```

Approximate row dump from the embedded text page:

```text
03  UGC block letters begin
05  UGC block letters + "Proudly Presents:"
07  UGC block logo closes
10  aircraft / right-side line art begins
11  STRIKE EAGLE title starts
15  title body and large "2" meet
19  title body ends
21  "The first of many cracks to come"
22  Ford Prefect
```

The Demozoo screenshot's bottom two lines are not part of that copied layout.
The display stub returns through `INT 21h/AH=4Ch`; DOS then prints the prompt
in rows the stub never touched.

## Why The Prompt Survives

The screen after running from a shell can be modeled like this:

```text
before UGC-SE2.COM:
    row 23 may contain "C:\>UGC-SE2.COM"
    row 24 may contain "C:\>"

during UGC-SE2.COM:
    rows 0..22 overwritten from the embedded page
    rows 23..24 unchanged

after UGC-SE2.COM:
    DOS prompt remains or is redrawn in the unchanged bottom rows
```

So the prompt residue is a side effect of the 23-row TheDraw header, not an
intentional footer.

This is the same family of behavior as the International Network of Crackers
TheDraw COM cracktros in the project, but with a different wrapper situation:
there is no preserved batch file here to clear the screen or wait for a key.
The `.COM` is self-contained and exits immediately.

## What It Does Not Do

The preserved `UGC-SE2.COM` does not:

- install an interrupt handler
- wait for keyboard input
- run or load `Strike Eagle II`
- patch a disk sector or child executable
- decode compressed screen data
- animate text or graphics
- program VGA/EGA/CGA palette registers
- use a timer, speaker, or sound device

Everything visible is already stored as plain text-mode cell data. The runtime
work is video-mode validation plus a row-limited memory copy.

## Inner Loop Summary

The complete practical runtime is:

```text
1. Jump past TheDraw header.
2. Query current video mode.
3. Accept mode 2, mode 3, or mode 7 only.
4. Select B800h for colour text or B000h for mono text.
5. Point SI at the embedded page.
6. Copy 80 words per row with REP MOVSW.
7. Repeat for 23 rows.
8. Leave rows 23 and 24 unchanged.
9. Exit to DOS immediately.
```

For August 1989 this is not technically ambitious code, but it is historically
useful because it shows how a PC cracktro could be built out of a generic
text-art exporter. The authored identity is in the CP437 layout; the executable
core is a reusable 113-byte display stub.
