Skip to content

Interrupt frame floor; greedy discovery; Virtual Lab in game - #6

Merged
sp00nznet merged 1 commit into
mainfrom
fix/irq-frame-floor
Oct 21, 2026
Merged

sp00nznet merged 1 commit into
mainfrom
fix/irq-frame-floor

Conversation

@sp00nznet

Copy link
Copy Markdown
Owner

Handlers can no longer unwind through the interrupted code. Adds scripts/greedy_discover.py and its accepted hints. No title worse in the full loop; Virtual Lab in game; Mario Clash, Red Alarm, Teleroboxer, Vertical Force further. regress 0 worse, conformance 77/77.

🤖 Generated with Claude Code

The drain's transfer-into-an-active-frame check scanned every frame,
including the interrupted code's. A handler could unwind through the main
loop and never reach RETI (Panic Bomber ran on with EP set). The
dispatcher now raises vb_recomp_frame_floor to the interrupted depth while
a handler runs; unwinding and the active-frame scan stop there.

Also scripts/greedy_discover.py (keep a harvested entry only if the
screens do not get worse) and the greedy hints it produced for ten
commercial titles, plus a heartbeat trail at an interrupt's first SP leak.

Full loop: no title worse. Virtual Lab in game (Level 01); Mario Clash,
Red Alarm, Teleroboxer, Vertical Force (USA) further. regress 0 worse,
conformance 77/77, test_mem 7/7.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sp00nznet
sp00nznet merged commit ef2718b into main Oct 21, 2026
1 check passed
@sp00nznet
sp00nznet deleted the fix/irq-frame-floor branch October 21, 2026 20:36
sp00nznet added a commit that referenced this pull request Oct 21, 2026
The drain's transfer-into-an-active-frame check scanned every frame,
including the interrupted code's. A handler could unwind through the main
loop and never reach RETI (Panic Bomber ran on with EP set). The
dispatcher now raises vb_recomp_frame_floor to the interrupted depth while
a handler runs; unwinding and the active-frame scan stop there.

Also scripts/greedy_discover.py (keep a harvested entry only if the
screens do not get worse) and the greedy hints it produced for ten
commercial titles, plus a heartbeat trail at an interrupt's first SP leak.

Full loop: no title worse. Virtual Lab in game (Level 01); Mario Clash,
Red Alarm, Teleroboxer, Vertical Force (USA) further. regress 0 worse,
conformance 77/77, test_mem 7/7.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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