Simen Svale
|
37f53616ff
|
Add semantic layer tools for interpreted C64 debugging
New tools:
- readScreen: Screen RAM as ASCII text with non-empty line summary
- readColorRam: Color RAM with color names and usage statistics
- readVicState: Full VIC-II state with interpreted values
- Graphics mode detection
- Memory bank/address calculation
- Sprite enable summary
- readSprites: All 8 sprites with position, visibility, colors
- Visibility checks with explanations
- Data pointer address resolution
- enabledOnly filtering option
Utilities (src/utils/c64.ts):
- PETSCII screen code to ASCII conversion
- C64 color palette names
- VIC bank and memory address calculation
- Graphics mode detection
- Sprite visibility range checks
AX patterns applied:
- Summary modes (readColorRam summary option)
- Filtering (readSprites enabledOnly option)
- Rich hints explaining issues (sprite visibility)
- Proactive issue detection
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2025-12-30 01:56:03 +01:00 |
|