tomm / fab-agon-emulator

Agon Light, Agon Light 2, Agon Console8 Emulator for Linux, Windows, any system with libSDL
GNU General Public License v3.0
79 stars 19 forks source link

Ability to break in code #20

Open paulscottrobson opened 10 months ago

paulscottrobson commented 10 months ago

It's quite useful to have the option to put a breakpoint in your source code. Saves faffing about looking up addresses, you can just inline in code.

One option is to break on an opcode e.g. $76 (HALT). Another way (the TI84 CEmu emulator does it this way) is to trigger it with a write to $FFFFFF

Many thanks, Paul.

tomm commented 9 months ago

Hm, yeah. That sounds useful. I'll have a think about it