Analysis model: gpt-5.5 xhigh

Ace Demo by Ace - Technical Dissection

Subject: Ace Demo by Ace.

Ace Demo is an MS-DOS VGA demo released in December 1992. It is not a procedural effect show in the Future Crew / Renaissance sense. The runtime is mostly a compact player for one Autodesk Animator FLI animation and one Creative Voice VOC sample loop. The interesting part is therefore the playback machinery: FLI chunk decoding, VGA palette output, page/buffer copies, vertical retrace pacing, CT-VOICE driver setup, and VOC loop handling.

Release year: 1992.

Ace Demo runtime contact sheet

Ace Demo sparse runtime sequence

Ace Demo source FLI contact sheet

Sources

The Hornet 1992 index line is:

acedemo.zip      247384 **+   Ace Demo by Ace

Demozoo's MS-DOS listing identifies ACE Demo as a demo by ACE in December 1992. The local browser-style parser could not resolve an exact Demozoo production URL during this pass, so this article links the verified listing page rather than guessing a production id.

Archive

The examined archive is acedemo.zip from the Hornet 1992 mirror. Scene.org's download endpoint resolves it to archive.scene.org with a 247,384-byte ZIP body.

ace.bat          43 bytes    launcher batch
acedemo.000  375744 bytes    Autodesk Animator FLI stream
acedemo.001     172 bytes    plaintext message used by the animation
acedemo.002  106271 bytes    Creative Voice File / VOC loop
acedemo.003    2377 bytes    CT-VOICE Sound Blaster driver
acedemo.exe   14656 bytes    demo player
demosite.com   1129 bytes    TheDraw-style side advertisement
instdemo.exe  10128 bytes    Sound Blaster port/IRQ installer
readdemo.com   3478 bytes    small document reader

Hashes:

4b88d3660ffb8b0568effc38abaeab39a31c43510d3ad8fd52518f1c8b371117  acedemo.zip
8c28b961ff28cae4bd35a0f34bd538a68a99018c39d1d2142abc7fc0dc1b6458  ace.bat
510c25e6436a341b1dfdab279e984c66045284268d0ede231b35207c696b364c  acedemo.000
d65df712676dc25a10e6ea13a66331568b01060200c1a44307861285b8b11a30  acedemo.001
2b8c11a6f8b47fc5a2cf3b147629bfdf4dbc123159330dc5dbc85c56046769f5  acedemo.002
f38483af80e5df74d041dd3387859b42240a97da47cd9994e92680b20e64b2b0  acedemo.003
f7b88e65d4f1e165cbcddf9a0a4b1f01d55e1fcdc8c210e4ac2e54792702d7e5  acedemo.exe
c2ad85db79effafee21bc21264ae6051c2a69e977e5f19b0426ae33fb0326292  demosite.com
8992bff836fa7c5434736e72e70c92b7a03330eb994ca7fc86d4cf9827e46897  instdemo.exe
e7208a036b4a2c205bd8cfbbf80e2f97ca1ee7f3cb09f1c7710caf555de5671e  readdemo.com

DEMOSITE.COM contains old public archive/contact advertisement text, including old e-mail addresses. That material is not part of the demo playback chain and is intentionally not reproduced here.

Launch Path

ACE.BAT is very direct:

readdemo.com
instdemo.exe
acedemo.exe

The normal path is therefore:

  1. Show the small document through READDEMO.COM.
  2. Run INSTDEMO.EXE to patch/check the CT-VOICE driver settings.
  3. Start ACEDEMO.EXE, which opens the VOC, driver, and FLI files.

The two MZ executables are conventional small Borland real-mode programs:

acedemo.exe   size=14656  header=816  load=13840  relocs=194
              entry=0000:00EB  file entry offset=0x41B
              stack=03D9:4000  min=0478  max=7255

instdemo.exe  size=10128  header=896  load=9232   relocs=214
              entry=0000:0590  file entry offset=0x910
              stack=075B:4000  min=091A  max=A91A

ACEDEMO.EXE has embedded file-name references to ACEDEMO.002, ACEDEMO.000, and ACEDEMO.003. It also contains the CT-VOICE error strings for missing driver, invalid VOC, no Sound Blaster, wrong port, wrong IRQ, no active loop, and no sample in output. INSTDEMO.EXE contains the Sound Blaster menu text and the port table:

$210 $220 $230 $240 $250 $260

The first attempted capture used installer option 1, which means $210, and ACEDEMO.EXE correctly stopped with the German CT-VOICE wrong-port error. The working DOSBox-X run used the archive's effective 220h / IRQ 7 driver state.

Runtime Capture

A DOSBox-X 2026.01.02 capture on 19 June 2026 used the public Scene.org acedemo.zip archive, machine=svga_s3, normal CPU core, cycles=30000, Sound Blaster Pro 2 emulation at base 220h, IRQ 7, DMA 1, and GUS disabled. Timing zero for the screenshots is the start of:

dx-capture /v ACEDEMO.EXE

The scratch run restored the original ACEDEMO.003, ran INSTDEMO.EXE with the working Sound Blaster settings, then started the player. The recorded MPEG-TS/H.264 stream is 85.658411 seconds long. The process was killed by the wrapper timeout because the VOC loop and visual playback keep running; the source FLI itself is only about 4.3 seconds per pass.

The sparse GIF above is assembled directly from the six same-size VGA playback frames in the table below. It deliberately excludes the initial installer text screen, because that frame is a different 720x400 text-mode capture rather than part of the mode-13h FLI loop.

Timestamp Frame Runtime context
00:00.000 Ace Demo installer screen at capture start The Sound Blaster installer is still visible at the instant capture begins. This is before the player switches to graphics mode.
00:00.500 Ace Demo runtime desk and lamp frame at 00:00.500 The player has entered VGA mode and the rendered desk/lamp scene is visible.
00:01.000 Ace Demo runtime text overlay at 00:01.000 The green message text has moved over the rendered desk scene.
00:01.500 Ace Demo runtime full message frame at 00:01.500 The message fills most of the frame. This corresponds to heavier FLI delta work: many changed lines, but still not a procedural font renderer.
00:02.000 Ace Demo runtime full message frame at 00:02.000 The text remains dominant while the small rendered object continues behind it.
00:04.500 Ace Demo runtime loop return at 00:04.500 The sequence has returned to the desk/logo region. This is just after one decoded FLI pass including the extra loop-closing frame.
01:20.000 Ace Demo runtime late loop frame at 01:20.000 A late frame confirms the timeout was caused by looping playback, not by a stuck error screen.

Runtime-To-Code Concordance

The Ace Demo frames and FLI contact sheet are direct playback evidence for a file player rather than for a procedural effect engine. The visible behavior is explained by a small Borland DOS program around Autodesk Animator FLI decoding and CT-VOICE/VOC playback.

Evidence Code anchor What it explains
Installer text frame at 00:00.000 ACE.BAT launch order, INSTDEMO.EXE Sound Blaster menu, CT-VOICE driver ACEDEMO.003 This frame is setup state, not part of the mode-13h demo loop. The sparse GIF correctly excludes it because it is a 720x400 text-mode frame.
Desk/lamp frame at 00:00.500 ACEDEMO.EXE mode-13h path, generic INT 10h mode set at 0x1848, first FLI COLOR + BRUN frame The first visible graphics state is a decoded FLI frame. It is not generated by a 3D renderer in the EXE.
Green text overlay frames at 00:01.000, 00:01.500, and 00:02.000 FLI_LC delta kernel 0x0B66..0x0BB3, packet skip/literal/repeat logic The moving message is part of the FLI stream. Later frames patch changed scanlines and packets into the previous frame buffer instead of redrawing every pixel.
Source FLI contact sheet FLI header AF11h, 320x200 8-bit dimensions, declared 60 frames, extra valid tail frame at offset 361456 The source evidence matches the runtime loop. The file physically contains a loop-closing LC frame after the declared frame count, explaining the quick return toward the desk/logo state.
Runtime return frame at 00:04.500 Header speed 5/70 s, BRUN frame 0 plus LC frames 1..59 plus tail LC frame The runtime cycle is about 4.3 seconds. The frame at 00:04.500 is not a scene cut; it is the FLI loop returning toward the first visual family.
Late frame at 01:20.000 VOC repeat block in ACEDEMO.002, CT-VOICE loop path, external timeout boundary The program is alive because the VOC and visual playback loop continue. The late frame rules out a frozen error screen.
Palette shifts in the decoded animation FLI palette decoder 0x0BB6..0x0BEA, direct DAC writes to 03C8h/03C9h Palette changes are FLI chunks and VGA DAC writes, not a custom copper or CRTC split effect.
Smooth-enough visual pacing Retrace waiter 0x19A8..0x19B5, helper copies/fills at 0x0C34..0x0C59 The player does normal frame decode/copy work and waits on 03DAh for vertical retrace. There is no Mode X plane trick or procedural texture loop here.
Audio presence in the intended run VOC block type 6 repeat count 65535, type 1 unsigned PCM, time constant 180, CT-VOICE driver validation/errors Audio is delegated to Creative Labs' CT-VOICE path. The visual loop does not mix PCM; it starts a repeat-wrapped 8-bit sample and keeps decoding frames.

This is why the article treats Ace Demo as a useful playback artifact: the code quality is in the glue around FLI/VOC/CT-VOICE/VGA timing, not in a hand-written procedural graphics part.

FLI File Layout

ACEDEMO.000 is recognized by file and ffprobe as a 320x200, 8-bit FLI animation:

file size:          375744 bytes
magic:             AF11h
declared frames:   60
width/height:      320 x 200
depth:             8
flags:             3
speed:             5 ticks = 5/70 s = 14 fps
declared pass:     60 / 14 = 4.285714 s

There is an important format oddity: after the 60 frames declared in the FLI header, the file still contains one more valid frame record:

tail offset:     361456
tail size:        14288 bytes
frame magic:       F1FAh
chunks:            1
chunk type:        000Ch  FLI_LC
skip lines:        20
changed lines:     152
packets:         3052
literal bytes:   6579
repeat bytes:   12639

ffmpeg decodes 61 frames from the file. The extra tail frame is not random garbage; it is a loop-closing delta back toward the first desk/logo state. If the player respects only the header count, the loop is 4.286 seconds. If it uses the physical frame tail, the visual cycle is 61/14 = 4.357 seconds. The DOSBox-X capture visually follows the latter behavior closely enough that 00:04.500 has already returned to the opening visual family.

The declared frames break down like this:

frame 0:       FLI_COLOR + FLI_BRUN
frames 1..59:  FLI_LC deltas
tail frame:    FLI_LC loop-closing delta

Representative parsed frame work:

frame  t(s)    size   chunk(s)       changed lines  packets  literal  repeat
00     0.000   11930  COLOR+BRUN     200            4127     4008     59992
01     0.071   13460  LC             155            2847     6210     13380
02     0.143   12192  LC             157            2654     5331     13154
07     0.500    4254  LC             142             905     1772      5419
14     1.000    7942  LC             122            1813     3051      7287
21     1.500    1418  LC              43             253      782       282
28     2.000    1254  LC              35             209      744        78
35     2.500    1322  LC              36             216      791        81
42     3.000   10674  LC             155            2504     3903     10080
49     3.500    6090  LC             128            1440     2134      6411
56     4.000   12796  LC             151            2606     6072     11921
59     4.214   13782  LC             156            2950     6220     12651
tail   4.286   14288  LC             152            3052     6579     12639

This explains the visual character: the demo is paying for a rendered 3D still sequence through packed delta playback. When the camera/object changes little, frames 21, 28, and 35 are tiny. When the view returns toward the desk/logo, the delta packet count climbs again.

FLI Inner Loops

The carved MZ load image starts at file offset 0x330, so the addresses below are runtime offsets inside the loaded image. The player code is mixed with Borland runtime and CT-VOICE support, but the FLI-style copy/fill kernels are clearly visible.

Palette Chunk

The palette decoder around 0x0BB6..0x0BEA reads FLI palette packets and writes the VGA DAC directly:

0BC8  lodsb                  ; skip count
0BC9  add di, ax             ; advance palette index
0BCB  lodsb                  ; run length, 0 means 256
0BD5  mov dx, 03C8h
0BD8  mov ax, di
0BDA  out dx, al             ; DAC write index
0BDC  inc dx                 ; 03C9h
0BDD  lodsb / out dx, al     ; red
0BDF  lodsb / out dx, al     ; green
0BE1  lodsb / out dx, al     ; blue
0BE3  loop 0BD5

The inner loop therefore pays three DAC writes per palette entry. The FLI color chunk in frame 0 is 778 bytes, enough to establish the rendered desk/text palette before the first full frame is copied.

FLI_BRUN Full Frame

The first picture chunk is byte-run encoded. The routine around 0x0BED..0x0C31 walks one scanline at a time with a 0x140 byte destination pitch, i.e. 320 bytes per 320x200 mode-13h line:

line:
    di = line_base
    packet_count = *src++
packet:
    count = signed(*src++)
    if count >= 0:
        value = *src++
        memset(di, value, count)
    else:
        copy -count literal bytes from src to di
    repeat packet_count
    line_base += 0140h
    repeat line_count

The actual instructions show the two fast paths:

0C0C  lodsb
0C0D  test al, al
0C0F  js 0C1C
0C11  mov cx, ax
0C13  lodsb
0C14  rep stosb              ; repeat one byte
...
0C1C  neg al
0C1E  mov cx, ax
0C20  rep movsb              ; literal run

Frame 0 executes 4,127 BRUN packets. The parsed data expands about 4,008 literal bytes and 59,992 repeated pixels, which is exactly the sort of ratio expected from a mostly black image with rendered objects on it.

FLI_LC Delta Frames

All later declared frames and the extra tail frame are line-compressed deltas. The routine around 0x0B66..0x0BB3 is the clearest kernel in the program:

0B72  lodsw                  ; skip_lines
0B73  mov dx, 0140h
0B76  mul dx
0B78  add di, ax             ; first changed scanline
0B7A  lodsw
0B7B  mov [bp-2], ax         ; changed line count
...
0B84  lodsb
0B85  mov bl, al             ; packet count for this line
0B8B  lodsb
0B8C  add di, ax             ; horizontal skip
0B8E  lodsb
0B8F  test al, al
0B91  js 0B9D
0B93  mov cx, ax
0B95  rep movsb              ; positive count: literal bytes
...
0B9D  neg al
0B9F  mov cx, ax
0BA1  lodsb
0BA2  rep stosb              ; negative count: repeat one byte
0BA8  add dx, 0140h          ; next scanline

In structured form:

base = frame_buffer + skip_lines * 320
for each changed line:
    di = base
    packet_count = read_u8()
    for each packet:
        di += read_u8()              ; unchanged pixels before packet
        n = read_i8()
        if n >= 0:
            copy n literal bytes
        else:
            fill -n copies of read_u8()
    base += 320

The important detail is that unchanged pixels are not copied at all. The decoder leaves them in the previous frame buffer. That is why a pre-rendered animation can fit into 375 KB and still animate a 320x200 view.

Generic Copies, Clears, and Retrace

Several supporting kernels are plain Borland/graphics helper routines:

0C34..0C44  rep stosb     byte fill
0C47..0C59  rep movsw     word copy
1848        int 10h       set BIOS video mode 13h
18DF..18EC  int 10h       load a 256-color DAC block through BIOS
19A8..19B5  poll 03DAh    wait for vertical retrace edge

The retrace waiter is the classic two-phase wait:

dx = 03DAh
while (in(dx) & 08h) != 0: pass    ; wait until outside retrace
while (in(dx) & 08h) == 0: pass    ; wait until retrace begins

That is enough pacing for a FLI player: decode a frame into the current buffer, wait for a vertical blank edge, then show/copy the frame so the displayed animation does not tear badly. There is no evidence here of copper-style CRTC splits, Mode X plane tricks, vector projection, or procedural texture work.

VOC and CT-VOICE Path

ACEDEMO.002 is a valid Creative Voice File:

signature:       Creative Voice File
data offset:     26
version:         010Ah
checksum:        1129h

The block stream is:

00001A  type 5  size 34      label: Holly Johnson Loop (S) Master Ace
000040  type 6  size 2       repeat_count = 65535
000046  type 1  size 106192  unsigned PCM, time_constant=180, packing=0
019F1A  type 7  size 0       repeat end
019F1E  type 0              terminator

The VOC sample rate from the Creative Labs formula is:

rate = 1000000 / (256 - time_constant)
     = 1000000 / (256 - 180)
     = 13157.89 Hz

So the sample block is roughly 8.07 seconds of unsigned 8-bit PCM, enclosed in a huge repeat block. That is why the capture loops until the external timeout.

The CT-VOICE driver file ACEDEMO.003 starts with a jump and the CT-VOICE signature string. INSTDEMO.EXE checks for that signature, shows current port and IRQ, and patches the driver's Sound Blaster parameters. The working driver state used by the capture is the conventional early-1990s setting:

I/O port 220h
IRQ 7
DMA 1 from DOSBox-X SBPro2 emulation

The driver abstracts the Sound Blaster programming away from the demo. From the player's point of view the workflow is:

load driver file
validate CT-VOICE marker
load VOC file
validate "Creative Voice File"
start looped sample output
play FLI frames while the sample continues

When the driver is patched to the wrong port, ACEDEMO.EXE reaches the same path but returns CT-VOICE error 10, "wrong port address." That error was observed in the first capture attempt and matches the embedded German error table.

What Each Part Does

READDEMO.COM is a tiny document viewer. It contains the document title The ACEDEMO Document v1.0 and an access prompt string. It is a front matter viewer, not the animation engine.

INSTDEMO.EXE is the Sound Blaster setup tool. It opens ACEDEMO.003, checks the CT-VOICE marker, offers I/O port choices from $210 to $260, accepts IRQ 2, 3, 5, or 7, and writes those settings back to the driver file.

ACEDEMO.EXE is the actual show player. It loads the CT-VOICE driver, starts the looped VOC, enters VGA mode, decodes the FLI frames, and loops the visual sequence.

ACEDEMO.000 is the visual show. It contains the desk, lamp, red Ace logo, green PC spectator text, and loop-closing delta frame. The text shown in the animation is also present as plaintext in ACEDEMO.001; it is a short note from Ace about testing whether to code more PC demos.

ACEDEMO.002 is the audio show. It is one label block plus a repeat-wrapped PCM sample block.

ACEDEMO.003 is the CT-VOICE driver. Without a working Sound Blaster port/IRQ setting, the player fails before the visual show.

DEMOSITE.COM is an included demo-site advertisement sidecar, not part of the batch launch. Its old contact details are omitted here.

Technical Read

This is a useful 1992 artifact precisely because it is not trying to be a state-of-the-art procedural demo. It shows an alternate early-PC route: pre-render or paint a short sequence, compress it as FLI deltas, stream a VOC sample through a vendor driver, and wrap it with a small setup utility.

The constraints are obvious in the inner loops:

For reconstructing the demo, the source-order logic is:

install/check CT-VOICE settings
load VOC and start repeat block
open FLI
apply first COLOR chunk
decode first BRUN image
for each LC frame, patch the previous frame buffer
after declared frame 59, apply the extra LC loop-closing frame if following
the physical stream rather than the header count
repeat while the VOC loop continues

That is the whole production in technical terms: a compact DOS player around a rendered 3D postcard and a looped sample, with just enough VGA and Sound Blaster machinery to make it feel like a demo on a 1992 PC.