Commit Graph

653 Commits

Author SHA1 Message Date
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
alyosha-tas d1b1f1a5ac Get VS Zapper working
Now Duck Hunt and Gumshoe work, and other VS Zapper games hsould as well.
Hurray!
2016-10-31 22:09:26 -04:00
nattthebear 88589cb59b Make one small tweak to Famicom Basic keyboard based on the current state of the NESDEV docs, don't know if it's correct 2016-10-31 19:08:31 -04:00
nattthebear b24d341b14 Remove NES _iskeyboard - This is implemented (although not well tested) already 2016-10-31 17:40:47 -04:00
adelikat 26d74650d2 oops 2016-10-31 16:16:40 -05:00
adelikat 8f1e5aa535 NesHawk - add a VS Zapper peripheral, currently is identical to the regular zapper in terms of behavior other than being unable to be plugged into a famicom expansion port 2016-10-31 16:16:39 -05:00
alyosha-tas 0596fc6d7c Add Dip Switches when using VS in UNROM and VRC1 2016-10-31 10:59:20 -04:00
alyosha-tas 76209f3dd3 VS security in game db 2016-10-31 09:58:48 -04:00
alyosha-tas d8dfaf6d3d VS security in gamedb 2016-10-31 09:58:13 -04:00
alyosha-tas b6a786d5a2 Update for VS Castlevania 2016-10-30 19:31:41 -04:00
adelikat 65c245f601 properly wire up VS palette selection from the gamedb 2016-10-30 15:36:52 -05:00
adelikat aab5da044c Support Bubble Bobble (FDS Conversion, Kaiser Hacked) (Unl) [p1][!] 2016-10-30 13:55:58 -05:00
adelikat f907b10ba0 NesHawk - Mapper 146 - Support 128 prg and 128 chr for Jaau Kong 2-in-1 2016-10-30 13:29:43 -05:00
nattthebear 9632ceb7fc NES VRC1: Don't change savestate if not in VS mode 2016-10-30 12:28:21 -04:00
nattthebear b763b29297 NES VS: Move palettes to gamedb 2016-10-30 12:27:07 -04:00
adelikat 112423ec9b Sort out Mapper 176 2016-10-30 11:25:20 -05:00
adelikat d3c8d201fb NesHawk - add masking to mapper 212 2016-10-30 08:58:12 -05:00
adelikat 8406cec681 Add menu items for VS controls 2016-10-29 21:35:46 -05:00
alyosha-tas dcce0320d2 Add Insert Coin Controls 2016-10-29 19:39:47 -04:00
alyosha-tas bbabe23355 Update VRC1.cs 2016-10-29 18:56:27 -04:00
alyosha-tas 3bf90c5e42 Update VRC-1 to run VS system game mirroring modes 2016-10-29 18:54:34 -04:00
alyosha-tas 75181133cb VS System Updates 2016-10-29 16:06:11 -04:00
alyosha-tas 15a37c28a8 VS System Updates 2016-10-29 16:05:26 -04:00
adelikat 1af2c0ce17 NesHawk - start mapper 125 - something is wrong but I can't figure out what 2016-10-29 12:04:00 -05:00
adelikat 2734bb11ce NesHawk - implement mapper 162 2016-10-29 08:49:42 -05:00
alyosha-tas ce620958bf VS system updates 2016-10-28 21:56:11 -04:00
alyosha-tas 85bb52f9b9 VS system updates 2016-10-28 21:55:18 -04:00
adelikat 48766c2b88 NesHawk - support mapper 170 2016-10-28 18:11:34 -05:00
adelikat dbc5f54d03 NesHawk - support Mapper 220 2016-10-28 17:49:36 -05:00
adelikat b9f4d20de9 NES - support 800-in-1 2016-10-28 16:52:29 -05:00
adelikat 5d85f459b8 NesHawk - oops, fix unl-ks7012 2016-10-28 15:46:00 -05:00
adelikat 839eabac2e NesHawk - support board UNIF_UNL-KS7013B 2016-10-28 15:40:30 -05:00
adelikat ea57a4daee NesHawk - support board UNIF_UNL-KS7012 2016-10-28 15:32:16 -05:00
adelikat 7893184435 NesHawk - support board UNIF_UNL-BB 2016-10-28 15:11:34 -05:00
adelikat 5805bb5d43 NesHawk - support board UNIF_UNL-AC08 2016-10-28 13:23:09 -05:00
adelikat 06e1472166 NesHawk - Support board UNIF_UNL-43272 2016-10-28 13:12:15 -05:00
adelikat 96f0fcb7a8 NesHawk - support board UNIF_BMC-NTD-03 2016-10-28 13:05:10 -05:00
adelikat 0a85b24b88 NesHawk - support board UNIF_BMC-810544-C-A1 2016-10-28 12:24:40 -05:00
adelikat 9992780c4d neshawk - support the board UNIF_BMC-12-IN-1 2016-10-28 10:27:39 -05:00
adelikat 386cec5106 Support U-Force Power Games (U) (32kb prg GNROM), also add some junko overrides to the gamedb 2016-10-28 07:52:48 -05:00
alyosha-tas 785271a781 More VS System Updates 2016-10-27 21:28:43 -04:00
alyosha-tas ea644c2707 more VS system updates
Start Supporting 2c05 boards
2016-10-27 21:27:35 -04:00
adelikat f0c0b076e5 AxROM - support junko that has 16k prg by mirroring the block into both the 8x0000 and 0xC0000 regions. I don't know if this is correct but it matches both fceux and nestopia behavior 2016-10-27 17:43:40 -05:00