Files
retroDE_ps2/docs/ch370_audit_log.md
T
thejayman77 ba74bbd5aa Snapshot: fog implementation + fidelity tooling baseline (pre bilinear-clamp fix)
Per-vertex GS fog end-to-end (gs_stub emit incl. persp_emit5, gs_prim_list_feeder
XYZ2->XYZF2 on PRIM.FGE, gs_make_sh3_scheduler_fixture.py F/FGE packing), new fog
TBs, fidelity attribution tooling. Functional baseline before removing the dead
bilinear lerp8 clamps (Codex: 161-node comb loop -> -0.042ns setup fail).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-20 19:56:46 -04:00

2.2 KiB

Ch370 Audit Log - Runtime CLUT Frame C

Scope

Convert the established 24-draw Frame C cluster to host-staged runtime CLUT updates, retaining its distinct relocated CBP 504 and proving it on the fitted Ch368 depth-4096 core.

Fixture and Integration

  • zsrtc24 contains eight ordered 204-triangle epochs from the authentic Frame C draw set. Epoch 0 fills texture CRC 0xcf4cae27; epochs 1 through 7 verify that CRC as resident texture reuses. Every epoch stages its palette through the runtime HPS path.
  • Native geometry stays within x 35..569, y 9..400; each feeder list is 1,843 words, below the 2,048-word staging capacity.
  • The depth-4096 traced integration gate passes: 346,425 accepted fragments, 167,247 persistent-Z updates, eight fresh drains, zero drops, Z 0/307200, and color 0/73330. Per-epoch request FIFO high-water values are 948, 131, 1041, 374, 377, 1855, 606, and 1156. The maximum 1855 stays well below the fitted 4096-entry depth.

Silicon Closure

  • The board host run completed all eight runtime palette copies, one texture fill, seven resident-CRC reuses, fresh ordered drains, and zero fragment drops.
  • Board and traced-integration framebuffers are byte-identical at SHA-256 6614d7211b9a668cfeda12e4fa2d6f469d3ee4d3a10bdf56c0119b35f93c7803.
  • Replay-color is exact at 307200/307200: 346,425 fragments, 167,247 Z-pass updates, 73,330 covered pixels, and no uncovered writes.

Result

Ch370 closes Frame C on silicon with runtime CLUT staging and persistent Z. No RTL, constraint, or Quartus fit change was required; the current Ch368 core carries this third runtime scene within its measured request-FIFO envelope.

Three-State Motion Extension

  • The same loaded core ran zsrtm28 -> zsrtc24 -> zsrtb24 -> zsrtm28 -> zsrtc24 -> zsrtb24, with color/Z reset and the appropriate texture and runtime palette staged at every frame boundary.
  • The six boundary dumps match the independently closed integration framebuffers exactly: M28 dumps 0 and 3 hash to fdff2f34eac22ee140b64d8fac129627549bbb0f6db37d4b91807a9058e47a04; Frame C dumps 1 and 4 hash to 6614d7211b9a668cfeda12e4fa2d6f469d3ee4d3a10bdf56c0119b35f93c7803; Frame B dumps 2 and 5 hash to 3191d75983e72a158f91f15cc1f57b6ff7c5e40d5bbb4a49957db06db4e2fded.