27 Commits
Author SHA1 Message Date
SourMesen fd32321313 Debugger: Added "copy to clipboard" option for tilemap, tile, sprite and event viewer (#240) 2026-08-01 12:08:49 +09:00
SourMesen 918379b7a7 Debugger: Tilemap viewer - Added option to pick background color (#238)
Also, minor bug fixes for WS:
-Fixed tilemap viewer for sometimes using the wrong background color
-Fixed the 4-bit RGB color values in the palette viewer having the R and B values swapped
2026-07-28 19:55:12 +09:00
SourMesen 40335ce735 UI: Update to Avalonia 12, .NET 10 and replace ReactiveUI with MVVM community toolkit (#142)
Also fixes DX11.0 support (for Win7 PCs that aren't fully updated), which stopped working after the recent variable refresh rate changes
2026-07-03 16:04:42 +09:00
SourMesen 7c29fb4006 Debugger: Tilemap viewer - NES - Fixed the "Changes" highlight mode for NT/AT data (#159)
Did not work at all following a change done ~3 years ago to improve the tilemap viewer's performance
2026-06-02 23:11:49 -07:00
SourMesen e391fd8f9a Code: Add auto-formatting rules for C++ (clang-format) and enforce in CI via "clang-format" and "dotnet format" (#78)
* Code: Add auto-formatting rules for C++ projects (clang-format) and enforce code style via "clang-format" and "dotnet format"

* fix ui format warnings
2026-04-30 06:03:55 -07:00
SourMesen 4b8669d34b Debugger: Tilemap viewer - Fixed "edit tile" behavior on SNES when the tilemap is using 16x16 (or 16x8) tiles (#72)
Also, added support for horizontal/vertical mirroring when editing the mirrored tiles from the tilemap.
2026-04-27 09:18:53 -07:00
SourMesen 9616f36f89 Debugger: Console-specific scanline/cycle refresh values (#65)
* Debugger: Console-specific scanline/cycle refresh values

* Fixed some issues with min/max values when switching console types
2026-04-26 17:06:01 -07:00
Sour 537f042d86 Debugger: Viewers - Fixed context menu keybindings not working
Caused by the fix for scrollbars getting reset to 0, 0
2025-04-09 18:51:34 +09:00
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 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 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 9af55f9fc0 Debugger: Fixed some potential memory leaks in debug tools UI 2024-11-07 18:34:41 +09:00
Sour d751502a58 NES: Added Rainbow support (mapper 682) 2024-10-08 21:37:44 +09:00
Sour c5406773a0 Added WonderSwan support 2024-09-19 21:19:43 +09:00
Sour 508d23465a Debugger: Add separators in some tooltips to group related values 2024-06-15 22:47:58 +09:00
Sour d9f1d486a3 Debugger: SNES - Fixed palette display for mode 0 layers in tilemap viewer 2024-04-27 12:14:45 +09:00
Sour 13acb3fe42 Added GBA support 2024-03-30 11:42:31 +09:00
Sour 5308983ebb Added SMS/GG/SG-1000 support 2023-12-14 22:23:27 +09:00
Sour 7d784a8c1b Debugger: Tilemap viewer - Only display mode 7 overlay when in mode 7 (SNES) 2023-04-22 23:34:52 -04:00
Sour 716227c0a7 UI: Update to Avalonia11-preview6
Notes:
-Uses a copy of VirtualizingStackPanel (to include fixes done after preview6) + fix another issue in lists
-Fixes memory leaks when closing windows (by setting DataContext to null, etc.)
2023-04-10 22:59:48 -04:00
Sour 126cf052a8 Debugger: Tilemap viewer - Reduce memory allocations to reduce GC frequency 2023-04-10 17:44:48 -04:00
Sour d187383a31 Debugger: Tilemap Viewer - Added more grid overlays for NES (attribute byte, nametable delimiter) 2023-02-18 13:44:09 -05:00
Sour 1f16549cc2 UI: Upgrade to Avalonia 11.0.0-preview5 2023-02-07 00:16:17 -05:00
Sour f6105bbd0e Debugger: Tilemap viewer - Added "attribute data" field 2023-02-01 00:51:17 -05:00
Sour 682af6246e UI: Rename NewUI to UI 2023-01-25 16:03:56 -05:00