Analysis model: gpt-5.5 xhigh

Revision model: GPT-6 Astra (user-reported)

Last edited: 2026-09-18

The Real Thing by Capacala - Technical Dissection

The Real Thing is Capacala's MS-DOS/GUS demo from Assembly 1994. Demozoo lists it as released on 7 August 1994, 6th in the Assembly 1994 PC Demo competition, and MS-DOS. Pouet lists the platform as MS-DOS, the type as demo, the release date as August 1994, and the result as 6th in the Assembly 1994 PC demo competition. Demozoo's Capacala group page identifies Capacala as a Finnish PC demo group formed in 1990 by Flap and Spay.

This pass checks Demozoo, Pouet, the Assembly archive, the Scene.org party listing, four Scene.org archive variants, the Assembly 1994 result text, the release DIZ/NFO/info files, a complete direct silent run of the official fixed package, and the executable/data surface. The September revision restores the fixed part executables and reconstructs part .005's terrain strip renderer, height preparation and flag-mask buffers. Other effects remain runtime-level observations, not recovered inner loops.

Demozoo tags the production as NSFW. The published media therefore avoids the figure/object sequence. The release text also contains old BBS/contact material and real-name/member-table material; those details are intentionally not reproduced.

Sources Checked

The result text places it between Epical and Grif:

4,    Warp                     by  Legend Design
5,    Images                   by  Epical
6,    The Real THING           by  Capacala
7,    Catch up                 by  Grif
8,    Silence                  by  Hysteria

Downloaded archive hashes:

7d2349a4dd987d7ce1f57d3da117a3dab9990182e0f84bb707f1cd6b6ba988c3  realthng.zip
0506b39130303db2952e5a914d1315514b42e81efdae6e651287a538ed387c8b  cc_rthng.zip
2570836b8a451f20db18151d1b3f09fbff49528dfe988c6cfb8299dea777d123  realth_f.zip
e0f310a8c8bb254c8cc3075e11eb2922392c24e22837b0103bd4344c070735dc  cc_rtfix.zip
11e1cf9cde12874e3f273f07cc67ca8a9299693d663c4fa034b570ab22dd8479  results.txt

realthng.zip and cc_rthng.zip are different ZIP wrappers around the same extracted original payload. The extracted file hashes match for all twelve files.

Original release payload:

CCINFO25.TXT    20,553
FILE_ID.DIZ        462
REALTHNG.000  1,611,521
REALTHNG.001     25,269
REALTHNG.002     94,142
REALTHNG.003     61,272
REALTHNG.004     53,339
REALTHNG.005     77,658
REALTHNG.006     64,218
REALTHNG.007     18,988
REALTHNG.EXE      5,957
REALTHNG.NFO     13,542

The later realth_f.zip is the bug-fixed/no-sound-support package. It keeps the same REALTHNG.000 data file, replaces the loader and part executables, updates the NFO/DIZ, adds CCDIST12.TXT, CCINFO30.TXT, and FILE_ID.FIX, and omits REALTHNG.007.

cc_rtfix.zip is the separate patch package. Its RTBUGFIX.000 member is itself a ZIP containing replacement REALTHNG.001 through REALTHNG.006, REALTHNG.EXE, REALTHNG.NFO, and FILE_ID.DIZ. Those replacement files are byte-identical to the corresponding files inside realth_f.zip.

The original NFO gives the target machine as a 386, preferably a fast 486 or Pentium, fast VGA, a 512 KB Gravis UltraSound, and about 2000 KB hard disk space. That requirement shape matches the file layout: a small launcher, a large shared data file, and multiple packed part executables.

Complete Direct Silent Run

The official realth_f.zip fixed package was run directly in DOSBox-X 2026.01.02. The configuration used S3 VGA, 16 MB RAM, XMS and EMS, a dynamic 486 core at fixed 50000 cycles, and an emulated Gravis UltraSound at port 240h, IRQ 5, DMA 3. ULTRASND=240,3,3,5,5 produced the loader state GUS found, Music: on, Demo looping: disabled, and starting point 1 The Beginning. The host SDL audio driver was dummy, so the guest music and timing path ran without sending sound to speakers or headphones.

The full desktop was recorded outside the emulator as a cursor-free 1024×768, 10 fps, video-only FFV1 stream. The capture is 768.1 seconds and contains no audio stream. Near capture time 12:22, the credits resolve to THE END; the part then exits and the non-looping launcher returns. This directly establishes the authored ending rather than borrowing the 13:07 duration of a public video.

The following eight clips are safe six-second intervals from that same direct run. Each is a 400×300, 10 fps GIF. No MP4/H.264, video embed, contact sheet, audible media, or NSFW runtime interval is published.

The Real Thing animated green-and-white pattern field from the direct silent run

The opening texture part continuously changes the symmetry and local distortion of a tiled green-and-white field.

The Real Thing dense roto texture from the direct silent run

The roto interval shifts from tiling into a larger rotating/distorted surface; it is movement, not a collection of unrelated texture stills.

The Real Thing concentric spiral from the direct silent run

The concentric rings rotate and pulse through the centre, forming the most literal hypnotic phase of the early “tekno” section.

The Real Thing diagonal light bars from the direct silent run

The light-bar bridge uses a small colour range and diagonal motion to separate the texture blast from the later tunnels.

The Real Thing sewer tunnel from the direct silent run

The darker sewer segment changes the spatial reading from a flat field to a cylindrical fly-through.

The Real Thing rotating 3-D greetings text from the direct silent run

The greetings part uses rotating vertical ribbons and perspective text, proving that the middle sequence is not just another tunnel.

The Real Thing golden voxel landscape from the direct silent run

The late voxel part has rolling terrain, a coloured horizon, and sustained forward camera movement. It is the strongest safe technical showpiece in the demo.

The Real Thing Finnish flag voxel landscape from the direct silent run

The terrain eventually becomes a white field crossed by a blue strip, turning the landscape into a Finnish-flag signature without leaving the voxel engine.

Terrain: Height Map To Vertical Strips

The earlier page did not claim a recovered terrain algorithm. This is added depth, not a correction of an invented old renderer. The code below belongs to the fixed package's REALTHNG.005, restored with UNP 4.12 to a 160,816-byte MZ with an 0x350-byte header and 203 relocations. Its SHA-256 is d9afcaa423b4946f36e6e76bf1e8cd218a2e093038e81e8493e56b4868551044. All code addresses in this section are restored file offsets; DS: and CS: addresses are runtime segment offsets, not file offsets.

Preparing Height And Shade

The renderer has separate height and shade maps, not a textured polygon mesh. The original height field is embedded in .005 itself: concatenate the 32 KB at load-image offset E850h with the 32 KB at 6850h. Preparation at 0x350–0x509 copies these halves, computes shade, then smooths the height:

// Each map has 256*256 bytes. Shade comes from UNSMOOTHED height.
for (i = 0; i < 65536; ++i)
    shade[i] = clamp(raw[i] - raw[(i-3) & 65535] + 32, 1, 63);

height = raw;
for (y = 0; y < 256; ++y)
    for (x = 0; x < 256; ++x) {
        xr = (x+1) & 255; yd = (y+1) & 255;
        height[y*256+x] = (height[y*256+x] + height[y*256+xr]
                         + height[yd*256+x] + height[yd*256+xr]) >> 2;
    }
// This is IN PLACE: wrapped neighbours can already contain smoothed values.

// 0x6981: height-rise stage; byte scale is passed on the stack.
for (i = 0; i < 0x6700; ++i)
    active_height[i] = (height[i] * scale) >> 8;

The scale stage changes geometry without recalculating the original shade. Its maximum byte argument is 255, so it reaches 255/256, not exactly unity. The active region is 103 rows of 256 bytes. Segment globals DS:137C, 137E, 1380 and 1384 identify the smoothed source, active height, shade and 64,000-byte offscreen framebuffer respectively.

Sixty Far-To-Near Slices

0x6230 initializes 320 previous projected heights to 199 and 320 previous Q8 shade values to zero. The distance sequence is 1..40, 42,44,..60, 64,68,..100; setup multiplies each by 16. The renderer visits entries 59 down to 0, making 60 × 320 height/shade sample pairs per frame.

previous_y[320] = { all 199 };
previous_shade[320] = { all 0 };
for (depth = 59; depth >= 0; --depth) {
    d = 16 * distance[depth] + 15;
    gain = depth == 0 ? 0 : 65536 / d;         // unsigned integer division
    baseline = depth == 0 ? 199 : gain + 60;
    step = d << 5;
    initial = u32(-d * 5120);
    address = ((initial >> 16) & 255) | (((d >> 4) & 255) << 8);
    fraction = (initial & 65535) >> 1;        // 15 fractional bits

    for (x = 0; x < 320; ++x) {
        sum = (fraction << 1) + (step & 65535);
        address = u16(address + (step >> 16) + (sum >> 16));
        fraction = (sum & 65535) >> 1;
        // Interpolate/project height, interpolate shade, then draw below.
    }
}

This is linear 16-bit map addressing. Carry out of the horizontal byte moves into the next map row; replacing it with independently wrapped X would change the result. The history arrays run backwards in memory (SI=638,636,..0) while destination X runs forwards. There is no screen-space mirror implied by that history indexing.

The instruction-level height interpolation at 0x62C5 retains eight fractional bits, then uses the high half of an unsigned product to project it:

xor  ah,ah
mov  al,fs:[bx+1]
sub  al,fs:[bx]
sbb  ah,0                 ; signed WORD difference, not signed byte
imul cx                   ; CX is the 15-bit fraction
shrd ax,dx,7              ; Q8 interpolated difference
add  ah,fs:[bx]           ; add base height to integer byte only
mul  word ptr cs:[5D44h]  ; DX = projected height

The resulting Y is clamp(baseline-DX,-1,199). Shade uses a different, cheaper interpolation: signed byte neighbour difference, multiplied by CH (only the upper seven fraction bits), doubled, with the base shade added to AH. In the notation below, u16 wraps and s8/s16 reinterpret signed values; shifts of negative intermediate products are arithmetic.

h0 = active_height[address]; h1 = active_height[u16(address+1)];
hq = u16(((h1-h0) * fraction) >> 7);
hq = (hq & 255) | ((((hq >> 8) + h0) & 255) << 8);
new_y = clamp(baseline - ((hq * gain) >> 16), -1, 199);

s0 = shade[address]; s1 = shade[u16(address+1)];
sq = u16(s8(s1-s0) * (fraction >> 8) * 2);
sq = (sq & 255) | ((((sq >> 8) + s0) & 255) << 8);
old_y = previous_y[x]; old_shade = previous_shade[x];
previous_y[x] = new_y; previous_shade[x] = sq;
if (new_y > old_y) {
    count = new_y - old_y;
    delta = trunc_toward_zero(s16(old_shade-sq) / (old_y-new_y));
    colour = old_shade;
    for (y = old_y+1; y <= new_y; ++y) {
        framebuffer[y*320+x] = colour >> 8;
        colour = u16(colour + delta);
    }
}

Both histories update even when no pixels are drawn (0x68C4 handles that branch). They record the preceding slice, not a running minimum skyline. Far-to-near strips can overwrite earlier strips. The special nearest entry has zero gain and baseline 199, closing the lower end of each column.

The actual vertical loop is unrolled. At 0x632F, the span length indexes the word jump table CS:5D4E; each additional row enters seven bytes earlier in a chain of MOV ES:[DI-displacement],DH / ADD DX,AX. DI points at the new endpoint, so the chain starts at old_y+1 and finishes at new_y. The first pixel uses the previous shade; the last uses only count-1 increments and need not equal the newly sampled shade. Even a one-row strip therefore writes the old shade. There is one signed division per drawn strip, not one per pixel; its preceding opcode 99h is 16-bit CWD here.

Background, Presentation And The Flag Buffer Handoff

0x348C paints a fixed background before the rise: with DS:10E0=60, it starts at screen row 110, writes 80 dwords per row backwards, and steps palette index 127 down through 64 over 64 rows. Remaining upper rows use 64. The lower framebuffer is supplied by the terrain strips. The rise loop at 0x248C–0x2583 is:

wait for retrace edge (3DAh bit 3: wait clear, then wait set)
write palette components scaled by the current rise factor / 256
scale 0x6700 height bytes → draw 60×320 samples → copy 64,000 bytes to A000h
read-and-clear elapsed tick counter → add ticks to rise factor
repeat while factor <= 255

The copy at 0x6907 is REP MOVSD, CX=3E80h, from the offscreen buffer to VGA offset zero. This is a full copy, not page flipping; a retrace wait before the work is not proof that the entire render/copy fits in blanking. The elapsed-counter helper is at 0x25F46; this pass does not assign an unverified wall-clock rate to it.

Later, 0x691F builds the active height from two independently shifted streams of the same smoothed source, then regenerates shade:

for (i = 0; i < 0x6700; ++i)
    active_height[i] = u8(height[u16(offset1+i)] + height[u16(offset2+i)]);
for (i = 0; i < 0x6700; ++i) {
    v = s8(active_height[i] - active_height[u16(i-3)] + 32);
    shade[i] = v < 0 ? 1 : min(v,63);  // zero is allowed here
}
// 0x69A5: select the second shade bank in a cross-shaped map region.
for (i = 0x2a80; i < 0x3680; ++i) shade[i] |= 64;
for (row = 0; row < 104; ++row)
    for (x = 0; x < 16; ++x) shade[u16(0xffe7+row*256+x)] |= 64;

Unlike initial preparation, this shade calculation wraps to a signed byte before clamping. The mask changes colour-bank selection, not height. The loop at 0x1924 advances both phase counters per elapsed tick; every fourth tick one source offset gains 255, and on the other counter's low-bit value 2 the second offset gains 1. These are linear map offsets, not camera angles. At 0x1975 it clears the first 16,000 framebuffer bytes and renders; after the palette update it copies the frame, then rebuilds height/shade and applies the cross for the next iteration (0x1A3D–0x1A45). The palette and progressive cross construction are recovered below; the mask alone would not establish the visible flag colours.

Verification executed the restored instructions in 16-bit Unicorn and compared them with separate integer models: all 65,536 initial shade and smoothed-height bytes; four complete 64,000-byte renders at scale 0, 64, 128 and 255, including both 320-word histories; and four two-stream offset pairs, including wraparound and deliberately nonzero untouched tails, through both height/shade rebuilding and the cross mask. The four renders performed respectively 31,680, 32,854, 34,461 and 38,880 pixel stores. These are controlled kernel tests, not a claim to have replayed the whole demo or identified an exact captured frame.

The Earlier Fly-Through: Moving Coordinates And Ground Following

The golden landscape GIF is not fully explained by the fixed-coordinate rise/flag renderer above. The earlier flight calls a separate entry at 0x2D31, reading the full smoothed source through FS, not the scaled 103-row active map. It retains the same interpolation and unrolled-strip mechanism, but calculates distance and projection from camera state each frame.

DS:10DC  camera X, unsigned wrapping word, 1/16 map-texel units
DS:10DE  camera Y, same units; only low12 bits affect map sampling
DS:10E0  screen-space horizon offset
DS:10E4  32-bit camera height in Q8, written by ground sampler 0x3428
DS:10F2  first steering phase, wrapping word
DS:10F4  second steering phase, wrapping word
DS:10F6  horizontal drift counter, wrapping word
DS:10FA  forward-speed ramp counter, clamped to60

Setup at 0x20F1–0x219B generates 1,024-word sine and cosine tables using the released software-real arithmetic. The first flight controller (0x88B) uses the sine table at DS:00DC twice, so its lateral motion is more than a single sinusoid. The following reconstruction uses unsigned word state before the logical shifts; S contains signed words.

S[i] = round(256 * sin(i*pi/512));       // i=0..1023
phase1 = phase2 = drift = speed_ramp = 0;
while (!music_or_counter_exit) {
    // Calculated BEFORE consuming this iteration's elapsed ticks.
    phase = (phase1 >> 2) + 2*S[(phase2 >> 2) & 1023];
    camera_x = u16((drift >> 1) + S[phase & 1023]);
    ticks = read_and_clear_elapsed_counter();
    repeat (ticks) {
        ++accumulated_ticks;
        camera_y = u16(camera_y + 1);
        ++speed_ramp;
        if (speed_ramp > 30) camera_y = u16(camera_y + 1);
        if (speed_ramp > 60) {
            speed_ramp = 60;
            camera_y = u16(camera_y + 1);
        }
        phase1 = u16(phase1 + 2);
        phase2 = u16(phase2 - 3);
        drift = u16(drift + 1);
    }
    paint_background();                   // 0x348C
    follow_ground();                      // 0x3428
    draw_moving_terrain();                // 0x2D31
    wait_for_retrace_edge(); copy_64000_bytes_to_VGA();
}

The first 30 ticks advance Y by one unit, the next 30 by two, and subsequent ticks by three. These units are sixteenths of a map texel, not screen pixels. X uses the pre-update phase while Y includes the current batch of elapsed ticks. Reordering those operations changes the path when a frame consumes several ticks. The no-music fallback exits when the accumulated counter reaches 641h; the sound path instead queries its music position.

The camera stays 50 map-height units above a bilinearly sampled ground height. The implementation uses only four fractional bits per axis, and its horizontal differences are signed bytes rather than unrestricted differences:

address = ((camera_y >> 4) & 255)*256 + ((camera_x >> 4) & 255);
fx = camera_x & 15; fy = camera_y & 15;
a = 16*height[address]
    + s8(height[u16(address+1)] - height[address])*fx;
address = (address & 255) | ((address+256) & 0xff00);
b = 16*height[address]
    + s8(height[u16(address+1)] - height[address])*fx;
camera_height_q8 = 16*a + (b-a)*fy + 50*256;

INC BH advances the second sample row with vertical wrapping. Horizontal neighbour reads remain linear BX+1 addressing: they cross a row boundary at X=255. Describing this as ideal independently wrapped bilinear texture sampling would hide an edge-case difference present in the instructions.

The moving renderer visits the same sixty distance entries from far to near, but replaces the earlier fixed slice setup with:

d = 16*distance[depth] + 15 - (camera_y & 15);
baseline = depth == 1 ? 199 : camera_height_q8/d + horizon;
gain = depth == 1 ? 0 : 65536/d;
initial = u32((camera_x << 12) - d*5120);
address = ((initial >> 16) & 255)
        | ((((camera_y >> 4) + (d >> 4)) & 255) << 8);
fraction = (initial & 65535) >> 1;
step = d << 5;
// Continue with the same 320-column height/shade interpolation and strips.

The Y fraction changes the projection denominator and horizontal sample spacing, not merely the map row. The ground-following Q8 height supplies the baseline numerator. An easily missed detail is CMP BX,2 at 0x2D82: the forced bottom-closing slice is entry 1, whereas the rise/flag renderer uses entry 0. Entry 0 still runs afterwards, updating its histories, but cannot draw below the now-199 previous Y. The history arrays here are CS:2343 and CS:25C3; this is not the flag entry's workspace.

Verification matched 1,036 ground-height samples, seven full framebuffers and both history arrays, including subpixel boundaries and equivalent positions 4095/4095 and 65535/65535. The original table generator matched all 2,048 sine/cosine words. A further 1,000 controller iterations matched the X lookup and all six updated state words with zero- and multi-tick batches.

The next three controllers retain that X formula and renderer, but change Y:

// 0x99B: save current Y as base; local phase q starts0.
q += ticks; camera_y = u16(base + 2*S[q&1023]); // display, exit q>=512
// 0xA72: sustained reverse flight.
camera_y = u16(camera_y - 3*ticks);
// 0xB59: save current Y as a new base; q starts512.
q += ticks; camera_y = u16(base + 2*S[q&1023]); // display, exit q>=768

All three continue the first controller's steering phases and drift, with X evaluated before the tick batch. The two excursions do not increment the shared accumulated counter; the reverse-flight hold does, exiting on its music gate or no-music threshold 925h. The local phase exits occur after drawing and do not clamp multi-tick overshoot. Five hundred iterations of each path matched the released X/Y and phase updates. These controllers precede the coordinate-format change and rotating maps below.

Turning: Rotate The Maps Before Drawing The Strips

The controller at 0xC2F changes the pipeline again. It shifts both camera coordinate words left four bits, converting the preceding sixteenth-texel positions to wrapping Q8 coordinates, and uses heading DS:10E2. Instead of turning each screen ray directly through the original map, helper 0x430A first constructs a camera-aligned pair of height/shade maps.

c = cosine[heading & 1023]; s = sine[heading & 1023]; // Q8 steps
row_x = u16(camera_x - 128*c);
row_y = u16(camera_y - 128*s);
for (row = 0; row < 105; ++row) {
    x = row_x; y = row_y;
    for (column = 0; column < 256; ++column) {
        x = u16(x+c); y = u16(y+s);  // step BEFORE sampling
        address = (x >> 8) | ((y >> 8) << 8);
        cache_height[row*256+column] = height[address];
        cache_shade[row*256+column] = shade[address];
    }
    row_x = u16(row_x-s); row_y = u16(row_y+c);
}

This is nearest-neighbour rotation, not bilinear filtering. Height and shade are sampled together at the same source address. Each plane is 6900h (26,880) bytes, both packed into the D200h-byte allocation at DS:1382. The 256-sample inner row is fully unrolled from 0x4375 through 0x5B74; only the 105-row loop branches. Each call reads 53,760 source bytes and writes 53,760 cache bytes. At heading zero, column127 is the camera position because of the pre-sample step; replacing it with a post-sample step shifts the cache.

Renderer 0x3B91 reads the first plane through FS and the second through GS=cache_segment+690h. It reuses the sixty far-to-near strips, previous-slice histories and unrolled shaded vertical stores, but has no moving-camera fractional-distance correction. The cache has already absorbed position and heading:

d = 16*distance[depth];
baseline = depth == 1 ? 199 : camera_height_q8/d + horizon;
gain = depth == 1 ? 0 : 65536/d;
initial = u32(-d*5120);
address = ((initial >> 16) & 255) | (((d >> 4) & 255) << 8);
fraction = (initial & 65535) >> 1;
step = d << 5;
// Same per-column address advance, but interpolate cache[address+127]
// with cache[address+128], for BOTH height and shade; offsets wrap to16bits.

The +127/+128 pair recentres the slice within the rotated cache. Nearest sampling during rotation is therefore followed by horizontal interpolation during projection; these are two different filtering stages. Histories live at CS:31A3 and CS:3423. Entry1 again closes the bottom, and entry0 still executes without drawing. Neither the shade nor height source is a screen feedback buffer.

Two successive turn controllers have distinct timing. The first (0xC2F) holds X/Y and the previous camera altitude while turning through half a circle and moving the horizon sinusoidally. The second (0xCBA) completes the turn while advancing and updating altitude from the cache:

// First turn: local phase q initially0; no clamp inside the tick batch.
q += elapsed_ticks;
heading = q;
horizon = 60 + trunc_toward_zero(S[(2*q)&1023] / 4);
background(); rotate_maps(); draw_strips(); retrace(); copy_to_VGA();
// Test q>=512 AFTER displaying: a multi-tick batch can overshoot the endpoint.

// Second turn: q reset0; increments once per elapsed tick, clamped at512.
q = min(512, q + elapsed_ticks);
heading = q + 512;
horizon = 60 + trunc_toward_zero(S[(2*q)&1023] * (q ^ 511) / 2048);
camera_x = u16(camera_x - 2*S[heading&1023]);
camera_y = u16(camera_y + 2*C[heading&1023]);
background(); rotate_maps();
camera_height_q8 = (cache_height[127] + 50)*256; // helper0x4280
draw_strips(); retrace(); copy_to_VGA();
// Again exit after displaying when q>=512.

The second turn's X/Y additions are once per rendered iteration, outside the elapsed-tick loop. Even a zero-tick iteration advances its position; several ticks in one iteration do not multiply that movement. It would be incorrect to describe the whole path as frame-rate independent. The altitude update is now a single nearest sample plus50, rather than the earlier four-bit bilinear ground sampler. q ^ 511 is the actual XOR instruction, not a substituted 511-q; at q512 it produces1023, although the sine factor is then zero.

Each iteration paints the background, rotates both maps, draws the strips, waits for the retrace edge, and copies 64,000 bytes to VGA. Twelve cache cases matched all 645,120 written bytes and untouched test memory beyond the cache. Six complete rendered frames and their histories matched independently, including horizons -4 and124. A thousand cases for each turn controller verified phase, horizon, endpoint and translation behavior, including zero/multi-tick batches; all 256 possible nearest-cache height updates also matched.

Free Flight, Climb And The Static Palette Bridge

The subsequent 0xD90 controller resets two steering phases and keeps the rotated-map renderer. It translates using the old heading, then adds a nested-sine steering increment to the heading used for the new cache:

// Per elapsed tick:
accumulated_ticks = u16(accumulated_ticks + 1);
a = u16(a+1); b = u16(b+2);
// Once per rendered iteration, after consuming the tick batch:
camera_x = u16(camera_x - 2*S[heading&1023]);
camera_y = u16(camera_y + 2*C[heading&1023]);
heading = u16(heading + trunc_toward_zero(S[(a+S[b&1023])&1023] / 32));
rotate_maps(); background(); nearest_cache_ground_height();
draw_strips(); retrace(); copy_to_VGA();

The no-music fallback is accumulated count 1005h. The following climb at 0xE8C retains that movement and steering, but removes the ground-following call. It adds a five-unit altitude increment per rendered iteration, not per elapsed tick, and caps the Q8 height at 13C00h (316 units). Its separate horizon phase advances twice per tick:

// r starts0 and gains2 per elapsed tick, saturating at768.
camera_height_q8 = min(camera_height_q8 + 5*256, 316*256);
if (r < 512)      horizon = 60 + trunc_toward_zero(S[r&1023]/8);
else if (r < 768) horizon = 60 + trunc_toward_zero(S[r&1023]/4);
// At r==768 retain the previous horizon; do NOT recompute or force an endpoint.
rotate_maps(); background(); draw_strips(); retrace(); copy_to_VGA();

The climb's no-music accumulated threshold is 1868h. Both movement and altitude can advance on a zero-tick rendered iteration. Once that section exits, 0xFFE freezes position and altitude, masks heading with 3FEh, and subtracts two heading units per elapsed tick until zero. It continues to rotate the cache and draw while aligning; it does not translate or steer. Tests matched 1,000 free-flight updates, 1,000 climb updates and 512 alignment cases, including zero-tick frames, caps, signed steering and held horizon.

At 0x106C, the demo stops redrawing altogether for a two-step palette bridge. It saves DAC entries0–127 in the four-byte-stride palette workspace, then:

// Pass1: fade only the sky/background bank64..127.
component = old_component * factor / 256;       // factor decreases255→0
// Pass2: change only terrain bank0..63; sky bank remains black.
component = target - floor((target-old_component)*factor/256);
// Each pass writes64*3 components, then waits for retrace.
// No cache generation, strip drawing or framebuffer copy occurs in either pass.

The 64-colour target is 192 embedded bytes at load-image offset 6790h, immediately before the height-map half at 6850h. It is staged through DAC entries128–191 and read back into the target workspace. File offset 0x1198 is an MZ relocation for the segment immediate: the apparent MOV AX,0 in an unrelocated file disassembly does not make this a read from physical address 0000:6790. The loaded segment supplies the actual embedded palette.

Both bridge factors are decremented by elapsed ticks until zero, so the endpoint is exact even though factor255 is not full intensity. All 256 factors of each pass matched 98,304 component writes, plus the 192 target-byte writes; the unaffected palette bank was checked too. This is a colour transition on a held frame, not terrain morphing. Only after it returns does 0x1D11 halve the height source and prepare the flag's new projection and palette, as below.

Growing The Cross And Fading Its Two Colour Banks

The Real Thing original-code reconstruction of the white terrain and blue cross

Controlled reconstruction using the released renderer, converted source map, flag projection tables, two-stream offsets 20400/80, fixed cross mask and target palette. This is not a captured timestamp: the frame starts from cleared buffers, is rendered at 320×200, and is enlarged nearest-neighbour to 640×400. Compare the existing direct flag GIF above for the actual running sequence.

The call sequence at 0x2642–0x2656 is setup (0x1D11), moving two-stream terrain (0x13BD), palette conversion (0x148F), progressive cross (0x15CE), removal of the white field (0x1795), then fade to black (0x1A53). Setup changes geometry as well as colour:

for (i = 0; i < 65536; ++i) height[i] = (height[i] >> 1) + 1;
baseline[0] = 199; gain[0] = 0;
for (i = 1; i < 60; ++i) {
    d = 16*distance[i] + 15;
    baseline[i] = 80896/d - 4; // replaces the earlier 65536/d + 60
    gain[i] = 65536/d;
}
offset1 = offset2 = (DS_10de & 0xff00) + (DS_10dc >> 8);
phase1 = phase2 = 0;

Halving the source makes room for adding its two shifted streams. The code still performs byte addition; it has not switched to a wider height format. Projection gain is unchanged, but the slice baselines are not. This is why applying a white palette to the earlier rise-stage test is not a complete reconstruction of the flag state.

The target palette is first built in DAC entries 128–255, then saved in the four-byte-stride workspace at DS:1386. The visible frame continues to use entries 0–127. The initial flag target, expressed as 6-bit RGB components, is:

visible entries  0..23: black → (63,63,56)
visible entries 24..63: (63,63,56) → black
visible entries 64..127: black → (24,24,63)

Thus the field uses a peaked warm-white ramp, not a flat white fill, and bit 6 selects the blue ramp. The gradient helper at 0x25D80 includes both endpoints and uses signed division truncated toward zero. The fade itself has different rounding:

// Each component: target saved in workspace entry i+128;
// signed-byte difference saved in entry i.
difference[i] = target[i] - old[i];
component[i] = target[i] - floor(difference[i] * factor / 256);
// factor begins at255 and decreases toward0 once per elapsed tick.
// factor0 reaches target exactly; factor255 need not reproduce old exactly.

This follows CBW; MUL; SHR AX,8; SUB: although the multiplication and shift are unsigned instructions, the final byte subtraction gives the floor-rounded signed expression above for these component ranges. Each displayed fade step writes 128 × 3 DAC components. Rendering and the two source phases continue during all three fades; the last two target banks are respectively black / blue and black / black.

The cross grows in texture space after each height/shade rebuild at 0x1668, so it deforms with the terrain instead of being pasted over the finished screen. Every even phase tick increments width up to255; once that limit is reached, it increments rows up to103, including the tick that first reaches width255. Both counters initially hold zero. Inclusive Pascal loops then perform:

for (row = 0; row <= 12; ++row)
    for (x = 0; x <= width; ++x)
        shade[u16(0x2a80 + row*256 + x)] |= 64;
for (row = 0; row <= rows; ++row)
    for (x = 0; x <= 15; ++x)
        shade[u16(0xffe7 + (103-row)*256 + x)] |= 64;

Zero counters therefore still mark one column through 13 rows and one 16-byte vertical run. The horizontal stroke expands first; the vertical stroke then extends toward decreasing map rows. A small authored mismatch remains at the handoff: the growing horizontal band has 13 rows, but helper 0x69A5 used during the subsequent fades marks 12. These are different released loops, not an off-by-one to silently normalize in the reconstruction.

The two-stream hold and cross-growth sections have music-query exits, with no-music accumulated-counter thresholds 1E85h and 23D5h respectively. They are not unconditional fixed-frame durations. The fades consume elapsed ticks until their factor reaches zero. This establishes the state sequence, but not its exact correspondence to timestamps in the older external capture.

Original-code tests matched all three target palettes and all 256 factors of each fade: 294,912 component writes. They also checked all 65,536 converted source bytes and 60 new baselines. Seven progressive-cross states matched full 64 KB buffers, including the initial inclusive pixels and the 13-row endpoint. The emulation replaced only the Pascal stack-space guard with a return; the palette arithmetic, long-division helper and mask instructions ran unchanged.

Release Text And Party Context

The NFO says the demo was shown at Assembly 1994 in Helsinki and then explains that the compo showing was cut after roughly the first three minutes, just as a new part started. The useful technical point is not the argument itself; it is the mismatch between what the first minutes suggest and what the full demo actually contains.

If judged only by the opening, The Real Thing can look like a long texture and music blast. The complete direct run shows a wider structure:

That shape explains the mixed later reception. Some people remember the first minutes as dated or overbearing. Others remember the voxel part and overall variety. Both views are consistent with the actual demo: it is long, uneven, and very much a 1994 PC production, but it has more range than the first section alone suggests.

Loader And Archive Surface

The original REALTHNG.EXE is a tiny PKLITE-packed MZ:

physical file size:  5,957 bytes
MZ declared size:    5,957 bytes
overlay:                 0 bytes
relocations:             1
header paragraphs:       7
min/max allocation:  603 / 603 paragraphs
CS:IP:             fff0:0100
SS:SP:             0175:0200
relocation table:  0x52
PKLITE marker:     offset 30

The fixed REALTHNG.EXE is the same class of loader, but not byte-identical:

physical file size:  5,907 bytes
MZ declared size:    5,907 bytes
overlay:                 0 bytes
relocations:             1
header paragraphs:       7
min/max allocation:  800 / 800 paragraphs
CS:IP:             fff0:0100
SS:SP:             0172:0200
relocation table:  0x52
PKLITE marker:     offset 30
visible string:    "No GUS" near offset 1054

That visible No GUS string is exactly what one would expect from the later bug-fix/no-sound-support package. The original package's DIZ and NFO present GUS as required; the later patch changes the practical running surface without changing the large shared data file.

The original part layout:

REALTHNG.001  MZ, PKLITE at offset 30, 25,269 bytes
REALTHNG.002  MZ, PKLITE at offset 30, 94,142 bytes
REALTHNG.003  MZ, PKLITE at offset 30, 61,272 bytes
REALTHNG.004  MZ, PKLITE at offset 30, 53,339 bytes
REALTHNG.005  MZ, PKLITE at offset 30, 77,658 bytes
REALTHNG.006  MZ, PKLITE at offset 30, 64,218 bytes
REALTHNG.007  MZ, no PKLITE marker, 18,988 bytes

The fixed package keeps six PKLITE-packed part executables:

REALTHNG.001  25,383 bytes
REALTHNG.002  94,605 bytes
REALTHNG.003  61,386 bytes
REALTHNG.004  53,545 bytes
REALTHNG.005  77,874 bytes
REALTHNG.006  64,340 bytes

Each of the fixed .001 through .006 files is slightly larger than its original counterpart. The simplest reliable reading is that the patch rewrites the launcher and six packed parts to support the fixed/no-sound route, while leaving the large data body alone.

REALTHNG.000 is identical between original and fixed packages:

size: 1,611,521 bytes
sha256: eb83eb03511c43371ded50c5facc4528f5a0332dd7109998e55b8549700868e4
64 KB entropy min/max/avg: 1.871 / 7.525 / 6.152

It does not present as a simple named-file directory at the byte surface. The safe conclusion is that it is the shared data/resource body for the multipart runner. The visual sections are not mapped to offsets here.

RTBUGFIX.EXE is a small MZ patcher with visible replacement file names:

realthng.001
realthng.002
realthng.003
realthng.004
realthng.005
realthng.006
realthng.007
realthng.exe
realthng.nfo
file_id.diz

The patcher is useful evidence for the release history, but not for effect reconstruction. It confirms that the post-party package was treated as a set of replacement files rather than as a completely new demo.

What The Demo Is Doing

The Real Thing sits in a useful place in the Assembly 1994 sequence. It is below Images and Warp, just above Catch Up!, Silence, and The Message From The Cosmic Brothers. Technically it looks less like one monolithic engine and more like a chained set of part executables driven by a shared data body:

Visually, the safe sections show the same multipart attitude:

The article's limits are explicit. It does not publish the NSFW section or old contact details. It does not publish MP4/H.264 media. Archive and complete-run evidence is now supplemented by part .005's recovered terrain preparation, far-to-near strip renderer, rise/copy loop and two-stream flag-mask buffers. The flag's geometry change, progressive cross and three palette fades are also recovered. Other parts' effects and exact late music/timestamp alignment remain outside the recovered-code account.