5 Commits
Author SHA1 Message Date
Henrik RydgårdandClaude Opus 5.5 d0567e2dfb GE: Nest CALLs only two deep, like the hardware
- Fixes #7395

The GE has two return address registers, and a CALL beyond them does
nothing: the list carries on after it. A signal CALL is done by the
firmware, which saves and clears them, so it starts the count over,
and the signal RET restores it. Shown on a PSP by the new
gpu/callstack/depth test.

Soul Calibur: Broken Destiny turns lighting on for its weapon trails
from a third-level CALL, so on hardware the trails stay unlit and take
their colors from the vertices. We ran that CALL and drew them white.

Plain CALLs now store a 0 base address in their stack entry, which a
signal CALL never does, so the depth can be counted without changing
the savestate layout.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-14 00:54:01 +02:00
Henrik RydgårdandClaude Fable 5.1 69b7380d26 docs/sceGe.md: when the GE counts as busy, contexts and callbacks, LoadExec
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-21 13:21:03 -06:00
Henrik RydgårdandClaude Fable 5.1 e47851a069 docs/sceGe.md: starting another executable, and what sceGeBreak(1) keeps
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-21 13:10:02 -06:00
Henrik RydgårdandClaude Fable 5.1 8e0df6ff3a docs/sceGe.md: interrupts off, waiting where you can't, break with one pending
Also why gpu/signals/continue, jumps, simple and handlercalls fail, and the
one thing not to try on a real PSP.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-21 12:48:03 -06:00
Henrik RydgårdandClaude Fable 5.1 41627cc0ce docs: describe how the display list queue behaves
What SIGNAL and FINISH interrupts do and in which order, what enqueueing
checks, the pause window, what the sync calls wait for, and how
ProcessDLQueue() keeps the order right while executing lists in one go.

Also a note on gentest.py keeping a pipe open through usbhostfs_pc.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-21 12:21:19 -06:00