Analysis model: gpt-5.5 xhigh, sol high

Last edited: 2026-08-26

M&D Demo by The Cat and Soc. Brigade - Technical Dissection

The July 1991 M&D Demo is four programs sharing one release: a parent loader/panorama and three independently executable Mode 13h parts. The first part sums six moving sine-table cursors into a 64-point field. The second combines a two-pixel font scroller with 158 scanline-timed Attribute Controller commands. The third serializes an 8x72-bit text buffer onto eight projected point rings and erases the previous phase by recomputing it.

That last mechanism is the technical center of the demo. It is not an ordinary circle scroller and it does not clear the whole screen. One phase class plots the current geometry, a second class reconstructs the preceding geometry in black, and the two other angle classes are skipped. The result is selective old-frame repair wrapped around a destructive bit serializer.

M&D Demo direct Part 3 point-ring runtime

This continuous, silent DOSBox-X excerpt is from Part 3 capture stream time 00:26..00:34. It is the exact renderer analyzed below: eight font rows become eight radii, each set bit becomes one projected point, and the old depth phase is erased separately.

Release year: 1991

Identity, Date, Credits, And Archives

Demozoo and Pouet identify this as an MS-DOS demo by The Cat and Soc. Brigade, released in July 1991. Pouet credits G.o.D. and TomCat with code and adt with graphics. TomCat's video description expands the title as the Muffbusters-Dection Party Demo and places its presentation in Pecs, Hungary, in July 1991.

The Part 3 credit screen is more specific about that program: it says coding was by D-Ave and TomCat, logos by adt and Ninja, and identifies the music it adapts. Those are internal release credits; this analysis does not infer an alias relationship between D-Ave and Pouet's G.o.D. entry.

The current Scene.org ZIPs add one archive-service text file. Their actual demo and source payloads are byte-identical to the two ZIPs linked by Pouet.

Scene release ZIP
c2fdbe66bf7ba14ad84ba0f00630f28cfff7830e53f04b6bf604221b8ece7b2d

Pouet-linked release ZIP
eb291eecff9f6765eb35350defb3658fe52bde63ff27e04013d774f7ea720f52

Scene source ZIP
a07f57845277c14477952b743002633ea41a9c10d670ac9c1a3bd15eeee237a4

Pouet-linked source ZIP
6f0bc5a3b0cc451e7887f4d4b30e61cafbc40cef796220d47643a1e9b4d2ac20

The release payload is:

M&D-DEMO.COM     3,313 bytes  1991-07-16 22:26:10
MDMAIN.LBM      31,186 bytes  1991-07-14 03:05:26
MDMAIN.MUS      82,150 bytes  1991-12-20 14:22:30
MDPART1.COM      4,211 bytes  1991-07-16 22:28:44
MDPART1.MUS    116,864 bytes  1991-02-25 17:29:38
MDPART2.COM     19,549 bytes  1991-07-16 22:28:54
MDPART2.MUS    197,600 bytes  1991-07-09 09:46:04
MDPART2.SUP     29,367 bytes  1991-07-11 11:09:36
MDPART3.COM     12,415 bytes  1991-07-16 22:19:46
e02c720b4d1abbc686396b960b5329d14abb2b9e494675e49b36d8be92e26de6  M&D-DEMO.COM
656d00e20748efec5558af72d88fce306f38db0084125e549e04855f2fe9a156  MDMAIN.LBM
baf94fe37f0cdae0a598f1e9539bfc64fd87fdb9c13874109c71835e864b5e59  MDMAIN.MUS
ea877c75ac6c4e8e1a3f15140633321af42ee695a1de3dba4ea6f78925c9b741  MDPART1.COM
c38a96ad441d9704a48183f70d8bae68b72e3c410019d5231e8fc1a42dce34f4  MDPART1.MUS
4bd65b36c06c5dc625d759ff8035cf2e8de1a20cfc42faedab0ba032daaa4a35  MDPART2.COM
ab7da758540d0a7bc40f47bb4d7eab203e1880022ca154818ccd7782886db755  MDPART2.MUS
3fe48082a0cabd646c04201b567c6cd7198272b5921aac9c948b3b8f95e008f1  MDPART2.SUP
b64218b531c167fb7ee8b13593892913c508e3daf4f445331227a6c723afe21d  MDPART3.COM

The source ZIP contributes the four assembly files and their build-time font, sine, and support resources. Old personal reachability text embedded in Part 1 is outside the public evidence selected here and is not transcribed.

Two Wrappers Before The Real Programs

All four distributed COM files carry two layers:

outer CARMEL Turbo Anti-Virus self-integrity wrapper
  inner PKLITE 1991 carrier
    raw near-jump COM runtime

Two UNP passes recover the code discussed below. The first removes the 779-byte CARMEL layer. The second expands PKLITE:

program       release   after CARMEL   raw runtime   raw SHA-256
parent          3,313          2,534         5,332   dc070566966837f6a06a2fa7c3477c98f3a8cf99be6928118d5f01039d349d5f
Part 1          4,211          3,432         8,724   d6627a887588446a5694d144f10aafc029b0b2405bcf026c117b760e11b7f659
Part 2         19,549         18,770        42,970   18e7d209991398d86363f50e2b84225ba1982b67894939802743b95ed8502e2c
Part 3         12,415         11,636        21,571   86b9aa000fc7852cc24d3d38581a10b01ed6df61bc8b8a3e2c71d222fafa533b

This is not source attribution based only on matching titles. The restored programs contain the supplied build resources at the exact roles implied by the assembly:

Part 1 raw +05F8h   first 1,536 bytes of SINUS.BIN
Part 1 raw +0BF8h   all 2,048 bytes of CENSOR2.FNT
Part 2 raw +0806h   all 40,384 bytes of CHISEL_C.FNT
Part 3 raw +0689h   all 512 bytes of ARKANOID.FNT
Part 3 raw +0FF2h   all 17,489 bytes of CREDIT.SUP

The source-archive parent COM has the CARMEL layer but no PKLITE layer. From file offset 000Fh through the restored release parent's EOF, all 5,317 bytes are identical. This establishes that M&D-DEMO.ASM describes the released runtime, while its trailing generator/self-integrity material is not part of the restored public COM.

The part source files follow the same pattern. Their START labels jump to a build-time INIT; INIT loads resources, XOR-obscures text, patches the first three output bytes to EB 35 0D, and writes only the runtime prefix. The released file then adds PKLITE and CARMEL. Source labels are consequently the right addresses for the raw program, not for the packed release bytes.

Runtime Capture And Hardware Boundary

Direct captures on 26 August 2026 used DOSBox-X 2024.03.01, a normal core, fixed 6,000 cycles, Mode 13h on S3 VGA, dummy host audio, and direct ZMBV video. The guest speaker/timer I/O remained present, but nothing was monitored or published as audio.

Part 1 direct stream   22.286808 s   640x400   about 70.09 fps
Part 2 direct stream   23.913374 s   640x400   about 70.09 fps
Part 3 direct stream   42.176571 s   640x400   about 70.09 fps

Part 1 exits only on Escape; number-row keys edit its six phase velocities. Parts 2 and 3 redirect any keyboard interrupt to cleanup. The parent similarly uses any key to stop its own view and EXEC the next child.

The exact parent stayed black in both S3 and ET4000 DOSBox-X tests, including a separate X11-window check. This is retained as a compatibility boundary rather than replaced with a picture from another part. The source expects an ET4000 bank register, and a Pouet capture note likewise calls the loading section hardware-sensitive.

The parent asset itself is recoverable without guessing. MDMAIN.LBM is an IFF PBM file with a 1,280x400 ByteRun1 image, and FFmpeg decodes all 512,000 pixels exactly:

M&D Demo decoded 1280 by 400 parent panorama

This is the complete decoded PBM panorama, not a claimed DOSBox runtime frame. The source locates its CMAP and BODY chunks, reduces the 8-bit RGB palette components to six bits, and feeds the body through its own banked ByteRun decoder.

Whole-Release Function Map

M&D-DEMO.ASM
  STA..PLAY5       PBM/MOD loading and memory layout
  SEARCH1/PSET     find CMAP, convert 8-bit RGB to VGA DAC values
  SEARCH2/PUT1     find BODY, ByteRun1 into ET4000 banks
  MOZGAT           CRTC start-address and line-compare motion
  INT8             four-channel sample mixer and tracker scheduler
  BIRQ/NOMA        key-to-child transition and hardware restore

MDPART1.ASM
  MAINC            settings/text state and point-field frame
  NHENGER          16x16 glyph-and-circle-mask intersection
  TOR/FORI         160x168 clear and 64-point plot
  ATIRAS           six self-modifiable phase increments
  IRQ              approximately 15.7 kHz one-byte speaker stream

MDPART2.ASM
  V3..VSZ8         exact 200-row delta-image decoder
  SCROLLOZ         180x45 two-pixel shift
  DITS16..DITS30   one/two column packed-nibble glyph insert
  MCIK1            32-entry palette cycle
  CS1/CS2/RCSIK    158-entry scanline raster presenter
  IRQ              approximately 15.7 kHz speaker pulse-width stream

MDPART3.ASM
  V3..VSZ8         exact 200-row credit-image decoder
  KEZD..NOCIK      draw/erase point-ring frame
  CORD2D/PONTKI    sign-magnitude projection and pixel address
  VIZSG            72-bit row serializer / erase selector
  VISSZ..MAS       character injection, bit shift, scratch copy
  IRQ              two tone streams plus drum bytecode

Parent: PBM Loader And CRTC Motion

The parent first reads MDMAIN.LBM above its resident image in FFF0h-byte chunks. It scans the IFF stream on word boundaries for CMAP, advances eight bytes past the chunk tag/length, and shifts each of 768 palette bytes right by two. That converts PBM's 0..255 components to the VGA DAC's 0..63 range.

The BODY search then implements ByteRun1 directly:

control = signed byte from BODY

if control has bit 7:
    count = -control + 1
    value = next byte
    repeat value count times
else:
    count = control + 1
    copy count literal bytes

The archive can be checked independently of the code. Its BODY chunk is 29,788 bytes and expands through 9,724 packets to exactly 512,000 bytes:

2,449 literal packets
7,275 repeated-byte packets
0 no-op -128 packets
1,280 * 400 = 512,000 decoded pixels

At each DI wrap the decoder writes ET4000 Sequencer register 0Eh with the next byte of:

2, 3, 0, 1, 6, 7, 4, 5

That permutation is why a generic linear A000: interpretation is wrong. It is also the strongest static explanation for the parent's emulator-sensitive output.

After loading, MOZGAT changes two CRTC registers on every foreground pass. SBFAZIS is a 160-step triangle; the resulting value 100..180..100 goes to CRTC register 0Dh, the low byte of the start address. The low byte of FAZIS is reflected around 128, offset by 76, and written to register 18h, the line-compare position. The screen therefore combines start-address motion with a moving split/reset point; it is not a software copy of the panorama.

RASTER does not wait for vertical retrace. It first waits until status port 3DAh bit 0 is clear, then requires a run of ten reads through the active display state. Its frame cadence depends on I/O timing.

Parent: Four-Channel IRQ Mixer

MDMAIN.MUS is parsed as a ProTracker-style module: a 1,084-byte header, song length and order table, 1,024-byte patterns, then 30 sample bodies. The loader turns each sample header into a ten-byte resident entry:

+0  sample segment
+2  sample length in bytes
+4  loop start in bytes
+6  loop length in bytes
+8  volume

Each live channel is an 18-byte record holding that sample state plus current pointer, an 8.8-like split step (FRQH and FRQL), fractional carry byte, volume slide, and arpeggio state.

PIT channel 0 receives divisor 75:

1,193,182 / 75 = 15,909.09 IRQs/s

Every IRQ samples all four channels. For each active channel it performs a signed byte-by-byte sample * volume, adds the four 16-bit products, and uses the sum's high byte as an index into a 256-byte logarithmic table. The table's result is written to PIT channel 2. Sample positions advance with an integer byte step plus carry from the low-byte accumulator:

fraction += FRQL
pointer  += FRQH + carry

if pointer >= end:
    if loop_length == 2: disable channel
    else: pointer = loop_start; end = loop_length

The tracker work is deliberately spread across adjacent audio interrupts. WT1 counts down from 138h = 312; its last five values dispatch volume and arpeggio work, channel 4, channel 3, channel 2, then channel 1/main-row work. This avoids parsing all four pattern cells in one expensive interrupt.

tracker tick rate = 15,909.09 / 312 = 50.9907 Hz
default speed 6   = 8.4984 pattern rows/s

Pattern periods become sample steps through 0E100h / period. Effects A, B, C, D, and F implement volume slide, order jump, volume, row break, and speed. Effect zero feeds the arpeggio path. The player never chains the BIOS clock while active.

When a key arrives, the parent's keyboard ISR rewrites the interrupted return IP to NOMA. NOMA restores IRQ0/IRQ1, the PIT, and the speaker gate, then uses DOS INT 21h/AH=4Bh with a prepared parameter block to run MDPART1.COM, MDPART2.COM, and MDPART3.COM in order. Between children it re-enters the parent setup; after Part 3 it restores text mode and exits.

Part 1: Sixty-Four Points, Six Phase Walkers

M&D Demo direct Part 1 sine-point field

This exact 00:02..00:08 excerpt shows the central 64-point field changing shape while the fixed side numbers report the six phase increments. The upper message band belongs to the separate circular glyph-mask path.

The core FORI loop is unusually explicit. At frame start, six persistent phases are copied to six scratch indices. Each of 64 points reads three table values for x and three for y:

for i = 0..63:
    x = 80 + SINUX[x1] + SINUX[x2] + SINUX[x3]
    y = 32 + SINUX[y1] + SINUX[y2] + SINUX[y3]

    A000[y*320 + x] = 40

    x1 += 8;   y1 += 16
    x2 += 8;   y2 += 8
    x3 += 16;  y3 += 8

The loaded 1,536-byte table ranges from 0 to 53. Consequently:

x range = 80..239
y range = 32..191

The scratch-index maxima are also bounded by the allocation:

phase + 8*63  <= 1,015
phase + 16*63 <= 1,519
table bytes       1,536

Before plotting, TOR clears exactly x=80..239 for y=32..199: 80 zero words on each of 168 rows, or 26,880 framebuffer bytes per frame. Old-point cleanup is therefore a bounded rectangle clear, not a 64,000-byte full-page clear.

After the 64 plots, ATIRAS advances and masks the persistent phases:

XP1 = (XP1 + 2)  & 511
XP2 = (XP2 + 4)  & 511
XP3 = (XP3 + 2)  & 511
YP1 = (YP1 + 8)  & 511
YP2 = (YP2 + 2)  & 511
YP3 = (YP3 + 16) & 511

Those constants are immediate operand bytes in the code, not ordinary data fields. IRQ1 maps keys 1 through = to decrement/increment pairs and edits the six immediates in place. Escape replaces the saved return IP with VEGE.

The still at 00:05 isolates one ordinary state:

M&D Demo Part 1 at 00:05

The six side values use another fixed loop. SZAMKI performs unsigned decimal conversion by repeated subtraction of 100 and 10. Each digit copies 15 rows of eight words from a 16x16 font: 240 bytes per digit, 720 bytes per value, and 4,320 copied bytes for all six displays.

Part 1: Circular Text Reveal

FAZIS selects one of sixteen 16-character messages for 128 visual iterations. Local phase zero clears the 256x16 top panel with a mirrored 16-colour gradient. Local phases 1..15 select one of fifteen 16x16 masks from PORLA.

For each non-space character, NHENGER intersects the glyph and mask one bit at a time:

for character = 0..15:
    glyph = CHARS[(decrypt(text[message][character]) - 32) * 32]

    for row = 0..15:
        for column = 0..15:
            glyph_bit = ROL(glyph_row).carry
            mask_bit  = ROL(mask_row).carry
            if glyph_bit && mask_bit:
                plot colour 38

That is at most 161616 = 4,096 paired bit tests on a reveal iteration. The sixteen rotates return each 16-bit row to its original orientation, so the apparently destructive table operation is cyclic.

For the other 112 local phases, the code displays the six editable immediate values instead. The text and settings paths are mutually exclusive; neither drives the point field.

Part 1: Byte Stream Through PIT Channel 2

Part 1 installs IRQ0 at divisor 76 and programs PIT channel 2 for low-byte one-shots:

IRQ rate = 1,193,182 / 76 = 15,699.76 Hz

The handler sends the current music byte to port 42h on every IRQ but only advances the source every second IRQ. Its effective byte rate is therefore 7,849.88 bytes/s. The pointer uses a linear but paragraph-shaped traversal:

offset = (offset + 1) & 15
if offset == 0: segment++

Twenty-four {start,end} ranges total 574,128 source bytes and loop in about 73.14 seconds. The loader asks DOS for 121,984 bytes although MDPART1.MUS is 116,864 bytes; no read result is checked. The active table's highest endpoint is still 16 bytes below the actual EOF, so the short read does not escape the supplied file.

Part 2: Exact Delta-Image Grammar

M&D Demo direct Part 2 scroller and background

This continuous direct 00:03..00:09 excerpt shows the mountain backdrop, large gold column scroller, moving purple end caps, and bright horizontal raster bands. These are four code paths sharing one frame, not one pre-rendered animation.

MDPART2.SUP has a completely recoverable format:

+0000   768-byte VGA palette
+0768     1-byte first-row/background colour
+0769    25-byte row-change bitmap, MSB first
+0794   changed-row packets

A clear row bit copies the previous 320-pixel row; on row zero it fills the background colour. A set row bit consumes a 40-byte pixel mask and one literal for each set pixel:

for y = 0..199:
    if row_changed[y] == 0:
        screen[y] = y ? screen[y-1] : background
    else:
        mask = next 40 bytes
        for x = 0..319:
            screen[y][x] = mask[x]
                ? next_literal()
                : (y ? screen[y-1][x] : background)

Parsing the release file independently gives:

170 changed rows
 30 copied/solid rows
21,773 literal pixels
29,367 bytes consumed
0 trailing bytes

The picture in the direct 00:10 still is therefore owned by this decoder:

M&D Demo Part 2 at 00:10

Part 2: Two-Pixel Scroller Inner Loop

CHISEL_C.FNT is 40,384 bytes and is embedded whole in the restored Part 2. Its first 330 bytes are 66 five-byte descriptors:

+0  word bitmap offset relative to CHRPTT
+2  byte width
+3  byte height
+4  byte top margin

The remaining 40,054 bytes are packed columns. One byte holds two vertical pixels: high nibble first, low nibble second. Every glyph has even height and occupies exactly width * height / 2 bytes; the final glyph ends at the file's last byte.

Each visual step first moves a 180x45 window two pixels left:

for row = 0..44:
    copy 90 words from x=72..251 to x=70..249

That is 4,050 word reads and 4,050 word writes, or 8,100 bytes moved in each direction. New columns enter at x=248 and x=249. For each glyph row:

nibble = alternating(high_nibble, low_nibble)
if low nibble was used: source++
pixel = nibble ? nibble + 79 : 0

Two source columns normally enter per step. An odd-width glyph ends with one real column and one cleared column. Odd widths receive five blank columns, even widths six, and a space receives twenty; all advances stay even so the two-pixel shift never needs a half-step state.

Part 2: Palette And 158 Scanline Commands

Palette entries 96..127 are copied into CYCTAB and mirrored to produce a 64-entry ping-pong sequence. Each frame uses FAZIS & 31 as a starting entry and uploads 32 RGB triples, or 96 DAC component writes.

The raster path then builds a 158-word TABLAZAT. Each word contains:

low byte   Attribute Controller selector 11h or 31h
high byte  colour/intensity code 0 or 65..79

Two 30-entry triangular envelopes move from opposite sides according to FAZIS & 127. The first and last 30 commands have their selector forced to 11h; middle entries normally use 31h. RCSIK consumes all 158 entries:

for command in table[0..157]:
    wait until 3DAh bit 0 is clear
    decode colour through CCSZIN
    CLI
    wait until 3DAh bit 0 is set
    write DAC entry 0 as three equal components
    write Attribute Controller register 11h and PAS state
    STI

This is why the white bands and purple gates appear scanline-stable while the gold text moves independently. The short interrupt-disabled window protects each active-line transition; it can delay speaker IRQ service slightly.

Part 2's IRQ0 also runs at divisor 76, but it advances one source byte per interrupt. Nine six-byte descriptors select four contiguous blocks, each played twice. Their 395,200 total IRQ ticks last approximately 25.172 seconds.

Part 3: Credit Decoder And Timed Hold

M&D Demo Part 3 credit image at 00:10

This direct 00:10 frame belongs to Part 3's CREDIT.SUP decoder, not to the point-ring loop. Its grammar is the same row-mask/literal format as Part 2. The different source file parses to:

184 changed rows
 16 copied/flat rows
9,335 literal pixels
2..186 literals per changed row
17,489 bytes consumed
0 trailing bytes

After decoding, Part 3 executes HLT four times inside a 56,400-iteration loop. PIT channel 0 has divisor 80, so the hold is:

IRQ rate = 1,193,181.7 / 80 = 14,914.77 Hz
hold     = 56,400 * 4 / 14,914.77 = 15.126 s

The code then clears all 64,000 Mode 13h bytes once and enters KEZD.

Part 3: Draw One Phase, Erase The Previous Phase

The outer angular loop is DH=255..1, exactly 255 iterations. Only two classes survive:

if (DH & 3) == (FAZIS & 3):
    draw current phase
else if (DH & 3) == ((FAZIS - 1) & 3):
    erase previous phase
else:
    skip angle

Each selected angle runs DL=8..1. Radius is 5*DL + 59, giving:

99, 94, 89, 84, 79, 74, 69, 64

Among angles 1..255, residue zero occurs 63 times and the other residues 64 times. A frame therefore performs either:

127 selected angles * 8 = 1,016 projected point operations
128 selected angles * 8 = 1,024 projected point operations

Half belong to current drawing and half to old-frame erasure. There is no per-frame framebuffer clear.

The source patches two live instruction bytes to select the pass:

current:  JEL subtract immediate = 0; VIZSG begins STC
previous: JEL subtract immediate = 1; VIZSG begins CLC

JEL=1 makes the erase path recompute the preceding depth phase. CLC makes VIZSG return colour zero without consuming text bits. Old pixels are thus removed at their old coordinates rather than at the new coordinates.

Part 3: Signed-Magnitude Circle And Projection

The 256-byte sine table uses bit 7 as sign and bits 0..6 as magnitude. Cosine is a 64-entry phase offset. For each radius/angle pair:

x = signed_magnitude((2 * radius * abs(sin[angle]) + 128) >> 8)
y = signed_magnitude((2 * radius * abs(sin[angle+64]) + 128) >> 8)

Initially FELE jumps over the depth warp and z=156. After the introductory text ends, the code overwrites that jump with 90h 90h, enabling:

p = FAZIS - pass_offset       // 0 for draw, 1 for erase
t = p & 15
if p & 16: t = 15 - t

v = (t * abs(y)) >> 4
if y is negative: v = ~v
if p & 32:        v = ~v

z = 156 + v

CORD2D then projects both sign-magnitude coordinates:

screen_x = 160 +/- ((abs(x) * z + 128) >> 8)
screen_y = 100 +/- ((abs(y) * z + 128) >> 8)

PONTKI computes screen_y*320 + screen_x by shifts and adds and writes one byte to A000:. No sort, clipping loop, span filler, or sprite exists; these are individual projected pixels.

Part 3: Eight Rows Become Eight Rings

SEGTER2 and SEGTER are each 72 bytes arranged as eight rows of nine bytes:

SEGTER2   persistent 8x72-bit scrolling state
SEGTER    destructive per-frame draw scratch

DL selects row 8-DL, so each font row owns one radius. On a draw point, VIZSG rotates that row's nine bytes from offset +8 down through +0. The outgoing carry is the current point bit:

if outgoing_bit == 0:
    colour = 0
else:
    colour = 32 + ((-(z >> 4)) & 15)

Each frame consumes 63 or 64 bits from every selected row: 504 or 512 draw points and therefore 4,536 or 4,608 byte rotates across the eight nine-byte rows. The erase half does not rotate the text buffer.

The supporting scheduler is as important as the plotter:

every 32 frames:
    fetch one character
    place its eight font bytes at offsets 8,17,26,...,71 of SEGTER2

every 4 frames:
    RCL all 72 bytes as one continuous carry chain

every frame:
    copy 36 words (72 bytes) from SEGTER2 to SEGTER

The 72-byte RCL is one continuous chain; carry is not reset at each nine-byte row. The persistent buffer survives, while the scratch copy can be rotated hundreds of times during point drawing without corrupting the next frame.

The initial ten-character YEAH string is fetched at 32-frame intervals. On frame 352 the terminator is encountered, DI switches to the main text, and the two-byte FELE jump becomes two NOPs. That one self-modification is the handoff from flat concentric text to the visible depth warp.

Part 3: Two Tones And Drums Share One PIT Channel

The source does not use the CMOS real-time clock. It has no accesses to ports 70h or 71h; it writes divisor 80 to PIT channel 0 and installs IRQ0. This instruction evidence contradicts a later creator recollection on Pouet that described RTC timing for the part.

IRQ0 interprets three bytecode streams: tone 1, tone 2, and drums. Tone bytes below 80h are note indices. Commands set rest, decay interval, note length, and transpose:

81h       rest
82h n     decay interval = n*8 IRQs
83h n     note length    = n*880 IRQs
84h n     transpose

At 14,914.77 IRQs/s, those units are approximately 0.536 ms and 59.00 ms. Both tones repeatedly program PIT channel 2 in mode 0:

tone 1 trigger interval = table value f
tone 1 divisor          = 5*f

tone 2 trigger interval = table value f
tone 2 divisor          = 16*f

Tone 2 computes an intermediate 20*f in BX but stores AX, which still contains 16*f; the 20-times value is dead. Because both tones and the drum callbacks write the same channel 2, a later write in one IRQ supersedes an earlier one.

The drum commands select a ten-step descending divisor sweep or read overlapping words from the program image as 9-bit/8-bit noise values. The callbacks run with lengths/cadences 180/18, 130/1, and 100/6 IRQs.

Cleanup Defects And Why The Launcher Matters

Parts 1 and 2 restore the saved vector offsets and segments, reprogram channel 0 to divisor zero (65,536), disable the speaker gate, restore the PIC mask, select text mode 3, and terminate. They do not repair BIOS clock ticks lost while their non-chained IRQ0 handlers ran.

Part 3 is less careful. It saves four IVT words but later writes all four as offsets while leaving the vector segments equal to its own CS. It also sets PIC mask B8h rather than restoring the prior mask and overwrites port 61h with 20h. This is not a clean standalone teardown.

The parent-child route partly contains that damage because control returns to the parent, which immediately rebuilds its own IRQ and video state before the next transition. It does not make Part 3's restore correct; it explains why the complete release can survive behavior that is unsafe when the child is run alone.

What One Complete Frame Actually Does

The three children use distinct frame lifecycles:

Part 1
  choose text/settings state
  clear only 160x168 central field
  read 384 sine bytes
  plot 64 points
  update six phase immediates
  speaker bytes advance independently at about 7.85 kHz

Part 2
  shift 180x45 scroller left by two pixels
  inject up to two packed glyph columns
  upload 32 cycling palette entries
  build two 30-entry raster envelopes
  present 158 scanline commands
  speaker stream advances independently at about 15.7 kHz

Part 3
  select current and previous angle classes
  project 1,016 or 1,024 point operations
  consume text bits only on the current pass
  erase the previous depth phase in black
  inject a character every 32 frames
  shift the persistent 72-byte state every four frames
  copy persistent state to destructive scratch every frame

That division is the main historical value of the source release. The visible effects are modest, but their implementation exposes the exact 1991 tradeoffs: direct IVT/PIT/PIC ownership, self-modifying immediates, status-port pacing, selective old-pixel repair, destructive bit tables restored by copying, and large work split across adjacent audio interrupts.

Evidence Boundary

Proved by archive and payload comparison:

Proved by direct capture:

Proved by source instruction flow:

The decoded parent panorama is resource evidence, not a substituted runtime screenshot. No claim is made that the tested DOSBox-X build displayed that panorama correctly through the original ET4000 bank path.