Commit Graph

807 Commits

Author SHA1 Message Date
adelikat af0219655e NESHawk - implement board UNIF_BMC-BS-5, note: this board uses dipswitches. These were implemented via the "Advanced properties" scheme, rather than the FCEUX way of incrementing the value on reset 2015-08-23 15:17:33 -04:00
adelikat 988168b0bc NESHawk - finishing up mapper 6 2015-08-23 01:05:30 -04:00
adelikat 0e94191b97 NesHawk - mapper 6 - fix vram and mirroring logic 2015-08-22 23:19:55 -04:00
adelikat 0efd72c409 NEShawk - start mapper 6 2015-08-22 22:22:58 -04:00
adelikat ad5de7e0af NESHawk - support UNIF_UNL-TC-U01-1.5M (same as mapper 147) 2015-08-22 17:10:24 -04:00
adelikat 9f59219a39 NESHawk - support UNIF_UNL-SA-72007 (same thing as Mapper 145) 2015-08-22 17:06:50 -04:00
adelikat 631249f08a NESHawk - add minimal support for board UNIF_UNL-CC-21 2015-08-22 16:58:09 -04:00
adelikat cb7f49d94c NESHawk - Implement board UNIF_UNL-CC-21 2015-08-22 16:34:57 -04:00
adelikat 4b364df044 NESHawk - implement board UNIF_UNL-AX5705 2015-08-22 16:03:12 -04:00
adelikat 01226e3d90 NesHawk - implement board UNIF_BMC-GS-2004 2015-08-22 15:21:01 -04:00
adelikat 939a86aaf6 NESHawk - implement board UNIF_BMC-GS-2004 2015-08-22 14:52:21 -04:00
adelikat 43e6418dac NESHawk - implement board UNIF_BMC-190in1 2015-08-22 11:35:45 -04:00
adelikat ce1ec1e766 NesHawk - implement board UNIF_BMC-A65AS 2015-08-22 11:17:11 -04:00
adelikat 2cb64fafb8 Mapper 216 - supported enough for Magic Jewelry 2 to work 2015-08-22 09:53:39 -04:00
adelikat 1e454a46fe NesHawk - implement mapper 214 2015-08-21 23:23:33 -04:00
adelikat 1916ba0042 NesHawk - Mapper 204 implemented 2015-08-21 22:58:18 -04:00
adelikat f72875b584 NEShawk - implement mapper 202 2015-08-21 21:34:48 -04:00
adelikat 0c8f46427d NesHawk - Implement mapper 147 2015-08-19 21:31:29 -04:00
adelikat 9054f56f52 NesHawk - implement mapper 136 2015-08-19 20:17:59 -04:00
adelikat 2d8d51c951 Moving some unif board files around 2015-08-18 21:13:57 -04:00
adelikat f044790202 NESHawk - add unf board UNIF_DREAMTECH01, (Korean Igo (Unl)) 2015-08-18 21:02:28 -04:00
adelikat dd973d03fc NESHawk - support UNIF_BMC-SuperHIK8in1 unf board (same as mapper 45) 2015-08-18 20:41:21 -04:00
adelikat ad601227bb NESHawk - support UNIF_BMC-42in1ResetSwitch 2015-08-18 19:15:49 -04:00
zeromus e9394ceb88 change unif vram inference logic 2015-08-18 16:37:34 -05:00
zeromus b7ed34db1c re-fix ta0 0f 007 n0w that it l0ads differently 2015-08-17 16:30:58 -05:00
zeromus b41c223464 fix unif loading of mapper names with junk in field beyond end of null termination. also made it utf-8 while i'm in there. 2015-08-17 16:30:35 -05:00
adelikat 399a8b5166 NESHawk - add support for Tao of 007, The by Quietust (PD) [U][a2].unf 2015-08-17 16:55:40 -04:00
adelikat 1a42b8d6fc Revert "Mapper 132 - change some Nintendulator logic to FCEUX logic, and makes Qi Wang - Chinese Chess (Ch) [p1][!] playable. Couldn't find any other mapper 132 games, so I don't know if this breaks any existing ones"
This reverts commit 2e49ae88d3.
2015-08-16 19:21:14 -04:00
adelikat 2e49ae88d3 Mapper 132 - change some Nintendulator logic to FCEUX logic, and makes Qi Wang - Chinese Chess (Ch) [p1][!] playable. Couldn't find any other mapper 132 games, so I don't know if this breaks any existing ones 2015-08-16 12:18:44 -04:00
adelikat b26fe36cee NESHawk - according to FCEUX, mapper 79 seems to do Writes to PRG to set chr banks, fixes Puzzle (Unl) 2015-08-16 11:49:24 -04:00
adelikat b1b96ad070 NESHawk - handle some junk with bus conflict issues 2015-08-16 10:53:48 -04:00
adelikat 29ac8bb05e NESHawk - support STrike Wolf (MGC-014) [!] from GoodNES 3.14 2015-08-16 08:51:45 -04:00
adelikat 6f782133db NESHawk - mapper 113 is used for several 16kb prg games, maybe they aren't bad dumps, keeping the hack but treating them as normal 2015-08-16 08:47:17 -04:00
adelikat 44deeb3e68 NEShawk - mapper 168 - the only goodnes rom of Racermate has no wram, handle it similarly to the PRG and CHR issues that copies of this game seem to have 2015-08-16 08:43:58 -04:00
adelikat 2ca5a0b18b NESHawk - GoodNES has Othello (HES) wrong and the good dump is labeled as o and the bad dump is labeled good, fix this in our db. Also added a hack to the board to allow the bad dump to run, if it weren't clearly labeled good in goodNES, I wouldn't have bothered, but it is the likely one for someone to attempt to run, and it does work in other emulators 2015-08-16 08:31:18 -04:00
adelikat c7f2ea1a9a NESHawk - SxROM - according to bootgod HVC-SIROM has 64kb Chr ROM, fix asserts accordingly 2015-08-16 08:07:50 -04:00
adelikat 77b5eb36b6 NESHawk - SxROM - according to bootgod, HVC-SNROM has 8kb CHR-ROM and no CHR-RAM, fix Asserts accordingly. Fixes Morita Kazuo no Shougi (J) 2015-08-16 07:48:46 -04:00
adelikat 508bc7e1cc NES - support some junk via the game db, remove some disch doc comments and replace with wiki link, remove exception thrown for qboy, as the investigation has been done 2015-08-15 22:42:51 -04:00
adelikat 0c31b782c3 NES - Mapper 91 - better support some junk 2015-08-15 19:58:52 -04:00
adelikat f25d64c4aa NESHawk - support "MAPPER048" mapper designation as teh Taito_TC0190FMC, according to Disch docs this isn't correct but they are almost the same, add some gamedb entries for some games that should be mapper 48 instead of 33, fixes one of these games, but not the other 2015-08-15 19:50:47 -04:00
adelikat cf1b53c943 Fix mapper 245 via an assert instead 2015-08-10 20:38:06 -04:00
adelikat 722cf9dec1 Mapper 245 - don't throw an exception on a particular bad dump shenanigans 2015-08-10 19:43:55 -04:00
nattthebear 6dfc43a0ed NES: Support trainered roms because CHAOTIC NEUTRAL 2015-08-10 19:42:13 -04:00
zeromus 36f56f3530 neshawk - fix NES mapper 31 CHR-ROM support #470 2015-08-10 17:12:36 -05:00
scrimpeh b0ff8d586c NEShawk/Mapper 105 - Add IRQs 2015-08-10 22:54:27 +02:00
adelikat 0f8544b051 NES - add support for the UNIF_BMC-T-262 board 2015-08-09 20:41:51 -04:00
adelikat 637d2c95c0 Mapper 243 - remove reference to unif having problems as the documentation bug was probably what was being observed 2015-08-09 20:04:27 -04:00
adelikat 9dfa48015e Mapper 243 - link to wiki instead of putting outdated docs in the wiki 2015-08-09 19:47:33 -04:00
adelikat 7fc3777e45 Nes - fix mapper 243 chr handling, we were correctly doing what was documented in the disch docs, but Nintendulator and FCEUX did something slightly different that is working. Changed to do against the docs and do what working emulators do 2015-08-09 19:42:47 -04:00
adelikat 9237b894f9 Mapper 235 - oops, forgot about mirroring 2015-08-09 15:09:21 -04:00
adelikat faf299faf8 NES - implement mapper 235 2015-08-09 14:25:49 -04:00
adelikat d12726a1fc Fix mapper 51 2015-08-09 14:03:11 -04:00
adelikat ef656a9f5d Implement Mapper 244 (Decathlon) 2015-08-09 13:41:45 -04:00
adelikat d9fc4f9cd0 NESHawk - attempt to implement mapper 51, but it is busted 2015-08-09 11:15:25 -04:00
nattthebear 6e433ab656 Make a zombie board for m34 that attempts to support bad dumps of both bxrom and ave-nina 2015-08-08 10:51:30 -04:00
adelikat 20f7dca9ae support ines header "MAPPER034", fixes a bad dump of something 2015-08-08 10:05:09 -04:00
adelikat d662d9a700 clean up the NESSyncSettingsForm 2015-08-07 17:15:50 -04:00
scrimpeh c095bf4b46 NESHawk/Mapper90 - Various Fixes to PRG and CHR banking system and IRQs, makes the 45-in-1 multicart playable 2015-08-06 14:54:38 +02:00
nattthebear 4f159b4c20 Populate board values sync settings with default values when loading a game on a board with them 2015-08-05 21:05:07 -04:00
adelikat ba21484ddd add IRegionable as an emulator service to indicate NTSC vs PAL, etc. Refactor cores that conveyed this information to use this service, fixed cheaty reflection to grab this info to use the service instead, marked some cores as region not applicable where it made sense to me (I'm sure I'm wrong in some cases) 2015-08-05 20:12:09 -04:00
scrimpeh 40f87f3391 NEShawk - Mapper 90 - Change Dipswitches to sync settings 2015-08-06 00:10:21 +02:00
scrimpeh a24f8bee23 NEShawk - Mapper 90 2015-08-05 19:59:48 +02:00
adelikat e841707502 Quicknes - throw an UnsupportedGameException on Paperboy (U) because input will not work for some reason, this allows it to fallback to NesHawk automatically 2015-07-18 08:58:52 -04:00
adelikat 3541c9e975 Make the lag counter settable, and expose this functionality in lua 2015-07-09 13:05:30 -04:00
zeromus b5d5cb03e1 commit an ancient comment that's meaningless to me now 2015-06-16 10:00:11 +00:00
goyuken 9a02a5cac0 mgba: RTC and syncsettings 2015-06-13 18:01:26 +00:00
adelikat 5bcdfb5991 IInputPollable - remove the set on LagCount as it is not needed 2015-06-11 01:23:14 +00:00
goyuken b2ead68c4d lag frame in mgba 2015-06-10 01:19:09 +00:00
goyuken 68506d6ea1 some infrastructure for RTC, tilt sensor, vampier slayer contrl in mgba 2015-06-06 22:23:42 +00:00
goyuken f57c3b86f0 support reading the old vba-next savwerams in the mgba core 2015-06-06 17:42:47 +00:00
goyuken f5c8bece3a satesvates for mgba 2015-06-06 17:34:19 +00:00
goyuken 4a5f87387c saverams in mgba, maybe 2015-06-06 12:49:31 +00:00
goyuken f458c93e56 support hex editor and gpu viewer for mgba 2015-06-05 00:43:41 +00:00
goyuken 43c7483ef6 hook up mGBA bios 2015-06-05 00:12:12 +00:00
goyuken 6d5d720d55 mgba: input support 2015-06-04 23:30:24 +00:00
goyuken f30dec819d bl;ah blah 2015-06-04 22:47:51 +00:00
goyuken 66f0bf15c0 Fix up some junkus in appleii core init, and add stub for mGBA 2015-06-04 02:04:42 +00:00
goyuken 6ab8be0a1d Screwball mode Apple II savestates 2015-05-18 00:14:00 +00:00
zeromus 6833a24638 add NES music ripper tool prototype 2015-05-08 00:56:46 +00:00
adelikat 3867a890fc NES - fallback from quicknes to neshawk for Bill and Ted's Excellent adventure since quicknes is not able to run it 2015-04-12 19:17:31 +00:00
goyuken 9fef38dfd6 NES FDS: Fix showing "Good dump" all of the time 2015-03-28 15:42:02 +00:00
pjgat09 c2dd59aa3a N64: Move the dirty hack from LoadState to the constructor instead to avoid problems with states saved on frame 0. 2015-03-17 00:11:08 +00:00
zeromus 10dbd9bafb nsf - big cleanup and fix a lot of games and add savestates 2015-03-11 21:19:47 +00:00
zeromus db9fbced86 neshawk - rough sketch of NSF player. basically functional for some games 2015-03-11 09:46:27 +00:00
zeromus aaa5704107 fix FME-7 IRQ ACK logic in quicknes and neshawk 2015-03-05 18:36:09 +00:00
goyuken adc3e96ca8 iemulator single instance attribute. to find out about: PSX, Apple2 2015-03-03 00:23:50 +00:00
goyuken c9d630b330 FDS: fix load behavior based on real world observations. Most games will load 4s+ faster now. 2015-02-23 22:40:51 +00:00
adelikat 36f4eff0f6 add ByteSize to MemoryDomain with a default of 1, set it to not 1 on appropriate domains (I probably missed some, or got some wrong). Have RamSearch use that instead of SystemInfo, remove ByteSize from SystemInfo since it is no longer needed 2015-02-22 15:19:38 +00:00
goyuken 8bf7c960cf some stuff, not ready yet 2015-02-19 03:16:33 +00:00
mathew1800 abbee1672e Specify the parameter for argument-based exceptions. Correct the parameter names of others.
Common mistake.
2015-02-10 04:19:34 +00:00
zeromus 656c6e0585 i knew that was too good to be true 2015-02-02 22:00:43 +00:00
zeromus 88bb1f5c83 change n64 configuration of C buttons to be UP DOWN LEFT RIGHT. dont think this will cause any bugs, but who knows 2015-02-02 21:46:34 +00:00
zeromus 966edb10ab add 65816 disassembler.. not tested very well tho 2015-01-26 00:20:01 +00:00
adelikat 8246de14aa IMemoryCallbackSystem - add a flag to indicate whether execute callbacks are available, in lua and the debugger, take this flag into account, also improve some availability checking in Lua memory callbacks. Flag N64 as not having execute callbacks available 2015-01-25 22:14:58 +00:00
goyuken 2c09c10721 memory domain: silent pokes 2015-01-25 20:10:19 +00:00
goyuken 2f3f7723a0 quicknes disassembler tweak 2015-01-25 20:06:41 +00:00
adelikat 76864d5d47 oops 2015-01-25 17:05:30 +00:00
adelikat 38a4765123 NesHawk - don't add a PRG domain if the on board ROM is null (such as in FDS mode) 2015-01-25 16:17:59 +00:00
adelikat 4a39b5a619 Hex Editor - if a domain is not writable, switch to a "read only" mode 2015-01-25 15:42:07 +00:00
adelikat 7ed8704555 add a CanPoke() extension method for memory domains, checks for a null or not implemented Poke Poke delegate, use it to disable Poke on Ram Search and Ram Watch, still todo - hex editor and lua 2015-01-25 14:37:37 +00:00
adelikat ac442130ae Refactor IMemoryDomains and MemoryDomains to have setters for MainMemory and SystemBus, so a core can customize instead of using a one size fits all assumption. Remove constructor that sets main memory and refactor accordingly 2015-01-24 16:02:28 +00:00
adelikat 292f71e9c9 make INESPPUViewable an IEmulatorService 2015-01-23 21:46:23 +00:00
zeromus 8d340a7c19 fix n64 disasm pinvoke 2015-01-23 20:28:47 +00:00
adelikat 29b056b972 N64 - wire of a disassembler, doesn't look like it works correctly, but at least the plumbing is done 2015-01-23 19:52:26 +00:00
adelikat 2651061cac NES - prefix NES. on some partial class files to conform to our naming standards and make their intent more clear 2015-01-20 00:29:17 +00:00
adelikat 2e737e66be NES - remove some more unnecessary partial class usage 2015-01-19 13:38:08 +00:00
adelikat 27d30df0cf Rip out the MemoryDomain.Size hack, and fix up the hex editor. Hex editor now works for N64 System bus, but will very much fail as soon as we have a domain greater than 32 bits 2015-01-18 16:00:20 +00:00
adelikat 91ffc17aae Refacotor MemoryDomain.Size to be long instead of int, still some small todos, but it compiles and seems to work 2015-01-18 15:25:47 +00:00
adelikat 9f6c0ca695 NES - remove the partial class closure on the PPU object files 2015-01-17 21:09:33 +00:00
adelikat 3b2c00cf39 NES - remove a bit more partial class as namespace abuse 2015-01-17 21:02:59 +00:00
adelikat ede452700c VBANext - separate into separate files 2015-01-17 20:48:31 +00:00
adelikat 4f956779fe Meteor - break up into separate files 2015-01-17 19:32:45 +00:00
adelikat 9041281b72 GambatteLink - break up into separate files 2015-01-17 19:10:58 +00:00
adelikat c3a4077ffb Break up Gambatte.cs into separate files 2015-01-16 18:37:42 +00:00
adelikat 33c6446fe2 APU.cs - remove partial class NES, there's no point in it being a subclass in a partial class file 2015-01-16 02:07:24 +00:00
adelikat e8e4c74962 QuickNES - break up into separate files 2015-01-16 01:38:47 +00:00
adelikat 95dcae132f NEShawk - break up into separate files 2015-01-15 19:19:43 +00:00
adelikat 69c547bdd7 Neshawk - fix crash on start up caused my memory domain refactor 2015-01-15 15:52:52 +00:00
goyuken 82fcd0bc5e refactor IVideoProvider into a service. uses in mainform and friends are still hacky 2015-01-14 22:37:37 +00:00
adelikat fbdb29b64c refactor IMemorydomains to be a domain list instead of having a domain property, refactor cores to register an IMemoryDomains instead of being one 2015-01-14 21:55:48 +00:00
adelikat d62ba4e2b4 Change IMemoryDomains to have an IMemoryDomainList instead of a MemoryDomainList, this is an incremental step into eventually having IMemoryDomains take over the properties of IMemoryDomainList, still todo: reduce the amount of needed functionality in IMemoryDomainList from old and not good code 2015-01-13 22:18:07 +00:00
adelikat 10e56a4a4f Genesis.cs and Meteor.cs - remove IDebuggable from these since they aren't being used, and remove not implemented methods, left implemented ones, if we ever use these the IDebuggable designation can be easily added back 2015-01-13 19:30:50 +00:00
adelikat 17b4782474 Change "BUS" to "System Bus" in both GBA cores, and the bsnes core, don't account for "BUS" in the CheatDomain property 2015-01-13 00:01:25 +00:00
adelikat 815cf4ab97 todo: N64 - learn to spell, fix cheats not defaulting to the system bus 2015-01-12 23:38:31 +00:00
goyuken a8a0d35a97 coolboy 400 in 1: fix some games 2015-01-11 23:37:17 +00:00
goyuken 7ce4fd206e nes: support cool boy 400 in 1 2015-01-08 01:00:48 +00:00
adelikat efc8d26ac7 quicknes - default to true for Clip Top and Bottom 2015-01-05 20:00:51 +00:00
goyuken 3710e6c1ca itoolformautoconfig: fix save position 2015-01-01 21:01:42 +00:00
goyuken 89864b0816 GB: add ability to load VBA saves with RTC, although the clock time itself is invariably trashed. seems to work with pokeymans gold 2014-12-29 22:56:46 +00:00
adelikat 0f2197cec1 Break off ITracer from IDebuggable, rename to ITraceable and make it an IEmulatorService, refactor things accordingly 2014-12-23 01:58:12 +00:00
goyuken e9b38bbbca nes fds: decrease rate of debug message spew 2014-12-22 22:27:30 +00:00
goyuken d28d5e5a9b quciknes: enforce objectdisposedexception so as to avoid accessviolations 2014-12-21 17:40:06 +00:00
adelikat ffdeb618f7 IDebugable - add a CanStep() method, and implement it in all IDebuggable implementations 2014-12-20 13:29:57 +00:00
adelikat a8116297a0 Rename Register to RegisterValue 2014-12-20 13:16:15 +00:00
adelikat 7bebb66589 IDebuggable - refactor GetCpuFlagsAndRegisters to be IDictionary<string, Register> where Register is a value and a bitsize 2014-12-20 03:19:33 +00:00
goyuken d305b2f538 partially functional ppu viewing tools for quicknes 2014-12-17 03:27:44 +00:00
goyuken eb4aa94546 stuff 2014-12-17 02:33:05 +00:00
goyuken 50704247fa NES: ppu view internal infrastructure 2014-12-17 02:01:48 +00:00
goyuken 665ead318b nes ppu view infrastructure changes, not complete 2014-12-17 00:35:59 +00:00
goyuken 972173282a support new disassembler infrastructure in 2600 and nes 2014-12-15 22:52:22 +00:00
adelikat d08fb39cb8 Refactor IDebuggable StepInto/Over/Out methods into void Step(StepType type); 2014-12-15 22:19:10 +00:00
adelikat 725a8fb092 Add StepInto(), StepOver(), StepOut() to IDebuggable, have all cores implement it with unimplemented dummy functions 2014-12-14 18:58:16 +00:00
goyuken 5a1c082236 bleh 2014-12-14 18:35:35 +00:00
goyuken 6ec6f82109 gb disassembler that may or may not work 2014-12-14 18:24:10 +00:00
goyuken 10e38e7bc9 fix BANDAI FCG 1 Boards without barcode reader 2014-12-14 17:19:54 +00:00
goyuken 09f9d50f46 IDisassemblable changes. can't compile right now, so might not work 2014-12-14 17:17:22 +00:00
adelikat 1a1116c651 NES - make DatachBarcode an emulator service, convert BarcodeEntry to EmulatorService 2014-12-14 02:01:38 +00:00
zeromus a8fd9c1fdf neshawk - add note about q boy to mapper191, but dont remove "THIS MAPPER ISNT TESTED!" because it still isnt 2014-12-14 00:22:07 +00:00
zeromus 70091c7780 neshawk - fix loading q-boy unif 2014-12-14 00:16:05 +00:00
adelikat 1cd49d5b54 GBA GPU Viewer - convert to using EmulatorServices 2014-12-13 23:46:12 +00:00
goyuken c6ed49c067 some disassembler stuff 2014-12-13 21:49:15 +00:00
adelikat 9fc46f6764 mark cores that would not ever use IDriveLight, a bit silly, but it keeps the feature list clean and that's currently my only source of sanity with keeping up with what needs to be done 2014-12-12 01:58:12 +00:00
adelikat 08fb509a1a Add an IDriveLight Emulator service, and remove the CoreComm properties, and refactor accordingly 2014-12-12 01:49:54 +00:00
adelikat 2d1a43dc65 MemoryCallbackSystem - simplify by having a single Add method with a MemoryCallbackType parameter, and some simplifying of client code as a result 2014-12-07 18:53:56 +00:00
goyuken 923b5e2543 dual gameboy memorycallback stuff 2014-12-05 02:43:16 +00:00
goyuken 1f9b4d23fe lets try something that compiles 2014-12-05 02:39:42 +00:00
goyuken a7ad7e20e9 clean up vbanext core 2014-12-05 02:27:39 +00:00
adelikat 3dfd57197d N64 - cleanup after adding new services and such 2014-12-05 02:22:41 +00:00
adelikat 0b84beec88 Move MemoryCallbackSystem from CoreComm to IDebuggable and refactor accordingly, Lua - tell the user when memory callbacks are not available for a given core 2014-12-05 01:56:45 +00:00
adelikat f5cc38c9cd AsInputPollable() 2014-12-05 00:59:00 +00:00
adelikat a91de9ad9c Move TraceHeader out of CoreComm and into ITracer and TraceBuffer 2014-12-05 00:10:48 +00:00
adelikat 309088211c Move TraceBuffer from CoreComm to IDebugable and refactor accordingly 2014-12-05 00:05:40 +00:00
adelikat d8a204572d Add an IServiceProvider interface and make it a property of IEmulator, the purpose of this provider is to provide IEmulatorServices upon request. Make BasicServiceProvider and have all cores use it for now. BasicServiceProvider will return the core itself if the core itself is the requested type. He will also be able to return nested types (code not finished). Wired this up to the HasSavestates extension method (a method that has minimal value now) as a proof of concept. 2014-12-04 03:38:30 +00:00
goyuken 7f9adc0c1d dgb: reenable input callbacks. 2014-12-04 02:04:14 +00:00
goyuken 5f770e4696 update pad callback infrastructure in vbanext core, remove unused stub in lynx core, disable in dual gb core until i get around to it, better comment in gb core 2014-12-04 01:46:59 +00:00
adelikat a07263c04e Move InputCallbackSystem from CoreComm to IInputPollable, and refactor all cores accordingly. Lua - OnInputPoll() - log to the user when attemping to add a callback of this type to a core that has not implemented input callbacks. Mark all unmanaged cores' implementations of the InputCallbackSystem as FeatureNotImpleented, won't have any effect on functionality, but will help us keep track of the fact that they still have a bit of work to do. Still todo: ActiveChanged event handler on the base implementation of IInputCallbackSystem 2014-12-04 00:43:12 +00:00
adelikat 8cffecede9 ditto 2014-11-30 20:40:17 +00:00
adelikat a83d714c42 Break off IsLagFrame and LagCount from IEmulator and put into its own interface IInputPollable, and refactor cores as necessary. EmuHawk - account for the possibility that a core is not an IInputPollable, and do things like disable the lag counter menu item. Still some front end todos. Also still todo, move the InputCallbackSystem from CoreComm to IInputPollable 2014-11-30 20:29:30 +00:00
goyuken 2fce719309 comments 2014-11-30 19:13:58 +00:00
adelikat 76148ae111 Break off savestate functionality from IEmulator into IStatable and refactor things accordingly. Still todo (a big todo): EmuHawk should gracefully handle a core that is not an IStatable by disabling functionality dependent upon it (Savestates, Rewind, Tastudio, etc) 2014-11-30 16:42:58 +00:00
adelikat 5d512c4c5d N64 - break off ICoreService implementations into separate files 2014-11-30 15:38:39 +00:00
adelikat 865795049b Break off saveram methods from IEmulator into a separate ISaveRam interface. Remove the setter for SaveRamModified (every single core was throwing an error on this, and no client code was using it). Remove these methods from cores that don't actually implement this interface 2014-11-30 15:22:08 +00:00
zeromus 92243cd393 neshawk - add PPU reset to soft reset, to fix #327 2014-11-30 05:02:12 +00:00
goyuken 6d04f9089a NES: show more informative error logs for certain INES header screwballs 2014-11-27 18:03:00 +00:00
adelikat 0e82fff3ff Clean out ClearSaveRam() calls since they are no longer used 2014-11-24 15:00:54 +00:00
adelikat 9c285e3e3a Put NotImplemented attribute on a bunch of things, and remove IMemoryDomains from a few cores that were implementing it but throwing a NotImplementedException 2014-11-24 01:17:05 +00:00
adelikat 1832894405 IDebuggable - GetCpuFlagsAndRegisters() - refactor to make it an IDictionary instead of Dictionary 2014-11-23 16:22:02 +00:00
goyuken d58b00b72b gba tracelog: add register display 2014-11-19 03:33:09 +00:00
goyuken 08d4319ad3 gba: tracelog 2014-11-19 03:16:36 +00:00
goyuken eaf409d4af gba (vba): some roughing in for the tracelogger 2014-11-19 02:24:33 +00:00
adelikat 17c6a2c1f6 Snes - use the compatibility profile override option in the game db, note that it will be a temporary override for the game if detected, the user setting will not be permanently changed. This touched a bunch of things, and many other things had to be considered, there's a reasonable chance that this broke something 2014-11-19 00:32:51 +00:00
adelikat 21dad476a8 LibsnesCore.cs - move ScnalineHookManager to the button of the file, and the constructor of LibsnesCore to the top of the object, so it isn't so annoying to find it 2014-11-18 23:44:42 +00:00
goyuken 0a17fadb8e gb: add mute sound as a setting. most useful in dual mode. 2014-11-16 21:56:32 +00:00
adelikat f3a2387926 Quicknes - metadata for controller settings, player 2 not plugged in by default 2014-11-02 14:03:38 +00:00
goyuken f3e9958f07 quicknes: support unplugging controllers 2014-11-01 17:44:04 +00:00
goyuken dc2ca1f010 remove the extra ISettable (non-generic argument) interface and corresponding crud from cores, and replace with a shim class 2014-10-31 15:46:13 +00:00
goyuken 2fbdf059cb barcode reader cleanup 2014-10-30 20:54:46 +00:00
goyuken 81fc95ab43 NES: add UI support for datach barcode reader 2014-10-29 22:28:14 +00:00
goyuken ff95066672 quicknes: reject (with the appropriate unsupported exception) any bootgod positive euro rom 2014-10-29 18:58:43 +00:00
goyuken 84fa4feba1 nes: some garbage for datach barcode reader, not finished 2014-10-29 02:34:13 +00:00
goyuken 755f7d7ac4 neshawk: make datach games boot 2014-10-29 01:09:15 +00:00
jlennox a64017366c Create ISettable<T,T2>/ISettable interfaces. This checkin has not been extensively tested. 2014-10-19 01:22:47 +00:00
jlennox 10b6bed056 Add IDebuggable to relevant cores and remove non-implementations of GetCpuFlagsAndRegisters/SetCpuRegister 2014-10-18 22:30:06 +00:00
goyuken 121b1edad9 nes: minor cleanup 2014-10-15 19:40:40 +00:00
pjgat09 502caa2e37 N64: Output an error code when LoadLibrary fails 2014-10-13 23:20:18 +00:00
adelikat 72e29286c8 now that jabo is packaged with bizhawk, make it the default plugin 2014-09-27 21:31:07 +00:00
adelikat 52d3ad8467 N64 - fix issue 273 2014-09-27 21:15:51 +00:00
adelikat 25c2507013 N64 - change the expansion slot override notion. If a game in the gamdb has the expansion slot override, override the user's choice, but don't change the sync setting (otherwise all games they load will be set to this). In the N64 menu item, show the checked status based on if the core is actively using the expansion slot, not whether the sync setting is set. If the gamedb is overriding the user's choice make it clear by disabling the menu item. This commit message is longer than the changeset itself. 2014-09-27 12:56:55 +00:00
zeromus ed4c715a9f add ROM memorydomain to n64 2014-09-14 18:39:26 +00:00
zeromus cfa433a9a6 for issue #223 : create 2 workarounds for taskbar minimizing ding-and-fail bug and activate one of them. The bug is virtually impossible to fix and isnt really our fault. The bug is theoretically existing under other conditions than the "run n64 core" repro steps. The workaround might could be deployed in other situations as needed. 2014-09-14 09:11:34 +00:00
goyuken 184b4dcba9 change some cores to use filedata instead of romdata. NES handles headers internally, and others shouldn't ever have headers. 2014-09-12 15:39:04 +00:00
zeromus 2c8295ba76 Fix bug with core inventory launching n64 core with data that romgame had mangled in cases. todo: delete romgame. 2014-09-12 01:02:09 +00:00
zeromus 87e9d235f6 make some effort to support memdomain of full 32bits size, and use it for n64 system bus. make sure to check that its disabled in ramsearch engine and in hex editor. we could probably fix it to work in hex editor later. 2014-09-09 21:34:41 +00:00
pjgat09 a8684c34a6 N64: Hooked up the system bus domain. 2014-09-08 22:31:51 +00:00
adelikat 8a36049b81 N64 - start a system bus memory domain, doesn't yet work 2014-09-08 22:19:44 +00:00
goyuken 7a25e05189 snes: faker system bus (ram only) for determinstic mode) 2014-09-08 15:43:34 +00:00
adelikat 28bd6229c8 N64 - some core code reorg 2014-09-07 21:48:05 +00:00
zeromus d220b94e76 change n64 memdomain so that rdram is big endian, and also working now. not sure about the other memdomains, they could still be broken. 2014-09-07 18:43:31 +00:00
pjgat09 181313cdf9 N64: Removed checks to see if the correct jabo dll was present 2014-09-07 03:13:53 +00:00
pjgat09 239df5d5f9 N64: Savestates now only save and load half the RDRAM if the expansion pack is not installed. 2014-09-07 00:43:19 +00:00
adelikat a59793b55b N64 - Support getting an expansion slot flag from the gamedb, and set Majora's Mask and Donkey Kong 64 to use it 2014-09-07 00:23:15 +00:00
adelikat 88daf797db N64hawk - Expansion slot toggle, expansion being off by default, note: this is a sync setting 2014-09-06 23:03:34 +00:00
zeromus 5d754cf507 change how snes firmware chips survive loadstating, so that loadstate/rewind matches performance from builds earlier in 2014. still kind of slow, but basically OK. 2014-09-02 05:01:51 +00:00
adelikat 5ba74c631c Remove MemoryDomains from IEmulator into a new Interface, IMemoryDomains, Add this interface to existing cores, except null emulator (and removed memory domain related code from it). Refactored EmuHawk for ram tools to use an instance of IMemoryDomains rather than IEmulator, don't expose ram tools unless the core implements IMemoryDomains. Still a few misc todos, and probably some cleanup 2014-09-01 18:43:41 +00:00
goyuken 1170b5cd06 VBA: allow bios intro to be skipped even when in determinstic mode 2014-08-27 22:19:26 +00:00
goyuken 227f5d6b53 gba: skip bios intro by default. beta tester note: if you've used the gba core before, this won't change your existing setting 2014-08-24 17:33:23 +00:00
adelikat b689d9d2ff change release flag on the vba core to true 2014-08-24 14:11:30 +00:00
goyuken dad905b738 vba-next: callbacks n shiz 2014-08-24 00:04:57 +00:00
pjgat09 5dc7327c1f N64: Hopefully fix some crashes associated with restarting the core early in the emulation 2014-08-23 22:40:29 +00:00
goyuken 1d383a62cc romloader stuffs, nag me if it breaks anything, i don't think it breaks anything 2014-08-23 19:06:37 +00:00
goyuken c905b6fed2 dual gameboy: hook up to front end cable connected status indicator 2014-08-23 01:30:22 +00:00
goyuken e8d9ae7e7c vba: cpu flags and registers 2014-08-21 23:51:25 +00:00
goyuken 047f148f20 dual gameboy: with the savestates being recently obsoleted, take this opportunity to make actual text savestates 2014-08-18 17:21:17 +00:00
goyuken 56afd7c482 gb: minor cleanup 2014-08-18 16:26:40 +00:00
goyuken ca7a7886ed dual gameboy: SAVESTATES OBSLETEEDDDEEDDDDDDDDDDDDDDD. link cable connection toggling 2014-08-18 02:31:42 +00:00
goyuken 9774630e54 vba next -- add that weird combined memory domain for feature parity with meteor 2014-08-17 20:32:08 +00:00
goyuken d7f39ca831 vba next: coreside work for alternate palettes 2014-08-17 20:05:56 +00:00
goyuken 9c24c180f2 vbanext: support GPU VIEW. it should still work in meteor... 2014-08-17 19:02:10 +00:00
pjgat09 fdb2e5a838 N64: Fixing the gamedb for jabo 2014-08-17 18:07:02 +00:00
goyuken 8c4696609d vba next: memory domains 2014-08-16 05:45:31 +00:00
goyuken ceae8d71b5 memory domain: minor refactor and cleanup 2014-08-15 21:21:17 +00:00
zeromus 2a66a0672a load 512-entry palettes, but dont do anything with them yet 2014-08-14 15:52:25 +00:00
zeromus 6ad6126536 fix typo in 'visbile' sprites 2014-08-14 15:50:33 +00:00
goyuken 1d6a6030f5 vba next: RTC should be functional now. maybe. 2014-08-13 21:49:28 +00:00
goyuken b8472ea760 gba stuff 2014-08-13 20:33:59 +00:00
goyuken f0c8bd3842 IEmulator: clarify naming and implementations so it's clear that CloneSaveRam() always returns a clone that you can do whatever you want with (but won't modify the underlying) 2014-08-13 17:52:13 +00:00
goyuken c0defce472 quicknes: support frameskipping and audioskipping. the speedup isn't all that much, but a bit more speed is gained 2014-08-13 17:22:16 +00:00
goyuken d7a1dd3846 quicknes: simplify blitting logic, giving a 15% overall speedup in some cases 2014-08-13 17:06:01 +00:00
goyuken 9e234b3bf5 vba next: some gamedb and saveram hookups, not all finished 2014-08-12 00:34:19 +00:00
goyuken b29f9e5be1 GBA: add gamedb. besides hash identification, this includes the data that various vba variants put in a "vba-over.ini" file (will be hooked up to core soon 2014-08-11 15:29:53 +00:00
goyuken 4b0efa8496 NES-FDS: fix divide by zero error when a game uses FDS audio without ever having written to a particular register 2014-08-09 15:51:01 +00:00
goyuken ba93e6ab0e vba next: savestates and other confetti 2014-08-08 20:01:09 +00:00
goyuken 31fe0c57e3 vbanext: sound, lag frames, cleanup, stuff 2014-08-08 04:09:50 +00:00
goyuken 80d1723a3a https://www.youtube.com/watch?v=XwzzyzUcNOQ 2014-08-08 00:55:33 +00:00
pjgat09 ad66bc4f30 N64: Merged jabo's settings from PJ64's RDB into our gamedb. Tweaked the plugin settings screen to use those settings. 2014-08-07 02:48:01 +00:00
goyuken 8cfc640d1e woop woop call the cops see if i care 2014-08-04 22:25:07 +00:00
zeromus 04255670f7 neshawk (MMC5) - fix uchuu keibitai SDF; fixes bug #232 2014-08-04 02:59:08 +00:00
goyuken 4deda7eb91 settings cleanup 2014-08-03 22:19:55 +00:00
goyuken 78d1e95791 settings cleanup 2014-08-03 22:09:08 +00:00
adelikat bbad6c90a4 N64 core - being picky - change IsLagFrame and IsViFrame to internal setters instead of public 2014-08-03 18:13:33 +00:00
adelikat b1cd40f276 N64 plugin config - Jabo - add per game settings logic and the Direct3D clear mode per game option, still todo: resolution width/height 2014-08-03 17:50:56 +00:00
adelikat 5908c0ab12 add Jabo settings to N64 plugin config, for non-game specific settings 2014-08-03 16:14:47 +00:00
adelikat da3f9db018 Make mupen-style lag a setting not a sync-setting 2014-08-03 13:06:53 +00:00
zeromus 532cd76af0 round 2: superior jabo dll handling through shared code, and fix major bug in previous version which made dlls fail to get located sometimes 2014-08-03 05:09:28 +00:00
adelikat 7fa58557a6 N64 - add a menu item for "Mupen style lag" 2014-08-03 01:16:11 +00:00
pjgat09 5e0ba6cd30 N64: Added an IsVIFrame flag 2014-08-03 00:00:26 +00:00
goyuken 8c2e4d7f76 woops 2014-08-01 15:04:20 +00:00
goyuken 56467334b3 gambatte: throw unsupportedmapperexception when appropriate. libsnes: throw cgbexception when trying to load cgb only game in sgb 2014-08-01 14:56:23 +00:00
goyuken 45b8854295 expand use of MissingFirmwareException 2014-07-31 22:06:11 +00:00
adelikat ad5b60f137 Create a MissingFirmwareException in Emulation.Common, and catch this in the Rom loading logic, on the client side, respond to this type of error with a nice message and an option to configure their firmware. Have NesHawk throw this exception when there is a missing FDS Bios. Other cores will need to be implemented this way too at some point 2014-07-31 21:15:07 +00:00
goyuken 9609bf1601 NES: disconnect some bitrotted code for an alternate 6502 core 2014-07-30 16:33:48 +00:00
goyuken 0c0f9eb93a snes9x rough-in 2014-07-28 20:45:21 +00:00
goyuken 9196400b70 nes: MMC5: clean up debug message 2014-07-28 17:51:24 +00:00
zeromus 9b70edb54c jabo check shouldnt depend on PWD for path resolution; add minimally acceptable hacky code to build dll dir based on executing assembly path 2014-07-27 02:13:23 +00:00
zeromus 8d7fec50c1 will this solve the hanging emuhawk process? 2014-07-27 02:11:42 +00:00
goyuken 235f92c82e NES: fix credits sequence in metal slader glory. this may have impact in other MMC5 programs; not tested 2014-07-23 20:15:42 +00:00
goyuken 3e5945660f tidy 2014-07-23 15:45:30 +00:00
goyuken 3218085682 Quicknes: clean up previous commit 2014-07-23 03:02:44 +00:00
goyuken e87f0ceba7 quicknes: use bootgod db to display helpful information about roms (except galaxian). no effect on emulation 2014-07-23 02:48:55 +00:00
pjgat09 5ba1bf425a N64: Commented out the wireframe setting for jabo since it looks like there is no way to set it without opening the dll config window 2014-07-22 00:22:08 +00:00
pjgat09 cddb2a5fc5 N64: Jabo dll is now quietly patched when a rom is loaded 2014-07-22 00:08:57 +00:00
adelikat 2190b15099 snes - a sneaky hack to enforce that compatibility profile is ALWAYS in deterministic mode, and that performance profile is NEVER in deterministic mode, this fixes a lot of undefined and bugged behavior when the deterministic flag gets out of whack with the act of loading a savestate 2014-07-21 19:07:21 +00:00
adelikat 26ef424bdf snes - when throwing an exception about profile mismatches, to let the user know what profile the state was from, and what the current one is, and as a bonus clue us in faster, when garbage data is coming out of a hosed state 2014-07-21 03:05:29 +00:00
pjgat09 a5d57a5a4f N64: Forgot the antialiasing level setting 2014-07-20 19:24:06 +00:00
pjgat09 e86448c825 N64: Cast enum types to int before passing them to the plugin 2014-07-20 19:13:43 +00:00
adelikat f5ff868c50 N64 Sync Settings - remove GetPluginSettings from IPluginSettings and make an extension method, rather than having every plugin implement the same method in the same way 2014-07-20 18:25:47 +00:00
adelikat 15c7dfe269 revert some variable renaming in the glide plugin 2014-07-20 17:49:04 +00:00
adelikat fdf9a97714 pretty up Jabo enum value names, since they show up in the gui 2014-07-20 17:23:04 +00:00
adelikat 4382dc0c9a N64 sync settings - clean up object convert public fields to properties 2014-07-20 17:10:20 +00:00
adelikat 6819459292 N64 sync settings - clean up some stuff and fix the plugin type being a read-only proprty in the new config dialog 2014-07-20 16:59:03 +00:00
xmikecampx7 1342dae39d Fixed Descriptions of N64SyncSettings 2014-07-20 16:32:17 +00:00
xmikecampx7 108dfcbe54 Added N64 Syncsettings Documentation 2014-07-20 16:12:05 +00:00
pjgat09 65345077a8 N64: Fixed sync settings not being passed to the plugins as a result of changing the fields to properties. Jabo setting are now passed. 2014-07-20 16:00:56 +00:00
xmikecampx7 631d4d625d Added DefaultValues and Displaynames to GlideMk2 SyncSettings 2014-07-20 15:05:22 +00:00
xmikecampx7 402f269208 Added DefaultValues and DisplayNames to Glide Sync Settings 2014-07-20 14:57:02 +00:00
adelikat 2928137a20 N64 sync settings - some reorg 2014-07-20 14:33:57 +00:00
adelikat 042e72bfb6 New N64 plugin config settings dialog, including adding jabo settings 2014-07-20 02:57:26 +00:00
adelikat 9e49c29240 pretty up Gameboy setting display names 2014-07-20 00:16:40 +00:00
pjgat09 04f7664ec9 N64: Started fleshing out the jabo sync settings 2014-07-19 21:53:31 +00:00
goyuken 6d551ffb62 quicknes settings beautification 2014-07-19 18:45:20 +00:00
pjgat09 b82c83c188 N64: Added a jabo sync settings stub to be filled in later. Added jabo to the plugin selection dialog 2014-07-19 16:59:27 +00:00
goyuken e55dd02644 i meant to commit this a few days ago? oops 2014-07-17 22:27:09 +00:00
goyuken 1b4a8a0b23 settings cleanup 2014-07-14 16:56:23 +00:00
goyuken fb133da0c5 fix some internal settings infrastructure 2014-07-14 16:10:45 +00:00
adelikat fd80c62cdb More Util methods -> extension methods 2014-07-03 19:20:34 +00:00
adelikat 1c0eca190e Remove some unused extensions, Remove Extensions.cs and move methods into better named files with their own namespaces 2014-07-03 18:54:53 +00:00
adelikat 6cba3568ef More extension reorg 2014-07-03 17:23:03 +00:00
adelikat f546a8080c Move some extension methods from the generic extensions file to NumberExtensions and fix up namespaces 2014-07-03 15:35:50 +00:00
goyuken d83c56a9d8 NES: internal cleanup and commenting 2014-07-02 15:21:42 +00:00
adelikat 0d581613e2 NEShawk - nice button orders for controllers 2014-06-29 21:01:57 +00:00