sputt / wabbitemu

Wabbitemu is a Z80 TI Calculator emulator
http://wabbitemu.org
MIT License
294 stars 31 forks source link

Binary monitor #40

Closed empathicqubit closed 1 year ago

empathicqubit commented 1 year ago

Hello there,

I was thinking about adding a way to communicate with external debuggers. It would be structured similarly to https://github.com/VICE-Team/svn-mirror/blob/main/vice/src/monitor/monitor_binary.c , which also has Z80 support since one of the Commodore machines has one, I think the 128. The main difference I was thinking about is allowing commands to be executed without stopping the emulation. I made this pull request to see if there was interest in merging it into main when it is more complete, and if any changes would need to be made. I think it would be useful for tool writers. I'm thinking about using it to write a debugging tool for z88dk generated apps.

Regards, EmpathicQubit

empathicqubit commented 1 year ago

Also the respective documentation: https://vice-emu.sourceforge.io/vice_13.html#SEC302https://vice-emu.sourceforge.io/vice_13.html#SEC302