Commit graph

65 commits

Author SHA1 Message Date
Sour
0d91684cba SGB: Added missing packet byte buffer for SGB commands
Based on binarycounter's tests and documentation: https://github.com/binarycounter/SGB_Packet_Buffer_Tests
2025-03-02 13:33:12 +09:00
Sour
e9a0e7aaa5 SGB: Improved logic to select row/bank to write pixels to
Uses hblank/vblank (when mode changes) to move to the next row/reset to the top of the screen
2025-03-02 13:23:07 +09:00
Sour
53f17745d7 SGB: Prevent freeze/lock up when resetting a MBC3 game that has a RTC clock 2025-03-02 11:25:21 +09:00
Sour
f15f90d06c SNES: SPC7110 - Fixed incorrect memory mappings after loading save states
Also fixes a bug in the decompression init code that could cause the emulator to crash when an invalid decompression mode was read from rom
2025-01-22 17:41:42 +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
59f106b8cc SNES: Fixed NMI/IRQ timing issues
Passes all NMI/IRQ tests: demo_irqtest, demo_nmitest, irq, nmi, test_irq, test_irq4200, test_irq4209, test_irqb, test_nmi,
Also fixes timing issues with WAI
2024-12-24 17:43:09 +09:00
Sour
8ad5423be5 GBA: RTC support 2024-07-18 21:50:24 +09:00
Sour
9f57622df1 Debugger: SNES - Fixed debugger issues for SDD1 games
All instructions were interpreted as BRK because of the default peek implementation returning 0 for all addresses mapped by the SDD1, and memory mappings in general did not work properly in the debugger
2024-07-08 18:21:42 +09:00
Sour
abe6f0f860 PCE: Fixed sound mixing issue causing pops in ADPCM and CD audio 2024-06-07 20:25:43 +09:00
Sour
8cbaf3a6dc Debugger: SNES - Fixed out-of-bounds memory accesses in NEC DSP debugger 2024-04-27 10:51:02 +09:00
Sour
5c2c3a4aad SNES: MSU1 - Fixed "playing" flag not being cleared when a non-looping track ends 2024-02-03 12:52:53 +09:00
Sour
c0ea1245f3 SNES: Fixed CPU 6502 emulation mode edge case regarding wrapping behavior for (direct, x) addressing mode 2023-10-29 21:28:44 +09:00
Sour
010d4a63b6 SNES: Fixed CPU bugs when in 6502 emulation mode
Based on new cpu tests: https://github.com/gilyon/snes-tests
2023-10-27 21:42:07 +09:00
Sour
226408d539 SNES: Fixed SA-1 regression caused by previous commits 2023-03-26 12:23:11 -04:00
Sour
ef64e86904 SNES: Emulation mode fixes
-Perform dummy writes when needed in emulation mode
-Prevent REP/RTI from clearing the M/X flags in emulation mode
2023-03-26 10:49:23 -04:00
Sour
346b43ea13 SNES: Fixed CPU bugs based on TomHarte's test suite
-Fixed order of operations in JSL, etc.
-Fixed order of writes in 16-bit RMW operations
-Fixed wrapping behavior for some instructions (direct addressing, jumps, stack relative indirect addressing, etc.)
2023-03-26 10:15:27 -04:00
Sour
feaa435441 GB: Added MBC3 RTC support
Fixes the ax6 and cpp RTC tests
2023-03-11 15:45:08 -05:00
Sour
203f111256 SNES: Fixed CPU bug where calling WAI just before NMI occurs could cause the CPU to stay in suspended for an entire extra frame (and then run the IRQ handler twice in a row) 2023-02-22 19:16:45 -05:00
Sour
d5773e0d16 SNES: Fixed crash when loading ROM with invalid header that enabled SPC7110 with less than 2mb of ROM
Caused a division by 0.  Also improved load code to try to ignore portions of invalid headers to avoid enabling coprocessors in scenarios similar to this
2023-02-10 17:14:50 -05:00
Sour
be9d877765 SNES: Fixed duplicate keys in SPC7110 state (caused loading games to fail) 2023-02-04 20:34:47 -05:00
Sour
b4618eb47a GB: Allow loading GB/GBC/SGB save states on any of the 3 models 2023-01-30 19:50:05 -05:00
Sour
d765f3f37c SGB: Trigger joypad interrupt when SGB updates the GB's input 2023-01-26 19:14:51 -05:00
Sour
1cfaaaae98 Debugger: Fixed NEC DSP TODOs 2023-01-24 19:45:08 -05:00
Sour
0ff5a8220a GSU: Fixed swapped OP names in code/disassembly (BGE/BLT) 2022-10-26 18:00:39 -04:00
Sour
ccc59e4bea Debugger: GSU - Fixed BCV -> BVC typo 2022-10-01 19:56:32 -04:00
Sour
1df7d9aeac Debugger: Added freeze address option in memory viewer 2022-09-25 19:56:02 -04:00
Sour
ce83eaadbc Fixed subtract code/ui typos 2022-09-16 00:02:35 -04:00
Sour
c90181c1a2 Refactoring - Moved some GB/PCE files into subfolders 2022-09-08 22:23:30 -04:00
Sour
c4b6312c0a Refactoring - Added missing folder names in includes 2022-09-08 22:04:18 -04:00
Sour
7108bdde36 Refactoring - Moved some leftover files out of the root folder 2022-09-08 21:48:49 -04:00
Sour
152abf690b Rename stdafx.h to pch.h 2022-09-08 21:29:52 -04:00
Sour
0de17a6df1 Debugger: MemoryType::Register refactoring 2022-08-29 20:29:12 -04:00
Sour
077e8db3d7 Fixed some minor TODOs 2022-07-26 00:29:02 -04:00
Sour
623892d6c3 Fixed ram init logic to ensure the correct config option is used when loading a game 2022-07-25 22:04:44 -04:00
Sour
c7b17d8c87 SNES: Fixed GSU overclock settings to ensure the clock multiplier is always a multiple of 100 2022-07-22 13:39:07 -04:00
Sour
b456170551 Save states: Serializer rework/rewrite 2022-07-20 00:40:32 -04:00
Sour
63cbe9bd73 Debugger: Instruction progression (+ step 1 cpu cycle for snes/sa1/pce) 2022-07-08 00:09:01 -04:00
Sour
a32dfa6061 Debugger: Prevent GSU debugger from disassembling instruction after STOP 2022-07-04 20:32:31 -04:00
Sour
1583ba963e Debugger: Improved disassembly for GSU, allow moving program counter 2022-07-04 19:34:35 -04:00
Sour
6212e84410 SNES: Fixed MSU-1 support 2022-06-22 00:27:57 -04:00
Sour
b4c56e0cfb Linux: Fixed struct size differences between clang & msvc caused by empty base class 2022-05-10 18:15:57 -04:00
Sour
23bd5c599f CD audio playback, ADPCM playback 2022-04-16 17:52:25 -04:00
Sour
f8989d63e6 Debugger: Trace logger - Added cycle count for NEC DSP 2022-03-30 22:32:52 -04:00
Sour
b9d367e91a Debugger: Implement/refactor is jump/is return/etc logic for all CPUs 2022-03-24 21:39:00 -04:00
Sour
56b05cced6 Debugger: Implemented "move program counter" for most CPUs 2022-02-24 23:00:08 -05:00
Sour
c6c3bca360 Debugger: Exp. evaluator refactoring 2022-02-21 19:21:48 -05:00
Sour
6de42fb210 Debugger: CX4 debugger refactoring/improvements 2022-02-20 18:22:33 -05:00
Sour
571bdef0fe Debugger: GSU debugger refactoring/fixes 2022-02-20 17:01:42 -05:00
Sour
ff71e54326 Debugger: SA-1 debugger fixes 2022-02-20 16:13:53 -05:00