Analysis model: gpt-5.5 xhigh

TimeOut by Epical - Technical Dissection

Scope

TimeOut is Epical's 1993 MS-DOS 80K intro for The Party 1993. The party result file ranks it fourth in the PC intro competition with 332 points, behind Blackzone and ahead of Copperfaked.

This is a useful top-table 1993 target because the public archive is a single PKLITE-packed MZ executable. There are no external module, picture, or text files. The packed executable still leaks enough literal material to identify the runtime direction: a protected-mode setup layer, A20 handling, DPMI/VCPI strings, GUS base-port selection text, ProTracker Music Interface Kit v0.3, module-signature probes, and Epical greeting text.

Release year: 1993.

Public References

The result file gives the PC intro table excerpt as:

1   1280  CyboMan      Gazebo
2   1008  8192         Svilit Two
3    644  Blackzone    Masque
4    332  TimeOut      Epical
5    152  Copperfaked  Aardvark

Examined Archive

Scene.org HTTP metadata observed for this pass:

timeout.zip  content-length 64498  last-modified Mon, 03 Apr 2000 05:49:04 GMT

ZIP hash:

dbe1acb474a53cc6404f2a6b2eca352fe47764bbc3ef4d476751f4cc17a886e9  timeout.zip

The ZIP contains only one file:

TIMEOUT.EXE  66765 bytes  1993-12-28 10:37

The ZIP tests cleanly with unzip -t.

Executable hash:

188af35b09745dcc6a3cf5b9f62debde318085a92648c05797c8af8ba3219189  TIMEOUT.EXE

file(1) labels TIMEOUT.EXE as an MS-DOS MZ executable and also guesses "Self-extracting PKZIP archive". unzip does not apply here; the reliable signature is PKLITE, not a ZIP central directory.

MZ Layout

TIMEOUT.EXE has the usual PKLITE packed-entry shape:

file size             66765 bytes
MZ declared size      66765 bytes
header size             160 bytes
load image            66605 bytes
overlay bytes             0
relocations               1
minalloc             0x2ead
maxalloc             0xffff
SS:SP                104d:0200
CS:IP                fff0:0100
entry file offset    0x1000a0  (synthetic packed-entry value)
relocation table     0x0052

The single relocation is at 0000:0007. The CS:IP value is deliberately not the intro's original entry. It points into the PKLITE loader convention; the depacker later reads the original stack and entry target from the compressed stream and far-returns there.

The visible packer string is:

!PKLITE Copr. 1990-91 PKWARE Inc. All Rights Reserved

That is slightly older than the 1990-92 PKLITE banner seen in some other 1993 intros from the same party directory.

Packer Stub: First Stage

The first executable bytes begin at file offset 0x00a0. They test available memory, set a temporary stack, copy the second-stage unpacker to high memory, and far-return to the copied block:

00a0: b8 e5 3e        mov ax,3ee5h
00a3: ba 43 10        mov dx,1043h
00a9: 3b 06 02 00     cmp ax,[0002h]
00ad: 73 1a           jae not_enough_memory
00af: 2d 20 00        sub ax,0020h
00b2: fa              cli
00b3: 8e d0           mov ss,ax
00b5: fb              sti
00b6: 2d 25 00        sub ax,0025h
00b9: 8e c0           mov es,ax
00bb: 50              push ax
00bc: b9 22 01        mov cx,0122h
00bf: 33 ff           xor di,di
00c1: 57              push di
00c2: be 44 01        mov si,0144h
00c5: fc              cld
00c6: f3 a5           rep movsw
00c8: cb              retf

The memory-failure path uses DOS function AH=09h and then exits:

00c9: b4 09           mov ah,09h
00cb: ba 32 01        mov dx,0132h
00ce: cd 21           int 21h
00d0: cd 20           int 20h
00d2: ...             "Not enough memory$"

This is classic PKLITE packaging: the intro itself is not yet running. The only job here is to make room for the second-stage loader.

Packer Stub: Backward Move

The next stage relocates packed bytes downward through paragraphs so the output area and source stream do not destroy each other. The important loop is:

00fe: 8b ce           mov cx,si
0100: d1 e9           shr cx,1
0102: 4e              dec si
0103: 4e              dec si
0104: 8b fe           mov di,si
0106: 2b e8           sub bp,ax
0108: 2b d8           sub bx,ax
010a: 8e c5           mov es,bp
010c: 8e db           mov ds,bx
010e: f3 a5           rep movsw
0110: b8 00 10        mov ax,1000h
0113: b5 80           mov ch,80h
0115: fe ce           dec dh
0117: 75 ed           jne 0106h

The hot operation is rep movsw. BP and BX are the destination and source segments, and both are stepped by AX. Because the copy runs from high offsets and then steps the segments, the loader can move packed data away before the real expansion starts.

Packer Stub: Bit-Stream Literal Loop

The decompressor starts output at offset 0100h, fetches a 16-bit compressed bit buffer into BP, and tracks remaining bits in DX:

011a: 8e dd           mov ds,bp
011c: 07              pop es
011d: 06              push es
011e: bf 00 01        mov di,0100h
0121: 33 f6           xor si,si
0123: ad              lodsw
0124: 95              xchg ax,bp
0125: ba 10 00        mov dx,0010h

Literal bytes go through this loop:

015a: ad              lodsw
015b: 95              xchg ax,bp
015c: b2 10           mov dl,10h
015e: 72 08           jc 0168h
0160: a4              movsb
0161: d1 ed           shr bp,1
0163: 4a              dec dx
0164: 74 f4           je 015ah
0166: 73 f8           jae 0160h

The loop means:

  1. If the current bit selects a literal, copy one packed byte to output with movsb.
  2. Shift the bit buffer right.
  3. Decrement the bit count.
  4. Refill BP with another word when the bit count reaches zero.
  5. Stay in the one-byte copy path while the bit stream keeps selecting literals.

For a packed intro, this is the first concrete inner loop in the public file: not a visual routine, but the loop that reconstructs the visual routine.

Packer Stub: Back-Reference Copy

The match path builds a length and distance, then copies from already-expanded output. This PKLITE variant uses a slightly different segment setup than the later-looking stub in Instant:

01d5: 2e 8a bf 2c 02  mov bh,cs:[022ch+bx]
01da: ac              lodsb
01db: 8a d8           mov bl,al
01dd: 56              push si
01de: 8b f7           mov si,di
01e0: 2b f3           sub si,bx
01e2: 1e              push ds
01e3: 06              push es
01e4: 1f              pop ds
01e5: f3 a4           rep movsb
01e7: 1f              pop ds
01e8: 5e              pop si
01e9: e9 75 ff        jmp 0161h

The idea is still textbook LZ:

Compared with the other PKLITE stub variant, this one does not wrap the copy in cli/sti; it saves/restores DS around the self-copy instead.

Packer Stub: Segment Repair And Return

When the output cursor approaches a segment boundary, the loader adjusts both the output and packed-stream segment bases:

025c: 50              push ax
025d: 8d 9d 00 e0     lea bx,[di-2000h]
0261: 83 e7 0f        and di,000fh
0264: 81 c7 00 20     add di,2000h
0268: b1 04           mov cl,04h
026a: d3 eb           shr bx,cl
026c: 8c c0           mov ax,es
026e: 03 c3           add ax,bx
0270: 8e c0           mov es,ax
0272: 8c d8           mov ax,ds
0274: 8b de           mov bx,si
0276: 83 e6 0f        and si,000fh
0279: d3 eb           shr bx,cl
027b: 03 c3           add ax,bx
027d: 8e d8           mov ds,ax

At the end, relocation records are applied to the rebuilt program image:

02b3: 33 c0           xor ax,ax
02b5: ac              lodsb
02b6: 91              xchg ax,cx
02b7: e3 0e           jcxz done_reloc_block
02b9: ad              lodsw
02ba: 03 c3           add ax,bx
02bc: 8e c0           mov es,ax
02be: ad              lodsw
02bf: 97              xchg ax,di
02c0: 26 01 1d        add es:[di],bx
02c3: e2 f9           loop 02beh

Then the original stack and far-entry target are restored from the stream:

02c7: ad              lodsw
02c8: 03 c3           add ax,bx
02ca: fa              cli
02cb: 8e d0           mov ss,ax
02cd: ad              lodsw
02ce: 8b e0           mov sp,ax
02d0: fb              sti
02d1: ad              lodsw
02d2: 03 d8           add bx,ax
02d4: 53              push bx
02d5: ad              lodsw
02d6: 50              push ax
02d7: 8e c5           mov es,bp
02d9: 8e dd           mov ds,bp
02db: 33 c0           xor ax,ax
02dd: 8b d8           mov bx,ax
02df: 8b c8           mov cx,ax
02e1: 8b d0           mov dx,ax
02e3: 8b e8           mov bp,ax
02e5: 8b f0           mov si,ax
02e7: 8b f8           mov di,ax
02e9: cb              retf

That retf is the real handoff to TimeOut's depacked code.

Protected-Mode Fragments

Several literal strings and instruction patterns are visible in the packed stream. Because they are still inside the compressed data, their file offsets are not stable runtime offsets. They are still useful evidence for what the rebuilt program contains.

Visible setup strings include:

0x0331  0686 or bette
0x0373  604k.
0x037c  CAN use QEMM
0x03ca  A20 gat
0x0758  DPMI host
0x09c3  VCPI

Relevant instruction byte patterns also appear:

0x04ba  mov eax,cr0          pattern 0f 20 c0
0x04c1  mov cr0,eax          pattern 0f 22 c0
0x06a0  int 2fh              DOS multiplex path
0x06cf  in al,92h            fast A20 port path
0x06e3  mov al,d1h / out 64h keyboard-gate fallback pattern
0x06ed  mov al,dfh / out 60h keyboard-gate fallback pattern
0x0704  mov al,36h / out 43h PIT setup pattern
0x07eb  int 31h              DPMI path

The visible text and opcodes point to a real-mode starter that can enter or cooperate with protected-mode services. That matches the size and ambition of a fourth-place 1993 intro: still an 80K intro, but not a tiny mode-13h COM.

GUS And Music Evidence

The packed executable preserves a GUS base-port prompt fragment:

0x1754  GUS
0x1762  baseport:
0x178d  1240h
0x1794  25

The exact text is broken up by packed-control bytes, but the meaning is clear: the intro has a GUS base-port selection path. The raw byte scan also finds little-endian 0240h and 0250h constants in the file, matching common GUS base choices.

The music code identifies itself more clearly:

0x2752  ProTracker Music Int...
0x276f  Kit (PTMIK) V0.3
0x2791  1993 Oska...
0x279e  Tammelin

This is ProTracker Music Interface Kit v0.3 by Oskari Tammelin. It is an important clue: TimeOut is not merely polling the GUS directly from ad hoc effect code; it includes a reusable ProTracker playback layer.

Immediately after the PTMIK text, there are module-signature probes:

0x27d2  M.K.
0x27d6  FLT
0x27dd  6CHN
0x27e2  OCTA

Those are the known ProTracker/FastTracker-style channel markers a loader would test when deciding how many channels to handle. In this packed file they should not be read as a raw embedded module at that exact offset; they are part of the visible loader/data island.

VGA Evidence

Unlike some other packed intros, this file does not expose a clean mov ax,0013h ; int 10h sequence or a clean mov ax,0a000h sequence in the packed bytes. That absence is not evidence that the intro avoids VGA direct writes. It only means the relevant graphics code is compressed or not visible as a contiguous literal island.

Raw byte-pattern searches do find VGA-related port constants:

03c8h DAC write index   visible at packed offsets 0x1551, 0x23f8, 0x9dc8
03c9h DAC data          visible at packed offset  0xa8ac
03dah status port       visible at packed offsets 0x153e, 0x2721, 0x3b1f, 0x46ee
03c4h sequencer         visible at packed offsets 0x18d0, 0x212e, 0x33a9, 0x3fef, 0x4f3f
03d4h CRTC              visible at packed offsets 0x4588, 0x5b90

Because the executable is compressed, these are weaker than disassembled code. They are still consistent with the normal 1993 VGA intro toolkit: DAC palette programming, status-port synchronization, sequencer setup, and CRTC tweaks.

Greeting/Text Data

One readable literal island near 0x4c4a contains alphabet and greeting text:

ABCDE
FGHIJKLMNOPQRSTU
VWXYZ:-,!12 | +
EPICAL GREETS: J!P, FC
EMF
MAJ...
TCB
TRITON
XO/APHY

The data is interrupted by packed-control bytes, so I only use the clean runs. It confirms that TimeOut contains its text assets internally, which follows from the single-file ZIP layout.

Runtime Probe

I ran one bounded DOSBox-X 2026.01.02 SDL2 attempt with dummy video, an explicit logfile, and a GUS environment:

SDL_VIDEODRIVER=dummy
timeout -s KILL 10 dosbox-x -fastlaunch -exit ...
ULTRASND=240,3,3,5,5
GUS base 240h, IRQ 5, DMA 3, nosound=true

The run was killed by the timeout with exit code 124. The logfile shows DOSBox-X startup and then a transition from the initial text-sized surface to a 640x480-sized surface:

Aspect ratio: 720 x 540
...
DOSBox-X has switched to max cycles, because of the setting: cycles=auto.
Aspect ratio: 640 x 480
surface consider=640x417 final=640x417

That is enough to show that the packed program started and reached a graphics mode transition before the bounded stop. It is not enough to describe the effect sequence or music path.

What TimeOut Is Doing Technically

The public file shows four layers:

  1. DOS loads a small PKLITE MZ image.
  2. PKLITE copies its second stage, expands the original program with a bit-buffer plus LZ back-reference loop, applies relocations, and far-returns.
  3. The depacked program contains a protected-mode setup layer with DPMI/VCPI strings, A20 handling, and CR0 transition bytes.
  4. The intro runtime contains internal text/data, PTMIK v0.3, GUS base-port selection, and likely compressed VGA effect code.

That makes TimeOut a good companion to the lower-ranked The Party 1993 intros. Instant exposes a mostly packer-level story; Eradicator exposes a small GUS-only real-mode story; TimeOut points at a more ambitious protected-mode and GUS-backed single-file intro while still fitting inside the 80K competition envelope.