Analysis model: gpt-5.5 xhigh

Ultima 3 Cracktro / ESP Load Cracks Version 2.0 by ESP Pirates - Technical Dissection

Ultima 3 Cracktro is an early MS-DOS CGA cracktro credited to E.S.P. / ESP Pirates and Mr. Peace. Pouet lists it as an MS-DOS 32K cracktro released in 1986. Demozoo lists the related ESP Load Cracks Version 2.0 cracktro entry as released in 1988, tagged for ultima-iii-exodus, with Mr. Peace credited for the crack. The binary itself contains a 1988 copyright/version string.

Release year: 1986 by Pouet; 1988 by Demozoo and internal version string.

This article treats the exact year as conflicted and uses the production as a pre-1990 IBM PC cracktro specimen. The static intro screen is fully verified from the executable bytes; the later game-loader code is only sampled enough to show the handoff.

Sources

The public screenshots and the binary contain old BBS/phone contact text. The derived images in this repo intentionally mask that block.

Examined Files

Archive:

a3dec34648d9fef69406821178852a9f5fb6093c957d89a1d25a59b81e3fc5cd  ultima_3_cracktro.zip

Extracted files:

8bf68f5c4d44e537b8fb7518325b8d56b9bb11b387a80e6665df7900e6173571  LOAD.COM
44ab59a8e56d61fff31cb73472f5b5f133e28ce85513593659d30244eb15beb2  LOADUP.ESP

Public/derived image hashes:

b1d89e757c56cdead9ff0579dbf84ce89f5878ce9a94325a57b2e1e92a011477  Demozoo screenshot copy
37136e150ee32b5fec5852857bfd11cfc10db05ec616d84859eee9d2aff7f521  esp-ultima3-cracktro-masked.png
555918e02273a67676163aa0827e98d75220d49eec315971e646a085c36db1dc  esp-ultima3-cracktro-layout-map.png

Archive contents:

LOAD.COM      20365 bytes  cracktro shell / front loader
LOADUP.ESP    37863 bytes  patched game loader/program image

Both files are .COM-style flat binaries. LOAD.COM starts with a near jump over embedded data:

file+0x0000: e9 e6 0b    ; COM origin 0100h, jump to 0ce9h

Public Visual

Masked decoded CGA frame for Ultima 3 Cracktro / ESP Pirates

Ultima 3 Cracktro / ESP Pirates decoded CGA page map

The frame is not a screenshot reconstruction guess. It is decoded directly from LOAD.COM:

COM address: 0x0f80
file offset: 0x0e80
length:      0x4000 bytes
target:      B800:0000
mode:        BIOS 10h mode 04h, 320x200 CGA four-colour graphics

The decoded page uses the normal CGA cyan/magenta/white palette family. The visible production is a static screen: crack credit text, peace-symbol bitmap, large Mr. Peace text, and a bottom prompt/contact block. The bottom block is masked in the public derived images.

Startup Path

The executable begins at COM address 0x0ce9:

0ce9  lea  sp,[0235h]
0ced  call 03b7h        ; DOS version guard
0cf0  call 03cbh        ; save byte near F000:FFFE / machine state probe
0cf3  call 03dbh        ; save current video mode through INT 10h AH=0Fh
0cf6  call 03e4h        ; save BIOS equipment byte at 0040:0010
0cf9  jmp  0f00h        ; show cracktro screen first

The code sets its own stack very low in the COM segment. That is normal here: the high part of the file contains the 16 KB screen payload, so the loader does not want an inherited DOS stack wandering into its data.

The DOS guard at 0x03b7 asks for the DOS version:

03b7  mov ah,30h
03b9  int 21h
03bb  cmp al,02h
03bd  jae 03c9h
03bf  lea dx,[0391h]
03c3  mov ah,09h
03c5  int 21h
03c7  int 20h

If the major version is below 2, it prints a complaint and exits. That is a loader compatibility check, not part of the visual show.

Static CGA Page Copy

The intro display routine is at 0x0f00:

0f00  push bx/cx/dx/si/di/es
0f07  mov ax,0004h
0f0a  int 10h             ; CGA 320x200 4-colour graphics
0f0c  mov ah,11h
0f0e  mov bx,0100h
0f11  int 10h             ; font/character generator BIOS call, harmless here
0f13  cli
0f14  mov ax,0b800h
0f17  mov es,ax
0f19  mov si,0f80h        ; source page inside LOAD.COM
0f1c  xor di,di

The inner loop is as simple as it gets:

0f1f  mov ax,cs:[si]
0f22  mov es:[di],ax
0f25  inc si
0f26  inc si
0f27  inc di
0f28  inc di
0f29  cmp di,4000h
0f2d  jne 0f1fh

That copies 8192 words, or exactly 0x4000 bytes, into CGA video memory. There is no decompressor, no font plotter, no line routine, and no animation. The entire visual effect is precomposed.

For 1986/1988 PC cracktro code, this is sensible engineering:

The loop uses explicit inc instructions rather than rep movsw. That is slower on paper but still trivial for a 16 KB one-shot copy, and it keeps the copy body easy to patch or relocate.

After the copy:

0f2f  sti
0f31  pop es
0f32  xor ax,ax
0f34  int 16h             ; wait for key
0f36  pop di/si/dx/cx/bx/ax
0f3c  jmp 0cfch           ; continue loader path

The production's first phase is therefore:

save environment
set CGA mode
copy raw page to B800h
wait for key
start patched loader

CGA Page Format

CGA mode 04h stores four pixels per byte:

bits 7..6  pixel x + 0
bits 5..4  pixel x + 1
bits 3..2  pixel x + 2
bits 1..0  pixel x + 3

The 16 KB page is split into two 8 KB scanline banks:

B800:0000  even scanlines
B800:2000  odd scanlines

Addressing for a logical pixel is:

bank  = (y & 1) ? 0x2000 : 0x0000;
row   = (y >> 1) * 80;
byte  = bank + row + (x >> 2);
shift = 6 - ((x & 3) * 2);

Because LOAD.COM copies the whole 16 KB page, it does not care about this addressing at runtime. The addressing matters only for decoding the stored page and for understanding why the stored screen is exactly 0x4000 bytes.

Loader Continuation

After the keypress, execution lands at 0x0cfc. This code is more of a loader stub than a cracktro visual effect:

0cfc  call 0344h       ; save INT 1Eh vector
0cff  call 035fh       ; copy current vector bytes
0d02  call 0599h       ; compute required paragraph count
0d05  call 05cfh       ; check available DOS memory
0d08  call 061dh       ; save port 61h speaker/control latch
0d0b  call 0634h       ; save PIC mask port 21h
0d0e  call 0643h       ; save BIOS keyboard flags
0d11  call 095eh       ; save interrupt vectors 00h..80h
0d14  call 067eh       ; save selected hardware interrupt vectors
0d17  call 072eh       ; install temporary handlers
0d1a  call 0999h       ; resize DOS memory block
0d1f  call 09b5h       ; prepare DOS EXEC parameter block
0d22  int  21h         ; AX=4B00h, execute loadup.esp

The filename for the child program is embedded near 0x0248:

loadup.esp

The 0x09b5 helper prepares the DOS EXEC call:

09b5  mov [09a7h],ax        ; environment/parameter fields
09b8  mov [09abh],cs
09c0  mov [09afh],cs
09c3  mov [09b3h],cs
09c6  lea dx,[0248h]        ; "loadup.esp"
09ca  mov bx,09a7h          ; EXEC parameter block
09cd  mov ax,4b00h
09d0  ret

This is the key structural point: LOAD.COM is not the whole crack. It is a front shell that shows a raw CGA advertisement screen, then EXECs LOADUP.ESP.

Environment Restoration

The shell saves more state than a pure static viewer would need, because it is about to chain into a patched game. Examples:

03db  mov ah,0fh
03dd  int 10h        ; save current video mode in byte at 03dah

03e4  mov ax,0040h
03e8  mov es,ax
03ea  mov al,es:[0010h]
03ee  mov [03e3h],al ; save BIOS equipment byte

061d  in  al,61h
0620  mov cs:[061ch],al

0634  in  al,21h
0637  mov cs:[0633h],al

At the end of the loader path, it restores the video/equipment state and exits through DOS with the recorded return code:

0d3d  call 097ah       ; restore interrupt vectors
0d40  call 0374h       ; restore INT 1Eh bytes
0d43  call 03f3h       ; restore BIOS equipment byte and video mode
...
0d6d  mov ah,4ch
0d6f  int 21h

This careful save/restore path is a useful historical marker. Even this small cracktro is already structured as a wrapper around another DOS program, not as a disposable one-screen .COM that just exits.

LOADUP.ESP Handoff Evidence

LOADUP.ESP is also a COM-style program:

file+0x0000: e9 dc 5b    ; COM origin 0100h, jump to 5cdfh

It contains original game/resource filenames:

BLANK.IBM
EXOD.IBM
NAME.DAT
ANIMATE.DAT
BOOTUP.COM

Its entry routine reads those files and copies data into a segment stored at [4115h]:

5d3f  lea bx,[0115h]
5d43  mov cx,4000h
5d46  lea dx,[5a2eh]     ; "BLANK.IBM"
5d4a  call 8cadh        ; DOS FCB-style file read helper

5d4d  push es
5d4e  mov si,bx
5d50  xor di,di
5d53  mov es,[4115h]
5d57  shr cx,1
5d59  rep movsw         ; copy 16 KB page/buffer

It then builds a 100-row CGA row-offset table:

5d5c  lea di,[5a61h]
5d60  mov cx,0064h
5d63  xor ax,ax
5d66  stosw             ; even row base
5d67  add ax,2000h
5d6a  stosw             ; odd row base
5d6b  add ax,e050h      ; net next row-pair advance
5d6e  loop 5d66h

The helper at 0x5f33 plots a single CGA pixel by ORing a two-bit mask into the correct byte:

5f39  mov al,cl
5f3b  shr al,1
5f3d  shr al,1          ; x / 4
5f3f  mov ah,0c0h       ; leftmost two-bit pixel mask
5f41  and cl,03h
5f44  shl cl,1
5f46  shr ah,cl         ; choose bit pair
5f48  mov bl,ch         ; y
5f4c  shl bx,1
5f4e  mov bx,[5a61h+bx] ; row base from table
5f52  add bl,al
5f57  or  es:[bx],ah

That is not part of the static ESP advertisement page. It belongs to the continued game/loader program. It proves, however, that the package stays in CGA territory after the cracktro and uses the normal even/odd bank mapping.

What Makes It Useful

This is not fancy in the 1992 VGA sense. It is useful because it shows a very early PC cracktro architecture in exact bytes:

The inner loop is deliberately boring:

AX = screen_word[SI]
B800[DI] = AX
SI += 2
DI += 2
repeat until DI == 0x4000

That is the point. Before the PC demoscene vocabulary of scrollers, music IRQs, and vector effects became common, a cracktro could be a loader wrapper plus one static screen. The production still matters because it documents the exact technical baseline later PC intros grew from.

Verification Boundary

Verified here:

Not fully verified here: