Commit graph

971 commits

Author SHA1 Message Date
Sour
02cab97944 Debugger: Breakpoints - Only enable CPU/SPC breakpoints if the matching debugger window is opened (and fix breakpoints not being enabled after power cycle) 2019-04-21 20:37:05 -04:00
Sour
f0cb8052d7 Debugger: Tile Viewer - Remember options/position/size 2019-04-21 20:18:32 -04:00
Sour
1847932b0a Debugger: Tilemap Viewer - Save options and window position/size 2019-04-21 19:07:11 -04:00
Sour
51a3e16075 Debugger: Tilemap/Tile viewers - Improved zooming/scrolling 2019-04-21 17:34:27 -04:00
Sour
25f00099b0 Debugger: Tilemap Viewer - Don't zoom in selection rectangle when zooming 2019-04-20 23:51:54 -04:00
Sour
f2b66882f7 Debugger: Trace Logger - Fixed log not displaying the right data when some CPUs were unchecked 2019-04-20 21:55:52 -04:00
Sour
6dd2862482 Fixed compilation warning 2019-04-20 21:54:51 -04:00
Sour
e203d40e6f IRQ: Fixed regression that caused IRQs on H=0 to never fire 2019-04-20 18:52:07 -04:00
Sour
2d46dafe0f Debugger: Only allow 1 event viewer window to be opened 2019-04-20 17:10:21 -04:00
Sour
7bc96a867d Performance improvements and refactoring for timing changes 2019-04-20 14:17:34 -04:00
Sour
984b1be481 Timing improvements (DMA, HDMA, DRAM refresh, CPU cycles) 2019-04-20 14:17:32 -04:00
Sour
11937c1ac3 IRQ: Improved IRQ logic (passes demo_irqtest) 2019-04-14 15:22:34 -04:00
Sour
419deb7720 Debugger: Fixed issues with SPC disassembly/trace logger 2019-04-13 16:53:18 -04:00
Sour
7815e3d232 Cart: Fixed infinite loop when trying to load some roms that were not a multiple of 4kb in size 2019-04-12 22:25:59 -04:00
Sour
adad1055b8 Minor fix for previous delete refactoring commit 2019-04-12 19:06:38 -04:00
Sour
9a60878751 Remove unnecessary checks before deleting a pointer 2019-04-12 19:03:54 -04:00
Sour
dbafe258b2 Debugger: Fixed deadlocks when loading/saving a save state while execution is stopped by the debugger 2019-04-12 18:33:52 -04:00
Sour
b94212ec63 Linux: Fixed compilation errors/warnings 2019-04-12 17:49:58 -04:00
Sour
8dee056dda DMA: Improved DMA/HDMA timing
Wait 1 cpu cycle before starting then sync to the next multiple of 8 and sync back to a multiple of a CPU cycle before stopping
2019-04-11 22:34:28 -04:00
Sour
7bb0910607 HDMA: Set DoTransfer flag to true for all 8 HDMA channels during init if at least 1 HDMA channel is active (Fixed "Ladida_lol" test) 2019-04-11 20:08:19 -04:00
Sour
9d90fb9e52 PPU: Fixed issue with rendering when register write was on cycle 278 (caused a flickering scanline in Wild Guns) 2019-04-11 19:39:40 -04:00
Sour
bc706a0fda PPU: Color window must be applied regardless of whether or not color math is enabled 2019-04-11 18:34:58 -04:00
Sour
87f0528f2e Debugger: Display the real HClock value in the debugger window (instead of calculating it) 2019-04-10 22:46:26 -04:00
Sour
3715e844c0 PPU: Skip frames while fast forwarding to improve maximum speed (no impact on emulation accuracy) 2019-04-10 22:32:28 -04:00
Sour
e8a4168c82 PPU: Improved timings (removed 341th dot, fixed issue where V+H IRQ was never triggered at scanline 240, dot 0 2019-04-10 21:38:10 -04:00
Sour
1cd9acf9e6 Registers: Minor open bus improvements 2019-04-10 20:45:59 -04:00
Sour
c50a8f1697 Added mappings for some specific carts (BSX cartridges) 2019-04-10 18:45:49 -04:00
Sour
3205a6bcc2 PPU: Fixed color math regression (fixes SMW) 2019-04-10 16:23:02 -04:00
Sour
bd2b9a1132 PPU: Fixed IRQs to trigger whenever the signal transitions from low to high (+ some refactoring) 2019-04-10 16:04:55 -04:00
Sour
6012e3f840 PPU: Fixed draw logic when turning hires modes on/off during a scanline 2019-04-08 15:15:13 -04:00
Sour
08bb79f8cd Cart: Fixed rom header being copied from the wrong address when rom has copier header 2019-04-08 11:16:47 -04:00
Sour
6582dfe0af Debugger: Trace Logger - Fixed infinite loop when opening up the trace logger 2019-04-08 11:01:32 -04:00
Sour
2ac5dc7b9e PPU: $4200 writes should immediately trigger an IRQ on the current scanline if horizontal IRQs are disabled (fixes test_irq4200) 2019-04-08 10:17:14 -04:00
Sour
41af179c61 PPU: Even/Odd flag should change at the end of vblank, not at the start 2019-04-08 10:16:12 -04:00
Sour
b677bba57b PPU: Apply color window clipping to all pixels (?) 2019-04-07 23:19:33 -04:00
Sour
3595614df5 PPU: Moved sprite processing to cycle 285 (fixes Mega Lo Mania opening) 2019-04-07 22:41:40 -04:00
Sour
5f3e9e25aa Debugger: Fixed event viewer being offset by 1 scanline 2019-04-07 22:35:19 -04:00
Sour
d319f37963 PPU: Enabling NMI during vblank should trigger an NMI 2019-04-07 20:18:02 -04:00
Sour
7619ff83c9 Debugger: Fixed scrolling issue when updating code viewer without updating active address 2019-04-07 18:16:52 -04:00
Sour
94b79c6527 Debugger: SPC - Fixed "Break In" using CPU cycles in the SPC debugger 2019-04-07 18:05:14 -04:00
Sour
ad4cef9afa Debugger: Display address/value in disassembly window 2019-04-07 17:57:30 -04:00
Sour
d7c487aadc Debugger: Trace Logger - Allow logging either SPC or CPU, or both 2019-04-07 16:10:23 -04:00
Sour
f0d4e6deeb Debugger: Seperate watch entries for CPU vs SPC 2019-04-07 15:03:41 -04:00
Sour
35476426c0 Debugger: SPC watch and conditional breakpoints 2019-04-07 14:38:22 -04:00
Sour
d89f4ba0cb Debugger: SPC debugger/breakpoints/call stack 2019-04-07 12:25:14 -04:00
Sour
f8392d2f65 Debugger: SPC trace logging 2019-04-06 17:38:14 -04:00
Sour
82a0722167 Debugger: Refactor disassembly code (wip) 2019-04-06 09:15:19 -04:00
Sour
407f72aafc Debugger: Prevent debugger tools from affecting the dma nmi/irq delay flag 2019-04-06 09:14:49 -04:00
Sour
b1d1a3f466 Debugger: Greatly reduced memory usage when debugger tools are opened 2019-04-05 00:02:43 -04:00
Sour
02fa095a91 Debugger: Fixed crash when disassembling while CPU is waiting on an interrupt 2019-04-04 23:50:39 -04:00