slajerek / RetroDebugger

Retro Debugger is a multiplatform debugger APIs host for retro computers: C64 (Vice), Atari800 and NES (NestopiaUE).
167 stars 18 forks source link

Add VICE as a Code monitor option for NES and Atari 800 #47

Open puzzud opened 1 month ago

puzzud commented 1 month ago

The Default Code monitor has the basic functionality one would expect. But the VICE Code monitor is way better. If there was a way to select it as an option when running NES or Atari 800, that'd be ideal.

UI-wise, it'd add Settings->Atari 800->Code monitor->VICE, Settings->NES->Code monitor->VICE.

Because it's not already available, I'm guessing it's because the VICE monitor logic is where it normally is which resides in VICE rather than in an area easily usable by NES & Atari 800. If that's the case and it's simply too much to extract it, then perhaps this is more of a request to enhancement the Default Code monitor. The big hitters I immediately miss were the "break" command (and inversely "del") and the disassemble and assemble commands.

slajerek commented 2 weeks ago

Indeed, Vice's monitor is heavily combined with Vice, it is not possible to just reconnect it to other emulator, that needs to be written from scratch in a generic way. Although I plan some similar features to existing Default Code monitor.

Note, the disassemble command is already available in the default code monitor: e.g. D 1000 1100 As for the assemble, I mainly focused on Disassembly view where you can also assemble code there, but it should be quite straightforward to add assemble to monitor too.

Regarding break and del commands that's good idea.