fvdhoef / aquarius-plus

Official Aquarius+ repository
MIT License
45 stars 8 forks source link

Added "Stop on HALT instruction" option to the "Debug" pull-down menu. #85

Closed iratahack closed 3 months ago

iratahack commented 3 months ago

The Z80 'halt' instruction is used extensively in programming games to make the system wait for VBLANK or VLINE interrupts before updating video memory.

Currently the debugger stops program execution each time the Z80 executes a 'halt' instruction making debugging impossible.

The PR adds a new option to the Debug pull-down to "Stop on HALT instruction"

RevCurtisP commented 3 months ago

This should be an option in the debug dropdown menu Stop on HALT instruction Default to off when no config file is found.

iratahack commented 3 months ago

This should be an option in the debug dropdown menu Stop on HALT instruction Default to off when no config file is found.

Thanks for the feedback, Curtis. I'll see about updating to PR to handle it this way. IH.

iratahack commented 3 months ago

@RevCurtisP , please take a look at this updated PR. Thanks.

fvdhoef commented 3 months ago

I've merged your changes. Thanks!