Commit graph

125 commits

Author SHA1 Message Date
Sour
b1a50434c9 Fixed compilation issue on recent compilers (lambdas can't use constexpr until C++17) 2019-05-07 20:55:44 -04:00
Sour
2fcbc5b092 Debugger: Added Sprite Viewer tool 2019-04-25 19:49:15 -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
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
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
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
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
55e0df7289 PPU: Reset OAM address when writing to $2100 on the first scanline of vblank (during forced blank only) 2019-04-04 21:04:03 -04:00
Sour
42379b26d1 PPU: Approximate OAM write behavior during HBlank (fixes Uniracers) 2019-04-04 20:46:29 -04:00
Sour
9c46823522 PPU: Fixed visible sprites not being shown in some scenarios 2019-04-02 23:46:14 -04:00
Sour
60468d10e1 PPU: Apply color math to subpixels in hires modes 2019-04-02 23:44:00 -04:00
Sour
1e89404d67 PPU: Fixed 1 line being missing when overscan mode is off 2019-04-02 21:56:48 -04:00
Sour
b8352ddd8f PPU: Fixed offset-per-tile mode when horizontal scroll offset is not 0 2019-04-02 20:43:41 -04:00
Sour
e1c7e7b9c4 Linux: Fixed build/makefile and compilation errors/warnings (and add missing files to git) 2019-03-31 14:50:12 -04:00
Sour
5b2476fde1 PPU: Mosaic improvements (still incorrect) 2019-03-31 09:38:47 -04:00
Sour
b37eff42ab HDMA: Revert change that disabled HDMA during forced blank (this is apparently not accurate, since it breaks MQ) 2019-03-30 19:31:13 -04:00
Sour
f25a3d1450 PPU: Fixed mode 7 window being enabled when it shouldn't have been 2019-03-26 19:24:21 -04:00
Sour
53de61ba90 HDMA: Fixed timings on HDMA initalization (and fixed regression that caused DRAM refresh to not longer occur) 2019-03-26 19:07:06 -04:00
Sour
d45169a217 PPU: Output black color during forced blank 2019-03-25 23:46:02 -04:00
Sour
713b83c1fb HDMA: Improved HDMA init timing (and fixed potential problems caused by running it in the middle of a PPU cycle) 2019-03-25 22:59:18 -04:00
Sour
e0b0ac3a96 HDMA should not be run during forced blank 2019-03-25 20:34:10 -04:00
Sour
e34a1c81cd PPU: Apply windows to mode 7 2019-03-25 19:10:39 -04:00
Sour
c41e3458eb Debugger: Added mode 7 / direct color support to tilemap viewer 2019-03-23 17:23:36 -04:00
Sour
10b76545d6 PPU: Fetch sprite color at render time (instead of during hblank) 2019-03-16 14:04:21 -04:00
Sour
63f6de6a8e Core: Reset/Power Cycle support (+ fixed power on state for DMA controller) 2019-03-16 12:20:18 -04:00
Sour
c7ecf754da PPU: Block 2118/2119 writes when outside vblank/fblank 2019-03-15 21:09:39 -04:00
Sour
61c1b58051 PPU: Always output a 239-line picture (+ UI refactoring for scaling/resizing logic) 2019-03-14 23:30:47 -04:00
Sour
45f0f77d6b NTSC/PAL selection (+ auto detect) 2019-03-14 15:25:35 -04:00
Sour
bceb0394ef UI: Input configuration 2019-03-13 22:56:33 -04:00
Sour
7d068963a4 Added rewind + fast forward support 2019-03-12 12:06:42 -04:00
Sour
73913e1f0c Save state support 2019-03-12 09:15:57 -04:00
Sour
82834a1753 PPU: MSB of CGRAM entries is 7 bits only 2019-03-10 23:18:47 -04:00
Sour
94370b3226 PPU: Implemented PPU1/2 open bus 2019-03-09 10:29:19 -05:00
Sour
348da3879b Core: Open bus improvements 2019-03-09 00:31:54 -05:00
Sour
af11e9fcef PPU: Fixed priority 0 sprites not being shown on subscreen (mode 1) 2019-03-08 22:22:55 -05:00
Sour
7211eece7c CPU/PPU: Improved timings 2019-03-08 10:27:16 -05:00
Sour
9f5be3f97c PPU: Fixed issue in draw logic that caused lines to be processed twice in some scenarios 2019-03-07 20:13:44 -05:00
Sour
0ada7f9d2f Debugger: Added Event Viewer 2019-03-07 20:12:32 -05:00