Commit graph

140 commits

Author SHA1 Message Date
Sour
173350b860 Input: Reduced input lag by 1 frame by moving the polling to be after the emulation sleeps, rather than before. 2019-07-07 19:55:08 -04:00
Sour
9415a939e1 Save states: Fixed PPU state code to avoid breaking compatibility 2019-07-07 19:27:39 -04:00
Sour
5c17890142 PPU: Implemented cycle-by-cycle fetches for tilemap/tile data (for modes 0-6) 2019-07-07 18:22:20 -04:00
Sour
9ebf8a49c4 Debugger: Event Viewer - Fixed issues caused by output size changes 2019-07-06 14:58:09 -04:00
Sour
f282675003 Initialize all ram (vram, cgram, oam, work ram, save ram) based on ram power on state setting 2019-07-06 14:25:51 -04:00
Sour
f16970a2fd Video: Output standard resolution frames in 256x239 instead of always doubling resolution 2019-07-06 14:03:27 -04:00
Sour
b5847a3d1f Libretro: Added libretro core 2019-07-02 19:56:00 -04:00
Sour
57c31ad354 PPU: Reading $2137 should only latch h/v when bit 7 of $4201 is set 2019-06-30 19:51:52 -04:00
Sour
a4a07d7bd5 PPU: Implement latch behavior for CGRAM writes 2019-06-29 09:16:53 -04:00
Sour
ab15564ea1 PPU: Fixed scroll issues with offset-per-tile in mode 6 2019-06-28 16:34:15 -04:00
Sour
027305c936 PPU: Fixed colors in direct color mode 2019-06-27 20:57:00 -04:00
Sour
f4a31045d6 PPU: Fixed offset mode wrapping behavior 2019-06-27 20:20:57 -04:00
Sour
dafe4a2856 PPU: VRAM writes should always increment the address (even outside vblank/forced blank) 2019-06-26 16:39:57 -04:00
Sour
9cae20c527 Video: Added options to toggle bg/sprite layers 2019-05-20 15:35:09 -04:00
Sour
3bfc69e2f1 Debugger: Lua scripting support 2019-05-12 21:18:22 -04:00
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