4 Commits
Author SHA1 Message Date
Thomas MartinandClaude Opus 5.5 cd5262a7a0 Hidden test runs: tmb-check --window --hidden; the native suites on engine master's float shortcuts
- BozoEngine at claude/ps2f-mul-min-normal (7521b3e, BozoEngine #131 on master 3222624): hidden windows, and the
  fix for products that rounded up to the smallest normals in ps2f's and VU0's host shortcuts.
- tmb-check --window --hidden: the pinned pixel captures without showing the window (the offscreen picture).
- README: --hidden, --capture-scene; --no-sound keeps --wav.
- Native suites (tests/host_control.h): engine master's ps2f and VU0 shortcuts use the host's arithmetic, exact only
  when the host rounds to nearest (the game's word) and leaving SSE's sticky status flags. The original now runs at
  the caller's word rounding to nearest, native code still at the varied caller word (generated callers on both sides
  at nearest), and the control word is compared without the status flags.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-23 23:02:21 +01:00
Thomas MartinandCodex e5158e488a Replace hot BSP direction calls with native record math
Lower three audited hdBspNode direction calls without VU state. Preserve destination W and retain original fallbacks for other callers and the historical host. Add optional caller counts and generated BSP continuation coverage.

Validate all nine native suites, twelve release-tool tests, full 9500/8500-frame default and strict gameplay recordings, windowed movie/loading/1P/4P routes and a complete RAM padding audit. Document remaining coverage and audio limits.

Co-Authored-By: Codex <[email protected]>
2026-11-06 18:28:06 +01:00
Thomas MartinandCodex 74fe9e545d Replace vehicle spatial math with native record calculations
Compute the vehicle 3x3 basis product and thirteen inline vector blocks without VU register, accumulator or flag transport. Retain CPU control flow and checkpoints, snapshot each block at its existing store, and preserve destination W for XYZ outputs. Lower the separately audited skid-mark direction call while keeping other helper callers on their existing ABI.

Validate 1,048,576 matrix/direction cases, 425,984 generated-block cases, whole-memory and ordered-overlap checks, 1,024 complete vehicleSetCsMat caller cases, and 2,048 other-caller ABI cases. Independent strict/default 1P and 4P runs reproduce all baseline frame-record fields exactly, including RAM. Movie/loading/gameplay captures pass; document multi-step coverage and full-campaign/audio limits.

Move extracted original fixtures outside the recompiler cleanup directory and verify forced incremental regeneration.

Co-Authored-By: Codex <[email protected]>
2026-11-06 13:39:51 +01:00
Thomas MartinandCodex 839c5093f8 Replace camera matrix helpers with native record calculations
Compute transposed 3x3 and full 4x4 camera products directly over typed records without VU register, accumulator, flag or microcode state. Preserve aliasing and number-format behavior, and keep an opt-in original-helper comparison for validation.

Validate 524,288 exact helper/ABI cases and 256 complete-memory cases. A separate 9,500-frame default run matches the strict run; all 8,500 comparable baseline draw/sound/call/clock records match. Document the traced HUD position.W RAM difference and the VU work that remains.

Co-Authored-By: Codex <[email protected]>
2026-11-06 12:13:16 +01:00