Analysis model: gpt-5.5 xhigh
Revision model: GPT-6 Astra (user-reported)
Last edited: 2026-09-20
Revision timestamp: 2026-09-20 09:33:15 UTC

# Deesbab by Orange — sprites, surfaces and polygon inner loops

Deesbab's bright opening form is built from **100 successive eight-point
cross-sections**. The 800 points become depth-sorted, scaled intensity sprites;
overlap passes through a palette-derived colour lookup. Each new work image
starts from zero. The old article's inference of particle decay from a generic
copy helper was wrong.

This revision recovers the opening's geometry and glow sprites, the order-6
cylinder, the order-8 plane and its orbiting points, and the order-12 cone-lit
cylinder with a generated polygon sphere. Original outputs match three opening,
eleven cylinder, twelve plane and nine lit-cylinder frames exactly. Setup,
controllers, palette timing and selected pixel loops are independently checked;
polygon visibility and triangle slopes remain original-code inputs to the span
checks. Earlier object and closing callbacks still need deeper recovery.

Deesbab won the PC 64K competition at The Party 1996. Code is credited to
Galvados and music to Dune. The release identity and credits are documented by
[Pouet](https://www.pouet.net/prod.php?which=505) and
[Demozoo](https://demozoo.org/productions/18489/); the executable comes from the
[Scene.org release](https://files.scene.org/get/demos/groups/orange/deesbab.zip).

![Native Deesbab opening, 4.566–7.562 seconds](images/deesbab-runtime-opening.gif)

The clip contains 106 native samples, every second recorded frame, with
centisecond timing rounded cumulatively. All decoded GIF colours and durations
match the source samples. It is a continuous 3.02-second excerpt, not a
sequence of unrelated screenshots.

## Address basis and original carrier

Function labels below use **B**, an offset in the expanded body. Absolute data
operands use **P**, an offset from the protected-mode segment base. They differ
by `E90h`; confusing them points the analysis at the wrong globals.

```text
ZIP SHA-256:
05947537665044db395b014c0928afa2ec2a0086b9e03fb11b16902c66f0fa81
DEESBAB.EXE: 64,038 bytes, SHA-256:
5418d187f0f113a0e9837db7cf3f1318f2235c076966853cde14c4f138e5c396

MZ header = 20h bytes, no MZ relocation entries
initial CS:IP = 0f73:000c, SS:SP = 4755:04d6
RNC method 1 stream starts at file20h
expanded size = 47536h = 292,150 bytes
expanded SHA-256:
bcefbce80d1498cb11aada7fa71d69d5ea76eddc3759cd5296d9f508ca849943

original carrier:
    relocate unpacker to the initial stack segment
    expand the original RNC stream
    apply its own 18 WORD relocations
    transfer to expanded B003db

original bootstrap:
    image_base = load_segment * 16
    protected_base = image_base + E90h
    B00ea4 = image_base
    B00ea8 = protected_base              // also P18
    install code/data descriptor bases = protected_base

B = P + E90h
live image physical base = 8240h
live protected physical base = 90d0h
physical_address_of_pointer(Px) = 90d0h + DWORD[90d0h + Px]
```

The original unpacker was executed at load segments `1000h` and `1800h`.
Its pre-relocation bytes match the old expanded hash; independently applying
all 18 relocation WORDs reproduces both loaded bodies exactly. Original
bootstrap execution confirms the descriptor bases. Twenty-two live snapshots
confirm the runtime mapping and the checked timer/palette/page code spans.
The sorter's patched bucket address is checked separately from immutable code.

## The actual opening frame path

The normal opening callback is `B23110`, observed in three early live saves.
The shared point and mesh list heads are `P1e2a` and `P1e26`; the active work
pointer is `P1e4a`.

```c
// B23110; normalized steady-state order
copy_dwords(VGA_physical_A0000, work, 16000);
fill_dwords(work, 0, 16000);

update_camera_and_six_phases_from_signed_counter(P442f);
build_100_cross_sections();                    // B22f3b
if (BYTE[P2257d] == 1) {
    for (i = 0; i < 800; ++i) {
        point[i].xyz = mesh_vertex[i].xyz;      // 12-byte -> 40-byte record
        point[i].material = P201ba;
    }
} else {
    update_mesh_paths();                        // separate branch, not opening proof
}
build_camera_matrix();                         // B2f5f
project_lists_and_draw_buckets();               // B2b1a
// Newly drawn work is presented at the next callback's entry.
```

The generic helper `B5412` cited previously is not this callback's presentation
path. It also copies **forward**, not backward, and replaces the source with a
constant rather than attenuating its previous pixels:

```asm
; B5412 setup, with both pointers moved to their page end
mov ecx,0fa00h
add edi,ecx
add esi,ecx
neg ecx
; EDX = repeated byte [Pa7f5]
.loop:
mov eax,[esi+ecx]
mov ebx,[esi+ecx+4]
mov [esi+ecx],edx
mov [esi+ecx+4],edx
mov [edi+ecx],eax
mov [edi+ecx+4],ebx
add ecx,8
jne .loop
```

Four complete helper executions verify all 8,000 iterations, source and VGA
bounds, and exact write order. No direct call target or literal function
pointer to it was found in the body scan; that limited scan does not prove
universal unreachability. The visible opening's copy/zero path above is
independently established by its actual callback.

Buffer allocation and visible page size are distinct. `B23e3` requests 128,000
bytes and stores its returned pointer plus 640 in `P1e4a`. Later `B1f91b`
requests 80,000 bytes and replaces both `P1e4a` and `Pe80`. The opening consumes
64,000 visible bytes, but that does not imply every part allocates only 64,000.

## Setup, records and changing controls

The cue table begins with two different setup functions at order/row `00:00`.
`B209e9` temporarily installs a 300-point callback. `B22d70` then replaces it
with the 800-point opening. The dispatcher executes at most one cue per
iteration, so these entries cannot be collapsed into one call.

```c
// B22d70, after list reset B237e
point_object.count = 800;
point_object.records = allocate(800 * 40);
mesh.vertex_count = 800;
mesh.allocated_face_count = 1;

angle = 0.0f;
step = f32(2*pi/8);
for (i = 0; i < 8; ++i) {
    section[i] = {f32(cos(angle)*22), f32(sin(angle)*22), 0};
    angle = f32(angle + step);
}
P2257d = 1;                                    // sprite mode
camera = {0,0,-150}; target = {1,1,1};
projection_scale = 160;
P442b = P442f = 0;
P1dcd0 = B23110 - E90h;                        // current renderer
```

The original setup's eleven application allocation requests are 28, 16,
32,000, 116, 9,600, 16,000, 9,600, 6,400, 16, 12 and 48 bytes. Their verification supplies
a declared successful allocation service; it does not claim recovery of the
private allocator. The separately available topology builder `B22ea8` is not
called by this setup. A redundant call to `B1eb2e` sets the same callback again;
loading a palette pointer into ESI before it does not turn it into a palette copy.

```c
// B23136..B231cc. Each FILD reads a signed DWORD independently.
T = int32(P442f);
camera.y = f32(cos(T*c[0]) * 60);
target.y = f32(sin(T*c[0]) * 60);
for (i = 0; i < 6; ++i)
    phase[i] = f32(int32(P442f) * c[i]);

// Original float32 coefficients at P22555, shown approximately:
// +.001, -.00123126, +.0033535,
// -.00063234, +.000971226, +.0023535
```

The trigonometric argument is evaluated before the phase's float32 store.
Eight original-prefix checks include ordinary counts and signed/wrap boundary
inputs. They use stable supplied counts; a real interrupt may occur between
separate counter reads.

## Geometry: a chain of 100 eight-point sections

The shape builder `B22f3b` starts from a **retained translation vector** at
`P22409..22411`. It does not reset that vector to zero each frame. Local phase
steps are the six binary float32 values beginning at `P22511`.

```c
// f32 marks original single-precision stores.
// matmul computes each dot product, then stores its result as float32.
A = phase[0..2]; B = phase[3..5];
M = translation(retained_translation);
for (section_index = 0; section_index < 100; ++section_index) {
    ax = f32((cos(A.x) + sin(B.x)) * amplitude);
    ay = f32((cos(A.y) + cos(B.y)) * amplitude);
    az = f32((cos(A.z) + sin(B.z)) * amplitude);
    R = matmul(matmul(Rx(ax), Ry(ay)), Rz(az));  // B313b
    M = matmul(R, M);

    move = f32_each({M[8], M[9], M[10]} * 6);   // third ROW
    retained_translation = move;              // three stores during each section
    M = matmul(translation(move), M);
    for (j = 0; j < 8; ++j)
        vertices[8*section_index+j] = transform_and_store_f32(M, section[j]);

    A = f32_each({A.x-step[0], A.y+step[1], A.z-step[2]});
    B = f32_each({B.x-step[3], B.y+step[4], B.z-step[5]});
}
```

The amplitude is the original float32 approximation to `.21`. Rotation signs
matter; these are the matrices used by the recovered recurrence:

```text
Rx = [1  0   0  0]   Ry = [cy 0 -sy 0]   Rz = [cz  sz 0 0]
     [0 cx  sx  0]        [0  1  0  0]        [-sz cz 0 0]
     [0 -sx cx  0]        [sy 0  cy 0]        [0   0  1 0]
     [0  0   0  1]        [0  0  0  1]        [0   0  0 1]

for each output coordinate r:
    out[r] = f32((y*M[4*r+1] + x*M[4*r]) + z*M[4*r+2] + M[4*r+3]);
```

The independent recurrence matches all 300 intermediate section matrices,
900 generated angles and 2,400 vertices across three captured input sets.
Those are predictions from captured phases and retained state, not assertions
that a snapshot taken mid-render already contains the completed new geometry.
The native matches below also include the preceding call's retained vector.

## Camera matrix and the vertical-axis special case

The look-at routine `B2f5f` uses world Z as its reference axis. When eye and
target share X and Y, it persistently increases the target's Y coordinate by
one before computing the basis. It does not require equal Z for that branch.

```c
if (target.x == eye.x && target.y == eye.y)
    target.y = f32(target.y + 1.0);
{dx,dy,dz} = f32_each(target-eye);
h = sqrt(dy*dy + dx*dx);
L = sqrt(dy*dy + dx*dx + dz*dz);
right   = f32_each({dy/h, -dx/h, 0});
up      = f32_each({dx*dz/(h*L), dy*dz/(h*L), -h/L});
forward = f32_each({dx/L, dy/L, dz/L});
basis = rows(right, up, forward, homogeneous_identity_row);
view = matmul(RollZ(roll), matmul(basis, translation(-eye)));
```

Eleven original executions match the independent basis, final matrix and
mutated target, covering three captured input sets and eight declared
positions/rolls. Two captured input sets also reproduce their saved matrix;
the remaining input set does not reproduce its stored matrix (28 differing
bytes). The equality checks do
not turn an asynchronous save into an atomic camera update. This finite-domain
special case is not a proof against all exceptional floating-point inputs.


## Projection and ordering

`B2847` transforms 40-byte point records, then creates 120-byte draw records.
The opening material is at `P201ba`; the bucket table has 2,048 DWORD heads.

```c
// Fields used by this path; unspecified fields are not invented.
struct Point40 {
    float xyz[3];                              // +00
    byte other0[12];
    uint32 material;                           // +18h
    byte other1[12];
};
// Draw120: next at+00, screenX/Y/Z at+04/+08/+0c,
//          material pointer at+70h.

for (i = 0; i < object.count; ++i) {
    {X,Y,Z} = transform_and_store_f32(camera_matrix, point[i].xyz);
    if (int32(float_bits(Z)) <= 0x40000000) continue;
    Q = projection_scale / Z;
    sx = f32(X*Q + centreX);
    sy = f32(Y*Q*vertical_aspect + centreY);
    k = FIST_round_nearest_even(Z * original_float[P1f56]);
    if (uint32(k) >= 2048) continue;
    record = append_120_bytes();
    record.next = bucket[k];
    record.screen = {sx,sy,Z};
    record.material = point[i].material;
    bucket[k] = record;
}
for (k = 2047; k >= 0; --k)                    // B29b0
    for (record = bucket[k]; record; record = record.next)
        draw_material(record);
```

The literal Z test rejects finite depths at or behind 2; exceptional float
encodings should not be assigned ordinary geometric meaning. The bucket
constant is its binary float32 value, not an invented exact fraction. Bucket
order is far-to-near, and insertion at the head reverses point order within
an equal bucket. This is a quantized depth sort. Screen-centre rejection does
not occur here: the sprite rectangle is clipped later.

Original and independent projection agree on all transformed coordinates,
complete appended records, untouched record bytes and bucket heads. The three
800-point inputs accept 800, 715 and 705 points. Additional controlled depths
exercise near and far bucket rejection. The original self-modifying sorter is
executed as part of the complete point-object composition checks.

## The glow texture and palette-derived overlap table

`B1a84` generates a radial intensity texture. It allocates and fills **33 rows
of 32 bytes**, although the sprite material advertises dimensions 32×32.

```c
for (y = -16; y <= 16; ++y) {
    yt = 5 * arithmetic_shift_right(602*y, 9);
    for (x = -16; x < 16; ++x) {
        xt = 5*x;
        *texture++ = max(0, 63 - integer_sqrt(xt*xt + yt*yt));
    }
}
```

All 1,056 generated bytes match the original and three live copies. All 174
distinct square-root inputs are checked against an independent integer root,
including values that the final clamp turns into zero. The extra row is actual
allocated output, not an assumption about adjacent heap contents.

The blend table at material offset `+0c` has 64×256 entries. `B1e1ad` builds it
from an authored palette and a colour contribution triple; the opening triple
is `(63,63,63)`.

```c
for (strength = 0; strength < 64; ++strength) {
    for (old = 0; old < 256; ++old) {
        for (c = 0; c < 3; ++c)
            target[c] = clamp(palette[old][c] +
                              ((component[c]*strength) >> 6), 0, 63);
        best_distance = infinity;
        for (i = 0; i < 256; ++i) {
            d = squared_RGB_distance(palette[i], target);
            if (d == 0) { chosen = i; break; } // first exact match
            if (d <= best_distance) {          // later equal nonzero minimum
                best_distance = d; chosen = i;
            }
        }
        blend[(strength<<8) | old] = chosen;
    }
}
```

The maximum added channel contribution is 62. This is not saturating addition
of palette indices. The complete original generator, cache and self-modifying
nearest search match the independent RGB model and all three live 16,384-byte
tables. The authored palette used here is distinct from the visible DAC state.

## Scaled sprite inner loop

Material flag `80h` routes through `B4e1c → B4bb5 → B4e50`. The scale is the
projected `projection_scale/Z`. Floating-point rectangle setup uses nearest-even
integer rounding, fractional-edge compensation and a half-pixel sample offset.

```c
scale = f32(projection_scale/Z);              // original store before setup
width = height = 32;
leftF = screenX - width*scale*.5;
topF  = screenY - height*scale*.5;
left = round_even(leftF); top = round_even(topF);
right = left + round_even(width*scale);
bottom = top + round_even(height*scale);
inverse = f32(1/scale);
u0 = f32((left + .5 - f32(leftF)) * inverse);
v0 = f32((top  + .5 - f32(topF))  * inverse);

if (left>=320 || top>=200 || right<=0 || bottom<=0) return;
if (left<0) { u0=f32((-left)*inverse+u0); left=0; }
if (top<0)  { v0=f32((-top)*inverse+v0); top=0; }
right=min(right,320); bottom=min(bottom,200);
uStart=uint32(round_even(u0*65536));
v=uint32(round_even(v0*65536));
step=uint32(round_even(inverse*65536));

// The original decrements clipped height BEFORE entering the row loop.
for (y=top; y<bottom-1; ++y) {
    sourceY = int32(v) >> 16;
    u = uStart;
    for (x=left; x<right; ++x) {
        strength = texture[sourceY*32 + (u>>16)];
        old = work[y*320+x];
        work[y*320+x] = blend[(strength<<8) | old];
        u = uint32(u+step);
    }
    v = uint32(v+step);
}
```

There is no bilinear texture interpolation and no explicit zero-intensity
skip. Even strength zero can select a duplicate palette entry. The last
clipped row is omitted, and a one-row rectangle draws nothing. The tested
positive-scale cases establish their actual sample bounds; they do not claim
arbitrary malformed material safety.

Fifteen cases verify all 25,653 texture/LUT read pairs and every write, including
clipping and small scales. Six complete point-object compositions match an
independent projection/bucket/sprite model on zero and nonzero backgrounds:
4,440 sprite calls and 982,838 pixel samples. Full callback/native verification
adds the setup state, changing geometry, camera, actual palette and page path.

## PIT pacing and a fade endpoint defect

The foreground waits for `P442f` to change at `B5402`. IRQ0 at `B5314` adjusts
its calibrated PIT reload according to the initial retrace bit, then waits for
retrace before rearming the timer.

```c
// B5321: AND 8; DEC; NEG => +1 outside retrace, -7 inside retrace
period16 = uint16(period16 + ((in8(0x3da)&8) ? -7 : 1));
while (!(in8(0x3da)&8)) {}
out8(0x40, period16 & 255);
out8(0x40, period16 >> 8);
call(Pa7e5);                                   // live callback B1e87c
++P442b; ++P442f;                              // wrapping DWORDs
out8(0x20,0x20);
```

Eight original timer-body cases verify both corrections, counter wrapping,
callback order and port writes, with an explicitly supplied original no-op
callback. The live callback is separately mapped to `B1e87c`; the timer test
alone is not a complete sound-hardware emulation. Cleanup `B5383` programs PIT
mode 3 with divisor zero/65,536, rather than restoring an arbitrary saved divisor.

The opening fade begins through `B1e9b8`. Its endpoint flag is set by the first
black upload and remains set through the intermediate writes:

```c
// Initializer B1e9b8
level=0; endpoint_written=0; direction=1; speed=2; fade_mode=0;

// Relevant branches of each original B1e87c callback:
if (level == 256) {
    if (!endpoint_written) {
        upload(source_palette);
        endpoint_written=1;
    }
} else if (level == 0) {
    if (!endpoint_written) {
        upload_black();
        endpoint_written=1;
    }
} else {
    out8(0x3c8, 0);
    for (c=0; c<768; ++c)
        out8(0x3c9, (source_palette[c]*level)>>8);
    // No endpoint_written reset here.
}
level = clamp(level + direction*speed, 0, 256);
```

Consequently the actual final upload is **254/256**, although the level variable
reaches 256. Every positive 6-bit source component remains one lower than its
authored value. An original-code replay of the initializer and 131 complete
callbacks checks all 128×769 port writes and the subsequent skipped uploads.
This explains the native opening palette used in the frame matches. Treating
`level==256` as proof of a full source-palette upload would have been wrong.

## Order 6: a cylinder sampled through an 8×8 grid

The surface selected at order/row `06:00` is an analytically intersected
radius-100 cylinder around the Z axis. The intro intersects coarse rays with
that cylinder, stores texture coordinates and distance shading, then
interpolates those quantities over 8×8 pixel cells. It overlays the existing
800-point sprite object afterward. This replaces the earlier visual guess of
an unspecified liquid or heightfield mapper for this particular section.

![Native cylinder and point overlay, 43.375–46.371 seconds](images/deesbab-runtime-cylinder.gif)

The new clip contains 106 continuous native samples at stride two, with every
decoded colour and cumulative GIF duration verified. The following recovery
covers the selected `B1fb34 → B1f9db → B1f963` path. Other surface callbacks
remain separate targets.

### Setup, retained resources and lookup rows

`B1f91b` requests 39,852 bytes for the coarse grid and 80,000 bytes for work.
The observed grid pointer is `P1f350=8d078h`, work is `P1e4a=1ae170h`, and the
texture pointer is `Pe74=6a6d8h`; all pointer values are protected-relative.
The field setup allocates a separate 32,768-byte lookup at `P1f60c`.

```c
// B1a5d: expand the embedded 64x64 index tile at P1c0dc.
for (y=0; y<256; ++y)
    for (x=0; x<256; ++x)
        texture[y*256+x] = source64[(x&63)*64 + (y&63)];

// B1fb34: brighter requested palette and two-sided shade lookup.
for (c=0; c<768; ++c)
    requested[c] = min(63, (authored[c]*326)>>8);
copy_to_palette_request(requested);            // B1eb1b
for (r=0; r<64; ++r) {
    copy_256_bytes(combined[(64+r)*256], dark_table[r*256]);
    copy_256_bytes(combined[r*256], additive_table[(63-r)*256]);
}
current_renderer = B1f9db-E90h;
selected_field = B1f963-E90h;
mesh_list = 0;
eye = {0,0,-700};
randomize_existing_point_object();             // B20ab5, retains count800
pending_ticks = 0;
```

The texture repeats a **transposed** index tile. The upper lookup source at
`P1f4e8` has 64 rows built by `B1e234`: row `r` maps each authored colour toward
`(component*(255-4*r))>>8`, then chooses an authored-palette index. The lower
half reverses the white additive table at `P1f604`. These are index lookups,
not RGB image rows. Original tile expansion, complete combined-table assembly,
bright palette and camera transpose match independent calculations and both
live resource sets. This extends the earlier additive-table proof without
claiming a new exhaustive independent proof of every component-table builder.

The original fade sequence applies to this brighter palette too. The native
matches use its last actual 254/256 upload, not the requested full values.

### Motion updates and two camera generations

The callback copies the previous work image before it consumes pending ticks.
It catches up through one original update per elapsed tick; multiplying a
float increment by the number of ticks would change its rounding history.

```c
// B1f9db
copy_dwords(VGA, work, 16000);
n = exchange(P442b, 0);
while (n--) {
    P1f394 = uint32(P1f394 + 200);
    P1f4a4 = uint32(P1f4a4 + 65536);
    P1f578 = uint32(P1f578 + 1);
    P1f57c = uint32(P1f57c + 3);
    phase0 = f32(phase0 + step0);               // P1f510/P1f514
    phase1 = f32(phase1 + step1);               // P1f51c/P1f520
    phase2 = f32(phase2 + step2);               // P1f538/P1f53c
    eye.x = f32(cos(phase1)*radius);
    eye.y = f32(sin(phase1)*radius);
    eye.z = f32(eye.z + f32_from_bits(0x3f547ae1));
    target.z = f32(eye.z + 110);
    target.y = f32(sine_product(P1f578) / signed_divisor);
    target.x = f32(sine_product(P1f57c) / signed_divisor);
}

// B520a: signed multiply, return low32 bits after shifting the64-bit product.
sine_product(phase) = int32((100000 * int32(sine_table[phase&4095])) >> 16);

field_origin = eye;                            // B3a7b copy
field_matrix = transpose(stored_camera);        // B1f963/B3ab5
build_cylinder_grid(field_origin, field_matrix);// B21420
sample_cells();                                // B1f280
auxiliary_light.position = eye;                 // B1fc38
stored_camera = build_camera(eye,target,roll);   // B2f5f, AFTER the field
project_and_draw_points();                      // B2b1a
```

Thus the surface uses a retained direction matrix and a newly updated origin;
the overlay uses the rebuilt camera. Rebuilding one new camera before both
paths changes the result. Fourteen controller cases match an independent
sequential model on every changed word. Starting from the original entry
phase values and eye `(0,0,-700)`, 159 and 701 original updates reproduce all
11 checked camera/control words in the two live states.

The captured field matrix at `P1f354` preserves the matrix actually used by
the producer. Transposing it back equals the current camera in the first save,
but not the second. In the second it exactly equals the original camera built
after 695 controller updates, while the current controls are at 701. These
recorded matrices are the replay inputs for the native matches; the review
does not infer a complete interrupt trace from them.

### Coarse ray/cylinder intersections

The producer visits 41 columns and 26 rows: `x=0..320`, `y=0..200`, each in
steps of eight. Each 12-byte record contains U, V and shade L. Direction
normalization and hit coordinates retain the original float32 store boundaries.

```c
for (y=0; y<=200; y+=8) {
    for (x=0; x<=320; x+=8) {
        screen = {f32(x*binary_double(.82) + binary_double(-131.2)),
                  f32(y-100), 105};
        ray = rotate_and_store_f32(field_matrix, screen);
        d = normalize_and_store_f32(ray);
        o = field_origin;
        a = d.x*d.x + d.y*d.y;
        b = o.x*d.x + o.y*d.y;
        c = f32(o.x*o.x + o.y*o.y - 10000);
        t = f32((sqrt(b*b-a*c)-b)/a);
        hit = f32_each(o + d*t);

        U = round_even(atan2(hit.y,hit.x) * inv_two_pi * 65536 * 256);
        V = round_even(hit.z * 25600);
        shade = f32(abs(d.z*t*float32(.33)) + 64.0);
        shade = clamp(shade,64.5,126.5);
        L = round_even(shade*65536) + 0x4000;
        *grid++ = {uint32(U),uint32(V),uint32(L)};
    }
}
```

The inverse-two-pi and screen constants are their original binary values;
the independent reference preserves the extra precision before float32 stores,
including cancellation around screen centre. It does not add ray rejection or
singularity handling absent from this path. The captured origins are inside
the cylinder and the tested rays use the stated root.

U is a wrapping 16.16 texture coordinate over a 256-texel revolution. V advances
by 25,600 fixed-point units per world Z unit, giving 0.390625 texels per unit
and a full 256-texel wrap after 655.36 world units. L includes the original
quarter-unit addition. Both sets of 1,066 records, all seven stored geometric
intermediates per record, and the two saved grids match exactly.

The builder also contains optional light-list calculations. Both checked
states have `P208c8=0` and `P208cc=0`, so the field proof covers that disabled
path. This light list is separate from the shared renderer's auxiliary light
record; neither should be confused with a point-cloud transform.

### Packed cell interpolation and the 208-row boundary

The sampler uses 40 cells across and eight pixel rows per band. Grid records
have stride 12; a grid row has stride 492. Its seam adjustment is literal
wrapped integer arithmetic, applied to U, V and L differences:

```c
step8(a,b,seam) {
    if (seam==1 && uint32(abs(int32(a-b))) >= 0x800000) {
        if (int32(a)<int32(b)) a=uint32(a+0x1000000);
        else b=uint32(b+0x1000000);
    }
    return int32(b-a) >> 3;                    // arithmetic shift
}
```

Starting corner values remain as loaded; the adjustment above is local to the
step calculation. For each cell, compute vertical steps down its left and
right edges, then derive the horizontal steps anew on each of its eight rows.
The pixel loop packs V fraction and shade into the same DWORD:

```c
uAcc = ROL32(left.U,16);
vAcc = (ROL32(left.V,16)&0xffff0000) | uint16(int32(left.L)>>8);
xTex = byte(left.U>>16); yTex = byte(left.V>>16);
du = step8(left.U,right.U,seam);
dv = step8(left.V,right.V,seam);
ds = step8(left.L,right.L,seam) >> 8;
uStep = ROL32(du,16);
vStep = (ROL32(dv,16)&0xffff0000) | uint16(ds);
xStep = byte(ROL32(du,16)); yStep = byte(ROL32(dv,16));
for (x=0; x<8; ++x) {
    texel = texture[(yTex<<8)|xTex];
    pixel = combined[(byte(vAcc>>8)<<8)|texel];
    emit_pixel_in_word_pair(pixel);
    {uAcc,carry} = ADD32(uAcc,uStep);
    xTex = byte(xTex+xStep+carry);
    {vAcc,carry} = ADD32(vAcc,vStep);
    yTex = byte(yTex+yStep+carry);
}
```

The original patches ADD/ADC immediates in the unrolled sampler. All live
code differences are confined to 60 operand bytes targeted by 18 original
writers; 958 other sampler bytes match the original. The independent sampler
tests restore its complete cold code before running, so saved immediates do
not supply their predictions. Shade's
low-word arithmetic can carry into the V fraction, whose carry updates the
texture Y byte. Replacing this with three independent ideal interpolators
loses that coupling. Texture colours are not bilinearly filtered: interpolated
coordinates choose a single byte texel and an index lookup.

The vertical loop subtracts eight and continues on unsigned non-borrow,
including a band that starts with remainder zero. A height argument of 200
therefore produces **208 rows, or 66,560 bytes**. The last band reads a 27th grid
row even though the producer wrote only 26. That extra 492-byte row is zero
in both actual captures and is left unchanged by the producer; no general
zero-initialized-heap assumption is needed or claimed.

The extra 2,560 output bytes fit the 80,000-byte work allocation. Presentation
copies only the first 64,000 bytes. In the scalar access calculations, visible
lookup rows are 69–126 and 64–126 for the two states. Lower-half accesses in
the extra band are not evidence of visible brightening in this disabled-light
path. Four whole original sampler outputs match the independent packed model,
including actual seam flag one and counterfactual zero, with guards unchanged.
Access ranges are model calculations; the test does not claim an original CPU
memory-access trace through the self-modifying loop.

### Fixed cloud, point overlay and full native correspondence

The setup randomizes XYZ in the existing 800 records and preserves the other
fields. The original generator produces integer coordinates represented as
floats: X/Y in `[-35,34]` and Z in `[-600,599]`.

```c
// B20830; unsigned product, explicit32-bit wraps, signed final offset.
random_range(width,offset) {
    product = uint64(0x1e5b6)*seed;
    a = uint32(product>>11);
    temp = uint32(a + 0x925 + uint32(product));
    value = uint32(a+temp)%width + offset;
    seed = ROL32(temp,5);
    return value;
}
for (i=0; i<800; ++i) {                        // B20ab5,40-byte records
    point[i].x = float(random_range(70,-35));
    point[i].y = float(random_range(70,-35));
    point[i].z = float(random_range(1200,-600));
}
```

Two original generator checks match every coordinate write and preserve all
other fields and guards. These use declared starting seeds, not a claimed
recovery of the original creation seed. Separately, all 32,000 point-record
bytes are identical in the two live saves and satisfy those integer bounds.
The camera moves through that fixed cloud; copying the eye into an auxiliary
light record does not move the cloud itself.

![Native cylinder frame 3040 at 43.375 seconds](images/deesbab-runtime-3040.png)

![Native cylinder frame 3584 at 51.137 seconds](images/deesbab-runtime-3584.png)

Complete original callbacks reproduce frames **3040–3044** and **3584–3589**:
11 full 640×400 RGB frames, representing two distinct completed outputs.
The replay includes the recorded field matrices, new origin, grid producer,
packed sampler, later camera rebuild, point projection/compositing and actual
fade palette. Every native RGB byte matches. This establishes two full output
examples without claiming all interrupt interleavings or all later field modes.

## Order 8: a flat plane and 200 orbiting points

The surface selected at `08:00` is the plane **Y=0**. Its apparent folds come
from the texture viewed under a moving, rolling camera; this producer does
not intersect a displaced heightfield. It computes plane intersections on the
same coarse grid as the cylinder, then reuses the packed 8×8 sampler. The
bright points now move independently around the Y axis. Their angular speed
is inversely proportional to radius squared, so the cloud shears as it turns.

![Native plane and orbiting points, 65.847–68.844 seconds](images/deesbab-runtime-plane.gif)

This continuous excerpt uses 106 native samples, frames 4615 through 4825 at
stride 2. Its decoded RGB colours and cumulative centisecond timing match the
recording exactly. The apparent relief in the foreground belongs to the
sampled texture; the recovered intersection still lands on a flat plane.

### Setup and the moving point records

Setup `B1fc7f` installs callback `B1fcd6`, copies the unbrightened authored
palette at `P1bddc` into the requested palette, and uploads black to the DAC.
It clears the pending ticks, resets phase `P1f51c`, disables seam adjustment
at `P1e7ea`, resets the common renderer lists through `B237e`, and sets the
projection zoom to 90. The texture, coarse grid, work allocation and darkening
lookup remain available from the earlier setup. Resetting a list head does
not demonstrate that its former allocation was freed.

`B20881` builds two type-128, 32×32 sprite materials, `P201ba` and `P201da`,
sharing the radial sprite through `P[e85]`. Their additive lookup pointers
come from `P1f604` and `P1f608`. The new object needs a 16-byte header and
**200×40 = 8,000 bytes** of point records. Its initializer assigns the first
material, `P201ba`; the presence of the second material is not evidence that
half the points use it. The mesh list is empty in all four observed states.

The original initializer `B208eb` uses the shared PRNG described for the
cylinder, but gives the points stored radii and angles:

```c
// Record stride 40 bytes; f32 marks a stored single-precision result.
x = random_range(550, -265);        // -265 through 284
y = random_range(50, -50);         // -50 through -1
z = random_range(550, -265);
radius = f32(sqrt(x*x + z*z));
theta  = f32(atan2(x, z));           // original argument order
material = P201ba;
// XYZ at +00h/+04h/+08h; material +18h; theta +1ch; radius +24h.
```

The other record bytes retain their allocation contents. Two original setup runs with deliberately nonzero
allocation contents verify those untouched fields, the allocation sizes,
initialized records, requested palette and black DAC upload.

Each consumed tick calls `B20c3c` once for all 200 points:

```c
x = f32(cos(theta) * radius);
z = f32(sin(theta) * radius);
r2 = f32(radius * radius);
theta = f32(theta + 50 / r2);
```

Y and radius stay fixed. The stored angle advances **after** generating X/Z,
so it describes the next update's angle, not the coordinates beside it. The
initializer's `atan2(X,Z)` and the updater's cosine-for-X convention also mean
the first recomputation approximately exchanges the initial X/Z orientation.
Changing that initializer to the more usual `atan2(Z,X)` would misdescribe the
binary. There is no zero-radius guard in this loop; the checks cover declared
seeds and captured records, not every possible PRNG outcome.

### Callback order and camera motion

The callback first presents the previous 64,000-byte work image, exchanges
the pending tick count with zero, then consumes ticks one at a time. Every
tick advances the stored float phase by `P1f520` and updates the entire cloud.
Sequential rounding matters: multiplying the step by the pending count is
not the original update sequence.

With the resulting phase `p`, the camera construction is:

```c
origin.x = f32(cos(p) * 100);
origin.y = f32(sin(p) * 40 - 45);
origin.z = 0;
ay = f32(-p + f32(0.785));
az = f32(cos(p) * f32(0.5));
ax = f32(cos(p) * f32(0.2) + f32(-0.7));
camera = Rz(az) * (Rx(ax) * Ry(ay)) * Translate(-origin);

// Same original rotation signs and matrix store boundaries as the opening.
B1f99f();                           // transpose, plane grid, packed sampler
B2b1a();                            // common point renderer, same camera
```

Unlike the cylinder callback's two camera generations, this callback builds
its camera before both consumers. The plane producer gets its transposed
rotation and the point overlay uses the same current camera. There is no
late look-at rebuild or auxiliary-light position copy between them. Sixteen
original controller cases, using four saved states and 0, 1, 3 or 16 supplied
ticks, match the independent phase, point, origin and five-matrix results.

### Plane intersections, overflow and distance shading

Producer `B1f6c5` emits 41×26 records at screen X=0…320 and Y=0…200, stepping
by eight. Each record is 12 bytes: signed 16.16 U and V followed by the shade
coordinate. The screen constants here are **single precision**, unlike the
cylinder producer's double constants. Keeping the actual float stores is
necessary to reproduce the integer grid:

```c
screen = (f32(x*f32(0.82) + f32(-131.2)), f32(y-100), 105);
v = rotate3x3_and_store_f32(transposed_camera, screen);
d = normalize_and_store_f32(v);
t = f32(-origin.y / d.y);
hit = f32_each(origin + d*t);
U = FIST32_nearest_even(hit.x * 65536);
V = FIST32_nearest_even(hit.z * 65536);
```

One world unit in X or Z corresponds to one texel. The byte-indexed texture
wraps every 256 world units. A negative intersection parameter does not skip
the coordinate calculations, and there is no near-parallel division guard.
The original masked signed-integer conversion produces `80000000h` when the
rounded coordinate exceeds signed 32-bit range. This is exercised by three
coordinate conversions in saved state 009 and one each in 010 and 011. The
independent model reproduces that integer-indefinite result; simply wrapping
an arbitrarily large host integer would produce different grid bytes. These
counts establish coordinate records, not a demonstrated visible defect.

Shading uses distance from the camera, with a short-distance offset of 140
world units. Behind-camera and extremely near intersections are assigned the
dark end instead of being removed:

```c
// Finite-input meaning of the original signed float-bit comparison.
if (t < f32(0.02)) {
    q = float_from_bits(0x4a7c0000); // forces the upper clamp
} else {
    delta = f32_each(hit - origin);
    q = f32((sqrt(dot(delta, delta)) - 140) * 65536);
}
if      (q > 4112384) L = 0x3ec000;
else if (q < 0)       L = 0;
else                 L = nearest_even(q);
L += 0x4000;
```

The resulting shade coordinate spans 0.25 through 63.0 in 16.16 units. The
wrapper supplies the **64-row, 16,384-byte darkening lookup** at `P1f4e8`,
not the cylinder's 128-row combined lookup. The optional cylinder-light
mechanism is not part of this plane producer. All 1,066 grid records and seven
intermediate float values per record match original execution in each of the
four captured states; the regenerated grids also match the saved grid bytes.

### Shared sampler, point overlay and native correspondence

`B1f99f` passes the retained 256×256 texture, the darkening lookup and seam
flag zero into `B1f280`. Its packed ADD/ADC coordinates, interpolation order
and eight-pixel inner loop are the ones recovered above. It still writes
26×8 = 208 rows, consumes the retained 27th grid row, and presents only 200
rows. Four complete wrapper runs, with the cold original sampler restored
before its own operand patches execute, match the independent plane producer
and previously verified sampler across all 66,560 output bytes and guards.

The point overlay then uses the common projection, depth buckets, clipping
and scaled additive sprites already recovered for the opening. Full original
`B1fcd6` executions, including this overlay, reproduce the following native
frames with the original palette callback's DAC values:

| Saved state | Native frames | Palette level |
|---:|---|---:|
| 008 | 4070–4072 | 254 |
| 009 | 4615–4617 | 254 |
| 010 | 5157–5159 | 254 |
| 011 | 5679, 5680, 5681 | 142, 140, 138 respectively |

![Native plane frame 4070 at 58.071 seconds](images/deesbab-runtime-4070.png)

![Native plane frame 5157 at 73.581 seconds](images/deesbab-runtime-5157.png)

These are twelve complete 640×400 RGB matches from four reconstructed indexed
images. The final three frames share one geometric image while the DAC fades
independently. Original fade-in and fade-out initializers plus 262 palette
callbacks verify the actual uploads, including levels 254, 142, 140 and 138.
The supplied foreground inputs use the four captured memory states, pending
count zero and an explicitly initialized x87 stack. They are sufficient
original-code states for exact output, not a recovered interrupt/beam trace
or a capture of the original floating-point registers.

A separate stack detail remains bounded: `B1fd2c…B1fd34` computes an unused
`sin(p)*100` before the expression that actually supplies origin Y. An
isolated original matrix suffix leaves that value on the x87 stack. Three
complete callbacks on one initialized Unicorn instance rotate TOP but retain
only one reported valid slot and produce identical work images. The isolated
extra value therefore does not establish accumulating live entries across
the complete renderer, an eventual exception, or a native visual defect.

## Order 12: four cone lights and a polygon sphere

The cylinder returns at `12:00`, now lit by four rotating cones. A generated
65-vertex, 126-triangle sphere is drawn over it. The lights rotate with that
mesh, but the cylinder and polygon renderer consume different light records
and calculate different shade values.

![Native lit cylinder and polygon sphere, 95.454–98.450 seconds](images/deesbab-runtime-lit-cylinder.gif)

This is a continuous native excerpt: 106 samples from frames 6690 through
6900 at stride two, with exact decoded colours and cumulative GIF timing.
The following checks join original setup, generated geometry, light controls,
field sampling and the selected polygon span to nine full native frames.
Triangle visibility and edge-slope generation remain original-code inputs to
the independent span model; they have not received a separate scalar proof.

### Generated mesh, allocation and normal construction

`B2202a` makes a circular profile from the resident signed 16.16 sine/cosine
tables. It revolves seven intermediate profile points through nine sectors;
the two endpoints become the poles. Integer shifts and signed-WORD stores
precede the later float scale of `.15`, giving a nominal radius of 45:

```c
// B2202a; S/C are the captured 4096-entry trigonometric tables.
for (i=0; i<9; ++i)
    profile[i] = {i16((300*S[i*256])>>16),
                  i16((300*C[i*256])>>16), 0};
vertex[0] = profile[8];
vertex[1] = profile[0];
uv[0] = {0,0}; uv[1] = {0,127};
for (sector=0; sector<9; ++sector) {
    a = sector*455;
    for (j=0; j<7; ++j) {
        (x,y,z) = profile[j+1];
        k = 2 + sector*7 + j;
        vertex[k] = {i16(((x*C[a])>>16)-((z*S[a])>>16)), y,
                     i16(((x*S[a])>>16)+((z*C[a])>>16))};
        uv[k] = {(j*3612*200)>>16, (sector*3612*200)>>16};
    }
}

// B22291; original face order, including the wrap seam.
for (s=0; s<9; ++s) emit(1, 2+((s+1)%9)*7, 2+s*7);
for (j=0; j<6; ++j)
    for (s=0; s<9; ++s) {
        a=2+s*7+j; b=2+((s+1)%9)*7+j;
        emit(a,b,b+1); emit(b+1,a+1,a);
    }
for (s=0; s<9; ++s) emit(0, 8+s*7, 8+((s+1)%9)*7);
```

The independent integer model reproduces all generated XYZ, UV and index
bytes in three live states and in original generator calls with poisoned
output storage. The 189 mesh edges each belong to two triangles. The signed
trigonometric tables are declared inputs to this generator proof.

Setup `B1fe15` resets phase `P1f510`, requests the brighter palette, selects
`B1ffd0`, clears the common lists, enables field lighting and seam handling,
and sets the eye to `(0,0,-330)`. It retains pending ticks, the other phases,
projection zoom and existing texture/grid/work resources. It allocates four
28-byte field nodes and four separate 28-byte common light records, then:

| Mesh storage | Bytes |
|---|---:|
| Header | 116 |
| 65 source XYZ triples | 780 |
| 65 transformed records | 1,300 |
| 65 vertex normals | 780 |
| 65 shade pairs | 520 |
| 126 index/material records | 2,016 |
| 126 face normals | 1,512 |
| 126 three-corner attribute records | 6,048 |

The header stores vertex/face counts at `+50h/+54h`, source XYZ at `+58h`,
faces at `+5ch`, transformed records at `+60h`, corner attributes at `+64h`,
face normals at `+68h`, vertex normals at `+6ch`, and shades at `+70h`.
Setup converts signed XYZ WORDs to scaled floats and unsigned UV WORDs to
floats. Each 16-byte corner initially receives only U and V; the remaining
bytes are not assumed zero.

```c
// B217a: face normals; D and E are stored float32 edge differences.
D = f32_each(vertex[b]-vertex[a]);
E = f32_each(vertex[c]-vertex[a]);
N = f32_each({D.z*E.y-D.y*E.z,
              D.x*E.z-D.z*E.x,
              D.y*E.x-D.x*E.y});
face_normal = normalize_store_f32(N);

// B22bf: start all vertex sums at zero; walk faces in stored order.
for each face (a,b,c):
    for k in {a,b,c}:
        vertex_sum[k] = f32_each(vertex_sum[k]+face_normal);
for each vertex:
    vertex_normal = normalize_store_f32(vertex_sum);
```

Normalizing faces before accumulation gives equal face weight rather than
area weighting. Three complete original setups with a declared successful
allocator match all 16 allocations byte for byte, including preserved
fields and guards. The independently derived face and vertex normals also
match all three live meshes. Allocator internals and actual frees are not
part of that proof.

### Camera and two light lists

`B1ffd0` presents the previous work image, exchanges pending ticks with zero,
then applies each update sequentially. Integer controls advance by 200,
65536, 1 and 3 at `P1f394/P1f4a4/P1f578/P1f57c`; phases at
`P1f510/P1f51c/P1f538` use their stored float steps. Eye Z advances by the
float with bits `3e051eb8h`, approximately `.13`, and target Z becomes
`eyeZ+110` inside this tick loop.

The existing sine-table target calculation and `B2f5f` build the current
camera before either renderer. `B313b` builds the mesh rotation from phase
`P1f510` in all three axes. The light update is:

```c
local[4] = {{-.5,+.5,-.5}, {+.5,+.5,-.5},
            {0,+.5,+.5}, {0,-.5,0}};       // P1f628
for (i=0; i<4; ++i) {
    O = mesh.translation;
    L = normalize_store_f32(transform_store_f32(mesh.matrix,local[i]));
    field_node[i].position = O;            // +04h, three floats
    field_node[i].direction = L;           // +10h, three floats
    common_light[i].position = f32_each(O + L*52);
}
field_origin = eye;
B1f963();                                 // lit cylinder and cell sampler
B2b1a();                                  // polygon overlay
```

Twelve original controller cases reproduce the independent sequential
controls, camera, mesh rotation and both light lists exactly. This callback
uses one current camera for surface and overlay, unlike order 6's retained
field direction followed by a later camera rebuild.

For each cylinder-grid hit H, the field producer walks the four cone nodes
in list order. Its contribution depends on angle, not inverse-square falloff:

```c
total = 0;
for each field node (O,L) {
    D = f32_each(H-O);
    c = f32(dot(D,L)/sqrt(dot(D,D)));
    if      (c > f32(.98)) total = f32(total+50);
    else if (c > f32(.9))  total = f32(total+(c-f32(.9))*12.5*50);
}
base = clamp(f32(abs(ray.z*t*f32(.33))+64),64.5,126.5);
s = max(.5, f32(base-total));
record.L = nearest_even(s*65536)+0x4000;
```

The bit comparisons above state the finite tested-domain meaning of the
original instructions. U/V remain the radius-100 cylinder coordinates
recovered earlier. Lighting can push the shade into the combined lookup's
reversed additive half. No shadow-visibility test occurs in this light loop.
All three grids, per-node dot values and accumulated contributions match the
independent reference. Complete transpose/producer/cold-sampler runs also
match all 66,560 work bytes and guards.

### Inherited material and a nonstandard texture copy

The active material at `P1f4f0` is **16h**. The `12h` value passed in EBX to
`B2080` is not stored as the material type. Earlier setup `B1fbd7` supplies
16h; `B43c1` consequently selects the span at `B40b0`. Its texture pointer
comes from `P[e70]`, first lookup from `P1f4fc`, and second lookup from
`P1f500` (the darkening table).

Texture preparation `B1825` allocates 65,536 bytes but populates a tiled
128×128 region. The low-byte replacement in its source address is significant:

```c
for (y=0; y<128; ++y)
    for (x=0; x<128; ++x) {
        dst = (x&7) + ((x>>3)<<10) + (y<<3);
        src = ((y<<7)&~255) | x;          // SHL EAX,7; MOV AL,CL
        texture[dst] = source128[src];    // repeats even source rows
    }
```

This is not a conventional row-major copy: source rows 0, 2, 4 and so on are
each repeated twice. Three original calls with poisoned storage match all
populated bytes, untouched allocation bytes and guards, and reproduce all
three live textures. The captured 128×128 source pixels are inputs here;
the earlier palette-aware enlargement that produced them is not independently
recovered by this copy proof.

### Polygon lighting and the selected span loop

The first vertex shade uses the four common light positions. For each light,
the original loop stores `D=vertex-light` for the dot product but calculates
its length from the pre-store differences, then stores that length. With
these exact boundaries:

```c
contribution = f32(dot(stored_D,normal)*63/stored_length);
sum += max(0,contribution);                // original extended accumulator
shade1 = clamp(f32(sum+.5),.5,63);
shade2 = clamp(f32((cameraZ-400)*f32(63/(900-400))),.5,63);
```

The 97 actual vertex evaluations match both float attributes exactly. All
observed second shades clamp to `.5`; these cases do not demonstrate a depth
gradient across the mesh. They validate the clamped branch, while separate
span cases exercise changing second-shade values.

`B40b0` receives four interpolated attributes: U, V and both shades. It clips
Y to 0…199, clips the exclusive right endpoint to 320, and advances edge and
attribute state across skipped rows. A negative left endpoint advances all
four attributes to X=0. Before clipping, a 4-bit fraction derived from the
left edge chooses one of sixteen correction-table entries.

The pixel loop's lookup chain is:

```c
texture_offset = ((u&0x78)<<7) | ((v&0x7f)<<3) | (u&7);
t = texture[texture_offset];
a = lookup1[(shade1_byte<<8)|t];
pixel = lookup2[(shade2_byte<<8)|a];
```

Its actual increments are packed integer operations. The V fractional
accumulator shares a DWORD with the second shade; its carry participates in
the texture-row update. The U accumulator similarly propagates carry into
the tiled address. Replacing this with four independent real-valued linear
interpolators would lose original wrap and carry behavior.

Eighteen independent span cases cover interior, clipped and empty regions.
A further check feeds the model every actual span submitted by the original
triangle driver: 262 calls and 8,086 writes across the three saved meshes,
with whole work buffers, guards and updated row attributes matching. These
are span-call and write counts, not visible-face or unique-pixel counts.
Visibility, transformed normals and triangle slopes remain original-driver
inputs to that check; exact span pixels do not independently establish those
earlier stages.

### Full native correspondence

![Native lit cylinder and sphere, frame 6159](images/deesbab-runtime-6159.png)

![Native lit cylinder and sphere, frame 7220](images/deesbab-runtime-7220.png)

Three complete original `B1ffd0` replays reproduce frames 6159–6161,
6690–6692 and 7220–7222 exactly. The original cold sorter, selected polygon
span, triangle driver and field sampler are restored before execution;
18 original sorter/span writers account for the 69 patched operand bytes.
The palette comes from the original fade callbacks' actual 254/256 DAC upload.
These are nine full 640×400 RGB comparisons using captured states, supplied
pending count zero and an initialized x87 stack. They establish sufficient
original-code inputs for the native output, not the intervening IRQ history.

## Cue dispatcher and the later sections

The 40 commands and final marker at `B1eb68` are six-byte records. The cue key
combines tracker order and row. The no-sound branch has a separate software
position counter; it does not justify attributing every sound path's timing to
that counter.

```c
struct Cue6 { uint8 order,row; uint32 function; };
for (;;) {                                    // B1e81e
    wait_for_P442f_change();
    if (current_renderer) current_renderer();
    cue = cues[next_cue];
    threshold = (cue.order<<6) | cue.row;
    position = get_order_row();                // B1e7b0
    if (((position.order<<6) | position.row) >= threshold) {
        if (!cue.function) break;
        ++next_cue;
        cue.function();                       // only one event this iteration
    }
    if (key_state[Escape] == 1) break;         // after a due event
}
Pa7e5 = B1127-E90h;                            // restore original no-op callback
```

Original dispatcher checks cover 484 cases across every record, threshold
boundaries, both position getters and Escape. Wait/draw/event services are
intercepted for this isolated test; the separate complete capture confirms the
normal run. Live observations identify these main callbacks:

| Cue setup order:row | Main callback B | Visible family / recovery status |
|---|---|---|
| 00:00, second setup | 23110 | 800-point opening; recovered above |
| 04:00 | 22762 | Purple objects and lettering; renderer review pending |
| 06:00 | 1f9db | Analytic cylinder, packed cell sampler and point overlay; recovered |
| 08:00 | 1fcd6 | Plane intersections, dark lookup and 200 orbiting points; recovered |
| 12:00 | 1ffd0 | Cone-lit cylinder, generated sphere and selected polygon span; recovered above |
| 16:00 | 20dbf | Closing particles and lettering; controller/draw review pending |

![Native purple objects and Orange lettering at 32.817 seconds](images/deesbab-runtime-2300.png)

This still shows an earlier object section still to recover. It does not turn the
opening's sprite proof into proof of a tunnel, ray marcher, heightfield or
polygon rasterizer. The old page's generic framebuffer concordance did exactly
that too readily.

## Native output correspondence and capture

![Native opening frame 456 at 6.506 seconds, matched by original code](images/deesbab-runtime-456.png)

The complete original opening callback and its nested routines reproduce these
full 640×400 RGB frames, including the actual fade endpoint:

| Frame | Time | Counter | Prior counter |
|---:|---:|---:|---:|
| 456 | 6.506 s | 447 | 443 |
| 1002 | 14.297 s | 993 | 990 |
| 1549 | 22.101 s | 1540 | 1537 |

The prior counter supplies the retained translation. The counter pairs were
identified by bounded search. They are sufficient
original-code inputs, **not a measured interrupt trace**. Each uses captured
initialized opening state, an original preceding callback to produce the
retained translation, and the original fade sequence to obtain the visible
palette. The final comparison is every RGB byte of the native 640×400 frame;
the 320×200 indexed renderer output is doubled exactly. The independent
geometry, camera, projection and compositing models support the underlying
arithmetic separately from those original-code integration checks.

```text
Capture date: 2026-09-20 UTC
DOSBox-X: 2024.03.01, build commit02f36ba
CPU: normal core, 486, fixed60000 cycles
VGA: svga_s3, surface output, no aspect correction, no scaler
RAM: 32MiB, XMS on, EMS/UMB off
GUS: base240h, IRQ5, DMA3; ULTRASND=240,3,3,5,5
Sound Blaster / MIDI / speaker: disabled
Host audio: SDL dummy; no audible output
Recording: dx-capture /v DEESBAB.EXE
Graphics: ZMBV, 640x400, 2190197/31250 frames/s
Frames: 10,982; duration156.692526s
Timing zero: first frame of the graphics AVI, not startup text
Exit: natural emulator status0 and DOS RETURN.TXT marker
Host elapsed:174.783s including setup and snapshot pauses
Memory evidence:22 full32MiB snapshots
```

The earlier failed recorder and public XviD clips are no longer this revision's
visual basis. No guest key input or forced stop was needed. The original module
remains embedded (`deesbab` at B0b6bc, `SCRM` at B0b6e8); the expanded executable
also contains its BLASTER and ULTRASND parsing code. This pass has not recovered
the complete player or allocator lifetime. The next substantive work is the
remaining surface and object callbacks, using this capture and the
established address map.
