Analysis model: gpt-5.5 xhigh

AutoDuel Cracktro by The Grand Council - Technical Dissection

AutoDuel Cracktro is a 4 October 1988 MS-DOS cracktro / loader credit by The Grand Council. Demozoo lists it as a The Grand Council production released on that date, tagged as a .bat production, with text credited to Slippery Jim. The preserved Scene.org archive is very small: a batch file, a CP437 text card, and a generic LOADIT.COM launcher.

Release year: 1988.

Sources:

This is not a raster, music, or scroller demo. The Grand Council layer is a static text-mode release card printed by TYPE GRAND.CRK; the actual child program handoff is delegated to LOADIT.COM.

There is also an important date boundary. GRAND.CRK and Demozoo's release metadata point to October 1988, but the unpacked LOADIT.COM identifies itself as a 1991 Software Pirates universal game loader. So the preserved package should not be described as one coherent hand-written 1988 executable. It is a 1988 Grand Council text card plus a later-looking generic loader in the same archive.

The original public screenshot and the text card contain old BBS/contact material. I am not reproducing those rows here. The public image below keeps the layout and credits but redacts the contact block.

Visual References

Time Image Notes
00:00.000 AutoDuel Cracktro reconstructed text screen with contact rows redacted Generated CP437/text-mode reconstruction from GRAND.CRK; contact and phone rows are redacted. This is a static screen, not an animation timestamp.

Generated archive and loader map:

AutoDuel Cracktro batch/text/LOADIT flow map

No local DOSBox timing capture was needed for this pass. The visible Grand Council part is a single text card, and the useful moving boundary is the loader's byte-level handoff, not a timed visual effect.

Archive Shape

The examined Scene.org ZIP is 3,829 bytes:

GRAND.CRK     873 bytes  1988-10-04 17:37
LOADIT.COM   3939 bytes  1987-05-20 12:00
RUNME.BAT     118 bytes  1988-11-05 13:35

Scene.org's file-info page reports the archive as 3,829 bytes (3.74K) with file date 2022-06-26 13:38:17. The ZIP member dates are more useful for the old package timeline, but the loader's internal text is stronger evidence than the 1987-05-20 DOS timestamp on LOADIT.COM.

SHA-256:

1f1cec1ccc2c5866bc07b35259fc5b38a37077f45d3a253b49d0949aa1c0913a  autoduel_cracktro.zip
f6bc5d28370b611564bf8c3f6f9516a5c0b74ff9b1cb79e44822ab18d96a8452  GRAND.CRK
1153a6eda1ee0462cb6294c0f8b4bef683d84514c261007c2f83803cdea36b42  LOADIT.COM
32e2555489348551f10c436c70780b26fa7b9b2eee36a3e11d5b732ee4798acf  RUNME.BAT

RUNME.BAT

The batch file is the real top-level intro driver:

echo off
cls
type grand.crk
pause
loadit autoduel.com
cls
echo Thanx for choosing The Grand Council!
echo on

The sequence matters:

  1. It clears the current DOS text screen.
  2. It prints GRAND.CRK through DOS's TYPE, so tab expansion, line wrapping, and current console mode are DOS/BIOS behaviours, not custom code.
  3. It pauses. The "press any key" gate is COMMAND.COM's PAUSE, not a Grand Council keyboard loop.
  4. It runs LOADIT with autoduel.com as the command-tail target.
  5. After LOADIT returns, it clears the screen and prints one final group thank-you line.

So the authored visible intro is the text file. LOADIT.COM is the deeper technical object, but it is a generic loader layer rather than Grand Council's text-card renderer.

GRAND.CRK Text Card

GRAND.CRK is plain CP437-era console text, not ANSI:

size              873 bytes
line count        25 after CR/LF splitting
maximum line       74 characters before tab expansion
escape bytes       none
high CP437 bytes   none

It uses tabs for centering and spacing. The visible structure is:

line 01       repeated /\| border
lines 02-03   crack / group title
lines 06-11   member list
line 13       lead-in to BBS/contact block
lines 15-21   contact rows, deliberately omitted here
line 23       sign-off
line 24       repeated /\| border

Because RUNME.BAT uses TYPE, the file is not a self-describing 80-column screen. The final look depends on the active text mode and tab stops. In the usual 80-column DOS console, tab expansion produces the centered card visible in the reconstructed image above.

There are no colour attributes in GRAND.CRK. Any colour seen in a capture is the current console state, not data stored in the file.

LOADIT.COM Scope

LOADIT.COM begins as a flat COM image loaded at PSP segment offset 0100h. The first bytes are not the main program:

0100  e9 a8 0e        jmp 0FABh

The visible string immediately after that says:

LOADIT 1.1 - Universal Game Loader
Game loader release 1.23
(C) Copyright 1991, Software Pirates, Inc.

The 1991 string is why I treat this loader as a nested artifact inside the archive rather than as the 1988 Grand Council intro itself.

Loader Unpack Stub

The entry jump lands at runtime 0FABh, near the end of the COM file. The stub is deliberately trickier than a straight xor byte ptr [si],41h loop. It reads the interrupt-vector table, temporarily pivots the stack into low memory, uses HLT/interrupt timing, patches a short-jump path, and then decrypts the main body in place.

The useful final decode parameters are stored in already-loaded bytes:

[0103] = 0174h    decoded body start
[0172] = 0E37h    decoded byte count
normal byte key   41h

The core decode loop is at runtime 1058h..105Eh:

103e  8b 1e 00 01     mov bx,[0100h]       ; key material after stub setup
1042  8b 0e 72 01     mov cx,[0172h]       ; 0E37h bytes
1046  8b 36 03 01     mov si,[0103h]       ; 0174h
104a  8b fe           mov di,si
104c  0e              push cs
104d  07              pop es
...
1058  ac              lodsb
1059  32 c7           xor al,bh
105b  32 c3           xor al,bl
105d  aa              stosb
105e  e2 f8           loop 1058h
1060  e9 41 fe        jmp 0EA4h

The inner loop is exactly:

  1. Read one encoded byte from DS:SI.
  2. XOR with BH.
  3. XOR with BL.
  4. Store the result back to ES:DI.
  5. Repeat for CX = 0E37h.

Since XOR is associative, the body is effectively decoded by encoded_byte ^ (BH ^ BL). For this preserved file the validated resulting byte key is 41h: XORing runtime 0174h..0FAAh with 41h produces the readable Software Pirates strings and valid 8086 code at 0EA4h.

That gives this body geometry:

COM file size                 0F63h bytes
encoded body file offset       0074h
encoded body runtime start     0174h
encoded byte count             0E37h = 3639 bytes
decoded body runtime end       0FAAh
tail unpacker runtime start    0FABh
decoded main entry             0EA4h

The first 74h file bytes stay mostly readable because they are outside the decoded range. The decoded body overwrites the encoded program but not the unpacker tail.

Decoded Main Entry

After unpacking, execution jumps to 0EA4h. The top-level sequence is compact but broad:

0ea4  2b ed           sub bp,bp
0ea6  8b c4           mov ax,sp
0ea8  fa              cli
0ea9  8e d5           mov ss,bp          ; temporary SS=0000h stack trick
0eab  bc 08 00        mov sp,0008h
0eae  50              push ax
0eaf  0e              push cs
0eb0  58              pop ax
0eb1  5c              pop sp
0eb2  8e d0           mov ss,ax          ; restore SS=CS
0eb4  fb              sti
0eb5  e8 d1 00        call 0F89h         ; DOS version gate
0eb8  e8 e1 00        call 0F9Ch         ; read BIOS model byte F000:FFFE
0ebb  e8 d3 f4        call 0391h         ; parse PSP command tail
...
0ef7  e8 4f f9        call 0849h         ; save INT 00h..7Fh table
0efa  e8 c4 f8        call 07C1h         ; save key vectors separately
0efd  e8 f8 f8        call 07F8h         ; install loader handlers
0f00  e8 81 f9        call 0884h         ; shrink memory block
0f05  e8 98 f9        call 08A0h         ; build EXEC parameter block
0f08  cd 21           int 21h            ; AH=4B00h, execute child

The immediate target of the archive's batch file is therefore:

LOADIT.COM command tail:  autoduel.com
DOS service:              INT 21h / AH=4B00h EXEC

autoduel.com is not in this cracktro ZIP. The preserved intro package can show the Grand Council card and run the generic loader, but the intended game payload is external.

Command-Tail Parser

The parser at 0391h reads the PSP command tail:

0391  fc              cld
0392  2a ed           sub ch,ch
0394  8a 0e 80 00     mov cl,[0080h]      ; PSP command-tail length
0398  bf 81 00        mov di,0081h
039b  b0 20           mov al,20h
039d  f3 ae           repe scasb          ; skip leading spaces
039f  e3 37           jcxz no_file
03a1  8b df           mov bx,di
03a3  4b              dec bx
03a4  89 1e 76 03     mov [0376h],bx      ; target filename pointer
03a8  f2 ae           repne scasb         ; scan to next space
03aa  8b df           mov bx,di
03ac  e3 01           jcxz 03AFh
03ae  4b              dec bx
03af  c6 07 00        mov byte [bx],00h   ; terminate ASCIIZ target

Then it scans the remaining tail for slash options:

03b4  b0 2f           mov al,'/'
03b6  f2 ae           repne scasb
03ba  8a 25           mov ah,[di]
03bc  80 cc 20        or ah,20h           ; lowercase option
03bf  80 fc 62        cmp ah,'b'
03c4  c6 06 8f 03 00  mov byte [038Fh],0  ; /b disables colour probe path
03cb  80 fc 6d        cmp ah,'m'
03d0  c6 06 90 03 01  mov byte [0390h],1  ; /m changes vector restore path

If there is no filename, it prints a DOS $ string and exits through INT 20h.

Text and Number Helpers

The decoded loader has a simple DOS character writer:

0194  50              push ax
0195  52              push dx
0196  8a d0           mov dl,al
0198  b4 02           mov ah,02h
019a  cd 21           int 21h
019c  5a              pop dx
019d  58              pop ax
019e  c3              ret

The zero-terminated string printer at 019Fh is the standard byte loop:

019f  50              push ax
01a0  56              push si
01a1  fc              cld
01a2  ac              lodsb
01a3  0a c0           or al,al
01a5  74 05           jz done
01a7  e8 ea ff        call 0194h
01aa  eb f6           jmp 01A2h

There is also a compact number-formatting routine at 01D8h. It clears a small output buffer, copies the input bytes backward into a scratch area, then does repeated DIV BL to peel digits from least significant to most significant:

0221  2a e4           sub ah,ah
0223  8b 0e b1 01     mov cx,[01B1h]      ; input byte count
0227  be b5 01        mov si,01B5h
022a  8b fe           mov di,si
022c  fc              cld
022d  ac              lodsb
022e  f6 f3           div bl              ; BL = 10 or 16
0230  aa              stosb               ; store quotient for next round
0231  e2 fa           loop 022Dh
0233  b7 30           mov bh,'0'
...
0243  02 e7           add ah,bh           ; remainder -> ASCII digit
0247  5f              pop di
0248  fd              std
0249  aa              stosb               ; write digit backward
024b  e2 d2           loop 021Fh

It can print decimal or hex depending on the base byte. The memory-error path uses it to insert a required-kilobytes value before a DOS $ string.

Display Path

LOADIT contains two possible presentation paths:

  1. A binary SPI page path beginning at 0485h/0499h.
  2. A DOS text fallback beginning at 0585h.

The SPI test checks for an appended signature at runtime 1063h:

0485  fc
0486  8d 36 63 10     lea si,1063h
048a  8d 3e 82 04     lea di,0482h        ; "SPI"
048e  b9 03 00        mov cx,3
0491  f3 a6           repe cmpsb
0493  74 02           je ok
0495  f9              stc
0496  c3              ret

This preserved LOADIT.COM is exactly 0F63h bytes long, which maps to runtime end 1063h. There is no file-backed SPI block after it. In an isolated run of this archive, the robust interpretation is that the loader falls back to text.

The fallback text describes the generic loader's features, waits for a key with INT 16h/AH=00h, and then continues to the child EXEC.

Memory and EXEC Handoff

The loader computes its own paragraph footprint from 1037h:

046d  8d 1e 37 10     lea bx,1037h
0471  b1 04           mov cl,4
0473  d3 eb           shr bx,cl
0475  43              inc bx
0476  89 1e 63 04     mov [0463h],bx      ; paragraphs to keep
047a  8c c8           mov ax,cs
047c  03 c3           add ax,bx
047e  a3 6a 04        mov [046Ah],ax      ; first paragraph after loader

Before executing the child, it shrinks its DOS memory block:

0884  8b 1e 63 04     mov bx,[0463h]
0888  b4 4a           mov ah,4Ah
088a  cd 21           int 21h
088c  73 03           jae ok
088e  a3 bc 08        mov [08BCh],ax      ; remember DOS error

Then 08A0h builds the DOS EXEC parameter block:

08a0  a1 2c 00        mov ax,[002Ch]      ; PSP environment segment
08a3  a3 92 08        mov [0892h],ax
08a6  8c c8           mov ax,cs
08a8  a3 96 08        mov [0896h],ax      ; command tail segment
08ab  a3 9a 08        mov [089Ah],ax      ; FCB1 segment
08ae  a3 9e 08        mov [089Eh],ax      ; FCB2 segment
08b1  8b 16 76 03     mov dx,[0376h]      ; ASCIIZ child filename
08b5  bb 92 08        mov bx,0892h        ; parameter block
08b8  b8 00 4b        mov ax,4B00h
08bb  c3              ret

The static words around 0892h provide the offsets:

0892  environment segment, patched from PSP:[002Ch]
0894  0080h command-tail offset
0896  command-tail segment, patched to CS
0898  005Ch FCB1 offset
089A  FCB1 segment, patched to CS
089C  006Ch FCB2 offset
089E  FCB2 segment, patched to CS

Because this is a COM program, CS is also the PSP segment, so those PSP offsets are valid.

Interrupt Hook Layer

The loader saves and installs a lot more than a minimal EXEC wrapper.

0849h saves interrupt vectors 00h..7Fh into the table at 046Ch:

0849  fc
084a  b8 00 35        mov ax,3500h
084d  48              dec ax              ; first loop increment makes AL=00
084e  8d 3e 6c 04     lea di,046Ch
0852  40              inc ax
0853  50              push ax
0854  06              push es
0855  cd 21           int 21h             ; AH=35h get vector AL
0857  8c c0           mov ax,es
0859  07              pop es
085a  93              xchg ax,bx
085b  ab              stosw               ; offset
085c  8b c3           mov ax,bx
085e  ab              stosw               ; segment
085f  58              pop ax
0860  3c 80           cmp al,80h
0862  72 ee           jb 0852h

0865h is the corresponding restore loop. It walks the same table and calls INT 21h/AH=25h for each vector unless the /m option changes that path.

Separately, 07C1h saves the four active vectors the loader cares about most:

07AD  saved INT 13h
07B1  saved INT 08h
07B5  saved INT 09h
07BD  saved INT 10h

The installer at 07F8h first sets the DOS critical-error handler with INT 21h/AH=25h, AL=24h, then uses a low-memory stack trick to write several IVT entries:

07f8  b8 24 25        mov ax,2524h
07fb  ba 8c 0e        mov dx,0E8Ch
07fe  cd 21           int 21h             ; INT 24h critical error
0800  fa
0801  8b c4           mov ax,sp
0803  2b e4           sub sp,sp
0805  8e d4           mov ss,sp           ; SS=0000h
...
080d  8d 16 1d 0f     lea dx,0F1Dh
0811  bc 70 00        mov sp,0070h
0814  0e              push cs
0815  52              push dx             ; writes INT 1Bh vector
0816  ba 41 0e        mov dx,0E41h
0819  bc 50 00        mov sp,0050h
081c  0e
081d  52                                      ; writes INT 13h vector
0820  ba 05 0c        mov dx,0C05h
0823  bc 24 00        mov sp,0024h
0826  52                                      ; writes INT 08h vector
0827  ba ec 0c        mov dx,0CECh
082a  bc 44 00        mov sp,0044h
082d  52                                      ; writes INT 10h vector
082e  ba 14 0d        mov dx,0D14h
0831  bc 28 00        mov sp,0028h
0835  52                                      ; writes INT 09h vector
0836  8d 16 1f 03     lea dx,031Fh
083a  bc 18 00        mov sp,0018h
083e  52                                      ; writes INT 05h vector
0842  5c              pop sp
0843  8c c8           mov ax,cs
0845  8e d0           mov ss,ax
0847  fb

This is a very 8086-specific way to install handlers. Instead of addressing 0000:vector*4 through DS, it makes SS=0000h, chooses a stack pointer just past the target vector slot, then pushes CS:offset into the IVT.

Keyboard Inner Loop

The INT 09h handler at 0D14h reads raw keyboard scancodes from port 60h. It uses constants hidden in the loader's readable copyright/header bytes:

[0154] = 39h  => Alt make is 38h because handler compares AL+1
[0159] = 53h  => Del
[0162] = 50h  => Down arrow
[016E] = 2Eh  => C
[0150] = 68h  => Up arrow is 48h because handler compares AL+20h

The make-code path tracks modifier state:

0d18  e4 60           in al,60h
0d1a  3c 80           cmp al,80h
0d1c  72 03           jb make_code
0d1e  e9 df 00        jmp release_code
...
0d39  8a e0           mov ah,al
0d3b  fe c4           inc ah
0d3d  2e 3a 26 54 01  cmp ah,cs:[0154h]   ; Alt make, 38h+1
0d42  74 56           je set_alt
0d44  3c 1d           cmp al,1Dh          ; Ctrl make
0d46  74 5b           je set_ctrl

When Ctrl is active, it checks for Ctrl-C and Ctrl-Alt-Del style express exit:

0d4b  e8 89 ff        call 0CD7h
0d4e  8a e0           mov ah,al
0d50  80 c4 20        add ah,20h
0d53  2e 3a 26 5b 01  cmp ah,cs:[015Bh]
0d58  74 52           je express_exit
0d5a  2e 3a 06 6e 01  cmp al,cs:[016Eh]   ; C
0d5f  74 4b           je express_exit

When Alt is active, it implements the advertised "stick shift" speed control:

0d73  8a e0           mov ah,al
0d75  80 c4 20        add ah,20h
0d78  2e 3a 26 50 01  cmp ah,cs:[0150h]   ; Up arrow
0d7d  74 57           je speed_up
0d7f  2e 3a 06 62 01  cmp al,cs:[0162h]   ; Down arrow
0d84  74 3e           je speed_down
0d86  2e 3a 06 59 01  cmp al,cs:[0159h]   ; Del
0d8b  74 5a           je normal_speed

The speed variable is word CS:[0C03h]:

0dc4  cmp word cs:[0C03h],7F00h
0dcd  add word cs:[0C03h],0100h   ; Alt+Down: more delay, slower
...
0dd6  cmp word cs:[0C03h],0001h
0dde  sub word cs:[0C03h],0100h   ; Alt+Up: less delay, faster
...
0de7  mov word cs:[0C03h],0001h   ; Alt+Del: normal/min delay

Every handled key acknowledges the keyboard and PIC:

0dee  e4 61           in al,61h
0df0  8a e0           mov ah,al
0df2  0c 80           or al,80h
0df4  e6 61           out 61h,al
0df6  8a c4           mov al,ah
0df8  e6 61           out 61h,al
0dfa  b0 20           mov al,20h
0dfc  e6 20           out 20h,al
0dfe  58              pop ax
0dff  cf              iret

Unhandled keys fall through to the saved BIOS keyboard handler through the far pointer at 07B5h.

Timer / Speed Loop

The INT 08h handler at 0C05h uses CS:[0C03h] as a delay throttle before continuing to the saved timer handler:

0c05  e8 5e ff        call 0B66h
0c08  51              push cx
0c09  2e 8b 0e 03 0c  mov cx,cs:[0C03h]
0c0e  e2 fe           loop 0C0Eh          ; pure busy delay
0c10  59              pop cx

That is the whole "speed control" mechanism: the keyboard ISR changes the loop count, and the timer ISR burns more or fewer cycles on every tick. It is crude, but it is exactly the kind of generic late-1980s/early-1990s game-loader hack used to tame programs on faster machines.

The handler also touches BIOS data-area / floppy-controller state before tail-jumping to the saved INT 08h vector:

0c14  b8 40 00        mov ax,0040h
0c17  8e d8           mov ds,ax
0c19  fe 0e 40 00     dec byte [0040h]
0c1f  80 26 3f 00 f0  and byte [003Fh],0F0h
...
0ccc  inc byte cs:[0C02h]
0cd1  ljmp cs:[07B1h]

Error and Exit Path

After the child returns, the loader resets DS, ES, and SS to its own segment, records any EXEC error at 08BCh, and restores state:

0f1d  8c c8           mov ax,cs
0f1f  8e d8           mov ds,ax
0f21  8e c0           mov es,ax
0f23  80 3e 90 03 01  cmp byte [0390h],1
0f2a  e8 38 f9        call 0865h          ; usual vector restore
0f32  e8 20 f4        call 0355h
0f35  e8 11 f5        call 0449h          ; restore video mode/equipment byte

The low-level restore helpers put back saved port/BDA state:

0789  a0 61 04        mov al,[0461h]
078c  cmp byte [0467h],0FDh
0793  or al,04h
0795  out 61h,al

0798  a0 62 04        mov al,[0462h]
079b  out 21h,al

079e  mov ax,0040h
07a4  mov ax,[045Fh]
07a7  mov es:[0017h],ax

If EXEC failed, the error mapper at 09ECh prints a DOS message for common codes:

2    file not found / not on default drive
4    too many files open
5    access denied
6    bad file handle
BBh  express exit
EEh  unknown LOADIT error
FFh  critical error

Finally:

0f4a  e8 08 fc        call 0B55h          ; EOI to PIC
0f4d  e8 0a fc        call 0B5Ah          ; PIT channel setup
0f50  e8 36 f8        call 0789h          ; restore port 61h
0f53  e8 42 f8        call 0798h          ; restore PIC mask
0f56  e8 45 f8        call 079Eh          ; restore keyboard flags
0f59  a1 bc 08        mov ax,[08BCh]
0f5c  a2 93 01        mov [0193h],al
0f5f  b4 4c           mov ah,4Ch
0f61  cd 21           int 21h

The loader returns its stored error byte as the DOS process exit code.

What This One Actually Does

For the preserved archive, the practical runtime is:

  1. RUNME.BAT prints the Grand Council text card.
  2. DOS PAUSE waits for a key.
  3. LOADIT.COM unpacks itself with a tail stub.
  4. The decoded generic loader parses autoduel.com from the PSP command tail.
  5. It displays its own generic loader message if no appended SPI page is present.
  6. It installs keyboard/timer/critical-error hooks.
  7. It shrinks its memory block and calls INT 21h/AH=4B00h.
  8. Because autoduel.com is external to this ZIP, the handoff depends on files outside the cracktro archive.
  9. It restores vectors, video/keyboard/port state, maps any error, and exits.

So the scene-facing Grand Council intro is a static text-mode advert/card. The technically interesting inner loops are in the nested generic loader: the 41h in-place decryptor, the PSP command-tail scanner, the full IVT save/restore loop, the low-memory IVT installation trick, and the keyboard/timer speed-control pair.