Skip to content

Commercial titles past their warning screens; Space Squash in game - #2

Merged
sp00nznet merged 1 commit into
mainfrom
fix/harness-input-scanrdy-indirect-call
Oct 21, 2026
Merged

sp00nznet merged 1 commit into
mainfrom
fix/harness-input-scanrdy-indirect-call

Conversation

@sp00nznet

Copy link
Copy Markdown
Owner

Fixes four shared problems found working the commercial titles first: the harness's soft-reset input mask, DPSTTS SCANRDY, jmp [rN] indirect calls (VB_CALLI), and a sweep that ignored committed hints. Details, measurements and the regressions found and fixed on the way are in the commit message and docs/RENDER_TRIAGE.md (2026-10-21 section).

Default or opt-in: the press default changes for every script; SCANRDY and VB_CALLI change behaviour for every title (VB_CALLI fires in 9 commercial games).

Verified: full sweep + build_all + render_survey (66/76 draw, was 64; 43 advancing, was 35); per-title commercial survey at 3,600 frames; regress.ps1 3 better / 0 worse; conformance 77/77; test_mem 7/7.

🤖 Generated with Claude Code

… game

Four shared problems, found working the commercial titles first:

- The harness held A+B+L+R+Start+Select together, a soft-reset combo:
  3-D Tetris rebuilt its display once per burst (14 in 1,800 frames).
  VBRECOMP_PRESS now takes a list pressed one per burst, default
  "1000,0004" (Start, then A), in every script and in shot.lua.
- DPSTTS bit 6 is SCANRDY, a level, not a phase; FCLK is bit 7. Golf
  waits for bit 6 to hold for 20,000 timer ticks and never got past its
  warning screen.
- movea ..., r31 + jmp [rN] with r31 = the next instruction is an
  indirect call; emitted as a table transfer it nested a C frame per
  state change (Golf: stack overflow at frame 2,767). New VB_CALLI.
- sweep.ps1 ignored the committed hint files (and used the Debug tool),
  so every full sweep dropped what discover.ps1 had found.

Plus: SDL2.dll is copied beside each game by CMake (the scripts' copy
failed while a game ran); Elevated Speed's 07x01A30 hint blanks the game
on its own and is commented out; new hints for Golf, 3-D Tetris and
Space Squash.

Measured with sweep + build_all + render_survey: 66/76 draw (was 64),
43 advancing (was 35), blanks 10 (was 12). Space Squash reaches a scored
rally and its continue screen. regress.ps1: 3 better, 0 worse.
Conformance 77/77, test_mem 7/7.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sp00nznet
sp00nznet merged commit 54d60fc into main Oct 21, 2026
1 check passed
sp00nznet added a commit that referenced this pull request Oct 21, 2026
… game (#2)

Four shared problems, found working the commercial titles first:

- The harness held A+B+L+R+Start+Select together, a soft-reset combo:
  3-D Tetris rebuilt its display once per burst (14 in 1,800 frames).
  VBRECOMP_PRESS now takes a list pressed one per burst, default
  "1000,0004" (Start, then A), in every script and in shot.lua.
- DPSTTS bit 6 is SCANRDY, a level, not a phase; FCLK is bit 7. Golf
  waits for bit 6 to hold for 20,000 timer ticks and never got past its
  warning screen.
- movea ..., r31 + jmp [rN] with r31 = the next instruction is an
  indirect call; emitted as a table transfer it nested a C frame per
  state change (Golf: stack overflow at frame 2,767). New VB_CALLI.
- sweep.ps1 ignored the committed hint files (and used the Debug tool),
  so every full sweep dropped what discover.ps1 had found.

Plus: SDL2.dll is copied beside each game by CMake (the scripts' copy
failed while a game ran); Elevated Speed's 07x01A30 hint blanks the game
on its own and is commented out; new hints for Golf, 3-D Tetris and
Space Squash.

Measured with sweep + build_all + render_survey: 66/76 draw (was 64),
43 advancing (was 35), blanks 10 (was 12). Space Squash reaches a scored
rally and its continue screen. regress.ps1: 3 better, 0 worse.
Conformance 77/77, test_mem 7/7.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@sp00nznet
sp00nznet deleted the fix/harness-input-scanrdy-indirect-call branch October 21, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant