Commit graph

19 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
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
Renamed from NewUI/Debugger/ViewModels/TilemapViewerViewModel.cs (Browse further)