STAR WARS TRENCH / 512 KiB -- SW512.TAP

Stock TSPico firmware 1.00; HOME-RAM TAP player based on working RAM512 R3.
Uses all 512 KiB expansion SRAM. No firmware replacement or ROM routines.

INSTALL
Copy all 33 TAP files from this ZIP's TAP directory directly into the SD
card /TAP/ directory. Do not put them in a subdirectory for this demo.
They have distinct names and coexist with the earlier RV512 demos:
 SW512.TAP                  player
 SWF000.TAP--SWF015.TAP      option 1 data
 SWW000.TAP--SWW015.TAP      option 2 data

Power reset the TS2068 and TSPico. From normal Flash-ROM startup enter:
 SAVE "tpi:cd /"
 LOAD "tpi:SW512.TAP"
 LOAD ""

MENU
 1: 256x108 extended colour, 90 frames, 12 fps target.
    Nominal loop 7.500s; useful SRAM 464,896 bytes.
 2: 240x102 extended colour, 113 frames, 15 fps target.
    Nominal loop 7.533s; useful SRAM 493,824 bytes.

Both options use the complete supplied source interval 44.5--52.0 seconds.
The 12 fps option has 90 frames and exactly 7.5 seconds nominal playback.
The 15 fps option has 113 frames: covering 7.5s requires rounding to whole
frames, so the nominal loop is 7.533s. No intentional slow motion.
Widescreen proportions are preserved approximately to integer pixels,
with black borders in the 256x192 display. No audio.

Choose an option and wait for all SRAM to load and verify. The animation
then loops without SD file reads. Space or Enter returns directly to the menu. Q quits by restoring the Flash
mapping and restarting normal ROM/BASIC startup. X shows playback counters;
any key then returns to the menu. Choosing an option reloads SRAM.
During loading, requests wait until the current transaction finishes; the
loading screen displays these controls.
Loading replaces all SRAM cartridges and RAM disks. Use normal Flash-based
startup, not a system depending on SRAM content that must be retained.

COLOUR AND CODEC
8x1 extended colour, saturation 1.0, gamma 1.06, fixed spatial Bayer dither.
An emitted-pixel chroma penalty reduces false cyan/magenta in neutral detail.
All chosen quantized frames are reconstructed exactly; no dropped cell
updates or deliberately distributed frame patches. The finite hardware
palette still requires spatial shading. No changes to the source file.
Paired 16-bit replacements prioritize fast decoding. MEMDOCK read priming,
LDIR copying, safe preload spacing and bounded diagnostics are retained.

VALIDATION
See validation/: full legacy protocol preload and byte comparison of all
512 KiB, final alias/checksum sweep, two exact playback loops per sample,
strict instruction execution without copy shortcuts, menu/quit/cancel/error tests,
and native Fuse startup/paired-word checks. The model includes access-driven
selector transitions and 50ms additional bank-response delay. Playback rates
are targets; this new clip has not yet been measured on physical hardware.
The underlying R3 player previously received a hardware playback success.

Previews use the existing TS2068 software palette and target timing; they
are not recordings of physical hardware. Development sources are included;
re-encoding requires the user's original MP4, which is not included.
