Commit Graph

2166 Commits

Author SHA1 Message Date
adelikat 691632f188 More IAsyncSoundProvider and related classes to BizHawk.Emulation.Cores and make them internal, since they are implementation details, and they are deprecrated and not intended to be used in future cores. 2016-12-16 08:50:05 -06:00
adelikat 54eb678387 create an ICreateGameDBEntires specialized service and have Atari2600 implement it. Use this in the log window instead of sneaky reflection to access the method 2016-12-15 10:45:20 -06: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 aaed8e67d5 NullController - remove a bunch of methods that were originally part of IController but no longer are, and clean up the code a bit 2016-12-14 09:16:54 -06:00
alyosha-tas f723abe478 Intellivision PSG bug fix and clean up 2016-12-13 19:56:45 -05:00
alyosha-tas 33843265f8 Update CP1610 to include Halts from SR2 2016-12-13 16:47:21 -05:00
alyosha-tas eabd8dbf07 Intellivision simulate CPU halts
NOTE: This is accurate only to a good approximation. The STIC steals too many cycles to ignore (~1000) but the timing is only estimated, see: 
http://spatula-city.org/~im14u2c/intv/tech/master.html
2016-12-13 16:45:30 -05:00
alyosha-tas 16c1468903 Intellivision fix colored square mode 2016-12-13 16:42:12 -05: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
alyosha-tas c6d8666f23 Intellivion copy paste enough stuff to get the sound working
Sound now fully implemented including in savestates
2016-12-13 12:26:56 -05:00
alyosha-tas ed091083d2 Intellivision PSG clean up and bug fix
Things sound correct now.
2016-12-13 10:22:15 -05:00
alyosha-tas d8a2f51099 Implement Sound Envelope
Just needs to be re-wired up
2016-12-12 17:53:05 -05:00
adelikat 5ff33e7569 Rename IController.Type to IController.Definition to more clearly describe the property 2016-12-12 12:30:32 -06:00
adelikat bd7bd831c7 PCEngine - lock down some variables to private or internal, explicitly mark some private variables 2016-12-12 10:31:38 -06:00
adelikat 618f5de54f PC Engine - break off services into their separate files 2016-12-12 10:23:07 -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 da5795255c Wire up Colecovision sound 2016-12-11 11:33:33 -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
alyosha-tas 5ac6746fb9 Intellivision fix MOB colors 2016-12-10 19:59:59 -05:00
alyosha-tas fc8ac3b190 Intellivision fix controller ports
They are apparently reversed. This fixes numerous games.
2016-12-10 18:56:35 -05:00
alyosha-tas 3f3828455c Intellivision more audio work
Still a ways to go
2016-12-10 13:48:02 -05:00
alyosha-tas 91f36bf638 Intellivision Partial audio
Still has some bugs and is missing envelope but its getting there
2016-12-09 23:00:40 -05: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
adelikat 657de56123 Remove MaxVolume from ISoundProvider, provide an IMixedSoundProvider interface for classes that want to use SoundMIxer as part of their sound provider implementation 2016-12-08 19:51:17 -06:00
adelikat 538630f957 Intellivision - document a non-applicable emualtor service 2016-12-08 13:06:20 -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
alyosha-tas 89940b85af Intellivision wire up sound system 2016-12-07 20:49:47 -05:00
adelikat 2cf14db2ec Intellivision - add IStatable to Intellvision.cs, because it is nice to have all the interface implementations in one place 2016-12-07 12:35:46 -06:00
alyosha-tas eda1b44238 Intellivision fill out save states 2016-12-07 10:56:31 -05:00
alyosha-tas ba149320c5 INtellivision fill out save states 2016-12-07 10:55:25 -05:00
alyosha-tas 790376496b oops fixed error 2016-12-05 22:00:47 -05:00
alyosha-tas eeba83be83 Intellivision fix frame and add sound clocking 2016-12-05 21:51:12 -05:00
alyosha-tas dc01d08210 Intellivision start on PSG 2016-12-05 21:47:36 -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 e9d1af2b0c Intellivision - stubs for savestate logic 2016-12-04 08:25:28 -06:00
nattthebear da2d15341f mgba: Fix some of the audio channel disables not working. Fix audio channel disables not being restored on reboot core 2016-12-03 23:01:14 -05:00
nattthebear a75636121a Comments 2016-12-03 19:05:40 -05:00
adelikat 5665de1797 Intellivision - add a "Fake analog" controller as the default controller for easier binding for casual play, but also leave a boolean option as well for more precise (TAS) control. Add a controller config dialog to select them. 2016-12-03 17:44:25 -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
nattthebear f67cb3c64f Issue #735: Add sound channel toggling on mgba 2016-11-27 17:33:05 -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
adelikat c61fd757f2 Atari 2600 - put difficulty toggle variables into savestates 2016-11-26 16:10:27 -06:00
Wyst3r 86b16a80d6 m64p: Use built-in debugger to avoid major slowdowns when breakpoints are set. 2016-11-19 12:02:39 +01:00
alyosha-tas 825d45966c Intellivision Fixes
-Pixel Priority
-Border Fixes
-Collisoin Fixes
2016-11-17 22:54:11 -05:00
alyosha-tas dd49981eb3 Intellivison fix color stack mode 2016-11-17 19:24:10 -05:00
alyosha-tas 379a4c6c96 Intellivision clean up border collision 2016-11-16 22:32:59 -05:00
alyosha-tas 9db357017a Intellivision: Implement y-scaling 2016-11-16 20:03:19 -05:00
alyosha-tas f539f011c5 Intellivision implement x-scaling 2016-11-16 12:52:55 -05:00
alyosha-tas 9e5ec5005f Intellivision fix y-flipping 2016-11-16 10:51:26 -05:00
alyosha-tas d53e9dd898 Intellivision fixes 2016-11-16 09:20:07 -05:00
alyosha-tas 2cc4e6bf58 Intellivision Timing Fix 2016-11-15 10:28:09 -05:00
alyosha-tas af03ac3eb7 CP1610 Add registers to tracer 2016-11-14 21:17:24 -05:00
alyosha-tas fbd630b594 Update CP1610.Execute.cs 2016-11-14 20:44:36 -05:00
alyosha-tas 1fcb1315d1 intellivision Scrolling Bug fix 2016-11-13 22:41:25 -05:00
alyosha-tas 44cbac540b Intellivision correct scrolling
This is getting pretty dense and ugly
2016-11-13 22:13:31 -05:00
alyosha-tas c00d68d93f Intellivision implement BG delays 2016-11-13 21:13:01 -05:00
alyosha-tas 3a41cc4531 Intellivision collision detection
Heavy calculating happening here.
Needs optimization but is functional.
2016-11-12 17:53:24 -05:00
alyosha-tas 61112a0027 Stop logging all the time 2016-11-12 16:10:41 -05:00
alyosha-tas 68028d9c1d Stop logging all the time 2016-11-12 16:09:51 -05:00
adelikat ae8caf4546 Intellivision - set up memory domains service, with a few domains that were easy to do 2016-11-12 14:08:05 -06:00
alyosha-tas 216b173389 Intellivision
Begin Collision Detection work

A long way to go
2016-11-12 12:59:20 -05:00
alyosha-tas c230609656 Cp1610 trace logger
WIP
2016-11-12 12:58:10 -05:00
zeromus f11ae17cfb natt forgot to ever hook up SGB saveram, so I took care of it 2016-11-11 19:25:38 -06:00
alyosha-tas 592764890b Intellivision Fix y-value resolution 2016-11-11 18:47:47 -05:00
alyosha-tas d3cfb37a56 Update Intellivision.IEmulator.cs
P2 controller fix
2016-11-11 18:46:31 -05:00
nattthebear 25dfe00203 nes: vs lightgun stuff. hogan's alley seems to do something now 2016-11-11 18:42:44 -05:00
adelikat e44493d9fb Intellivision - wire up trace logger to the core. Currently does nothing since the TraceCallback in CP1610 needs to be wired up in the object in the right places 2016-11-11 16:17:35 -06:00
alyosha-tas 9cb9941fb2 CP1610 updates for intellivision 2016-11-11 16:48:50 -05:00
alyosha-tas 65e43ca1c4 Initial Intellivison commits
Test game: Armor Battle
2016-11-11 16:47:55 -05:00
adelikat e72ce6d9cb Atari 2600 - show the Needs Reboot icon when changing sync settings 2016-11-11 15:33:29 -06:00
adelikat 333e17a054 Atari 2600 - add console buttons for toggling Difficulty switches. Note that this commit may or may not break both movie and savestate backwards compatibility 2016-11-11 15:28:21 -06:00
adelikat 82c1c11879 Atari 7800 - add the word Toggle to the difficulty swithc buttons to make them more clear in functionality 2016-11-11 15:03:34 -06:00
adelikat 75654b9f33 Atari 7800 - make difficulty switches behave like toggles instead of buttons, also add mnemonic info for them, fixes #726 2016-11-11 08:44:28 -06:00
alyosha-tas 8505cebbf8 Update CDAudio.cs to fix PCECD Lemmings
fixes #665

I'm pretty sure this is correct. Lemmings is looking well past the end of the last track. I'm not sure if this is on purpose or not, but according to the CUE there is nothing out there, so we at least aren't missing anything.
2016-11-10 22:21:09 -05:00
adelikat b6dcc8d735 Quicknes - blacklist another VS rom 2016-11-10 18:25:22 -06: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 7a6d2bce41 Dipose of a bytebuffer in a mapper in Atari 2600 2016-11-09 18:23:54 -06: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
Ben Russell c07e8b0a79 Z80 - instruction timing fixes 2016-11-09 14:06:56 +13:00
alyosha-tas 312bacf2f3 update MMC1 for VS Dr. Mario 2016-11-08 20:05:02 -05:00
adelikat 6b29c28d07 Atari 7800 - support difficulty switches when using the default proline controller, fixes #726 2016-11-08 17:26:42 -06:00
adelikat 194b83d0b1 quicknes - blacklist some VS roms 2016-11-07 19:44:47 -06: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
nattthebear cee88d6bdc Update mgba metadata to indicate that we are on version 0.5 2016-11-06 13:30:19 -05:00
nattthebear 0ae8bf13f7 GBA memory domain fix 2016-11-06 10:32:04 -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
alyosha-tas 3fa2828d5b Accuracy improvement to z80
properly set interrupt enable after the NEXT instruction
2016-11-03 20:50:47 -04:00
alyosha-tas b2920834b1 Fix Shining Force games ( #600 and #335 )
Fixes SRAM selection and Interrupt control
2016-11-03 20:49:19 -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
feos 9d4ba478ce n64: use traditional GPR names for debugger too 2016-11-03 20:01:22 +03: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
adelikat b931e79052 blacklist a rom in quicknes, add a gamedb override for a random hacked rom 2016-10-28 07:52:47 -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 53a96f3b91 Update BizHawk.Emulation.Cores.csproj 2016-10-26 19:32:55 -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
adelikat 3e925a13a8 Quicknes - black list some more roms known to not work with it (but work in neshawk) 2016-10-25 17:14:52 -05:00
nattthebear c3be2879bc Save state stuff mgba blah I'm bad 2016-10-25 18:14:20 -04: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
nattthebear c3973773e6 mgba: savestate redux 2016-10-22 20:49:42 -04:00
nattthebear b8b9201604 mgbahawk: savestates 2016-10-22 18:09:28 -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 b3081f490b Update BizHawk.Emulation.Cores.csproj 2016-10-17 19:28:27 -04: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
nattthebear 36fb1e3d57 mgba 0.5: fix saveram. fix skip bios + hard reset. fix bg/obj disable. 2016-10-17 13:01:52 -04: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
adelikat ed5b4120a5 Quicknes - blacklist a whole bunch of roms that don't run for various reasons, so that they fallback to NesHawk 2016-10-13 17:52:29 -05:00
adelikat bd60cf9929 Quicknes - fallback to neshawk when the ines header fails basic sanity checks, neshawk tends to handle this situation more gracefully, but more importantly this error happens before quicknes can determine if it supports the necessary board 2016-10-11 17:54:21 -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
nattthebear a76226fcc2 update mgba, saveram still broken 2016-10-08 11:58:52 -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 0573c00ae3 Add pocahontas mapper 2016-10-02 11:56:04 -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
pjgat09 78942a8422 N64: Added cxd4 to the RSP options 2016-09-27 15:10:38 -04:00
adelikat 7a31121f20 NESHawk - Provide a UI for initial ram pattern override 2016-09-27 09:52:21 -04:00
pjgat09 32be471382 GLideN64: Changed UseNativeResolutionFactor to an int setting 2016-09-26 11:13:07 -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
alyosha-tas 4b51420231 Fix SHERO board 2016-09-23 11:46:28 -04:00
alyosha-tas a7bfe1e63f Fix Jump 2 2016-09-22 23:29:26 -04:00
alyosha-tas 5335217245 Progress on mapper 19
CHR needs debugging
2016-09-22 17:59:52 -04:00
alyosha-tas 1f484854a9 Some progress on mapper 83
loads the 128 k PRG games, with some CHR bugs
2016-09-22 17:57:22 -04:00
alyosha-tas 7d644b4a10 Reset to old state
Forgot i changed this when debugging.
2016-09-22 17:54:46 -04:00
alyosha-tas 1c1c2b7f69 Add RAM exception for Golden Five
I added a check in start up for Golden Five (and extendable to other games) where certain start up RAM values break the game.

The check looks in the GameDBinfo, so any game requiring this check will need to be added to the game DB.

Should finally fix Golden Five
2016-09-22 17:52:41 -04:00
pjgat09 e6a84f151c Merge branch 'GLideN64' 2016-09-22 14:35:46 -04:00
pjgat09 7f24960ed8 M64p: String parameters can now be passed to the core. 2016-09-22 14:21:51 -04:00
pjgat09 59e43a25f9 GLideN64: Added settings to the plugin dialog. Removed some settings from the sync settings that we will not need. 2016-09-22 12:57:09 -04:00
adelikat 8de92d6876 if a bug in chr mapping of mapper 187 2016-09-22 08:50:11 -04:00
pjgat09 a85da435f9 GLideN64: Added a sync settings, hooked up the dll, and added it to the video plugin list in the plugin dialog. Updated the submodule reference. 2016-09-22 08:46:49 -04:00
alyosha-tas c5025e9992 Finally Fix Family School 2016-09-21 16:30:10 -04:00
alyosha-tas 955fbd0508 Camerica Golden 5 progress
Always loads Micro Machines right away for some reason, despite my repeated efforts to find what's wrong.

Need to find an emulator where this game runs that has a debugger.
2016-09-19 22:55:22 -04:00
alyosha-tas 6df9d12bcf Cony Boards progress
World heroes 2 and Super Blaster 7 now work
2016-09-19 22:44:26 -04:00
alyosha-tas 2843b4c8af Timing fix
This one actually mattered for mapper 83, which relies on pretty tight timing and power up behaviour.
2016-09-19 22:42:20 -04:00
adelikat 62aa81cc31 Fix Ying Xiong Chuan Qi 2016-09-19 13:15:54 -04:00
adelikat 2a64a17cf1 NESHawk - a bunch of stubs and incomplete board implementations 2016-09-19 11:16:34 -04:00
alyosha-tas c6bcb82f7b Fix TF1201 2016-09-19 09:15:15 -04:00
alyosha-tas 4e673ecd63 Finally found the bug in bonza
still doesn't do anyhting though
How to even implement this?
2016-09-18 20:57:47 -04:00
adelikat 48e6594cc2 Failed mapper 215 2016-09-18 14:44:07 -04:00
alyosha-tas cf8201dbe3 Fix mapper 183
Notes: This game sounds different in Nestopia and punes, are we missing a sound component?
2016-09-18 13:53:17 -04:00
adelikat 7263041f3a Start mapper 199, everything seems to be working except chr mapping 2016-09-18 13:32:58 -04:00
alyosha-tas 2b1cd0bbe3 fix mapper 134 2016-09-17 17:49:05 -04:00
adelikat cc3ed634bb attempt to implement UNIF_UNL-SHERO - works except for Sachen title screen chr mapping 2016-09-17 17:20:35 -04:00
nattthebear 5bd9a67f62 mgba 0.5 rough in 2016-09-17 16:29:25 -04:00
adelikat 7d1da4bdaf a few more board attempts 2016-09-17 14:04:47 -04:00
adelikat f5271a8b4f Failed attempt at implementing mapper 187 - everything seems to work except for the custom Chr mapping 2016-09-17 12:40:03 -04:00
adelikat 20bc7bd4f3 Failed attempt to implement mapper 134 2016-09-17 12:40:02 -04:00
adelikat 33225700ad Failed attempt at supporting Mapper 121 2016-09-17 12:40:01 -04:00
alyosha-tas d4a467815c fix 172
and presumably others due to bad reg writes
2016-09-17 12:38:03 -04:00
nattthebear 9b46a6cb3f mgba: Game overrides from gamedb 2016-09-17 11:31:06 -04:00
alyosha-tas 9fcde29f12 Fix Mapper 253 2016-09-17 11:05:23 -04:00
adelikat e4caa13b9c Support King of Fighter 97 (UNIF_UNL-KOF97) 2016-09-17 10:15:40 -04:00
nattthebear 24df291143 Update mgba to 0.4.1 2016-09-17 09:51:38 -04:00
adelikat 9734588404 Start unif UNL-TF1201 board, still needs IRQs 2016-09-16 22:23:52 -04:00
alyosha-tas c746d3f9db fix number 2 at pipeline 2016-09-16 20:37:11 -04:00
alyosha-tas 4401d0d55f Fixes IRQ and adds VRAM 2016-09-16 18:34:10 -04:00
alyosha-tas 6507ed3508 Fix pipelining 2016-09-16 18:28:54 -04:00
adelikat c6db32437c Support the UNIF_UNL-T-230 board (a vrc pirate cart) 2016-09-16 18:20:29 -04:00
adelikat adcf2dc375 support unif boards 70in1 and 70in1B 2016-09-16 17:47:52 -04:00
adelikat fc4f921783 An attempt at implementing Mapper123/UNIF_UNL-H2288 2016-09-16 11:49:48 -04:00
adelikat 92f18928fb Implement Mapper238/UNIF_UNL-603-5052 2016-09-16 11:28:56 -04:00
adelikat 8bf4d6e5bc start mapper 195 2016-09-16 11:01:13 -04:00
adelikat 087bf23504 oops, savestates for mapper 254 2016-09-16 10:04:48 -04:00
adelikat 2001978a3e Implement mapper 254 2016-09-16 10:04:48 -04:00
alyosha-tas 1d098aa242 Fix BG check timing, implment pipeline 2016-09-16 07:46:56 -04:00
alyosha-tas f3b996b2ba Fix with proper mirroring mode 2016-09-15 18:05:19 -04:00
alyosha-tas ec582fb35c Properly check draw_bg every pixel 2016-09-15 16:06:31 -04:00
adelikat c9d5ab3695 check in a bunch of half finished or bugged attempted at some mappers for crappy roms, mappers 142, 172, 183, 252, and 253. At least most of the grunt work is done 2016-09-15 13:22:20 -04:00
alyosha-tas 50aa73272c Get the 63 in 1 version with another property
I'm not sure if this is faithful to the hardware, but by adding another mapper property I am able to get all 4 sets of games working.

One property sets the mode (1x[63 in 1] --or-- 3x[~20 in 1])

The other property picks between the 20 in 1 sets if the first property is in that mode.

This is the only consistent way I could find to get all 4 ROMs working. But they do all work as expected so I am confident enough in the result. It is possible the game expects something else to pick between the 20 in 1 sets, but I have no idea what it could be.
2016-09-14 14:09:15 -04:00
adelikat a9675d4a8f Implement the Ghostbusters63in1 unif board, sort of. Using mapper properties it can play both 22-in-1 carts and the 20-in-1 that are in the rom, but not actually the 63-in-1 2016-09-14 09:08:21 -04:00
alyosha-tas c6a319763f Fix Super mario bros 8 2016-09-13 15:23:05 -04:00
alyosha-tas a96fb11b1d Fix Samurai Spirits (rexsoft) 2016-09-13 10:50:19 -04:00
adelikat 0ac114d3a1 fix savestates for mapper 132 2016-09-13 07:50:07 -04:00
alyosha-tas 790c4d21a5 Fixes Qi Wang
Puts this mapper in line with FCEUX and Nestopia.
Still mapper variants to add here I guess, no idea where the data is coming from.

Looks strange no matter what source I look at.
2016-09-12 22:46:14 -04:00
alyosha-tas e51c6c6911 adjust FDS audio 2016-09-11 15:14:32 -04:00
adelikat 907cd50b0d Implement mapper 221 2016-09-11 14:40:12 -04:00
adelikat 93148ebe9c oops, forgot about savestates for mapper 186 2016-09-11 14:20:14 -04:00
adelikat 3f0d9fc397 NESHawk - implement mapper 186, another real gem 2016-09-11 13:00:30 -04:00
adelikat 4b115ec2c3 NESHawk - implement mapper 175 2016-09-11 12:23:19 -04:00
adelikat 25c12ed380 Support mapper 173 with a mapper 132 hack from FCEUX src, I guess. Best I can tell Mahjong Block runs just fine on mapper 132 without it, oh well. 2016-09-11 11:16:49 -04:00
adelikat a99598b3cf NESHawk - implement mapper 150 2016-09-10 23:41:28 -04:00
alyosha-tas 2c431e75b2 more FDS audio clean up 2016-09-10 17:07:54 -04:00
alyosha-tas 26e300f8da more partial FDS audio fixes
fixes damage sounds in kid icarus and zelda II

completely fixes sword sounds in zelda 1

need more test cases
2016-09-10 12:52:06 -04:00
alyosha-tas addaf2fa91 Fix Mod table writes
(mostly) fixes sword sounds in FDS Zelda 1.

Numerous other problems remain.
2016-09-09 21:22:53 -04:00
alyosha-tas 0669476250 Fix Mapper 45
following FCEUX and Nestopia
2016-09-08 11:56:54 -04:00
alyosha-tas a30a2cf1c7 Make room for family basic
This is a long way from functional, but at least now the game will boot.
It needs the keyboard to do anything (so it's in a similar state to compumate on A2600)
2016-09-07 20:13:27 -04:00
alyosha-tas 5e9a6fef69 Make room for family basic 2016-09-07 20:08:06 -04:00
alyosha-tas 25ef1312aa Make room for family basic
keyboard needs special register properties
2016-09-07 20:07:14 -04:00
alyosha-tas 29cec0e49b small timing fix
needed for family basic
2016-09-07 20:05:02 -04:00
alyosha-tas cd9204b5e4 Fix timer IRQs
I think this is correct, Druid works now and I didn't notice any problems on zelda.
2016-09-05 22:37:47 -04:00
alyosha-tas 464097252b Fix Somari 2016-09-05 08:09:13 -04:00
alyosha-tas 41bf579728 Fixes Dragon Quest 7 2016-09-04 20:48:19 -04:00
alyosha-tas 08e303e398 Fixes Commandos (CH)
At least I think it's fixed, I don't understand how this game is played
2016-09-04 16:38:28 -04:00
adelikat 130837fdc0 NESHawk - Implement the Subor boards (mappers 166, 167) 2016-09-03 20:09:27 -04:00
adelikat 6a22d1cd5c Implement unif_BMC-ws board 2016-09-03 16:24:29 -04:00
alyosha-tas 4f1bfb4e82 Fixes Chip n Dale (PC10)
This is quite an unusual case, I'm not sure if there is something wrong with the ROM or if it is really like this.

This is basically a hard coded special case.
2016-09-03 13:53:27 -04:00
adelikat 3f7293587b NESHawk - Implement board UNIF_BMC-64in1NoRepeat 2016-09-03 12:53:46 -04:00
adelikat fdad137ff9 add ability to set the initial wram pattern on neshawk, currently no ui for this, must be done by directly editing a movie file sync settings 2016-09-03 11:53:53 -04:00
adelikat 197f577ecf Add alyosha as a neshawk author in CoreAttributes 2016-09-02 12:25:20 -04:00
alyosha-tas 92f2959e43 fix somari 2016-08-31 10:53:15 -04:00
alyosha-tas 8570b50a4e Fix Skull and Crossbones 2016-08-30 10:50:10 -04:00
alyosha-tas 812221cfdf Fixes Flintstones Rescue of Dino and Hoppy
Simple  registry write error now fixed
2016-08-29 10:32:24 -04:00
feos f08a0b3849 n64 tracer: disable for dynarec 2016-08-24 19:21:16 +03:00
feos af78aedc02 as always 2016-08-24 07:26:42 +03:00
feos 6e0b8e2784 yabause tracer 2016-08-24 00:05:17 +03:00
adelikat cac0f533db Fix SMS memory domains 2016-08-22 15:07:57 -04:00
adelikat 4de6628071 Fix TI-83 memory domains 2016-08-22 15:07:56 -04:00
adelikat ccc2ee1ba9 Fix coleco memory domains similarly to previous commit, also clean up previous commit 2016-08-22 13:14:47 -04:00
adelikat 4d03651526 Fix A2600 memory domains similarly to the PCE fix in 4b165089fd 2016-08-22 12:56:12 -04:00
feos e379b0342e probably final prettification for tracer 2016-08-21 23:52:42 +03:00
zeromus e7e4904c79 more complete fix to psx tracelogger delegate GC bug 2016-08-21 15:36:56 -05:00
zeromus 3435e5f70e psx tracer - probably fix crash due to disposed delegate (didnt test) 2016-08-21 15:27:31 -05:00
feos 00d77a4253 psx tracer: tiny cleanup 2016-08-21 22:37:35 +03:00
feos 91fd016868 setup psx tracer because why not
arguments string doesn't arrive for some reason, otherwise all looks good

move psx disasm functionality to separate files (disassembler doesn't do anything yet)
2016-08-21 21:19:48 +03:00
feos 2d8a247bec m64p: fix spacing, add fgrs to tracer 2016-08-21 12:46:29 +03:00
feos 57b9ff875e snes: fix crash when advancing after tracer was disabled 2016-08-19 18:53:50 +03:00
Ben Eirich 7f23cd80f1 SMS overscan display
Conflicts:
	BizHawk.Client.EmuHawk/MainForm.Designer.cs
2016-08-18 18:14:58 +03:00
feos 9d594e013b genesis disasm: snip implied regs for movem 2016-08-16 22:07:32 +03:00
feos 76eaea3619 tracer unification for cores: spacing, headers, etc 2016-08-16 01:39:26 +03:00
feos 888d7fed6a tracer: set some padding 2016-08-14 22:59:07 +03:00
feos 8e92c5fd17 gpgx: move to normal tracing method too
CallbackBasedTraceBuffer seems deprecated
2016-08-14 22:29:42 +03:00
feos 799afc6b0a n64: switch to regular tracer method
todo: same for gpgx
2016-08-14 20:35:05 +03:00
feos 45a83322a7 n64 tracer: mention regs in the header 2016-08-14 19:20:18 +03:00
feos 473b9e5f33 m64p tracer:
- shrink core's disasm string a bit
- nicely print registers (r0 and co-processors regs are dropped though)
- rebuild dll
2016-08-14 17:49:56 +03:00
feos d4c7175910 N64.ITraceable: log non-zero regs
still gigantic file for 1 frame

todo: implement internal tracer instead
2016-08-14 01:12:53 +03:00
zeromus 6d32112c9e fix gpgx, n64 trace loggers 2016-08-13 16:34:01 -05:00
feos 801dac3c0d GPGX.ISettable: output and input hex values 2016-08-14 00:20:01 +03:00
feos 8721d0ef83 Merge pull request #681 from vadosnaprimer/gpgx32
old gpgx is back!
2016-08-13 22:49:04 +03:00
feos 49176b28bd m64p: setup CallbackBasedTraceBuffer 2016-08-13 20:36:26 +03:00
feos d5ac190bdc m64p: don't freeze on breakpoint
debugger: indicate break hit
2016-08-13 16:26:10 +03:00
feos dc68b90cd0 m64p: exec breakpoint occurs, but freezes in HackyPinvokeWaitOne() 2016-08-12 00:35:52 +03:00
feos 80c90e7acc m64p: attempt to add execute callback
no memory callback seems to be working yet though
2016-08-11 21:58:09 +03:00
feos 35282ba577 gpgx32: flipped namespaces, added excplicit core picking
diff is messed up after folder renaming, but no file was changed except for namespaces and waterbox's core name
2016-08-10 22:27:46 +03:00
feos 7b26a6b573 gpgx32: make it compile
also build a dll
2016-08-09 21:13:42 +03:00
feos d970ccf544 gpgx32: dropped Dynamic 2016-08-09 20:43:15 +03:00
feos ca0d7ce92d new namespace 2016-08-09 20:16:24 +03:00
feos 14fd7d52c2 check in files 2016-08-09 20:03:23 +03:00
feos 2df4fa165b gpgx32: added pre-waterbox version separately 2016-08-09 19:57:04 +03:00
parasyte 620c74e56e bsnes: Fix disassembler with compatibility core
- The fake bus map has been extended to read mapped ROM space
2016-08-08 22:11:49 -07:00
MrCheeze ef3c816c2f Fix SNES trace logging to not lose information
Fixed the bug where if a tracelog line contains more than one "[", everything after the second [ will be mistakenly thrown out.
2016-07-27 19:54:48 -04:00
nattthebear 7b19db2d64 Fix NES memory domains 2016-07-16 16:13:50 -04:00
nattthebear 4b165089fd Fix PCE memory domains 2016-07-16 13:57:24 -04:00
alyosha-tas 99fde0c4ba start clean up of APU and fix Saint Seiya 2016-07-03 16:18:25 -04:00
alyosha-tas 1dfedff896 pass mixer tests 2016-07-02 21:33:37 -04:00
alyosha-tas 663aded7b2 Pass a few more tests
and fix a few regressions
2016-07-01 22:31:06 -04:00
alyosha-tas a69640e745 4017 reset behaviour and timing 2016-07-01 17:43:09 -04:00
alyosha-tas e2b395cc3a add states 2016-06-30 18:34:28 -04:00
alyosha-tas 88251911f7 DMA and frame timer updates 2016-06-30 18:30:12 -04:00
alyosha-tas 029f46626a Merge pull request #655 from alyosha-tas/master
Inital DMA commits
2016-06-29 09:49:11 -04:00
alyosha-tas d99d0d70d5 more states
for dma
2016-06-29 09:40:46 -04:00
alyosha-tas db51977ebc Inital DMA commits
pass: sprdama_and_dmc_dma


fail: dma_and_irq
(but was a false pass before)
2016-06-29 09:37:47 -04:00
alyosha-tas 7fa2ada249 Merge pull request #654 from alyosha-tas/master
Fix typo
2016-06-28 19:58:27 -04:00
alyosha-tas f846dc5172 Update NES.Core.cs 2016-06-28 19:56:44 -04:00
hegyak 836492a73d Fix Bug 621. This should correctly boot all the HVC-SNROM Board ROMs now. 2016-06-27 07:41:51 -07:00
alyosha-tas 43b6d0f36e Fix apu open bus reads
passes:
cpu_exec_space/test_cpu_exec_space_apu
2016-06-26 16:16:22 -04:00
alyosha-tas be5e649584 set vblank flag properly at poweron
fixes Time Lord
2016-06-25 10:38:42 -04:00
alyosha-tas 1c9d814e15 Add files via upload 2016-06-24 15:02:50 -04:00
Tony Konzel d518db2d14 6502: RTS IncPc micro-op should perform a read at PC and discard the result. 2016-06-22 15:09:57 -05:00
alyosha-tas d9456b0167 Consistency Check
So far so good
2016-06-21 17:33:00 -04:00
alyosha-tas 27c4bac062 ppu open bus emulation
ppu_open_bus - passes
cpu_dummy_writes_ppumem - passes
2016-06-21 17:14:46 -04:00
alyosha-tas ec27890aba Improve DMC DMA timing wtih RDY
passes dpcmletterbox
Far more accurate but still needs to interact correctly with OAM DMA
2016-06-21 09:20:52 -04:00
alyosha-tas bc17e6519c Fix a bug in OAM regs
passes oam_stress
2016-06-18 12:07:53 -04:00
alyosha-tas 55feae8bf6 clean up and minor fixes 2016-06-16 11:29:08 -04:00
alyosha-tas 618deafe12 Delete Execute.cs 2016-06-16 08:44:21 -04:00
alyosha-tas 47b44154a7 small updates
passes dmc basics

clean up execute
2016-06-16 08:43:28 -04:00
alyosha-tas 24bbaa19bd Merge pull request #643 from alyosha-tas/master
NesHawk and 6502 bug Fixes
2016-06-15 22:44:27 -04:00
alyosha-tas b7c8755b14 Fill in some undocumented opcodes
now passes instr_misc/instr_misc (the only test I could find that even concerned itself with these opcodes)
2016-06-15 22:33:15 -04:00
zeromus a9c0211d46 change a bunch of old googlecode urls in assemblyinfos 2016-06-13 11:34:27 -05:00
alyosha-tas 8dca88b779 obj overflow timing
now passes all 5 of blargg's sprtie overflow tests
2016-06-13 08:22:14 -04:00
alyosha-tas ec1be59d4e Fix sprite evaluation and $2004 reads
Fixes Micro Machines

Passes sprite overflow test #4
2016-06-12 21:16:31 -04:00
alyosha-tas c7c706d085 Merge pull request #641 from alyosha-tas/master
fixes poly9 sound
2016-06-06 11:13:05 -04:00
alyosha-tas 74e64fda03 fixes poly9 sound
This actually affected several other sound channels as well since the old code put the other poly counters into degenerate states at times
2016-06-06 11:11:42 -04:00
alyosha-tas dc5ec20a39 Merge pull request #640 from alyosha-tas/master
Fixed high pitch bug
2016-06-05 17:40:13 -04:00
alyosha-tas 41fd36a3c3 Fixed high pitch bug
finally found this bug, fixes several games where sounds were higher pitch then supposed to be (notably Combat)
2016-06-05 17:38:33 -04:00
alyosha-tas b966a2f30c Merge pull request #639 from alyosha-tas/master
Rewrite A2600 Audio
2016-06-04 18:39:42 -04:00
alyosha-tas ae39f13d5a Update for new sound routines
Catches cases where sound is not processed.
2016-06-04 18:33:41 -04:00
alyosha-tas d7436554b8 Rewrite audio routines
Now samples sound explicitly at proper points each scanline.
Sounds the same (i.e. sometimes wrong) as before, so other bugs exist.
WIP
2016-06-04 18:32:26 -04:00
alyosha-tas f56589ade1 Merge pull request #638 from alyosha-tas/master
Initial PR for Compumate
2016-05-31 09:27:14 -04:00
alyosha-tas f60dde19f5 Fixes compumate mapper
Still WIP
needs keyboard to test
2016-05-31 09:24:09 -04:00
alyosha-tas 0e34e5f728 Fixes compumate mapper
Still WIP
Needs keyboard peripheral for further testing, but boots for now
2016-05-31 09:15:59 -04:00
alyosha-tas f6b74a97e6 Adds missing inputs
3 input ports were never implemeneted, now they are
2016-05-31 09:13:05 -04:00
alyosha-tas d0c7d81de5 Updates and Bug Fixes
Sets stack pointer to FD on initialization (see visual 6502)
Adds portA write state to 6532
2016-05-31 09:11:57 -04:00
zeromus 55bd219470 fix copypaste bug in GB CDL for some games with large cartram 2016-05-29 13:02:00 -05:00
alyosha-tas 24b0ebb924 Merge pull request #2 from TASVideos/master
sync up
2016-05-27 08:56:25 -04:00
alyosha-tas d5c4d2f037 Add poke flag
the point of this is to protect the data bus state
2016-05-27 08:53:37 -04:00
alyosha-tas bd5616050a Add poke flag 2016-05-27 08:52:24 -04:00
alyosha-tas fe77d8718f Add poke flag 2016-05-27 08:51:49 -04:00
alyosha-tas d192d76052 Add vblank delay to fix 4A50 demo game 2016-05-25 18:10:05 -04:00
alyosha-tas cbad691741 Protect bank state from peeks
Also properly check bank swapping
2016-05-25 12:39:41 -04:00
alyosha-tas de48c1cf2c check for protection from memory peeks
WIP
2016-05-25 12:38:28 -04:00
alyosha-tas 5520627b7e Fix Peek_memory so it points to mapper Peek_memory 2016-05-25 12:37:23 -04:00
alyosha-tas 7a16d7c49a Add data bus state and track it
fixes AVGN KO boxing
2016-05-23 20:31:55 -04:00
alyosha-tas c80e250ae7 Add data bus state and track it
fixes AVGN KO boxing
2016-05-23 20:29:57 -04:00
adelikat 3194e2cdd7 document what is going on with mF8_sega 2016-05-22 15:33:49 -04:00
hegyak 222d6a3ade Add the missing mF8_sega file. 2016-05-22 08:34:31 -07:00
alyosha-tas d82a447e71 add tapper hash 2016-05-20 13:18:12 -04:00
alyosha-tas 9424f30243 pick the correct mapper for Tapper and Congo Bongo
Based off SHA1 hash
2016-05-20 09:06:56 -04:00
alyosha-tas 1565a0adf8 add sega mapper mod
mod to F8 that starts in bank 1
2016-05-20 09:05:57 -04:00
alyosha-tas b60876f902 try try again 2016-05-16 20:35:52 -04:00
alyosha-tas 9d00197c2a fixes 0 sample size in audio 2016-05-16 07:55:58 -04:00
alyosha-tas 3625bdaf9d Merge pull request #1 from TASVideos/master
sync up to test
2016-05-16 06:55:49 -04:00
alyosha-tas 0551099ac7 Add files via upload 2016-05-15 20:43:21 -04:00
zeromus 4766380ecd fix 270 rotated libretro cores 2016-05-13 17:44:33 -05:00
alyosha-tas 70fdbba229 Fixes 6532 INSTAT
Fixes Tapper not running (other issues with that game remain)
2016-05-06 22:58:41 -04:00
alyosha-tas b8e5177d00 Fixing PAL timing bug
Fixes Little Ninja Bros and Corvette ZR1 Challenge

Still needs investigation as seqeunce is 3,3,3,4,3 when it should be 3,3,3,3,4 but need a new test case.

Also added a note about DMA timing that needs to be investigated next.
2016-05-05 12:04:51 -04:00
alyosha-tas ffa42b4a50 Fixes shaking in Little Ninja Bros (E) 2016-05-01 15:11:05 -04:00
alyosha-tas a0ad9aab36 HMove update
Fixes Kool Aid Man
2016-04-22 09:17:01 -04:00
zeromus c4398e8ac3 support CDL (for 0th system) in GB link 2016-04-23 04:42:17 -05:00
zeromus 75173f2596 add sram memdomain to mgba 2016-04-18 21:46:27 -05:00
zeromus 41dd8741d5 dang it, do a better job adding sram memdomain to vbanext 2016-04-18 21:46:16 -05:00
zeromus 5ed2e46982 add SRAM memdomain to vbanext 2016-04-18 20:44:30 -05:00
hegyak 643e475ccc Merge pull request #614 from alyosha-tas/master
AtariHawk bug fixes pull request
2016-04-18 08:06:15 -07:00
nattthebear 111648cf98 Break a bunch of memory domain stuff with pointless refactoring 2016-04-13 19:50:06 -04:00
zeromus 71e32bc3d9 fix GB trace logger 2016-04-13 16:09:22 -05:00
zeromus 0cac65c184 use gambatte window option in emuhawk 2016-04-12 03:02:11 -05:00
alyosha-tas 3e365a2928 update 2016-04-10 20:21:12 -04:00
alyosha-tas 0dd58abb28 update 2016-04-10 18:29:45 -04:00
alyosha-tas 48dcf8fc91 PRG delays due to HMOVE 2016-04-09 12:57:32 -04:00
alyosha-tas 3e14c07c51 implement PRG delay 2016-04-09 09:33:13 -04:00
nattthebear 6e3fa4661e neshawk: mapper 011: fix mirroring on some boards 2016-04-08 23:23:03 -04:00
alyosha-tas 9d0d7fa85a rewrite enam delay for consistency 2016-04-08 21:28:26 -04:00
alyosha-tas 5e4874a870 Added files via upload
implements PF delays
2016-04-08 09:12:03 -04:00
alyosha-tas e96f057bd2 Added files via upload
more bug fixes and clean up
2016-04-06 20:37:19 -04:00
alyosha-tas ea18662bfe Added files via upload
star field correct
2016-04-05 18:41:53 -04:00
alyosha-tas 8e852622a1 Added files via upload
correct star pattern
2016-04-05 18:03:23 -04:00
nattthebear ef544cd9ab vrc2: only support V\H miorring. Allegedly fixes wai wai world issue 2016-04-05 17:39:10 -04:00
nattthebear ec787d049d NESHawk: support SNES controllers 2016-04-05 17:16:27 -04:00
alyosha-tas 03b236b0cf Added files via upload 2016-04-05 09:24:27 -04:00
alyosha-tas 14e5f6319d Added files via upload
bug fix
2016-04-05 09:04:56 -04:00
zeromus 776e696e09 mgba - fix bug where hard reset caused memorydomains to get permanently wrecked 2016-03-27 16:35:34 -05:00
zeromus 59658340e7 change description of genesis pad320 option 2016-03-27 14:33:12 -05:00
nattthebear 5876c60571 gpgx waterbox - dynamically allocate some sega CD memory areas to reduce state size. raw core is now about 800K in normal mode; 2MB in sega CD mode 2016-03-27 12:00:50 -04:00
zeromus ebad5a8137 remove console spew from snes core 2016-03-27 00:41:05 -05:00
nattthebear b4735502a5 gpgx waterbox: fix a few misc bugs in elfrunner, and fix a few misc bugs in the core so that Virtua Racing now works 2016-03-26 14:44:44 -04:00
nattthebear 66abc95c58 Wonderswan - Support settings to change colors. Breaks existing binary savestates (existing text savestates should be OK). B&W palette is exposed as a setting, albeit without a very nice UI. Color palette is available behind the scenes, but is not exposed as a setting. 2016-03-26 13:35:57 -04:00
nattthebear 570709e65c bugfix 2016-03-26 11:39:43 -04:00
nattthebear 948e75c59e memoryblock - don't actually call VirtualProtect() if Protect() is called while !Active 2016-03-26 11:38:08 -04:00
nattthebear aecdc645fa Revert 30b71d5e44. On testing on Windows 7, without that commit, I can create and successfully read and write from a 4GB MemoryBlock even with a fixed 1GB pagefile or with no pagefile at all. 2016-03-26 10:53:34 -04:00
zeromus 30b71d5e44 my small contribution to MemoryBlock: build it on a tempfile instead of system pagefile. Couldnt test it because old gpgx.elf and don't know how to build? 2016-03-26 01:50:19 -05:00
nattthebear 0e9a34a074 gpgx - fully connect lockable swappable elfrunner. core should theoretically be multi-instance safe now 2016-03-25 22:19:18 -04:00
nattthebear ae7bafe86f ElfRunner - changes for lockable swappable 2016-03-25 21:52:30 -04:00
nattthebear a2fe398aeb Refactoring MemoryBlock to use mapped fileviews, to allow for liveswapping. Posix codepath junked; it can return when there's someone to test it 2016-03-25 19:06:35 -04:00
nattthebear f98461772b Nes vrc6: code cleanup, eliminate no longer used parameter. no change in emulation 2016-03-24 23:14:47 -04:00
nattthebear 92e708d011 gpgx waterbox: move bg_pattern_cache to alloc_invisible 2016-03-23 21:10:18 -04:00
nattthebear 06f9d78452 gpgx: trim savestate size by moving some things to the sealed heap 2016-03-23 20:52:49 -04:00
nattthebear 9f173389a9 gpgx: entirely disable writes to the "MD CART" memory domain, since it's not supported 2016-03-23 20:17:02 -04:00
nattthebear b06908e5d4 gpgx waterbox: get sega cd working 2016-03-23 20:11:47 -04:00
nattthebear 8136aa0f03 Add the basics of multiple memory arenas to elfrunner. With a bit of tweaking, gpgx core states are now 3.5MB (and could get smaller) 2016-03-23 19:45:02 -04:00
nattthebear 7acbaffafd ElfRunner: Some internal refactoring in preparation for multiple memory arenas 2016-03-23 17:27:35 -04:00
nattthebear 4bd73a626f Add Monitor support to BizInvoker. Monitors are called right before (Enter) and right after (Exit) each interop method call. Possible applications include AWE mutex+mapping, and cothread no-GC regions. If you ask for an invoker without monitor, this commit adds no overhead because the code isn't generated. 2016-03-22 20:17:28 -04:00
nattthebear 146442cd69 some stuff for waterbox gpgx, not finished 2016-03-21 21:43:56 -04:00
nattthebear eca28a566e COmments 2016-03-17 17:20:38 -04:00
nattthebear 8d3e10b56e Support UNIF DripGame http://www.qmtpro.com/~nes/drip/. Everything works except the nametable viewer (which does not account for the exattributes) 2016-03-16 19:56:26 -04:00
Tony Konzel 93fcb293d8 C64: Fix the build post-merge (derp.) 2016-03-15 11:38:55 -05:00
Tony Konzel 05914e1490 Merge pull request #599 from TASVideos/c64-via-timer-fixes
C64 via timer fixes (and more)
2016-03-15 10:08:17 -05:00
zeromus 68f16a3a79 dont crash when shutting down a saturn core started in non-gl mode 2016-03-13 19:50:25 -05:00
pjgat09 29e6d5e1d5 Atari 2600: Fixed an off by one bug with the 6532 2016-03-11 10:50:03 -05:00
nattthebear 3bc6fe1b04 Add the elf stuff back to solution (doesn't do anything, don't use, ugly and embarassing, etc). Switch gpgx to use bizinvoker and slash a few hacks there. Bizinvoker - add support for forwarded attributes in Compatibility mode ([Out], [In]), and support enum, ref enum, and enum[]. Misc cleanup. 2016-03-10 22:00:52 -05:00
Tony Konzel 3ce0264fd3 C64: Actually use the correct data and length when building PRGs onto disk images. 2016-03-09 20:35:56 -06:00
Anthony Konzel aa83c33c58 6502: All non-writes are affected by RDY. 2016-03-09 20:12:49 -06:00
Anthony Konzel bd7e10af6b C64: Add disk builder to project. 2016-03-09 19:53:41 -06:00
Anthony Konzel 9557a25301 C64: Improved disk support. 2016-03-09 19:53:02 -06:00
feos 90b4ccfcb9 genesis disasm: use # prefix for moveq, addq and subq too. 2016-03-08 14:03:49 +03:00
Anthony Konzel aaa0da85fd C64: Prophet64 and Action Replay mapper (incomplete) added. 2016-03-06 16:31:29 -06:00
Anthony Konzel 178457309a C64: Drive light reflects both cartridge LED and disk drive now. 2016-03-05 16:00:19 -06:00
Anthony Konzel 8fd552274e C64: Discover file formats heuristically instead of by filename. 2016-03-05 15:23:22 -06:00
Anthony Konzel 57676608d0 C64: Fix ROM load order. 2016-03-04 17:29:47 -06:00
Anthony Konzel b0e4e18ebc C64: Manage memory for Cartridge, Write protect on media. 2016-03-04 16:15:01 -06:00
Anthony Konzel f4f45f73a8 C64: Better lifecycle management and 1541-II support. 2016-03-04 16:06:25 -06:00
adelikat 5cd11d0bb4 Move Sound component objects from Emulation.Common to Emulation.Cores so they live in the same assembly as the calling cores 2016-03-04 08:37:09 -05:00
Anthony Konzel 87200593b6 C64: Internal support for multiple files and Epyx Fastload support. 2016-03-03 21:14:19 -06:00
Anthony Konzel a435cc912c C64: Use Chip6522 factory. 2016-03-03 18:03:48 -06:00
Anthony Konzel 28ced70f28 C64: Populate half-tracks when loading images. 2016-03-03 15:43:43 -06:00
Anthony Konzel cff1708be6 C64: Perform sync check before shifting. 2016-03-03 00:13:55 -06:00
Anthony Konzel 64ded912df C64: Implement more of the VIA timers. 2016-03-02 23:45:13 -06:00
Anthony Konzel fd62145df5 C64: Don't compress savestate data (let the UI do that) 2016-03-01 20:34:08 -06:00
Anthony Konzel a06dd5f768 C64: Faster loading savestates. Also fix input not working after loading state. 2016-03-01 16:03:20 -06:00
Anthony Konzel 43ac625a95 Apply savestate changes to disk subsystem. 2016-03-01 14:01:56 -06:00
Anthony Konzel 70e1a2ca29 C64: Apply savestate changes to tape subsystem. 2016-03-01 13:52:47 -06:00
Anthony Konzel 1e2c9e45f0 C64: Apply savestate info to cartridge subsystem. 2016-03-01 13:50:07 -06:00
Anthony Konzel 472616c4f7 C64: Add bare delta media savestate support. 2016-03-01 13:15:27 -06:00
Anthony Konzel 67edd5df1e C64: Simplify input handling. 2016-03-01 13:14:59 -06:00
nattthebear 970fb54ca5 gambatte: some stuff for 64 bit builds, both msvc and mingw 2016-02-29 22:02:47 -05:00