Commit Graph

695 Commits

Author SHA1 Message Date
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
alyosha-tas 56177d9b73 VS updates 2016-10-27 18:19:18 -04:00
alyosha-tas e2e8c2cfc0 VS updates 2016-10-27 18:18:46 -04:00
alyosha-tas 35ac71f350 VS updates
-support for 2c05 which swaps regs 2000 and 2001
2016-10-27 18:17:08 -04:00
alyosha-tas 33c522e363 VS Updates
-Clean up palette selection
-Add all palettes from NESDEV wiki
-check palette selection against hash
2016-10-27 17:35:10 -04:00
alyosha-tas 3a9d9c2614 Update NES.cs 2016-10-26 19:44:14 -04:00
alyosha-tas 42d1bc65f1 VS system initial commits 2016-10-26 19:30:18 -04:00
alyosha-tas f35d14a8b4 VS System initial commits 2016-10-26 19:29:10 -04:00
adelikat 2951a04cf6 add asserts to the Action52 board to prevent crashing on some bad dumps 2016-10-25 17:54:36 -05:00
adelikat 933761c5c7 NESHawk - Mapper 204 - mask registers 2016-10-25 17:18:58 -05:00
alyosha-tas 18d8baa65d Add files via upload 2016-10-23 20:50:06 -04:00
alyosha-tas 62057f60cb Add files via upload 2016-10-23 20:48:51 -04:00
alyosha-tas 52d26cb740 Fix Mapper 243 2016-10-22 12:57:51 -04:00
adelikat 542db672b6 NesHawk - implement mapper 198 2016-10-19 18:54:55 -05:00
adelikat 44ca7683c4 support unif board BTL-MARIO1-MALEE2, supposedly mapper 55 2016-10-19 08:05:57 -05:00
alyosha-tas 47a3e1dd2b Use modified mapper for Chaos World (CH)
NOTE: this is a work in progress. The game runs but save ram is broken and the game will not boot if saveram is present.
The same problem exists in punes and it is unknown how to resolve this.

The game also uses 1 screen mirroring which other 195 mapper games do not, so this might be a different mapper altogether
2016-10-17 19:25:38 -04:00
adelikat 54d232ef04 Camerica Pegasus 4-in-1 needs the same initial wram conditions as Camerica Golden 5 2016-10-17 18:06:06 -05:00
adelikat 8e467d4a46 NESHawk - support Reset Based 4-in-1 2016-10-17 17:35:21 -05:00
alyosha-tas 6b46170f68 Fix Mapper 115
fixes Thunderbolt 2
2016-10-17 12:04:46 -04:00
adelikat 8debec4039 Mapper 57 - fix mirroring bug, and support dipswitches 2016-10-17 08:01:11 -05:00
alyosha-tas d0b57a02ca Update for accuracy 2016-10-16 17:27:52 -04:00
alyosha-tas 92d4e1bd17 Fix power up behaviour (and Dragon Slayer IV)
Power up timing is now consistent with all know information regarding VBlank timing and initial state.

This is mostly thanks to True's console testing of Battletoads, which happens to require exacting timing to sync.

However, Dragon Slayer 4 requires writes to $2000 to be recognized well before the PPU is initialized, and even blargg states that this should not be the case. Since the game obviously is supposed to run, I have removed all write ignore code until more testing can be done.
2016-10-16 17:25:13 -04:00
adelikat c8117815bf Re-fix 76-in-1 2016-10-15 11:04:22 -05:00
adelikat ad7d3a33bb Mapper 74 - mask vram access, and remove erroneous zu qiu xiao gamedb overrides, fixes this game from crashing bizhawk 2016-10-15 09:21:48 -05:00
adelikat 41e43ead01 Fix mapper 245 - prg mask at the end of the bank calculation 2016-10-15 09:12:21 -05:00
adelikat 2be736d99d More nes junk support 2016-10-15 08:49:18 -05:00
adelikat a409f1fb62 support Mapper 47 as the NES-QJ board, some roms in the wild have the mapper number in the ines header 2016-10-15 08:22:09 -05:00
adelikat 10a8ae8034 Support board HVC-CNROM-256K-01 as Mapper 185 2016-10-15 07:58:11 -05:00
adelikat 99c99a3ce4 NesHawk - Junk support 2016-10-15 07:16:01 -05:00
adelikat caacef1db6 support UNL-SA-0036 unif board by mapping it to Mapper 149 2016-10-14 20:55:28 -05:00
adelikat 347413c2e5 NESHawk - Support Contra FIghter (Unl) 2016-10-14 20:29:20 -05:00
adelikat 5de27799c0 Mapper 191 - Fix bug in read/write PPU, also assign Sugoro Quest - Dice no Senshitachi (Ch) to mapper 191 2016-10-14 15:51:45 -05:00
adelikat f91a6139cd NESHawk - AVI-NINA 6 - mask the chr bank value 2016-10-14 15:21:16 -05:00
adelikat 1006262899 NesHawk - Support Columbus - Ougon no Yoake (Ch) 2016-10-14 14:23:37 -05:00
adelikat 90622546dc NESHawk - GxROM - require asserts on mapper 66 designations, they are no less required there 2016-10-14 13:54:10 -05:00
alyosha-tas 49eb6e61a4 Revert previous per console test 2016-10-11 09:11:41 -04:00
alyosha-tas 2f94766f0e Revert previous per console test 2016-10-11 09:10:27 -04:00
alyosha-tas 609b01408b Update APU.cs 2016-10-07 13:59:00 -04:00
alyosha-tas 0a7002711f Update NES.Core.cs 2016-10-07 13:57:53 -04:00
alyosha-tas 4c919c95c0 Match first VBlank timing to FCEUX
Irrelevent to sync since games wait for VBlank anyway, but extremely convenient for testing.
2016-10-05 22:26:47 -04:00
alyosha-tas 70016ba8ee Mapper 187 check
I think sonic and fight zero 97 need a different mapper
2016-10-03 18:11:18 -04:00
alyosha-tas 9b3bd8e94e Put Ying Xiong Chuan Qi to mapper 224
As far as I can tell, Mapper 74 and 224 are close to identical, they share the same base mapper (Waixing type I in Nestopia)

But for future reference let's distinguish mapper 224 here.
2016-10-02 20:28:28 -04:00
alyosha-tas ea080c2c39 pocahontas mapper 2016-10-02 11:56:49 -04:00
alyosha-tas 20bc25acd2 Fix UNIF FK23C
Works except for Dipswitches
2016-10-01 16:49:51 -04:00
alyosha-tas 65b3ce30a5 fix mapper 223 2016-09-28 20:42:24 -04:00
alyosha-tas d612719a79 Fix Mapper 217
and clean up 215
2016-09-28 18:17:12 -04:00
alyosha-tas 25b9878c9b Fix mapper 215
This one was tricky. 

Really, I don't see how this could be implemented in hardware as coded, but it works without errors so I'll leave it at that.
2016-09-28 12:55:43 -04:00
alyosha-tas 0b9e7532e3 Update MMC3.cs
make some things public needed for mapper 215
2016-09-28 12:53:44 -04:00
adelikat 7a31121f20 NESHawk - Provide a UI for initial ram pattern override 2016-09-27 09:52:21 -04:00
alyosha-tas a9cded19bb Fix bug in NES BG evaluation
Fixes a long standikng bug in micro machines
2016-09-25 11:52:12 -04:00
alyosha-tas 2bdd0c44cb Fix Mapper 121 2016-09-24 21:02:55 -04:00
alyosha-tas 1d479559c7 Fix Mapper 219
Note: I don't know how or if this game works. It behaves the same as on any other emulator though.
2016-09-24 12:54:21 -04:00
alyosha-tas 0ee9907d84 Fix Mapper 199 2016-09-24 10:43:06 -04:00
adelikat 3157457fa6 fix compile error 2016-09-24 10:35:33 -04:00
alyosha-tas 04f49d34a9 Fix other Mapper 195 Regs 2016-09-23 19:15:34 -04:00
alyosha-tas 8d6198d337 Fix Super 24 Board 2016-09-23 17:49:46 -04:00
alyosha-tas d6de51125c Fix Mapper 195
Note: God Slayer moved to mapper 74 (per Nestopia)
2016-09-23 13:51:47 -04:00
alyosha-tas 06c3545c9b Fix Mapper 123 2016-09-23 13:04:40 -04:00
alyosha-tas bb75653cd7 Update UNIF_UNL-SHERO.cs 2016-09-23 11:47:54 -04:00