mgba/src
bigfarts 42f7876731 Add range watchpoints.
These are accessible via the following new CLI debugger commands:

 - rw: watchr minAddr maxAddr [cond]
 - r: watchr/r minAddr maxAddr [cond]
 - w: watchr/w minAddr maxAddr [cond]
 - c: watchr/c minAddr maxAddr [cond]

This also makes all watchpoints range watchpoints under the hood.

Preliminary benchmark results:

Time taken to run 10000 frames of Megaman Battle Network 1 (U) with a write watchpoint set at 0x02000000 in milliseconds, 10 runs each:

control (no watchpoint):
[4184, 4185, 4197, 4207, 4220, 4178, 4304, 4226, 4234, 4292]
mean = 4223, stdev = 43.95

old (single address watchpoint):
[4743, 4685, 4679, 4670, 4782, 4704, 4698, 4875, 4746, 4718]
mean = 4730, stdev = 61.67

new (range watchpoint):
[4683, 4691, 4693, 4706, 4782, 4674, 4746, 4768, 4770, 4776]
mean = 4728, stdev = 43.36
2022-10-16 02:10:38 -07:00
..
arm Add range watchpoints. 2022-10-16 02:10:38 -07:00
core Core: Interrupt timing during reset (fixes #2651) 2022-10-09 22:07:58 -07:00
debugger Add range watchpoints. 2022-10-16 02:10:38 -07:00
feature Updater: Cleanup 2022-10-11 19:52:13 -07:00
gb GB MBC: Add Li Cheng support 2022-10-16 01:28:27 -07:00
gba GBA Video: Optimize mode 0 16-color tiles a bit more 2022-10-15 23:01:36 -07:00
platform Qt: Update mapper list 2022-10-16 01:30:24 -07:00
script Scripting: Add documentation for Lua sockets 2022-10-01 22:04:53 -07:00
sm83 Add range watchpoints. 2022-10-16 02:10:38 -07:00
third-party Third-Party: Update zlib and libpng 2022-08-31 00:12:33 -07:00
util CMake: Include zip/7z deps for updater 2022-10-11 19:52:02 -07:00