Analysis model: gpt-5.5 xhigh

# The Portal by Flash Productions - Technical Dissection

## Scope

`The Portal` is a 1993 MS-DOS demo by Flash Productions. The Party 1993 results
list it as the thirteenth-place PC demo entry, tied on score with `Shortcut to
Istanbul` and ahead of `Megademo 2`. Scene.org keeps the public package as
`portal.zip` in the The Party 1993 PC demo directory.

Public references:

- Scene.org archive:
  https://archive.scene.org/pub/parties/1993/theparty93/demo/portal.zip
- Scene.org The Party 1993 demo directory:
  https://archive.scene.org/pub/parties/1993/theparty93/demo/
- Scene.org The Party 1993 results:
  https://archive.scene.org/pub/parties/1993/theparty93/results.txt

This writeup is based on the scene.org archive, bundled notes, MZ header
parsing, strings, tracker-module headers, byte-pattern inspection, and
resource-file statistics. The executable files are PKLITE-compressed MZ
programs, so this is not a source-level reconstruction or an unpacked
routine-by-routine disassembly.

Private postal/contact details from the bundled notes and module sample text are
deliberately omitted.

## Release Context

The bundled notes describe `The Portal` as a PC demonstration coded during 1993
by Flash Productions. The credits name Gonzo / Flash Production for code,
The Codeblasters for Goldplay, Robban / Cascada for the GUS replayer, Liquid /
Parasite for music, and several artists for graphics.

The notes do not give a hardware requirement list. The loader and parts fill in
some of the practical requirements: the packed strings include a `No VGA`
message, GUS-related text, resource-file error paths, module-player fragments,
and direct references to the external resource and configuration files. The
result is a conventional but sizeable late-1993 DOS demo layout: several small
packed executables, external MOD music, one large shared resource slab, and
Gravis-aware playback.

## Examined Files

Archive hash:

```text
36c4e331865b9dd0c369f4e2d6d6aa49771e3df11e6121f15df43568990697a7  portal.zip
```

Archive members:

```text
PORTAL.EXE       8589 bytes  launcher, PKLITE MZ
PORTAL.001       9746 bytes  packed MZ part
PORTAL.002       5981 bytes  packed MZ part
PORTAL.003       6776 bytes  packed MZ part
PORTAL.004       6417 bytes  packed MZ part
PORTAL.005      11942 bytes  packed MZ part
PORTAL.006      15086 bytes  packed MZ part
PORTAL.007      15186 bytes  packed MZ part
PORTAL.008     135812 bytes  4-channel MOD, "soo blue"
PORTAL.009     147692 bytes  4-channel MOD, "back-limit"
PORTAL.010     172350 bytes  4-channel MOD, "heavens trader"
PORTAL.011     152796 bytes  4-channel MOD, "strange pianos"
PORTAL.CFG         13 bytes  binary configuration state
PORTAL.NFO       4368 bytes  release notes
RES_DATA.001   701810 bytes  shared resource data
```

Extracted hashes:

```text
3aaa7dc5c068d07fc11bb186b4d12532e42f894fad169ede6a698ee3bb28887a  PORTAL.EXE
8799dbbb6b07e40ad4c4b11a6253d1375b052214adc735fcd265e3bbd6d49861  PORTAL.001
76fceea37f5c47c6d95f0ea8613183aa71fb98f388f3a54a0256087f508adfb0  PORTAL.002
4d0244b116f868c6d53654efdb82cd1172312370f4c67df49796d2e667564757  PORTAL.003
a0f2cf76833e8e312550b771f9477254b54f783faa89d9b2b6518b2cebc09c56  PORTAL.004
4e4daeac82ea8ad2480fee0092fce2b50adef22734a03968148fd80ef4a78fc2  PORTAL.005
453d649adb6fafa55eab20ad6a86202a165c36b4f431c67649fa84f5e57723f9  PORTAL.006
15e8774d423623390629e447819042eccf9cdcf55627a8652f771018ef71d10c  PORTAL.007
103a371ddd9675e37178ef7dca0f16c4323327c4bb05f51909f7345f8cbe4dc9  PORTAL.008
441da2a23fab21a95c43e3a545cb471c1e644849144048141243c5f6d3ea5eb8  PORTAL.009
caacbd2ac7fce65083f80ddcde9a82b955d94a759b73f3d0e5acad2b12dc1b82  PORTAL.010
9c273b8f148d7bd65253c7f62744558cf55f9f7fe6f1df41dc40a752725b5113  PORTAL.011
2116cea35d0526f9577cbb995fc6f97916b89ce7e411657cc6e6fd0df2069e2e  PORTAL.CFG
59f79fba17d9950163bfd13484a0b28273fd793c0c3ca56acffd0970a426c8be  PORTAL.NFO
55f58a0c8bfd2e8fb02714407c791a955edb33a65728acbb31d780830e0308e9  RES_DATA.001
```

The ZIP stores all files with December 28, 1993 timestamps. The uncompressed
payload is 1,394,564 bytes; `RES_DATA.001` alone is over half of that, but it
deflates from 701,810 bytes to 139,883 bytes because much of it is low-valued
or zero-heavy image/table material.

## Music Files

The four high-numbered `PORTAL` files are normal 31-sample, 4-channel MODs:

```text
file        title             signature  song length  patterns used
PORTAL.008  soo blue          M.K.        20           16
PORTAL.009  back-limit        M.K.        14            9
PORTAL.010  heavens trader    M.K.        31           23
PORTAL.011  strange pianos    M.K.        32           18
```

All four have the `M.K.` signature at offset `0438h`. Their restart byte is
`7Fh`, which is common in ProTracker/FastTracker-era modules. The sample-name
areas confirm ordinary MOD use, but some sample text contains personal contact
details, so the sample names are not reproduced here.

The NFO's split between Goldplay and a GUS replayer is plausible for this file
set. Goldplay covers ordinary MOD playback; the extra GUS credit explains why
the executable strings and port-pattern scan contain Gravis-related evidence.

## Packed Executables

`file(1)` reports the eight MZ files as self-extracting PKZIP archives, but none
contains a `PK\003\004` local-file-header signature. The shared evidence points
instead to PKLITE-compressed DOS executables:

- Each MZ file contains `PKLITE Copr. 1990-91 PKWARE Inc. All Rights Reserved`
  near offset `001eh`.
- Each has a `Not enough memory` DOS message near offset `00d1h`.
- Each uses a 160-byte MZ header, one relocation entry, and a first relocation
  of `0000:0007`.
- Each has `CS:IP = fff0:0100`, which resolves outside the file image in the
  same way as other PKLITE-style wrappers in this archive set.

Header summary:

```text
file        size   min/max alloc  stack
PORTAL.EXE   8589  0635/0649      0219:0200
PORTAL.001   9746  1e50/1e64      0262:0200
PORTAL.002   5981  1351/1365      0176:0200
PORTAL.003   6776  1511/1525      01a8:0200
PORTAL.004   6417  19ef/1a03      0192:0200
PORTAL.005  11942  1a51/1a65      02eb:0200
PORTAL.006  15086  0a4d/0a61      03af:0200
PORTAL.007  15186  1cd1/1ce5      03b6:0200
```

The repeated packaging is the important structural point. This is not one
large trackmo executable. It is a launcher plus seven packed part executables,
with music and common data left as external files.

## Resource References

Even through compression, the part files expose enough strings to show the
resource vocabulary:

```text
RES_DATA.001 / RES_DAI.001 fragments
PORTAL.CFG
PORTAL.008
2FONT.CLX
UZSPIK.RAW
UOCEN1.RAW
.FLP
Resource-file error / Cannot find / Seek fragments
Module play / Music fragments
```

The exact strings are damaged by packing and nearby binary data, but the pattern
is consistent across several parts. The program family expects a common resource
file, a tiny config file, raw pictures or masks, compressed font/image material,
FLI/FLP-style animation material, and MOD playback.

`PORTAL.CFG` is only 13 bytes:

```text
02 63 00 03 20 02 01 05 00 00 01 00 00
```

There is not enough local evidence to decode those bytes confidently. Given the
size and location, it is more likely sound/video/runtime configuration state
than content data.

## RES_DATA.001 Shape

`RES_DATA.001` is 701,810 bytes. It contains all 256 byte values, but the
distribution is strongly biased toward zero and low 6-bit values:

```text
unique byte values  256
zero bytes          272167
0ffh bytes             320
printable bytes       21388
top values          00, 01, 07, 03, 06, 1b, 04, 08
```

The first 768 bytes are especially clear: every byte is in the VGA DAC range
`00h..3Fh`, and there are no values above 63. That is the shape of a 256-color
VGA palette block. The following data remains mostly in the same 6-bit range
for hundreds of kilobytes, suggesting palette-index maps, masks, height tables,
or precomputed effect fields rather than packed executable code.

Block summaries in 64 KB windows show the transition:

```text
000000-080000  mostly 00h..3Fh values, zero-heavy but interleaved
080000-090000  first strongly mixed block, 255 distinct byte values
090000-0a0000  returns to mostly 00h..3Fh values
0a0000-0ab572  mixed tail, 256 distinct byte values
```

There are no contiguous zero runs longer than 4096 bytes. The file is sparse in
value distribution, not a crude block of empty padding.

## Hardware Marker Evidence

The following table counts immediate byte patterns and interrupt opcodes across
`PORTAL.EXE` and `PORTAL.001` through `PORTAL.007`. Because all eight files are
packed, these counts are only supporting evidence; they are not proof of exact
executed routine locations.

```text
marker          total across 8 packed MZ files
INT 10h         19
INT 21h         29
B800h text VRAM 23
A000h VGA VRAM  29
3DAh retrace     11
3C8h DAC index   11
3C9h DAC data     7
GUS 210h base    18
GUS 220h base    31
GUS 240h base    26
GUS 260h base    17
```

The table matches the rest of the package. `INT 21h` is expected for the
launcher and part chain. `INT 10h`, A000/B800 references, DAC ports, and 3DAh
fit VGA setup, palette updates, and retrace timing. The Gravis port-base
patterns match the NFO's GUS replayer credit and the visible GUS strings.

## Technical Character

`The Portal` is useful precisely because it is not one of the famous The Party
1993 PC demos. It sits down at rank 13, but its package is a full multi-part DOS
demo system: eight PKLITE MZ programs, four external MODs, a shared 701 KB data
file, and a separate binary configuration file.

The design is conservative but practical for late 1993. Instead of hiding every
asset inside one executable, Flash Productions keep effect parts small, split
music into plainly named MOD files, and store bulk visual material in a highly
compressible resource slab. The static evidence points to VGA palette/timing
work, Gravis-aware music, raw/compressed image assets, and module-driven part
sequencing. Without unpacking the PKLITE images, the exact renderer internals
remain out of reach, but the file layout alone shows a disciplined resource
pipeline rather than a quick one-file party hack.
