Commit graph

16 commits

Author SHA1 Message Date
Sour
30d28c83a5 SNES: Performance improvements
This makes performance equal or slightly better to what it was before all of the recent accuracy improvements
2024-12-24 22:56:57 +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
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
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
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
00133c4643 SNES: Minor performance improvement 2022-09-25 15:56:16 -04:00
Sour
ce83eaadbc Fixed subtract code/ui typos 2022-09-16 00:02:35 -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
a7f96274e0 Debugger: Update SPC debugger to break between instructions, allow predictive breakpoints, etc. 2022-02-19 13:08:31 -05:00
Sour
d5a28f1403 Debugger: (WIP) Evaluate breakpoints before an instruction starts executing (ProcessInstruction + calculate upcoming reads/writes) 2022-02-19 09:55:33 -05:00
Sour
11e16ced2d Fixed missing variable initialization, and a few bugs found via code analysis 2022-01-24 20:14:34 -05:00
Sour
3615ef0eb1 Core: Enabled warning level 4, fixed/disabled warnings 2022-01-23 12:36:35 -05:00
Sour
0b228f5951 Refactoring: Added Snes prefix to files/classes 2022-01-22 11:55:17 -05:00
Renamed from Core/SNES/Cpu.h (Browse further)