Commit Graph

1840 Commits

Author SHA1 Message Date
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
Vicki Pfau 5415cd72e2 Qt: Update mapper list 2022-10-16 01:30:24 -07:00
Vicki Pfau e370f64801 GB MBC: Add NT (old 2) support 2022-10-15 23:41:51 -07:00
Vicki Pfau 74358521ab macOS: Add category to plist (closes #2691) 2022-10-15 16:47:49 -07:00
Vicki Pfau 1f36728244 GB Serialize: Add missing savestate support for MBC6 and NT (newer) 2022-10-15 04:42:10 -07:00
Vicki Pfau 0bd4ad034e GB MBC: Add NT (old 1) support 2022-10-15 04:13:37 -07:00
Vicki Pfau 47e704d257 Qt: Expand criteria for tag branch names (fixes #2679) 2022-10-14 23:36:20 -07:00
Vicki Pfau d5669c2872 Qt: Manually split filename to avoid overzealous splitting (fixes #2681) 2022-10-14 23:36:06 -07:00
Vicki Pfau 5067eb621c Res: Fix species name location in Ruby/Sapphire revs 1/2 (fixes #2685) 2022-10-14 21:34:32 -07:00
Vicki Pfau 686eee4e20 Changes: Update for 0.10.0 2022-10-11 20:30:00 -07:00
Vicki Pfau 8b887cb0ff Qt: Fix coloration of swatches on styles with distinct frame backgrounds 2022-10-09 23:53:47 -07:00
Vicki Pfau bb711d311f GBA Savedata: Store RTC data in savegames (closes #240) 2022-10-06 02:57:26 -07:00
Vicki Pfau 0c33863e66 Qt: Include cheats in bug report 2022-09-28 04:27:45 -07:00
Vicki Pfau 31f798748b VFS: Early return NULL if attempting to map 0 bytes from a file 2022-09-27 05:33:46 -07:00
Vicki Pfau 55c2efa3ea GB: Don't try to map a 0-byte SRAM (fixes #2668) 2022-09-27 05:33:46 -07:00
Vicki Pfau 2912bd2d07 GB: Support CGB0 boot ROM loading 2022-09-21 20:04:56 -07:00
Vicki Pfau 5dbe240442 Qt: Resume crashed game when loading a save state 2022-09-11 02:51:24 -07:00
Vicki Pfau e87f7b7b68 Qt: Use FFmpeg to convert additional camera formats, if available 2022-09-09 16:38:34 -07:00
Vicki Pfau 4b0ea00ba1 GBA: Fix 1 MiB ROM mirroring to only mirror 4 times 2022-09-07 20:26:35 -07:00
Vicki Pfau e0b07a6446 GB: Fix HALT breaking M-cycle alignment (fixes #250) 2022-09-04 00:09:14 -07:00
Vicki Pfau bac42c9027 GB MBC: Partial TAMA5 RTC 2022-08-28 03:53:51 -07:00
Vicki Pfau 368ad24516 Debugger: Fix multiple conditional watchpoints at the same address 2022-08-13 03:41:55 -07:00
Vicki Pfau 1fb7d7a4a3 GB Audio: Increase sample rate 2022-08-06 23:08:28 -07:00
Vicki Pfau 137f3e5804 Qt: Change lossless setting to use WavPack audio 2022-08-06 18:21:40 -07:00
Vicki Pfau 82ce165211 FFmpeg: Support dynamic audio sample rate 2022-08-06 18:20:36 -07:00
Vicki Pfau 5db7d95aa2 ARM: Fix some disassembly 2022-07-17 15:56:56 -07:00
Vicki Pfau 0cfaf0a240 Qt: Add more bounds checks to tile selection 2022-07-03 18:53:55 -07:00
Vicki Pfau 68ef5d3a5b GB: Fix replacing the ROM crashing when accessing ROM base 2022-06-30 04:42:58 -07:00
Vicki Pfau 0979380c74 Debugger: Shaving recursive yaks takes a lot of work 2022-06-28 18:43:15 -07:00
Vicki Pfau 1bf1a97023 GBA Video: Fix sprite layer priority updating in GL 2022-06-28 02:23:39 -07:00
Vicki Pfau 4851109027 Core: Add wallclock offset RTC type 2022-06-16 21:57:45 -07:00
Vicki Pfau 85737f1103 SDL: Support exposing an axis directly as the gyro value (closes #2531) 2022-06-14 20:15:26 -07:00
Vicki Pfau f7d8b77bd4 GB MBC: Fix edge case with Pocket Cam register accesses (fixes #2557) 2022-06-14 15:15:11 -07:00
Vicki Pfau 7f453ce202 GBA Video: Fix horizontal lines in GL when charbase is changed (fixes #1631) 2022-06-14 00:13:51 -07:00
Vicki Pfau 9ac6096c3d GB SIO: Fix bidirectional transfer starting (fixes #2290) 2022-06-09 21:10:27 -07:00
Vicki Pfau ae0c5e91aa Qt: Simplify Window drawing (fixes #2190) 2022-06-08 15:32:42 -07:00
Vicki Pfau 7a07b148cb GBA Video: Fix OBJ tile wrapping with 2D char mapping (fixes #2443) 2022-06-08 00:15:52 -07:00
Vicki Pfau f9e03e7182 GBA Memory: Implement adjustable EWRAM waitstates (closes #1276) 2022-06-07 00:05:27 -07:00
Vicki Pfau fda7f83855 GB I/O: Fix writing to WAVE RAM behavior (fixes #1334) 2022-06-06 22:57:45 -07:00
Vicki Pfau 00421cd046 GB Audio: Fix APU re-enable timing glitch 2022-06-06 22:35:35 -07:00
Vicki Pfau 11837ffc15 ARM: Disassemble Thumb mov pseudo-instruction properly 2022-06-05 20:59:30 -07:00
Vicki Pfau 3c0d9f7197 GBA Audio: Sample FIFOs at SOUNDBIAS-set frequency 2022-06-01 19:13:05 -07:00
Vicki Pfau cbbcf7478e GBA Audio: Adjust PSG sampling rate with SOUNDBIAS 2022-06-01 02:15:07 -07:00
Vicki Pfau cbbaa42641 CHANGES: Update 2022-06-01 02:15:07 -07:00
Vicki Pfau 6fd3bfb86b Qt: Fix preloading for ROM replacing 2022-05-29 20:39:09 -07:00
Vicki Pfau 0c02f2798a GBA Video: Fix sprites with mid-frame palette changes in GL (fixes #2476) 2022-05-29 18:49:40 -07:00
Vicki Pfau 511a12c507 GBA Video: Fix highlighting for sprites with mid-frame palette changes 2022-05-29 18:46:34 -07:00
Vicki Pfau b6ec54dadf Merge branch 'feature/scripting' 2022-05-29 13:29:20 -07:00
Vicki Pfau 469ce5d145 Update CHANGES and README 2022-05-29 02:44:17 -07:00
Vicki Pfau 21e2ccb025 Qt: Improve cheat parsing (fixes #2297) 2022-05-28 15:04:18 -07:00
Vicki Pfau c6d7c40dfc GBA: Fix booting multiboot ROMs with no JOY entrypoint 2022-05-24 20:51:36 -07:00
Vicki Pfau 8f133caec8 Debugger: Add command to load external symbol file (fixes #2480) 2022-05-01 22:29:31 -07:00
Vicki Pfau 492ba2478c Core: Fix crash if library can't be opened 2022-05-01 17:02:50 -07:00
Vicki Pfau dcdd6d2dd2 GB Audio: Properly apply per-model audio differences 2022-04-22 02:59:15 -07:00
Vicki Pfau f326d02e33 Qt: Boot both a multiboot image and ROM with CLI args (closes #1941) 2022-04-21 22:09:46 -07:00
Vicki Pfau ce7e53d53d Qt: Add e-Card passing to the command line (closes #2474) 2022-04-21 19:41:49 -07:00
Vicki Pfau 5b7780620d Qt: Fix crash when clicking past last tile in viewer 2022-04-12 22:23:15 -07:00
Vicki Pfau 969d36d296 CHANGES: Remove bug that wasn't actually fixed 2022-04-03 16:02:14 -07:00
Vicki Pfau cb0b47406f GB MBC: Filter out MBC errors when cartridge is yanked (fixes #2488) 2022-04-03 15:55:34 -07:00
Vicki Pfau 3d65b4b4aa CHANGES: Update 2022-04-03 15:33:25 -07:00
Vicki Pfau 5418bb066f Debugger: Add callback for updating while the runloop is suspended; use for GDB 2022-03-27 02:33:32 -07:00
Vicki Pfau 739d842129 GB Audio: Fix channel 1/2 reseting edge cases (fixes #1925) 2022-03-07 18:36:24 -08:00
Vicki Pfau 467c620abc mGUI: Autosave less frequently when fast-forwarding 2022-02-27 21:18:10 -08:00
Vicki Pfau c284506c1b mGUI: Fix FPS counter after closing menu 2022-02-27 21:17:06 -08:00
Vicki Pfau 64d8dd1b69 GBA Cheats: Implement "never" type codes (closes #915) 2022-02-22 19:40:21 -08:00
Vicki Pfau 91911fe092 GBA: Refine multiboot detection (fixes #2192) 2022-02-20 21:05:12 -08:00
Vicki Pfau 5b26099eac Qt: Show warning if XQ audio is toggled while loaded (fixes #2295) 2022-02-20 20:37:22 -08:00
Vicki Pfau 7c8a06816b GBA Video: Implement layer placement for OpenGL renderer (fixes #1962) 2022-02-20 19:45:13 -08:00
Vicki Pfau 5f3cb2f72f Vita: Add bilinear filtering option (closes #344) 2022-02-20 04:26:16 -08:00
Vicki Pfau 4ae540b387 Debugger: Save and restore CLI history 2022-02-20 03:49:59 -08:00
Vicki Pfau 66f445cd0a GBA: Fix expected entry point for multiboot ELFs (fixes #2450) 2022-02-18 22:14:16 -08:00
Vicki Pfau ad00b2f883 Core: Fix the runloop resuming after a game has crashed (fixes #2451) 2022-02-18 22:09:14 -08:00
Vicki Pfau 751ab434f4 Qt: Add tile range selection to tile viewer, modernize layout (closes #2455) 2022-02-18 21:26:45 -08:00
Vicki Pfau cf06497456 GBA DMA: Enhanced logging (closes #2454) 2022-02-18 20:31:52 -08:00
Vicki Pfau 4312ce14ff Util: Failed file mapping should return NULL on POSIX 2022-02-16 23:16:48 -08:00
Vicki Pfau e15911891c 3DS: Ensure writes update file modification time (fixes #2444) 2022-02-14 20:31:59 -08:00
Vicki Pfau 4f94849728 GBA: Automatically skip BIOS if ROM has invalid logo 2022-02-10 18:26:08 -08:00
Vicki Pfau 8ac1ece17a GB: Support for GBX ROMs 2022-02-10 14:25:21 -08:00
Vicki Pfau 0676769b68 GB MBC: Sachen MMC2 support 2022-02-08 18:36:12 -08:00
Vicki Pfau a5976e6c34 GB MBC: Sachen MMC1 support 2022-02-07 22:20:46 -08:00
Vicki Pfau 6c84f43c22 GB: Copy logo from ROM if not running the BIOS intro (fixes #2378) 2022-02-07 04:02:37 -08:00
Vicki Pfau d33471e117 GB MBC: Add NT (new) support (closes #2435) 2022-02-06 21:44:55 -08:00
Vicki Pfau 26aea8544f GB MBC: Initial HuC-3 save format 2022-02-04 23:48:27 -08:00
Vicki Pfau c829cd2e70 GB MBC: Improved support for HuC-3 mapper 2022-02-04 02:32:07 -08:00
Vicki Pfau e2040146ea Qt: Enable -b for Boot BIOS menu option (fixes #2074) 2022-02-04 02:32:07 -08:00
Vicki Pfau 73efec2a02 GBA Video: Fix rare crash in modes 3-5 2022-02-04 02:32:07 -08:00
Vicki Pfau 667dffe515 Qt: Support for multiple saves per game using .sa2, .sa3, etc. 2022-01-30 17:49:37 -08:00
Vicki Pfau d071bffe0a GBA Video: Fix Hblank timing (fixes #2131, #2310) 2022-01-26 18:26:56 -08:00
Vicki Pfau 1d8141e1fd GB Serialize: Fix loading MBC1 states that affect bank 0 (fixes #2402) 2022-01-22 18:12:58 -08:00
Vicki Pfau 6f4398a3b9 GBA BIOS: Initial HLE timing estimation of UnLz77 functions (fixes #2141) 2022-01-22 18:12:58 -08:00
Vicki Pfau d1bc394ca3 GBA Video: Ignore horizontally off-screen sprite timing (fixes #2391) 2022-01-22 04:34:48 -08:00
Vicki Pfau 8a310dcfed FFmpeg: Fix GIF recording (fixes #2393) 2022-01-20 23:49:56 -08:00
Vicki Pfau fff87985fe GB, GBA: Save writeback-pending masked saves on unload (fixes #2396) 2022-01-20 22:30:04 -08:00
Vicki Pfau ee68e9742d GB: Fix temporary saves 2022-01-20 22:30:04 -08:00
Vicki Pfau ddca55347e GBA Video: Fix OpenGL rendering on M1 Macs 2022-01-19 23:06:19 -08:00
Vicki Pfau b6e2faaba9 Qt: Add QOpenGLWidget cross-thread codepath for macOS (fixes #1754) 2022-01-19 19:36:21 -08:00
Vicki Pfau 851b01be15 Qt: Add optional emulation-related information on reset (closes #1780) 2022-01-17 01:55:08 -08:00
Vicki Pfau 006dba7d69 Qt: Add optional frame counter to OSD (closes #1728) 2022-01-17 01:55:08 -08:00
Vicki Pfau 9b6b7c7392 GBA DMA: Fix DMA source direction bits being cleared (fixes #2410) 2022-01-15 20:32:50 -08:00
Vicki Pfau 76438391a1 Windows: Attach to console if present 2022-01-14 01:09:45 -08:00