Commit Graph

92 Commits

Author SHA1 Message Date
vailkyte
0a88b078ea
Backport Implemented DMA read glitch when CPU is halted on a read in the 4000-401F range 2023-05-20 09:59:19 -05:00
vailkyte
22e5fdb86e
Backport Increment PC every cycle when fetching a 2-byte operand 2023-05-18 09:43:40 -05:00
libretroadmin
b7278942e0 Slim down code 2022-07-25 12:36:08 +02:00
Sour
f7ff089689 Core: Fix NMI code to better reflect the hardware
Fixes a crash in Super Chinese 3 caused by the PPU rapidly switching the NMI signal on and then back off (which caused the CPU to incorrectly jump to the IRQ handler and crashed the game)
2019-11-21 22:33:08 -05:00
Sour
8d1f66b2d3 Debugger: Stop/halt instructions now only display a message, and only break execution if break on cpu crash option is turned on 2019-11-16 13:18:55 -05:00
Sour
a72acc9f1a Core: Rewrite DMC/OAM DMA, tweak PPU timings, add option to simulate PPU/CPU alignments 2019-11-11 21:10:47 -05:00
Sour
5b80d2fe21 Core: Changed CPU cycle counter to be a 64-bit int (breaks save state compatibility) 2019-05-12 12:28:01 -04:00
Sour
8293382024 Debugger: Added more values for expressions (Sprite0Hit, Branched, etc.) 2019-01-19 20:41:31 -05:00
Sour
ae0822e7cd Linux: Fixed compilation warnings 2018-12-25 00:32:33 -05:00
Sour
60e0bd4e01 Debugger: Fixed issues & improved performance with new breakpoint logic 2018-12-25 00:07:38 -05:00
Sour
937a90626d Debugger: Added option to evaluate all breakpoints on the first cycle of an instruction 2018-12-24 15:21:21 -05:00
Sour
35192daeed Debugger: Add option to trigger breakpoints on dummy read/writes (+ distinguish between writes & dummy writes) 2018-12-23 13:12:46 -05:00
Sour
022085082b Debugger: Added option to show current instruction's progress (cycle count, exec/read/write cycle display) 2018-12-23 11:56:28 -05:00
Sour
757054798b Keep game running after CPU crash (when Dev Mode is enabled) 2018-08-30 22:37:22 -04:00
Sour
04310eddb4 Core refactoring (remove static variables) - WIP 2018-07-08 10:28:47 -04:00
Sour
091da2164c Debugger: Trace Logger - Added output format customization 2018-05-26 01:14:37 -04:00
Sour
d8e00168a4 Debugger: Added "Event Viewer" tool - replaces PPU Register Write Viewer 2018-02-18 23:03:02 -05:00
Souryo
4b3edac310 Input: Added UI for family basic tape recorder 2017-11-24 21:38:12 -05:00
Souryo
4e14a83625 Debugger: General speed optimizations 2017-08-05 17:18:09 -04:00
Souryo
ce3e4d7c80 Debugger: Fixed issues with CPU/PPU state edition 2017-08-05 14:55:07 -04:00
Souryo
ce62e40d47 FDS: Added option to automatically switch disks
+Fixed bug with eject disk functionality
2017-05-04 22:55:46 -04:00
Souryo
0c2cc8c94d Code cleanup 2017-04-29 08:29:56 -04:00
Souryo
3a6c8ca416 Added rewind functionality 2017-04-28 19:54:58 -04:00
Souryo
a79bbd06eb PPU: Emulate pixels being rendered 2 cycles later (in regards to grayscale/intensify flags) - fixes nmi_sync\demo_ntsc (thanks to Alyosha's research) 2017-04-20 21:58:35 -04:00
Souryo
bf979be756 Optimizations: Most games now run 15-20% faster 2017-03-31 22:14:16 -04:00
Souryo
312a07bbdd Debugger: Trace Logger improvements (Last 30k instructions visible, performance fixes, options are saved) 2017-03-04 15:18:00 -05:00
Souryo
8a450f6902 Sprite DMA: Removed old patch that was no longer needed 2017-02-23 20:00:52 -05:00
Souryo
b4489ed0f7 Linux: Fixed all clang warnings 2016-12-17 23:14:47 -05:00
Souryo
b542fd56ec Linux: Fixed PPU crash when rendering is off + uninitalized variables 2016-12-16 07:13:33 -05:00
Souryo
c1a6453343 Debugger: Memory access counters (read/write/exec/uninitialized read) 2016-12-01 19:38:48 -05:00
Souryo
ea9c32437c Debugger: Added feature to manually change the CPU/PPU's state 2016-11-26 17:48:11 -05:00
Souryo
6be499368c Debugger: Callstack improvements (uses function labels when possible, shows NMI/IRQ calls, etc.) 2016-11-22 00:14:49 -05:00
Souryo
4ffebdb4e0 Debugger: Ability to add labels/symbols & comments to code (work in progress) 2016-11-21 22:34:47 -05:00
Souryo
4180b35c84 JY Company (Mapper 90, 209, 211) support 2016-07-22 19:54:47 -04:00
Souryo
b852edfec8 NSF/NSFe support 2016-06-25 20:46:54 -04:00
Souryo
57f24af64f Overclocking: Added settings to add extra scanlines in vblank before and after NMI + Moved a lot of emulation-related settings to a new "Emulation" menu item 2016-06-21 18:58:22 -04:00
Souryo
593f845fff Debugger: Break on invalid op code 2016-06-18 09:41:38 -04:00
Souryo
9d1f5f61ba Overclocking: Allow CPU overclocking 2016-06-12 18:11:31 -04:00
Souryo
4cb8ae7076 Save states: Removed MS-specific extension usage & disabled extensions + Removed some errors/warnings caused by this change 2016-06-02 23:56:11 -04:00
Souryo
f540fc766d DMC: Fixed DMC DMA timing & $4011 write behavior.
Fixes dmc_pitch without breaking sprdma_and_dmc_dma tests.
2016-05-18 20:51:54 -04:00
Souryo
f1d8bde090 Debugger: Allow disassembly of cartridge work ram & cpu ram + Added tracing for NMI, IRQ and DMAs 2016-02-13 22:19:42 -05:00
Souryo
6f6a07b6c9 CPU: Display clean message when CPU crashes 2016-02-11 22:59:31 -05:00
Souryo
c3dabcd1d2 Basic Dendy (Russian NES clone) support + Fixed a lock-up condition when switching between regions 2016-01-30 19:33:32 -05:00
Souryo
df8e66a5e7 FDS support (missing sound emulation) 2016-01-28 20:47:16 -05:00
Souryo
56b3084e33 Implemented SXA & SYA (behavior may be incorrect, but passes existing tests) 2016-01-06 22:27:58 -05:00
Souryo
c79a0326ed Implemented ignored reads on PPU $2007 when read 2 cpu cycles in a row (i.e with a dummy read)
Changed DMC stall-time read behavior to read only every other cycle
Fixes tests: "dma_2007_read", "dma_4016_read", "double_2007_read"
2016-01-03 17:20:18 -05:00
Souryo
2b87db00ed Fix for branch_delays_irq, previous commit was incorrect 2016-01-02 14:09:12 -05:00
Souryo
8d020a2e72 Accuracy improvements (Fixed several tests: nmi_timing, nmi_and_brk, nmi_and_irq, irq_and_dma, sprdma_and_dmc_dma, sprdma_and_dmc_dma512, branch_delays_irq) 2016-01-02 13:52:55 -05:00
Souryo
8325aae6ca Jaleco SS88006 (Mapper 18) support 2015-12-28 20:07:27 -05:00
Souryo
5b565bfeeb GCC support - Fixed warnings/compilation errors (Core & Utilities now compile under GCC, but code is incomplete) 2015-08-28 21:01:18 -04:00