Commit Graph

44 Commits

Author SHA1 Message Date
Brandon Wright f70592df90 Don't use initial variable. 2018-06-01 15:05:58 -05:00
Brandon Wright 718f580342 This was wrong. 2018-06-01 14:19:59 -05:00
Brandon Wright 14c8b043ef Actually, I like the other fix better. We know the HDMA reads this value into the MDR as an intermediary, not that writing the address writes to OpenBus.
Revert "We definitely only know Speedy writes this address and it goes to open bus on hardware."

This reverts commit 6f5295225c.
2018-05-30 17:10:36 -05:00
Brandon Wright 6f5295225c We definitely only know Speedy writes this address and it goes to open bus on hardware. 2018-05-30 16:50:59 -05:00
Brandon Wright 53e76473ca Isolate Speedy Gonzales fix for now. 2018-05-30 16:40:21 -05:00
Brandon Wright 3063da79b8 Check for the short scanline on the timer scanline, not the current one. 2018-05-30 13:27:30 -05:00
OV2 6b871cd104 Use Timings.H_Max_Master when calculating cycles for next irq
(fixes #315)
2018-05-30 16:15:43 +02:00
Brandon Wright 78bc52cd8e Add some debugging info. Don't reset timer when reading $4211. 2018-05-28 18:24:11 -05:00
Brandon Wright 09c4e97c32 Don't schedule recurring vtimer for current line immediately. 2018-05-28 11:25:07 -05:00
Brandon Wright d33c9eaad5 Fix case when vtimer and htimer are enabled and the timer would have triggered earlier on the current line. 2018-05-27 12:45:18 -05:00
Brandon Wright c932d4e37a Add IRQ transition. 2018-05-27 11:03:21 -05:00
Brandon Wright 937eeab133 Fix Mortal Kombat II. 2018-05-26 18:08:03 -05:00
Brandon Wright 37954fe510 Fix some IRQ bits. 2018-05-26 17:02:57 -05:00
Brandon Wright 20bd60a3c6 Update copyright dates. 2018-05-25 15:44:52 -05:00
Brandon Wright 9b595b5b19 Return different MDR in some cases. 2018-05-22 18:49:20 -05:00
Brandon Wright a74fe2f623 Fixed IRQ handling. Dumb me. 2018-05-19 18:12:42 -05:00
Brandon Wright d27d9b6dbd Fix a couple IRQ problems. 2018-05-19 16:54:05 -05:00
Brandon Wright f1cab4ab17 Change NextTimer to NextIRQTimer. Don't subtract a dot in interlaced mode. 2018-05-19 10:33:26 -05:00
Brandon Wright 3553650469 Write OpenBus during S9xSetPPU. 2018-05-18 19:49:35 -05:00
Brandon Wright f6864c422f Different IRQ handling. 2018-05-18 14:53:27 -05:00
Brandon Wright aaae363257 Simplify NMI trigger. 2018-05-18 11:10:01 -05:00
Brandon Wright 574f3b1780 Fix typo. 2018-05-17 16:40:05 -05:00
Brandon Wright 8c47efb89a Bound late NMI trigger to last half of scanline. Be more careful setting trigger position. 2018-05-17 16:24:51 -05:00
Brandon Wright e14a32dd8c Add some NMI debugging info. 2018-05-17 14:52:10 -05:00
Brandon Wright 703c41fa9a Fix Mario's Time Machine. 2018-05-14 10:48:05 -05:00
Brandon Wright 070d5e5dbf Fix reset of NMI pending flag. 2018-05-02 10:00:27 -05:00
Brandon Wright 5285ec4e9d Move color table generation out of tile renderer. 2018-04-11 12:45:06 -05:00
Brandon Wright 0ac424359b Reset GFX.InterlaceFrame on PPU reset. 2017-11-25 12:26:23 -06:00
Brandon Wright 7a2ca6dc2a Update copyrights. 2017-11-17 16:00:58 -06:00
qwertymodo f13676cfd3 Fix MSU-1 sample buffer size 2016-11-03 13:10:01 -07:00
qwertymodo 3c0f6bfdee Begin adding MSU-1 support. Data streaming is working in Windows, audio streaming is not. 2016-11-03 11:40:47 -07:00
Brandon Wright 1661fc838c Add copyrights. 2016-10-15 11:31:26 -05:00
Brandon Wright ddb1527236 Bump OV2 Windows port copyright. 2016-10-07 12:53:18 -05:00
Brandon Wright 006fc22ebb Add byuu copyright for his S-SMP 2016-10-07 12:47:07 -05:00
Brandon Wright 91aebfe759 Update some copyrights, bump version number. 2016-10-01 20:03:03 -05:00
OV2 3c8804d6ca fix IRQ at DMA start edge case 2012-08-12 21:11:00 +02:00
OV2 ea09fef2b9 Log IRQ enable on debug trace 2012-06-03 00:40:23 +02:00
OV2 faee2859b5 Change ZeroMemory to memset 2012-01-23 18:12:47 +01:00
OV2 c47598f3cf Update copyright in all files 2011-04-11 21:51:20 +02:00
OV2 5e53e209b9 Improve interlace and OAM interlace support.
Interlace is now possible in every bg mode. OAM interlace no longer
forces global interlace and properly switches between odd and even
lines. Screen output can now be 256x448.
2011-02-03 22:12:42 +01:00
zones 2f167567f5 Fix HIRQ 2010-11-28 22:35:41 +09:00
zones c3ce28b49d Rewrite IRQ / Update SA-1 / Remove CPUShutdown 2010-11-14 21:29:48 +09:00
OV2 debd16c179 Update to latest WIP 2010-09-25 18:46:06 +02:00
OV2 d1666860e0 Initial 1.52 import 2010-09-25 17:46:12 +02:00