indigodarkwolf / box16

A fork of the official X16 emulator, converted to C++20 and with a bunch of features tweaked and added.
MIT License
41 stars 19 forks source link

Feature Request: Option to pause execution and open debug windows on `brk` instruction #35

Open indigodarkwolf opened 2 years ago

indigodarkwolf commented 2 years ago

It may be useful for folks writing debuggable software if the brk instruction can pause execution and open debugging windows, similar to the behavior of stp. This should be guarded by an option setting, though, and default to false, to maintain backwards compatibility with x16emu. Toggling the setting should be exposed through UI and a command-line option.