Using breakpoint helpers

A set of breakpoint helpers exist to quickly add common but complex breakpoints. These are:

  • Reading and writing to the ULA (port $fe)

  • Reading or writing to the Spectrum 128/+2's paging register (port $7ffd)

  • Reading a specific half-row on the keyboard matrix

  • Breaking when any key is pressed

  • Breaking when the Kempston Joystick port is read (port $31 or $df)

To set a breakpoint using a helper:

  1. On the debugger View menu, click Breakpoints if the breakpoints window is not already visible.

  2. Click the arrow next to the New Breakpoint bp_new_button button and select the breakpoint to create.

  3. The breakpoint will be added to the list. Edit it further if you need to set some additional conditions.

bp_atog

bp_ula_write

Note

  • These are regular breakpoints and can be managed in the Breakpoints window.