Commit graph

948 commits

Author SHA1 Message Date
Sour
7267e28e21 Debugger: GBA - Added option to configure whether unidentified code/data is disassembled as arm/thumb 2025-03-31 18:11:29 +09:00
SourMesen
02180abed1
Linux: ARM64 build support (#73)
Co-authored-by: SeregaWin555 <chess2504@gmail.com>
2025-03-30 21:06:18 +09:00
Sour
a9a0b788db Debugger: Test runner - Initialize debugger immediately after loading the rom, instead of 1 frame later 2025-03-29 10:33:37 +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
acbe931ba0 Debugger: SNES - Added break on options for SPC
Break on BRK, STOP/SLEEP
2025-03-27 23:46:36 +09:00
Sour
2d96724b28 Debugger: SNES - Added new "break on..." options
Invalid vram/oam/cgram access, controller read while auto-read is running
2025-03-27 21:30:38 +09:00
Sour
ad548465c6 Debugger: NES - Added new "break on..." options
Invalid VRAM access, Invalid OAM write, DMA controller read, Unstable opcodes
2025-03-27 21:16:02 +09:00
Sour
a2637ef2d4 Debugger: Fixed labels getting erased when spamming reload rom shortcut 2025-03-24 22:02:15 +09:00
Sour
04cb3d5fa3 UI: Added missing CV tab in command line help dialog 2025-03-24 11:39:59 +09:00
Sour
f64bd8af09 Debugger: Palette viewer - Fixed scrolling back to the top left when clicked while out of focus 2025-03-24 10:16:37 +09:00
Sour
fef5573bda NES: Added option to reverse DPCM bit playback order
Improves DPCM quality for some specific games that have their DPCM data reversed
2025-03-23 20:52:09 +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
b844642866 Debugger: GB - Fixed tilemap viewer displaying incorrect tiles when the tile index is above 127
Seems to only happen in release builds in MSVC (unsure if other compilers were affected)
+ Also added missing member in GbCpuState in the UI
2025-03-23 13:16:31 +09:00
Sour
5ec6763a8e UI: Added commit ID in about window
+ Removed ubuntu 20.04 build (no longer supported by github)
+ Enable ccache to speed up github builds
2025-03-22 20:41:07 +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
929d4dcc20 GB: Fixed APU emulation issues
-Super Mario Land 2 - Pops in menu are fixed by immediately updating APU output after a write
-Perfect Dark - Low voice volume is fixed by having the correct output when the channels are disabled (but DAC is still enabled)
-Daiku no Gen - Low voice volume is fixed by keeping square channel output to digital 0 (= analog 1) until its first tick after being enabled (the game does not let the channel tick at all while the voice sample is playing)
2025-03-21 23:03:01 +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
7ae5d7c83a WS: APU - Fixed inverted sample order for wave table 2025-03-10 17:57:43 +09:00
Sour
8d190963da UI: Linux - Tweak previous fix for menu focus to make it work correctly in some rarer scenarios 2025-03-02 10:51:53 +09:00
Sour
f9e4232105 UI: Command line - Fixed behavior when using relative paths to load a game while an instance of the emulator is already running 2025-03-02 09:54:41 +09:00
Sour
bd970ac08f UI: Fixed menu being focused by default when launching a game from the command line 2025-03-02 09:51:52 +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
16d6d70376 Debugger: Fixed bug that copied watch entries from rom to rom
While the debugger was active and the current rom had watch entries, opening a new rom for the same console that had never been opened in the debugger would end up copying the watch entries from the previous rom into the new rom's workspace
2025-02-26 20:38:46 +09:00
Sour
7ddd25ec6c Debugger: Fixed crashes when importing .dbg symbols that contains data that exceeds the size of the loaded rom 2025-02-22 19:11:49 +09:00
Sour
3a4cba8f3d Debugger: Fixed exceptions (not visible in release builds) when displaying tooltips in the debugger 2025-02-22 19:10:58 +09:00
Sour
d72658de7a NES: FDS - Fixed issues with Kosodate Gokko (unlicensed disk copying program)
+ Added option to save directly to the original rom file instead of creating .ips files (for FDS & cartridges with flashable prg/chr rom)
2025-02-19 21:27:15 +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
ea7aa40265 UI: Prevent window from being auto-resized to a scale below 1x 2025-02-11 21:15:59 +09:00
Sour
5422619516 Debugger: Fixed viewers scrolling back to the top left when clicked while out of focus 2025-02-11 20:52:30 +09:00
Sour
556b99d267 Debugger: Prevent margin clicks from removing range breakpoints that aren't shown in the margin 2025-02-11 20:51:30 +09:00
Sour
17e23462b1 Debugger: NES/SNES - Fixed scanline value in status view not being updated properly when over 261 in PAL mode 2025-02-11 20:51:03 +09:00
Sour
336c56f226 CV: Fixed incorrect gamepad mapping in xbox P2 preset 2025-02-11 20:49:51 +09:00
Sour
30fd76d9e0 NES: Added support for .qd format FDS roms 2025-02-07 21:06:17 +09:00
Sour
f45aaa39f3 UI: Cheats - Prevent re-importing existing cheats when importing from cheat DB 2025-02-05 17:48:37 +09:00
Sour
f9b5897dbc UI: Fixed recent game grid not letting the first game be started via keyboard/gamepad input without moving to another element and then back first 2025-02-05 17:41:55 +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
f102b94e38 Debugger: Improved SDCC integration by loading additional symbols from .sym files 2025-01-30 17:56:16 +09:00
Sour
d3e70be65b Debugger: Fixed some invalid PRG addresses/mappings in DBG file imports (because of the .nes header and CHR data) 2025-01-21 18:36:43 +09:00
Sour
4052eccbc8 Debugger: Allow opening scripts from the command line while the emulator is already running, but skip scripts that are already opened in the emulator 2025-01-20 17:03:23 +09:00
Sour
b3fd15963b UI: Try to better recover from unexpected errors while opening the main window 2025-01-05 11:04:32 +09:00
Sour
ea657c1898 UI: Call EmuApi.Release() before the main window closes
This seems to fix deadlocks (join on VideoRenderer thread never finished) in some scenarios when closing the emulator using the "Exit" shortcut (only seen on Linux)
2025-01-05 10:46:47 +09:00
Sour
18269da46b SNES: Add support for Sufami Turbo games 2025-01-03 09:18:59 +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
43afe7956b UI: Change Avalonia build to nightly containing the AOT deadlock fix (instead of the PR build) 2024-12-29 11:50:47 +09:00
Sour
21f1f62424 SNES: Added sinc audio interpolation option 2024-12-27 23:02:02 +09:00
Sour
636e645436 Debugger: Fixed code comments not supporting non-ASCII text
Entering CJK characters or accented characters in a comment resulted in ? characters in the disassembly, etc.
2024-12-27 14:21:08 +09:00
Sour
1063146082 GG: Fixed freeze at boot in BIOS code (when a bios is provided) 2024-12-26 16:48:11 +09:00
Sour
eed94fdbe7 UI: Fixed error message/broken layout when clearing the text/value in a NumericUpDown control 2024-12-26 16:09:21 +09:00