Commit Graph

695 Commits

Author SHA1 Message Date
alyosha-tas a3a78c6a2e Fix Tagin Dragon 2017-05-26 18:24:21 -04:00
alyosha-tas 1a7f8b0ff8 Fix #857 2017-05-25 12:53:11 -04:00
alyosha-tas e1cfc28562 Update MMC3 to remove RewireNametable_TLSROM 2017-05-22 10:51:40 -04:00
alyosha-tas 05bf7e46d4 Fix TLSROM mapper
Fix #848
2017-05-19 17:22:39 -04:00
nattthebear ebe789eed2 heh 2017-05-10 07:45:23 -04:00
nattthebear 999dcdaec8 The power of C# 5, or 6, or something 2017-05-07 16:54:18 -04:00
adelikat 1dae91e6a8 clean up core constructors - consistent parameter casing, and put them at the top of the class 2017-05-05 19:05:36 -05:00
adelikat 59139ab266 Spell out Numerator and Denominator 2017-05-05 11:25:38 -05:00
adelikat 62a13d961d Move VsyncNum and VsyncDen out of CoreComm and into IVideoProvider 2017-05-05 11:21:37 -05:00
alyosha-tas 2790ec1801 Update GxROM.cs
Fix AV super real pachinko
2017-05-03 12:04:10 -04:00
adelikat 698c6741ae Refactor IEmulator and remove the IController property, instead pass it as a paramter to the FrameAdvance() method 2017-05-01 20:09:11 -05:00
adelikat ded1c2d7b7 Break off BoardName from IEmulator into a separate IBoardInfo service 2017-04-30 21:01:54 -05:00
nattthebear 7f3716a839 if it looks like a duck, swims like a duck, and quacks like a duck, then it may or may not be a duck 2017-04-29 07:54:31 -04:00
zeromus 7d99ca3738 mmc5: use PPUON instead of spriteon and screenon 2017-04-29 00:38:52 -05:00
zeromus d8fd403ea2 attempt to apply changes to MMC5 specified by https://sourceforge.net/p/fceultra/bugs/787/ 2017-04-28 21:33:26 -05:00
adelikat 57b63aaed4 Emulation.Common - cleanup Enums.cs 2017-04-27 11:45:44 -05:00
adelikat f0b5ee4789 just testing a webhook 2017-04-26 21:13:49 -05:00
adelikat 3192cc70ae slight refactor to IEmulator - make the IController property set only to more clearly express the client -> core relationship 2017-04-26 19:09:00 -05:00
adelikat 2de20e956b use Dictionary initializers instead of object initializers for various GetCpuFlagsAndRegisters() methods 2017-04-25 08:28:06 -05:00
adelikat a20e01ab69 Remove the obsolete MemoryDomain.FromByteArray() method 2017-04-24 13:55:20 -05:00
alyosha-tas 6a23f922f6 NESHawk implement PAL APU Frame Sequencer 2017-04-20 17:26:49 -04:00
J.D. Purcell b53502eed8 Spaces -> tabs. 2017-04-15 16:37:30 -04:00
J.D. Purcell ed3bf0e62b Fix mixed line endings. 2017-04-15 15:53:02 -04:00
nattthebear 5b41b7260b some snes controller rough in 2017-04-15 15:40:34 -04:00
J.D. Purcell 16bf63ade8 Random cleanups. 2017-04-10 09:36:04 -04:00
J.D. Purcell b2a28339d1 Use 'nameof' operator. 2017-04-10 08:36:42 -04:00
alyosha-tas 9f7a926437 NES Fix more then 8 sprites option 2017-04-07 20:14:34 -04:00
alyosha-tas 9d93fe404c NES Timing Update
Update per Visual NES inspection of $2001 writes

Correctly fixes Micro Machines while maintaining Battletoads 2p warps sync
2017-03-21 19:01:30 -04:00
alyosha-tas e82f19c39e NES Set up a known valid state for testing 2017-03-09 17:50:19 -05:00
alyosha-tas c60cb77ee8 NES Update APU 2017-03-08 13:26:41 -05:00
alyosha-tas 22da9ae6ea NES Update Core 2017-03-08 12:18:30 -05:00
alyosha-tas fd117d3630 NES Update ExROM 2017-03-08 12:17:43 -05:00
alyosha-tas 7127c130bc Update PPU.regs.cs 2017-03-07 22:57:09 -05:00
alyosha-tas df7a93e83a NES Update $2003 behaviour
Fixes Huge Insect
Some debate reamins about what exactly is happening here though
2017-03-07 22:30:41 -05:00
alyosha-tas b453745404 NES PPU update sprite evaluation 2017-03-06 20:27:37 -05:00
alyosha-tas 535bfa4ab4 Update PPU.run.cs 2017-03-06 07:30:20 -05:00
alyosha-tas f6746400d9 Update PPU.run.cs 2017-03-06 07:24:28 -05:00
alyosha-tas fe66504e2f Update PPU.regs.cs 2017-03-06 07:07:49 -05:00
alyosha-tas 0960ca8a89 NES PPU clean up 2017-03-03 20:51:36 -05:00
alyosha-tas ca2fa6c95e NES PPU2006 write delay
See NESDEV discussion:

http://forums.nesdev.com/viewtopic.php?f=3&t=15484
2017-03-03 14:57:38 -05:00
alyosha-tas 6e2201c07c Implement Mapper 190
Fixes #798
2017-02-18 04:03:51 +08:00
alyosha-tas 961c5d7a03 NES: Fix another PPU race condition 2017-02-04 13:46:10 -05:00
alyosha-tas 3c8a6a4e19 NES: Fix PPU timing and Race condition 2017-02-04 09:14:55 -05:00
alyosha-tas dd19a69b6c NES: Fix more then 8 sprites per scanline 2017-01-27 18:34:56 -05:00
alyosha-tas 48e3cdfcdc NES: Minor code cleanup 2017-01-25 20:35:50 -05:00
alyosha-tas 647f0914ed NES: Some PPU cleanup 2017-01-25 19:17:24 -05:00
alyosha-tas 7e6ca99e1a Update NES.Core.cs 2017-01-10 10:58:48 -05:00
alyosha-tas 9aee377d66 NES DCM glitch cleanup
-Implemenet for player 2
-make sure only happens on NTSC
2017-01-10 10:39:15 -05:00
adelikat ab1a22bf31 add TotalExecutedCycles as an IDebuggable property, and implement it in cores with the information readily available (and throw NotImplementedExecptions in the remaining). wire the property up to lua with emu.totalexecutedcycles(). Stil todo - wire it up to the Debugger gui 2017-01-09 19:23:05 -06:00
alyosha-tas d0b0946229 NES Fix Cheats
Now turn off when cheat is turned off / removed

Fixes #770

Note: This is a bit clumsy, but I don't know a way to directly call a removal method from the cheat tool. Effective enough for now though.
2017-01-08 13:44:07 -05:00
alyosha-tas aeec03dc91 Update Namcot129_163.cs
FINALLY fix Kaiketsu Yanchamaru 3 - Taiketsu! Zouringen (J)

This was really bugging me so I'm glad I finally found this bug.
2016-12-29 19:03:42 -05:00
J.D. Purcell 206ea9887b Text savestate fixes. 2016-12-14 18:35:03 -05:00
adelikat 72a59087b5 Use the IController indexing property less in preparation for removing it from the interface. Replaced with its more explicity counter-part .IsPressed() 2016-12-14 12:42:15 -06:00
adelikat 8c57dd98f3 NESHawk - add IsFDS flag and use it in NesSchema instead of a check for BoardName == "FDS" 2016-12-13 15:24:53 -06:00
adelikat 5ff33e7569 Rename IController.Type to IController.Definition to more clearly describe the property 2016-12-12 12:30:32 -06:00
zeromus 3cedc7479f change that new nes 2.0 uxrom handling to be more strict 2016-12-11 17:41:34 -06:00
zeromus 6ad442544b support mapper 002-00 submapper with WRAM if the header specifies it 2016-12-11 15:38:22 -06:00
adelikat b465eaa470 Remove two sound refactor todo comments 2016-12-11 12:27:11 -06:00
adelikat b73a500d6b Major sound provider refactor. Create a unified interface ISoundProvider, that is an IEmulator service and break it off of IEmulator. IAsyncSoundProvider was kept as a shim for now, for legacy cores that were inherintly async. 2016-12-11 11:15:00 -06:00
adelikat b697110098 Rename ISoundProvider to IAsyncSoundProvider to more accurately describe what the service does 2016-12-09 10:24:43 -06:00
adelikat 5b31b33713 Remove a now unused MaxVolume property from some sound provider classes 2016-12-08 20:06:25 -06:00
zeromus fd71ab0160 fix lightfun more better by masking out the unwanted bits from xbuf 2016-12-07 22:26:30 -06:00
alyosha-tas 097bbee267 Fix Lightgun reading an undefined pixel color 2016-12-07 21:47:04 -05:00
adelikat 45a96920b3 remove BisqAPU since it has never been used, and APU improvements have deprecated it 2016-12-04 08:57:10 -06:00
adelikat b4a90cabe7 NESHawk - fix a slight typo, this changes nothing about the core just makes a file more clear 2016-12-03 11:17:44 -06:00
alyosha-tas c624612b51 Fix SNROM implementation 2016-11-29 11:07:06 -05:00
alyosha-tas 995c5f907c Fix WRAM enable / disable for SNROM
now passes mmc1_a12, which was incorrectly listed as passing before
2016-11-26 20:25:46 -05:00
nattthebear 25dfe00203 nes: vs lightgun stuff. hogan's alley seems to do something now 2016-11-11 18:42:44 -05:00
alyosha-tas 1288ffe4ba Clean up controllers for VS system
Some games require you to hit  Start / Select on player 2's controller regardless, which is annoying but that's how it works.
2016-11-10 15:01:00 -05:00
alyosha-tas b257ad0a6a Update Sunsoft3.cs 2016-11-10 08:56:40 -05:00
alyosha-tas 6165566c30 Update UxROM.cs 2016-11-10 08:53:14 -05:00
alyosha-tas 7cb32172cb Update Mapper206.cs 2016-11-10 08:51:44 -05:00
alyosha-tas ebf11fdb32 Update SxROM.cs 2016-11-10 08:51:01 -05:00
alyosha-tas 6266ef53c9 Update VS_M99.cs 2016-11-10 08:50:00 -05:00
alyosha-tas 61ed84bdd2 Update VRC1.cs 2016-11-10 08:48:21 -05:00
alyosha-tas 40c2c5f5ef Add in VS platoon 2016-11-09 20:18:37 -05:00
adelikat 45ba9254cb NesHawk - properly dispose of bytebuffers 2016-11-09 17:24:44 -06:00
alyosha-tas 98abfc5dd8 update for VS rbi baseball 2016-11-09 18:10:14 -05:00
alyosha-tas 6a4515298c Update for VS TKO Boxing
NOTE:

TKO bosing needs a signal from coin reader for 2 frames, not just 1.
Need to account for this in controls
2016-11-08 22:48:20 -05:00
alyosha-tas 798f7d7549 Update for VS security settings 2016-11-08 22:46:47 -05:00
alyosha-tas 312bacf2f3 update MMC1 for VS Dr. Mario 2016-11-08 20:05:02 -05:00
adelikat 33b72964d4 Mapper 99 - add chr masking, fixes bizhawk crashing on a bad dump of VS Super Mario Bros 2016-11-07 17:07:00 -06:00
alyosha-tas 00f790cd2c update for VS super xevious 2016-11-06 21:12:30 -05:00
alyosha-tas 313ef425c6 add a mapper 0 VS variant for palette checking
WIP
2016-11-06 21:11:38 -05:00
alyosha-tas af93beb6af Add security for VS top gun 2016-11-05 21:23:07 -04:00
adelikat bb8bac3fb3 NesHawk - UI for setting VS dipswitches 2016-11-05 17:32:58 -05:00
alyosha-tas fca85bce04 Fix UNL-LH10 2016-11-04 22:55:14 -04:00
adelikat a979721415 NesHawk - Attempt UNIF_UNL-LH10, something is messed up though, nametable is off 2016-11-04 13:20:44 -05:00
alyosha-tas c9c7415883 VS DIPs updates
works good
2016-11-03 21:57:47 -04:00
adelikat 16723b12db NesHawk - proof of concept - put VS dipswitches into sync settings, replace mapper 99 dipswitch code with these 2016-11-03 18:19:23 -05:00
adelikat c96d8f860c NesHawk - Attempt mapper 35, irq logic is wrong, possibly mirroring too 2016-11-03 16:34:25 -05:00
alyosha-tas 3a75fe412f Fix the states
needed since prg banks no longer strictly derived from other sources.
2016-11-02 17:14:03 -04:00
alyosha-tas 0d0e6b5be4 Update VRC4 with submapper
fixes 2-in-1 - Yuu Yuu + Dragonball Z
2016-11-02 17:05:03 -04:00
alyosha-tas 8f51b42a2e Fix Mapper 66 with added asserts 2016-11-02 15:44:30 -04:00
alyosha-tas b1f22e8b05 Add a new submapper in CNROM
fixes 75 Bingo
2016-11-02 15:33:47 -04:00
alyosha-tas 6200edd192 Fix Mapper 185 (Seicross)
Seicross uses different security settings then other games in this mapper.
We have to check them explicitly just for this game.
2016-11-02 12:13:26 -04:00
adelikat 51dadcbfed Mapper 126 and UNL-TF1201 - add irq variables to savestates 2016-11-01 17:10:14 -05:00
alyosha-tas f2867643ac Fix Mapper 125 2016-11-01 12:36:51 -04:00
alyosha-tas c1090d3d7f Fix Mapper 106 IRQs 2016-11-01 11:52:18 -04:00
adelikat 0945bae212 Attempt mapper 106, irq logic is wrong 2016-11-01 08:24:26 -05:00