Debugger tile + OAM viewers: independent 2bpp pixel oracle (#53, fourth artifact — completes the chrome) - #61
Merged
Merged
Conversation
East tile canvas: VRAM 2bpp -> 128x192 indexed fb via gfx_fb, rebuilt on pause/step; harness reimplements 2bpp independently and compares all 24576 pixels vs gfx_fb's palette (DBG_TILEDATA seam reads the bus direct; --plant-tiles-fault caught at exactly tile 0's 64 px). South OAM text panel over mem_read with its decode leg + plant. Disasm window self-sizes to its halved east panel. All oracle legs green on real display + xvfb; equivalence gate, twins, lint, units green. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fourth and final artifact of #53: the tile and OAM viewers. With these, the issue's scope — dock chrome, registers + flags, pause / per-instruction / per-frame stepping, live disassembly with breakpoints, memory viewer, tile/VRAM/OAM views — is complete.
gfx_fb(raw color indices, not BGP-mapped — a VRAM view, not a screen view), rebuilt on pause/step.DBG_TILEDATAseam (bus bytes read directly) with its own Python 2bpp implementation and compares all 24,576 canvas pixels againstgfx_fb's exact palette.--plant-tiles-faultinverts tile 0 in the render fb only — caught at exactly 64 pixels.mem_read, decode leg vs theDBG_OAMseam,--plant-oam-faultcaught.Desktop acceptance note: the tile viewer shows Blargg's font glyphs sitting in VRAM — the charset is literally visible in the tile grid.
Closes #53.
🤖 Generated with Claude Code