Commit graph

134 commits

Author SHA1 Message Date
Sour
1975ab958c Debugger: Fixed crashes when switching between games from different consoles (in AOT build)
Caused by what looks like slight differences between how AOT treats an empty array (vs JIT builds) when it marshals the array (AOT sends a null pointer, JIT sends a pointer to an empty array)
This was causing issues in both builds (AOT crashed immediately because of the null pointer, JIT read from out-of-bounds memory)
2025-03-28 18:03:30 +09:00
Sour
acbe931ba0 Debugger: SNES - Added break on options for SPC
Break on BRK, STOP/SLEEP
2025-03-27 23:46:36 +09:00
Sour
c4472f3a4d Debugger: Make shift+home/end select rows in disassembly/source view and trace logger 2025-03-23 15:36:51 +09:00
Sour
e79db8fcac Debugger: Sprite viewer - Fixed rare crash when reloading rom that could happen because debugger is being reinitialized while the sprite list is being fetched by the UI 2025-03-21 23:29:28 +09:00
Sour
e12f40ae3b Fixed compilation warning 2025-03-19 22:29:07 +09:00
Sour
d324582c6f Debugger: Script window - Added option to show line numbers 2025-03-18 21:48:09 +09:00
Sour
9fcfc1ecde Debugger: SNES - Fixed incorrect addresses for HDMA reads/writes on the event viewer 2025-03-11 19:28:14 +09:00
Sour
5823761791 SMS: Implemented fairly accurate sprite eval+fetch timings, for all modes
+ Fixed VRAM read to wait until next available CPU access slot
+ Fixed NMI triggering on the wrong scanline on SMS
+ Fixed NMI issues on ColecoVision
+ Fixed random ram option not working properly on SG-1000
+ Added "Mem access" tab to tilemap viewer to see fetch patterns
2025-03-01 00:09:36 +09:00
Sour
081ae70167 Debugger: NES header editor - Fixed blank VS PPU Type value when VS System Type was not the default value 2025-02-12 17:06:38 +09:00
Sour
a574032c8f Debugger: Fixed crash when trying to use the "Edit selected code" on a block start/end header 2025-02-05 17:36:24 +09:00
Sour
8d6830a70a SNES: Add support for ST018 coprocessor
Used by a single game: Hayazashi Nidan Morita Shougi 2
2024-12-29 23:41:52 +09:00
Sour
1e3422b69e Debugger: Profiler - Show [irq]/[nmi] markers on functions 2024-12-17 18:51:01 +09:00
Sour
86cac326d7 Debugger: Tile editor - Improved behavior when editing tiles from a tilemap in games that bankswitch vram in the middle of the screen
-Also allows cropping the edit window when the size doesn't fit (e.g using 4x4 near the bottom of the screen can result in a 4x2 edit window, etc.)
-Fixed a display issue when the number of edited columns & rows didn't match
2024-12-14 23:19:02 +09:00
Sour
e2ea8438f2 Debugger: Added edit 8x8 tile option in tilemap/tile viewers 2024-12-14 22:38:12 +09:00
Sour
8ad34343ba Debugger: Prevent UI freeze when viewer updates pile up and end up taking up 100% of the UI thread's time
Prevent queueing another update while the previous update is still running, which should prevent most issues.
Also slightly improves performance for the SNES tilemap viewer (which was causing the freeze when displaying an 8bpp 1024x1024 tilemap)
2024-12-10 18:59:13 +09:00
Sour
8d49d0ea54 Debugger: Label list - Toggle breakpoint on ram labels should create RWX breakpoints 2024-12-08 17:22:51 +09:00
Sour
d94646590d Debugger: Source View - Fix selected file/scroll position being incorrect after manually loading a symbol file when the source view tab was already visible 2024-12-08 16:48:01 +09:00
Sour
962a1445c7 Debugger: Source View - Auto-switch to disassembly when no source mapping is found for the current statement
Auto-switch back to source view once a mapping is found again
2024-12-07 21:11:38 +09:00
Sour
e52fa70944 Debugger: Source View - Improve active row behavior when multiple mirrors exist
+ Automatically move to current address when clicking on the source view tab (so that the active row is shown after manually loading a symbol file, etc.)
2024-12-07 20:00:24 +09:00
Sour
be41cdeaeb Debugger: Update CDL stats while running when "refresh while running" is enabled
+ Optimize CDL stats calculation
2024-12-01 14:51:56 +09:00
Sour
21a279e1fe Debugger: Event Viewer - Fixed incorrect breakpoint information for marked breakpoints for multi-cpu consoles/games 2024-11-28 16:40:07 +09:00
Sour
a91f8ecf73 Debugger: Source View - Added tab size option 2024-11-14 19:38:52 +09:00
Sour
da6ff36c2a Debugger: Memory viewer - Fixed issues with search window caused by recent memory leak-related fixes 2024-11-12 18:43:51 +09:00
Sour
25825df619 Debugger: Fixed source view not updating correctly in some scenarios when debugger hits a breakpoint
Specifically, this happened if the breakpoint was already visible on screen and was associated to an address that wasn't mapped when the source view was last updated
2024-11-07 19:04:49 +09:00
Sour
9af55f9fc0 Debugger: Fixed some potential memory leaks in debug tools UI 2024-11-07 18:34:41 +09:00
Sour
0fc4610b82 Debugger: Fixed UI allowing defining forbid breakpoints on memory types that the CPU can't execute 2024-10-30 22:02:52 +09:00
Sour
b771ce4a41 Debugger: Memory Viewer - Improve behavior when pasting multi-line text in search box 2024-10-17 19:29:13 +09:00
Sour
5b0173f43c Debugger: Tile viewer - Limit copied data to what is required to display the current view
This fixes performance issues on GBA, for example, when trying to display the "CPU Memory" memory type
2024-10-10 17:51:39 +09:00
Sour
d751502a58 NES: Added Rainbow support (mapper 682) 2024-10-08 21:37:44 +09:00
Sour
cc46f4386a Debugger: Auto-select all text in main textbox in various popup tools to make editing easier 2024-10-01 22:42:11 +09:00
Sour
f364dfd343 Debugger: NES - Fixed header editor keeping debugger active permanently after being opened 2024-10-01 21:50:52 +09:00
Sour
dee97bf9bc Debugger: Added forbid breakpoints 2024-09-23 21:05:55 +09:00
Sour
fa37284889 Debugger: Fixed issues with source view tab
-Tab would disappear completely if reset to default layout was used
-Fixed layout problems when reloading rom with debugger opened after moving source view tab to another dock
2024-09-22 16:31:56 +09:00
Sour
c5406773a0 Added WonderSwan support 2024-09-19 21:19:43 +09:00
Sour
e79e655d3b Debugger: Event Viewer - Added missing address/value for some event types (marked breakpoints, etc.) 2024-09-12 17:11:56 +09:00
Sour
008149c141 Debugger: Script window - Prevent crash when attempting to load the previous script when no script was ever loaded before 2024-09-07 09:15:57 +09:00
Sour
9f69e88b6c Debugger: Added undo for memory viewer/debugger code edits 2024-08-26 20:15:30 +09:00
Sour
5b992e35f8 PCE: Implement better MWR latch timing
Changing anything but CG Mode mid-screen should not be allowed (latched in vblank)
2024-08-19 10:54:57 +09:00
Sour
4cad920e9e Debugger: Allow using labels, tokens and expressions in "go to address" window 2024-07-29 17:37:13 +09:00
Sour
d6d0b87c22 Added ColecoVision support
Also adds mode 1 (text mode) and mode 3 (multicolor mode) support for the SMS/SG-1000
2024-07-27 14:52:31 +09:00
Sour
ff874bc86d Debugger: NES Header Editor - Fixed behavior/crash when opening header editor with softpatched roms or compressed files 2024-07-19 21:37:51 +09:00
Sour
14123a1884 Debugger: Sprite Viewer - Added option to dim offscreen sprites in the left-hand grid
+ Added "Visible" column to sprite list
+ Fixed some layout issues in > 100% dpi modes
2024-07-14 14:33:10 +09:00
Sour
9ca0fe5922 Linux: Fixed scrolling with mouse wheel sometimes scrolling far more than intended 2024-07-06 19:08:03 +09:00
Sour
f429697b7f Debugger: Added option to copy profiler data to clipboard 2024-06-24 10:41:24 +09:00
Sour
3b3aad563e Debugger: Event Viewer - Tweak x,y display to make it less confusing vs scanline/cycle 2024-06-23 18:13:47 +09:00
Sour
b3e4bc8052 Debugger: Fixed elapsed cycle counter sometimes giving an incorrect value when "refresh while running" is enabled 2024-06-18 22:45:40 +09:00
Sour
08a6046074 Debugger: Added up-to-date Lua reference page (generated based on the JSON doc) 2024-06-16 15:08:24 +09:00
Sour
508d23465a Debugger: Add separators in some tooltips to group related values 2024-06-15 22:47:58 +09:00
Sour
d208fdc6a7 UI: Support for NativeAOT
Added Windows & Linux builds using AOT compilation
2024-06-05 20:23:31 +09:00
Sour
d0adadd49f Debugger: GB - Register viewer - Fixed sprites enabled flag 2024-05-26 11:17:02 +09:00