Skip to content

feat(cpu): interactive debugger / monitor #51

@relmer

Description

@relmer

Add an interactive debugger/monitor mode to Casso65.

Motivation: The #1 feature retro-computing hobbyists look for in an emulator. A debugger makes the tool useful for learning, development, and reverse engineering.

Proposed features:

  • Step (single instruction), Step-over (skip JSR), Continue
  • Breakpoints: by address, by opcode, conditional (e.g., break when A == 0)
  • Register watch: display A, X, Y, SP, PC, and all flags after each step
  • Memory dump: hex + ASCII view of any address range
  • Disassembly view: show upcoming instructions from current PC
  • Watch expressions: evaluate and display arbitrary expressions each step
  • Stack view: show current stack contents

CLI entry point: \Casso65.exe debug input.a65\ or \Casso65.exe debug output.bin --load \

Priority: High — this is the single most impactful feature for community adoption.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions