Commit Graph

327 Commits

Author SHA1 Message Date
Souryo
8ef9fab489 APU: Fixed sound issues when loading a savestate 2016-01-15 23:51:27 -05:00
Souryo
56d2580fbf Misc: Added "Remove sprite limit" option 2016-01-14 22:20:50 -05:00
Souryo
ce34b517b1 Fixed crash from previous audio commit 2016-01-14 19:52:50 -05:00
Souryo
3446c6e745 Misc: Added "Allow invalid input" option 2016-01-14 19:52:28 -05:00
Souryo
f8a0277c2e Audio: Added option to select sample rate 2016-01-14 19:33:16 -05:00
Souryo
6c12c9257d Adjusted master volume multiplier 2016-01-14 17:40:59 -05:00
Souryo
9905f2dfab Changed default volume settings 2016-01-14 08:42:00 -05:00
Souryo
1dc65e0988 Added missing file from previous commit 2016-01-14 08:41:53 -05:00
Souryo
099a1b3b44 Audio: Several APU fixes
-Fixed DMC $4011 write behavior
-Fixed period for square channels
-Removed blip_buffer & blip_synth.  Replaced with blip_buf and SoundMixer - now have non-linear sound mixing.
-Fixes all sound-related tests (apu_mixer (dmc, noise, square, triangle) and volume_tests
2016-01-14 01:21:09 -05:00
Souryo
1b57dbc2e0 PPU: Fixed wrap-around behavior issues when video ram addr goes from 3FFF to $0000 (ended up reading/writing palette ram by mistake) 2016-01-13 00:06:01 -05:00
Souryo
fbecf90a54 Rendering: Fixed dropped frames in VideoDecoder (makes NTSC picture and full_palette tests a lot more stable).
+Fixed vertical sync causing high cpu usage.
+Reduced memory usage by removing useless buffers (Renderer)
2016-01-12 19:42:28 -05:00
Souryo
070f07082e APU: Fixed Square 1 sweep bug (fixes Little Red Hood without breaking Super Dodge Ball). Fixed noise channel period (was set to twice the real value) 2016-01-12 17:16:01 -05:00
Souryo
6aed632123 APU Noise: Fixed mode flag, it wasn't being set by writes to 400E 2016-01-11 19:35:49 -05:00
Souryo
f3f7953392 Made palette power up ram match the power_up_palette test. Doubt anything would ever rely on this. 2016-01-11 19:19:06 -05:00
Souryo
181e461db1 Fixed oam memory getting overridden during prerender scanline when rendering was disabled. oam_stress & cpu_dummy_writes_ppumem tests now pass. 2016-01-11 18:55:58 -05:00
Souryo
1424f255e4 Debugger: Fixed go to Reset/NMI shortcuts 2016-01-11 18:15:36 -05:00
Souryo
fc8add8262 Timing fixes - Sprite 0 hit flag and rendering disabled/enabled flag both needed to be delayed by 1 cycle. Fixes Micro Machines & Adventures of Dizzy. 2016-01-11 17:18:01 -05:00
Souryo
3b73bb8f83 Trace Logger (very basic, not finished) 2016-01-10 19:56:40 -05:00
Souryo
9658597e9f Debugger: Improved watch window (now allows expressions like conditional breakpoints) 2016-01-10 13:23:19 -05:00
Souryo
7d0b9e8dd5 Debugger - Added shortcuts to jump to NMI/IRQ/Reset vectors 2016-01-10 09:21:07 -05:00
Souryo
1f19a71dbc Breakpoints - GUI improvements 2016-01-10 00:33:33 -05:00
Souryo
b32047ac8b Revert "Fixed sweep bug in square channel 1 (Fixes Little Red Hood jump sound)"
This reverts commit 820a5bce2dcaf719b624b87d5eb8413d69ed4ecb.
2016-01-09 13:18:12 -05:00
Souryo
98b6d1f65e Minor code cleanup 2016-01-09 13:17:41 -05:00
Souryo
a0d6e2d547 Debugger breakpoint improvements (Conditional breaks, vram breaks, absolute address breaks, etc.) 2016-01-09 13:15:43 -05:00
Souryo
056c71abd5 Audio config: Changing volume is applied instantly (no need to press OK) 2016-01-07 16:36:40 -05:00
Souryo
b1ff344598 Fixed sweep bug in square channel 1 (Fixes Little Red Hood jump sound) 2016-01-07 16:36:15 -05:00
Souryo
c001b453f7 Added option to select MMC3 IRQ behavior 2016-01-06 23:10:29 -05:00
Souryo
56b3084e33 Implemented SXA & SYA (behavior may be incorrect, but passes existing tests) 2016-01-06 22:27:58 -05:00
Souryo
a96b6229d0 Fixed multithread crash when loading another game 2016-01-06 20:37:52 -05:00
Souryo
242749971e Added generic binding features for config GUI 2016-01-06 20:35:24 -05:00
Souryo
d6bc37726c Video options - Vertical sync, Aspect Ratio + GUI 2016-01-06 20:34:45 -05:00
Souryo
8d15b309c5 Ntsc emulation support + resolution scale options 2016-01-05 21:28:38 -05:00
Souryo
c6e31e58da PPU: Cycle-accurate tile loading (small performance hit) - keeps MMC3 IRQ timing correct and doesn't break "scanline" test 2016-01-03 19:39:41 -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
a6188aef7f Fine-tune the cycle at which sprite/tile data is reloaded. Not 100% accurate (would need to be split across multiple cycles), but fixes scanline_timing for the MMC3 tests 2016-01-03 15:35:40 -05:00
Souryo
b135f9f4e4 Rewrote sprite evaluation logic to match wiki - fixes "sprite overflow - 3.timing" test 2016-01-03 11:44:20 -05:00
Souryo
64b2856d7c Reverted start cycle for CPU and fixed initial "period" for DMC - makes "dpcmletterbox" more stable at first, and doesn't break sprdma_and_dmc tests 2016-01-03 11:42:01 -05:00
Souryo
411967e4fa Open bus (PPU and CPU) - Fixes several open bus related tests (ppu_open_bus, test_cpu_exec_space_apu, test_cpu_exec_space_ppuio) 2016-01-02 20:36:22 -05:00
Souryo
d4046360a0 Fixed APU saved states (broken in previous APU commit) 2016-01-02 18:03:36 -05:00
Souryo
5f2d2851fe Fixed PPU even_odd_timing test (when disabling BG just before cycle 339) 2016-01-02 18:02:56 -05:00
Souryo
eec6bc8f77 Fixed length counter reload behavior (fixes test "len_reload_timing") 2016-01-02 17:35:30 -05:00
Souryo
61ac52d82e Fixed works_immediately APU test - _bitsRemaining ended up wrapping to 255 because it was being initialized to 0. 2016-01-02 14:45:37 -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
8fdc25c5d4 Namco 108 (Mapper 206, 76, 88, 95, 154) support 2016-01-01 12:34:16 -05:00
Souryo
b821350385 Make sure PPU state is defined at bootup (and make bootup screen gray) 2016-01-01 12:33:43 -05:00
Souryo
f4613a6ec9 Added option to start TestHelper from GUI 2016-01-01 10:21:41 -05:00
Souryo
7795b7ee1d BaseMapper: Fixed initialization issues that could cause inconsistent behavior in games that use unallocated memory 2016-01-01 10:21:16 -05:00
Souryo
9faaa88983 Mapper 113: Fixed CHR selection 2015-12-31 12:07:22 -05:00
Souryo
af0741b50b Sachen mapper 148 & 149 support 2015-12-31 11:04:26 -05:00