Commit Graph

45 Commits

Author SHA1 Message Date
Souryo
f9060dc351 Fixed small PPU display bug introduced in previous build - need to return only if we set the sprite's pixel 2015-07-05 08:47:34 -04:00
Souryo
7cf5dafc40 -Fixed timing issues (with sprite DMA) + a bit of refactoring
-PPU is now run AFTER a read/write, instead of before.  (And the CPU class is in charge of running it, instead of the MemoryManager class)
2015-07-05 00:27:26 -04:00
Souryo
f3df2ecf17 -CPU code changes to implement all dummy reads/writes. Each memory access runs the PPU for 3 cycles (PPU is now controlled by the CPU)
-Optimizations + PGO (profile guided optimization) build support
2015-07-04 22:21:14 -04:00
Souryo
48409ae82b -Rewrote entire GUI in .NET
-Several other fixes (bugfixes, refactoring, etc.)
-Added a few more features to debugger
2015-07-01 23:17:14 -04:00
Souryo
35d2e9cc00 PPU: Need to perform both sprite & bg fetches when either sprite or background is enabled. Otherwise things that rely on these fetches break - such as the MMC3 IRQ timer. Fixes Burai Fighter freezing at the start of level 1 2014-07-26 20:21:36 -04:00
Souryo
6fb497855c Several fixes for movies record/playback (and a couple of potential savestate fixes) 2014-07-01 18:05:54 -04:00
Souryo
2c55437a44 Changed the way cpu/ppu cycles are kept in memory (slightly faster) 2014-06-30 14:44:30 -04:00
Souryo
0636b52ad1 DrawPixel refactoring to avoid doubled up conditions, etc. 2014-06-28 22:52:28 -04:00
Souryo
64ccd63117 Small optimization to DrawPixel 2014-06-28 20:25:42 -04:00
Souryo
6e1742393d Improved timing, passes some more VBL/NMI tests 2014-06-27 12:18:07 -04:00
Souryo
ec1b0d5e16 MMC3 IRQ fixes - All tests pass (Revision A) 2014-06-26 16:41:07 -04:00
Souryo
9ec756fae2 Quick save/load support 2014-06-25 21:52:37 -04:00
Souryo
ef55ffd203 Oops, broke code just before checking in. 2014-06-25 17:33:25 -04:00
Souryo
57db54f2f3 MMC3 IRQ Counter - not working 100% correctly, but seems to allow some games to work. 2014-06-25 17:30:35 -04:00
Souryo
b5b9a1ca53 Sound improvements (sync, etc.), added pause/resume/stop/reset in GUI 2014-06-23 13:52:53 -04:00
Souryo
bed43cec62 Small performance improvements by using 32-bit ints 2014-06-22 16:22:10 -04:00
Souryo
71baec4945 Emulate sprite overflow bug correctly 2014-06-22 16:11:28 -04:00
Souryo
f80ada893f 8x16 sprites - still had a 1 pixel error 2014-06-22 13:04:06 -04:00
Souryo
4561e9e79d Fixed 8x16 sprites display in Castlevania 2014-06-22 13:00:31 -04:00
Souryo
a6a2199dd4 Removed unused variable 2014-06-22 12:32:58 -04:00
Souryo
d2b074296d Fix issues with secondary OAM - Fixes DK glitches without breaking other games 2014-06-22 01:54:35 -04:00
Souryo
1de56c5e2e Fix color glitches with soft X scroll (affected mario bros) 2014-06-22 01:15:34 -04:00
Souryo
1e2c9561b9 Fixed Mario Bros (Was updating tmp video addr when writing to $2001, which is bad) 2014-06-22 00:37:45 -04:00
Souryo
43648e3cf6 Minor reformat 2014-06-22 00:00:56 -04:00
Souryo
18e4c16c32 Fixed scrolling bug (fixes megaman, excitebike, etc.) 2014-06-21 23:54:32 -04:00
Souryo
d231526460 16px sprites, Sprite/BG rendering flags, DMA cycle timing 2014-06-21 20:18:05 -04:00
Souryo
1def59c730 Sprite 0 Hit, Background/Sprite masks (left-most 8 pixels) 2014-06-21 12:42:40 -04:00
Souryo
102c7f55d3 Basic sprite overflow, performance 2014-06-21 09:00:10 -04:00
Souryo
739d1d8f7a Added VBlank suppression flag 2014-06-21 00:37:27 -04:00
Souryo
5574f1c4bf Fixed a few glitches based on test roms 2014-06-20 22:31:48 -04:00
Souryo
441240d25d PPU Sprites working, changed GUI to allow loading roms manually 2014-06-20 21:48:55 -04:00
Souryo
fdb5776856 Fixed remaining color issues, added horizontal/vertical mirroring support 2014-06-19 19:58:15 -04:00
Souryo
0bac761beb Optimizations (+25% speed), changed the way frame buffer is sent to the GUI 2014-06-19 17:06:00 -04:00
Souryo
e4692cdd9c Fixed a few pixel offsets, changed DirectX buffer color format, code cleanup 2014-06-19 16:07:37 -04:00
Souryo
31f9116b60 Fixed background color in mario 1 (mirroring issue), Temp fix for colors in general (R & B were inverted) 2014-06-19 09:37:10 -04:00
Souryo
e49286e42b Partially fixed coloring 2014-06-19 00:17:03 -04:00
Souryo
b947be23bc Fixed PPU glitches 2014-06-18 23:59:10 -04:00
Souryo
0262e8c53c PPU working (lots of glitches, but draws correctly) 2014-06-18 22:54:23 -04:00
Souryo
4341e47e17 PPU work 2014-06-17 18:16:49 -04:00
Souryo
3ad6418726 PPU VRAM, partially fixes tests 2014-06-15 21:45:36 -04:00
Souryo
cc674a7467 Added console window, bug fixes based on tests 2014-06-15 11:25:29 -04:00
Souryo
608c9a03cf PPU, NMI 2014-06-15 09:35:17 -04:00
Souryo
177d53e8bf PPU work 2014-06-14 18:20:56 -04:00
Souryo
630db30484 Improved code structure 2014-06-14 11:27:55 -04:00
Souryo
909e73a8d5 Added missing files 2014-06-14 10:12:10 -04:00