Numbered breakpoints with WDM
This is an enhancement idea: since the WDM opcode reads the byte after it, might it be possible to add an option to the Breakpoint Editor where the emulation only stops at
wdm
.byte $xx
where $xx is an arbitrary number? So that I could stop at all instances of WDM or just at a range of numbers of $xx.
I am aware some use NOP/WDM to skip the byte-long instruction after it, but this might be a nice feature when working on large projects.
This could probably be done in the same way that normal breakpoints let you specify an optional 'data' value to compare against (possibly combined with the selectable operators idea in #133 for >, <, >=, <=, !=, etc.)
I guess it'd just be a matter of adding the option to the GUI comfortably. I'm going to start on an effort fairly soon to start integrating some big debugging GUI changes including to the breakpoint editor, so those two features would probably be good things to try to implement at that point.