Skip to content

Debugger memory panel: hex_view over the live bus + decode/byte-click oracle legs (#53, second artifact) - #59

Merged
InauguralPhysicist merged 1 commit into
masterfrom
debugger-memory-panel
Aug 4, 2026
Merged

Debugger memory panel: hex_view over the live bus + decode/byte-click oracle legs (#53, second artifact)#59
InauguralPhysicist merged 1 commit into
masterfrom
debugger-memory-panel

Conversation

@InauguralPhysicist

Copy link
Copy Markdown
Contributor

Second artifact of #53: the south hex_view memory panel (slice-2's upstream widget consumed), with the oracle extended to cover it.

  • Panel: whole 64K over mem_read, opens at the stack top (live nonzero bytes — an all-zero window would let a stuck-at-zero renderer pass); byte click emits DBG_SELECT addr value.
  • Independence by construction: the widget renders through _dbg_mem_reader; the pause seam (DBG_MEMGEOM/DBG_MEM) and DBG_SELECT read the bus directly. --plant-mem-fault corrupts only the render leg — the decode oracle catches exactly the one planted cell (DF40+0).
  • Oracle legs added (green on real display and xvfb): 16 visible memory rows decoded from screenshots byte-identical to the DBG_MEM seam at auto-break and after Run→Pause; a real-pointer click on a nonzero cell reads back DFE7 = 28.
  • Equivalence gate, twins, unit lint all green; geometry comes from the chrome's own runtime hex_view_metrics emit, so font-metric differences (dummy vs bitmap font) can't skew the decode grid.

Part of #53 — does not close it.

🤖 Generated with Claude Code

South hex_view over the live bus (whole 64K, opens at the stack, pure
reader). Two independent legs per pause: the render path goes through
_dbg_mem_reader, the DBG_MEM/DBG_SELECT seams call mem_read directly —
--plant-mem-fault diverges them and the oracle catches exactly the one
planted cell. Oracle adds: hex-cell screenshot decode vs DBG_MEM
(16 rows byte-identical, real display and xvfb), real-pointer byte
click vs DBG_SELECT (DFE7=28 read back). Equivalence gate, twins,
lint green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@InauguralPhysicist
InauguralPhysicist merged commit f48d9fd into master Aug 4, 2026
1 check passed
@InauguralPhysicist
InauguralPhysicist deleted the debugger-memory-panel branch August 4, 2026 20:15
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