Analysis model: gpt-5.5 xhigh

Bubble Bobble Cracktro by The Humble Guys - Technical Dissection

Bubble Bobble Cracktro is a 7 February 1990 MS-DOS cracktro / loader by The Humble Guys. Demozoo lists it as a The Humble Guys MS-DOS cracktro released on 7 February 1990, marks the release date as file-date based, tags it as a first-production, and credits Fabulous Furlough for the crack. The Scene.org archive is demos/compilations/lost_found_and_more/cracktro/bubble_bobble_cracktro.zip.

Release year: 1990.

Sources:

This is historically useful because it is a very early THG release, but the program itself is deliberately tiny. The visible effect is a static, BIOS text-mode colour-bar screen. There is no music, no timer interrupt, no scroller, and no direct B800h copy loop. The technical interest is in how little code it uses: a 15-byte XOR decode stub, a generated stream of BIOS text-cell draw calls, six DOS string writes, a key wait, and a rough DOS EXEC handoff to the game file.

Demozoo's comments include a later note from Fabulous Furlough saying the screen design was inspired by a C64-style border-colour-bar trick. The PC code does not do raster timing; it imitates the idea with rows of CP437 half-block characters.

Visual References

Time Image Notes
00:00.000 Bubble Bobble Cracktro public Demozoo frame Public Demozoo still of the rendered text-mode colour-bar screen. The program reaches this static state immediately, then waits for a key.

Generated execution map:

Bubble Bobble Cracktro COM pipeline map

No local DOSBox timing capture was needed for this pass. The screen has one visible state, so the 00:00.000 marker means "after the generated BIOS draw stream has completed", not a measured animated timeline.

Archive Shape

The examined Scene.org ZIP is 2,745 bytes:

BUBBLE.COM   3073 bytes  1990-02-07 10:20
BUBBLE.NFO    598 bytes  1990-02-07 11:31
INTRO.TXT    1608 bytes  1990-01-27 00:09

SHA-256:

650519ec21927852bca1430586906381db951f70518ac94c47b050267682a379  bubble_bobble_cracktro.zip
e3d298a32520a3ea049ec903b76e653c16e590e818f6285e0ac19024c9be1910  BUBBLE.COM
bddf0018cea9a545e32c58b26e04792f456d10492b3c7772d4a33e56d31658e9  BUBBLE.NFO
87c235789e5be3932d93e0677bf210686fe5e43cbfba35441d9268c994d1ab5c  INTRO.TXT

BUBBLE.NFO is plain CRLF text. It contains release metadata, greetings, and old contact details. I am not reproducing those contact lines here; the file has three phone-number-like tokens.

INTRO.TXT is an old BBS advertisement sidecar. It is not referenced by BUBBLE.COM, and I am not reproducing its contact material either.

BUBBLE.COM references only one external runtime child:

Bubble.mcf

That child is not in the public ZIP. In isolation, the loader can draw the THG screen and wait for a key, but the actual game handoff is incomplete.

Offset Convention

This is a flat COM program. File offset 0000h loads at runtime offset 0100h in the PSP segment.

I use runtime offsets in the disassembly below:

runtime 0100h == file offset 0000h
runtime 010Fh == file offset 000Fh, first decoded instruction
runtime 0A8Fh == post-key loader path
runtime 0AD2h == first DOS string
runtime 0BA2h == mode-3 helper
runtime 0BA9h == cursor helper

The executable is obfuscated, but only lightly. The first 15 bytes are readable code; almost the entire rest of the file is XORed with 45h.

The 15-Byte XOR Decoder

The file starts with this COM stub:

0100  be 0f 01        mov si,010fh
0103  bf 0f 01        mov di,010fh
0106  b9 01 0c        mov cx,0c01h
0109  ac              lodsb
010a  34 45           xor al,45h
010c  aa              stosb
010d  e2 fa           loop 0109h

The inner loop is deliberately minimal:

  1. LODSB reads the next encoded byte from DS:SI and increments SI.
  2. XOR AL,45h decodes it.
  3. STOSB writes it back through ES:DI and increments DI.
  4. LOOP decrements CX and repeats until zero.

There is no branch table, checksum, relocation pass, or secondary compressor. It is simply in-place XOR.

The count is odd. BUBBLE.COM is 0C01h bytes long, and the encoded region physically present in the file is only:

file 000Fh..0C00h  = 0BF2h bytes
runtime 010Fh..0D00h

The decoder asks for 0C01h bytes starting at 010Fh, so in DOS memory it also touches 0D01h..0D0Fh, 15 bytes past the physical file image. Nothing reachable uses those decoded overrun bytes. This looks like a size constant copied from the whole COM length rather than from "file length minus stub length."

After the loop, control naturally falls through to the first decoded instruction at 010Fh.

Runtime Layout After Decode

The decoded file has this useful shape:

0100-010E  XOR 45h decoder stub
010F-0A8E  generated screen renderer and key wait entry
0A8F-0AC2  DOS memory resize / EXEC / exit path
0AC4-0AC5  storage for allocated segment
0AC6-0AD1  ASCIIZ child filename, "Bubble.mcf"
0AD2-0BA1  $-terminated DOS strings
0BA2-0BA8  BIOS mode-3 helper
0BA9-0BAF  BIOS set-cursor helper
0BB0-0D00  decoded but unreachable trailing bytes

The tail after 0BB0h disassembles as plausible-looking but nonsensical 8086 fragments. I found no branch or call target into it from the executed path. The last real helper returns at 0BAFh.

Mode Setup Helper

The first decoded instruction calls the clear-screen helper:

010f  e8 90 0a        call 0ba2h

The helper is just BIOS video mode 3:

0ba2  b4 00           mov ah,00h
0ba4  b0 03           mov al,03h
0ba6  cd 10           int 10h
0ba8  c3              ret

Mode 3 gives an 80x25 colour text page. On the public capture this is displayed as 640x400, i.e. 80 columns by 25 rows with an 8x16 font.

Cursor Helper

Almost every draw record loads DH and DL, then calls 0BA9h:

0ba9  b4 02           mov ah,02h
0bab  b7 00           mov bh,00h
0bad  cd 10           int 10h
0baf  c3              ret

DH is the row, DL is the column, and page BH is always zero. This makes the generated renderer verbose but easy to decode: every span sets its cursor position before writing.

BIOS Block-Write Inner Loop

The colour bars and CP437 boxes are drawn with BIOS INT 10h/AH=09h. A typical draw command looks like this:

0112  b6 00           mov dh,00h        ; row
0114  b2 00           mov dl,00h        ; column
0116  e8 90 0a        call 0ba9h        ; set cursor
0119  b0 dc           mov al,0dch       ; CP437 lower half block
011c  b3 0a           mov bl,0ah        ; bright green foreground, black bg
0120  b9 50 00        mov cx,0050h      ; 80 cells
0123  b4 09           mov ah,09h
0125  b7 00           mov bh,00h
0127  cd 10           int 10h

The repeated call contract is:

AL = character code
BL = text attribute
BH = display page, always 0
CX = repeat count
current cursor = destination row/column
INT 10h AH=09h writes CX cells

The cracktro emits 107 of these BIOS block writes before the key wait.

Important characters:

0DCh  lower half block, used for coloured horizontal bars
0DAh  top-left box corner
0BFh  top-right box corner
0C0h  bottom-left box corner
0D9h  bottom-right box corner
0C4h  horizontal line
0B3h  vertical line

The lower half block is the whole visual trick. The character cell foreground is brightly coloured, the background is black, and glyph DCh lights only the lower half of each text row. On an 8x16 text font, each character row becomes a black stripe above a coloured stripe. Repeating that across successive rows creates the C64-like colour-bar look without raster timing.

Screen Geometry

A small emulator for just INT 10h/AH=09h and INT 21h/AH=09h recovers these high-level screen events:

mode set calls             1
cursor-position calls    108
BIOS block writes        107
DOS string writes          6
keyboard waits             1

The resulting authored screen:

row 00  full-width DCh bar, attribute 0Ah
row 01  full-width DCh bar, attribute 0Bh
row 02  bars plus top of title box, columns 20..59
row 03  bars plus title-box side walls
row 04  title string inside title box
row 05  blank row inside title box
row 06  "Present" string inside title box
row 07  blank row inside title box
row 08  game title string inside title box
row 09  blank row inside title box
row 10  bottom of title box
row 11  middle colour bar with a 40-cell attribute-06h middle span
row 12  full-width DCh bar
row 13  top of credit box, columns 24..56
row 14  credit string inside credit box
row 15  bottom of credit box
row 16  full-width DCh bar
row 17  top of members box, columns 00..78, plus right-edge colour cell
row 18  members string inside members box
row 19  bottom of members box
row 20  full-width DCh bar with a wide blue middle span
row 21  top of key-prompt box, columns 27..52
row 22  key prompt inside key-prompt box
row 23  bottom of key-prompt box
row 24  final colour bar

The boxes are not stored as text pages. They are encoded directly as generated instruction sequences. That explains the file shape: the code is longer than a compact data-driven renderer would be, but it needs no runtime parser.

DOS String Writes

The captions are not emitted by INT 10h/AH=09h. For text, the program sets a cursor position, loads DX with a $-terminated string, and calls DOS INT 21h/AH=09h.

The six string writes:

0590  row 04 col 32  DX=0AD2h  The Humble Guys!
05A0  row 06 col 36  DX=0AE3h  Present
05B0  row 08 col 33  DX=0AEBh  Bubble Bobble!
078B  row 14 col 26  DX=0AFAh  Broken by Fabulous Furlough!
08C5  row 18 col 01  DX=0B17h  members line
0A89  row 22 col 29  DX=0B65h  Press any Key to Load!

The member line is one long $-terminated string. It exactly fills the inside of the row-17..19 box from column 1 through column 77.

There is no custom glyph loop here. Text comes from DOS console output using the active BIOS font.

Key Wait

After drawing the final prompt, the program waits with BIOS keyboard service INT 16h/AH=00h:

0a8b  b4 00           mov ah,00h
0a8d  cd 16           int 16h

No timer is polled while waiting. No visual state changes after the screen is complete. This is a static loader card, not an animated intro.

DOS EXEC Handoff

After a key press, the loader tries to prepare memory and execute Bubble.mcf:

0a8f  0e              push cs
0a90  07              pop es
0a91  bb 00 01        mov bx,0100h
0a94  b4 4a           mov ah,4ah
0a96  cd 21           int 21h
0a98  72 28           jb 0ac2h

0a9a  bb 00 10        mov bx,1000h
0a9d  b4 48           mov ah,48h
0a9f  cd 21           int 21h
0aa1  72 1f           jb 0ac2h
0aa3  a3 c4 0a        mov [0ac4h],ax

0aa6  b8 00 4b        mov ax,4b00h
0aa9  ba c6 0a        mov dx,0ac6h
0aac  cd 21           int 21h

The first DOS call shrinks the parent memory block to 0100h paragraphs, which is 4096 bytes. That leaves the resident COM, PSP, and stack in a compact block.

The second call allocates 1000h paragraphs, i.e. 64 KiB. If DOS allocates the new block immediately after the resized parent block, the physical address CS:1000h is the same as allocated_segment:0000h. Since ES is still CS and BX still holds 1000h, this gives EXEC a parameter-block pointer at the new block's start without normalizing ES:BX.

That is a clever but rough handoff. The code does not visibly initialize a DOS EXEC parameter block. It appears to rely on a benign or zeroed block in the release environment. It also does not check the carry flag after EXEC.

The child filename is a normal ASCIIZ string:

0AC6  "Bubble.mcf",00

Because Bubble.mcf is absent from the examined ZIP, the public package cannot show the real post-crack game transfer. The loader path itself is still clear.

Return And Exit

After the EXEC call returns, successful or not, the loader frees the allocated block and prints a final message:

0aae  8e 06 c4 0a     mov es,[0ac4h]
0ab2  b4 49           mov ah,49h
0ab4  cd 21           int 21h
0ab6  e8 e9 00        call 0ba2h        ; mode 3 again
0ab9  b4 09           mov ah,09h
0abd  ba 7c 0b        mov dx,0b7ch
0ac0  cd 21           int 21h
0ac2  cd 20           int 20h

0B7Ch points at the final $-terminated thank-you string. Then INT 20h exits through DOS.

The error exits from the memory-resize and allocation calls jump straight to 0AC2h, so those failures do not redraw the screen or print the final message.

Sidecar Boundary

BUBBLE.NFO matters historically, but it is not executable code. Demozoo and the THG group page both connect early THG releases with the emerging .NFO practice. In this ZIP, the NFO is a short plain-text release note with old contact material. It is outside the COM runtime path.

INTRO.TXT is also outside the COM runtime path. The COM contains no plain INTRO string, no DOS open/read sequence for it, and no branch that points to a text-file renderer. Its role is archival/distribution-side, not part of the loader screen.

What The Code Does, Condensed

  1. DOS loads BUBBLE.COM at PSP:0100h.
  2. The 15-byte stub XOR-decodes from 010Fh onward with key 45h.
  3. The decoded renderer sets text mode 3.
  4. It emits 107 BIOS repeated-cell writes for bars and boxes.
  5. It emits six DOS $-string writes for titles, credit, member line, and prompt.
  6. It waits for one key via INT 16h/AH=00h.
  7. It shrinks its memory block to 4 KiB.
  8. It allocates a 64 KiB block and stores the returned segment.
  9. It calls DOS EXEC on Bubble.mcf, with a nonstandard parameter-block setup.
  10. It frees the allocated block, resets text mode, prints the final message, and exits.

The important negative result is just as clear: there is no hidden animation kernel here. The "effect" is a generated text-mode colour composition, produced by straightforward BIOS calls after a one-byte XOR decode.