Commit Graph

578 Commits

Author SHA1 Message Date
scrimpeh 69d0d813eb NEShawk - Mapper 17, small adjustments 2015-09-27 14:42:32 +02:00
scrimpeh d8c49a7d6d NEShawk - Mapper 17 (FFE copier hack) 2015-09-27 14:31:50 +02:00
scrimpeh 86b1ab5282 NEShawk - Mapper197 2015-09-26 15:33:56 +02:00
scrimpeh 62ba39b633 NES - Mapper 90 - Implement CHR Latch Logic, makes Punch-Out (Unl.) and various others playable. 2015-09-24 21:06:11 +02:00
zeromus a31492a57f Revert "neshawk - change ppu poweron process (fixes time lord, breaks ? ? ?)"
This reverts commit d012dd831f.

We'll do this after the next release, along with some other major timing stuff.
2015-09-22 00:33:23 -05:00
zeromus d012dd831f neshawk - change ppu poweron process (fixes time lord, breaks ? ? ?) 2015-09-20 20:49:04 -05:00
zeromus ee0992158d neshawk&quicknes: properly support using 512 byte palette files deemph entries instead of just ignoring them 2015-09-13 14:09:57 -05:00
adelikat 43f86b5698 Cleanup up previous mapper 119 stuff 2015-09-07 22:42:08 -04:00
adelikat 44d7eeda0b NESHawk - support some junk 119 roms 2015-09-07 22:01:11 -04:00
adelikat ae3511bcf9 NESHawk - support Dragon Quest III 2015-09-07 20:26:03 -04:00
zeromus 1ced59c21e neshawk: fix bottom-left-corner in dw4. I tried to fix this in the least blecky way possible, but it wasnt the smallest possible change. Smallest possible change would be simply to add a PPUOFF check around the wacky code. 2015-09-06 12:02:22 -05:00
adelikat 46d847875d NESHawk - implement board UNIF_BMC_Supervision16in1 2015-08-30 09:58:49 -04:00
adelikat 724c4b748b NESHawk - implement mapper 53 (multicart junk) 2015-08-30 09:41:41 -04:00
adelikat f46eb21c93 Remove hack that attempted to support mapper 219 badly, better to not support it 2015-08-29 13:02:25 -04:00
adelikat 3f847b7b6f Map Mapper 255 to 225 in accordance with http://problemkaputt.de/everynes.htm
Also, remove documentation and replace with wiki link
2015-08-28 22:23:48 -04:00
adelikat defdfa6e2e NESHawk - fix mapper 164 2015-08-25 20:11:32 -04:00
adelikat 858834ae94 NESHawk - mapper 91 - set mirroring based on cart info, fixes all mapper 91 games that need vertical mirroring 2015-08-25 17:07:43 -04:00
adelikat 45dfee6605 add MAPPER119 designation to TQROM 2015-08-25 17:07:42 -04:00
nattthebear 56ec186b3f For iNES v2, attempt to detect pal/ntsc region from header 2015-08-25 16:19:50 -04:00
adelikat ba8860b1c5 NESHawk - fix mapper 60, including dipswitches 2015-08-24 22:49:57 -04:00
adelikat 4723ec8acc NesHawk - MILLIONS OF MOAR GAMEZ!!! 2015-08-23 22:36:15 -04:00
adelikat 2e6ba68327 NesHawk - TEN MILLION IN ONE!!!111 2015-08-23 22:26:10 -04:00
adelikat 9846b3a050 NESHawk - implement board UNIF_BMC-D1038 2015-08-23 17:05:00 -04:00
adelikat 535a307e27 NESHawk - implement board UNIF_BMC-8157 2015-08-23 16:20:12 -04:00
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 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
adelikat 5bcdfb5991 IInputPollable - remove the set on LagCount as it is not needed 2015-06-11 01:23:14 +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
goyuken 9fef38dfd6 NES FDS: Fix showing "Good dump" all of the time 2015-03-28 15:42:02 +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 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
goyuken 8bf7c960cf some stuff, not ready yet 2015-02-19 03:16:33 +00:00
goyuken 2c09c10721 memory domain: silent pokes 2015-01-25 20:10:19 +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 292f71e9c9 make INESPPUViewable an IEmulatorService 2015-01-23 21:46:23 +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 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 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 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
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
goyuken 3710e6c1ca itoolformautoconfig: fix save position 2015-01-01 21:01:42 +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
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 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 10e38e7bc9 fix BANDAI FCG 1 Boards without barcode reader 2014-12-14 17:19:54 +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 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
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 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
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 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
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 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 1832894405 IDebuggable - GetCpuFlagsAndRegisters() - refactor to make it an IDictionary instead of Dictionary 2014-11-23 16:22:02 +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 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
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 1d383a62cc romloader stuffs, nag me if it breaks anything, i don't think it breaks anything 2014-08-23 19:06:37 +00:00
zeromus 2a66a0672a load 512-entry palettes, but dont do anything with them yet 2014-08-14 15:52:25 +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 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
zeromus 04255670f7 neshawk (MMC5) - fix uchuu keibitai SDF; fixes bug #232 2014-08-04 02:59:08 +00:00
goyuken 78d1e95791 settings cleanup 2014-08-03 22:09:08 +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 9196400b70 nes: MMC5: clean up debug message 2014-07-28 17:51:24 +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
adelikat fd80c62cdb More Util methods -> extension methods 2014-07-03 19:20:34 +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
goyuken 6f84abb81e slap some comments on the NES controller stuff 2014-06-22 00:44:36 +00:00
adelikat 1c0f8674c3 SetCpuRegister() - don't cast PC reg to byte! Implement on SMS, Coleco, and TI-83 2014-05-31 18:25:36 +00:00
adelikat 51660dd023 Add SetCpuRegister() to IEmulator. Implemented it in Atari 2600, 7800, C64, Neshawk, and technically dual gameboy (passes it to L and R where it will fail). The rest throw NotImplementedExceptions. Lua - add emu.setregister(), catches NotImplementedExceptions and informs the user. 2014-05-31 17:03:21 +00:00
goyuken 299c27ae6e NESHawk: fix desync bug when using reset or power and frame precise save/loadstate 2014-05-26 01:29:00 +00:00
goyuken 59440c1d4d NES stuff 2014-05-23 15:10:14 +00:00
goyuken 6f9211167c neshawk: pirate fix 2014-05-21 22:29:14 +00:00
adelikat e96b81d7ab Rip out some "movies 1.0" hacks 2014-05-18 16:28:56 +00:00
goyuken 0ec92e626e nes: make full_nes_palette.nes test work. colors still look a bit funky though 2014-05-15 23:25:49 +00:00
goyuken 3405369d58 neshawk: fastererer 2014-05-14 15:46:16 +00:00
goyuken 3fa2b4629c NES: switch to quicknes palette as defaut 2014-05-13 23:26:39 +00:00
adelikat f697a52c56 Fix a few warnings 2014-05-10 20:00:30 +00:00
goyuken 663aeaf5eb NES: add mapper31, fix a few small bugs with mapper30. thanks to caitsith6502 for patch 2014-05-03 17:23:28 +00:00
goyuken b0970451aa internal infrastructure for video presentation changes (aspect ratio, apparent size, etc) 2014-04-30 23:48:37 +00:00
goyuken fd5b7263ea NES - MMC5 - head off some possible peek nondeterminism problems before they occur 2014-04-30 20:32:13 +00:00
goyuken 9909b972fb NES: fix nondeterminism in tracelogger when execution passes over $2007 (or mirrors) 2014-04-30 19:43:55 +00:00
adelikat de1cb218a6 Add more info to IEmulator CoreAttributes, add status bar icon that gives the name of the current core with a tooltip with additional info, put bizhawk icon on "in house" cores, and the icon of the ported emulator on ported cores. Still todo: icons for ported cores other than quicknes 2014-04-25 01:19:57 +00:00
adelikat c74019a54d Add a CoreAttributes class with a CoreName field, and apply it to all cores, when recording a new movie, add a core header line that captures this name 2014-04-22 00:38:59 +00:00
adelikat a61ff53d9c Change IEmulator.GetCpuFlagsAndRegisters() to a Dictionary, fix a warning, throw NotImplemented exceptions in cores that don't implement this method rather than returning an empty list. Start Debugger UI User Controls 2014-04-19 22:23:13 +00:00
goyuken 53d3abb4f6 NES: Zapper: fix up the light detection formula a bit. the real thing is hopelessly dependent on a bazillion analog factors with wide environmental variability... 2014-04-16 21:04:07 +00:00
goyuken 47b1e3ae49 I AM MASTER OVER DOG 2014-04-16 02:11:22 +00:00
goyuken 5f66376f82 implement caitsith6502's mapper 30 support patch (with a few minor cleanups). fixes issue 153 2014-04-11 15:01:22 +00:00
goyuken 29475fb24d nes: misc blah 2014-04-09 22:23:19 +00:00
goyuken 8c7b1da678 NES: fix two regressions from previous commit; one broke all UNIF, and one broke some sachen boards 2014-04-09 19:39:04 +00:00
goyuken 58079850ae NES -- rework autodetection code in preparation for iNES 2.0 support. this commit likely breaks some things; exhaustive testing to come 2014-04-09 18:13:19 +00:00
goyuken 67fdb46ca2 workaround issue 146 2014-03-23 15:00:56 +00:00
goyuken 4c448e6858 NES: speed up new controller routines. significant overall speedup in occasional crappy games that constantly poll the controllers 2014-03-19 23:22:06 +00:00
goyuken aa2fce885e nes: axrom: support 512K oversize 2014-03-19 16:06:51 +00:00
goyuken 60361d9bd4 support a homemade UxROM multicart board 2014-03-15 19:54:48 +00:00
goyuken b02574829d nes: fix vaus controller 2014-03-14 23:03:03 +00:00
goyuken 65b1397198 NES: fix the famicom 4player adapter 2014-03-14 21:51:40 +00:00
goyuken b2eef124e2 nes: controller infrastructure 2014-03-05 04:08:24 +00:00
goyuken 804fed9375 NES: infrastructure stuff 2014-03-04 23:18:10 +00:00
goyuken 92c934b9a9 nes: squeeze a few more percent out of the nametable viewer 2014-03-01 23:43:04 +00:00
goyuken 1fbc833361 NES: fix some CNROM games. dunno how they got broken? 2014-03-01 16:58:01 +00:00
goyuken f346b604d4 NES: support CAMERICA-GAMEGENIE (partially). you can't actually use it; it's mostly for documentation purposes. 2014-03-01 00:02:53 +00:00
goyuken 65accb7c94 woops 2014-02-28 04:16:54 +00:00
goyuken 3ffde6b88a NES: rework controller infrastructure. zappers and such will be coming soon now 2014-02-28 04:05:36 +00:00
goyuken f1cd0b888f never fear; you'll be able to use your ddr pads to play final fantasy soon enough 2014-02-27 23:34:56 +00:00
goyuken 5227a5a05d more unfinished controller infrastructure 2014-02-27 20:59:10 +00:00
goyuken dcb2098055 NES: fix some peek memory semantics 2014-02-27 20:58:00 +00:00
goyuken f1a81e8462 fix comment 2014-02-27 04:04:55 +00:00
goyuken 8d2b644686 stuff, not done yet 2014-02-27 04:02:58 +00:00
goyuken 7a9eb9f6cb change some memory domains to exception out on out of range access instead of silent masking 2014-02-26 20:18:48 +00:00
goyuken fa9f1c69b8 nes: fix bug with loading UNIF files with no chr rom.
nes: support mapper "FS304" (UNIF only)
2014-02-26 03:09:54 +00:00
goyuken f6c1c7eba2 NES: PPU Viewer: support MMC5 ExAttr mode 2014-02-25 22:54:25 +00:00
goyuken b1dc3f0f48 nes: mmc5: fix uncharted waters, and presumably some other 16K WRAM games 2014-02-24 01:01:15 +00:00
goyuken cdd19396d4 nes: mmc5: implement NT fill mode. fixes "flying through clouds" level intro to laser invasion 2014-02-23 23:03:44 +00:00
goyuken 17f64cf8f5 nes: MMC5: fix exram extended attribute mode for CHR ROMs larger than 256KiB? hard to tell 2014-02-23 16:22:30 +00:00
goyuken cb898334ac remove debug statement accidentally left in previous commit 2014-02-22 04:01:00 +00:00
goyuken 220dabafb7 NES: fix major league for change in database autism 2014-02-21 23:31:44 +00:00
goyuken 223116252b NES: sunsoft 1: clarify code, no emulation changes 2014-02-19 16:33:59 +00:00
goyuken 420bbc2c4c NES: pedantic more correct emulation of Fantasy Zone (J). of no interest to anyone. 2014-02-17 18:02:21 +00:00
goyuken 8a34ce3d0b NES: fix Shanghai (J) 2014-02-17 17:46:26 +00:00
goyuken 02762576aa VRC6: support arbitrary romsize through ines identification 2014-02-17 04:15:15 +00:00
zeromus 7b354ef8b9 change NES board analysis to prioritize gamedb. this would allow users to control the operations, instead of nescartdb always taking control. not sure if this is OK, but I think it is. 2014-02-16 06:16:55 +00:00
goyuken 4a2f28d89f nes: vrc6: correct some problems with the most recent commit 2014-02-15 22:12:46 +00:00
goyuken c333e2f6f3 NES: take a stab at the VRC6 clusterfuck (thanks, obama!). speed loss of about 2%. as far as we know, no game ever used any of these features. 2014-02-15 18:45:52 +00:00
goyuken b294c69046 NES: MMC1 code cleanup, no changes 2014-02-13 18:14:01 +00:00
goyuken e5102c1f02 NES: fix speed regression of last commit 2014-02-12 22:25:36 +00:00
goyuken 4ada3b4973 NES: fix tracelogger for first instruction of NMI or IRQ. also make it obviously indicate that an NMI or IRQ has occurred 2014-02-12 22:01:23 +00:00
goyuken 4875831fb9 nes: rename NAMCOT_m19_m210.cs to better match its new function 2014-02-06 23:15:52 +00:00
goyuken 25e7355fe4 NES: region override. now you can add Subor Style to all of your favourite games 2014-02-06 02:06:17 +00:00
goyuken 20bf3b34e0 NES: VRC2: correct emulation details (no effect in any game) 2014-02-05 16:19:55 +00:00
zeromus 50f685c67f fix compile error due to [NES.INESBoardImplPriority] assignment in wrong place 2014-02-04 20:44:27 +00:00
goyuken a9799f4716 NES: finish previous commit 2014-02-04 03:58:48 +00:00
goyuken 6d53152a7f NES: reorder boards slightly to shave them nanoseconds off boot time 2014-02-04 03:51:17 +00:00
adelikat d81f2effb5 fix a warning 2014-02-03 16:59:30 +00:00
goyuken 74fb9f37ff NES: add internal SRAM to Taito X1-017. all games on that board seem to have battery backed sram, so that works now. Kyuukyoku Harikiri Koushien seems to be nonfunctional though?? 2014-02-03 16:31:14 +00:00
goyuken 508a60c737 NES: add proper WRAM to Taito X1-005. should fix saveram on Kyonshiizu 2, Kyuukyoku Harikiri Stadium, Minelvaton Saga: Ragon no Fukkatsu, Mirai Shinwa Jarvas, Taito Grand Prix: Eikou e no License.
also fold mapper 207 into mapper 80 for simplicity
2014-02-03 16:05:19 +00:00
goyuken 5be10ff8d5 NES: add mediocre support for mapper158 (but all of the alien syndrome roms i've seen in the wild are marked mapper118, so...) 2014-02-03 15:13:24 +00:00
goyuken a21c1a144c nes: mapper 218: minor code cleanup ( no changes ) 2014-02-03 15:03:34 +00:00
goyuken 339cceaca3 nes: finish cleanup on namcot 129/163 2014-02-02 20:05:09 +00:00
goyuken 63a1be2a70 NES: change namcot 163/129 to conform to more accurate modern knowledge of how the chip works. probably doesn't affect any games? 2014-02-02 17:06:48 +00:00
goyuken c3df573698 continue previous commit 2014-02-02 16:30:04 +00:00
goyuken 99af51b883 nes: move namcot175&340 to their own class, and change a few things. fixes bad mirroring in some games 2014-02-02 16:23:35 +00:00
goyuken 41fe0b56d7 NES: fix off by one in the "Clip Left and Right" setting 2014-02-01 16:57:20 +00:00
goyuken a9e4baa380 NES: support worthless garbage 2014-01-31 04:15:18 +00:00
goyuken ba163b5c08 NES: support mapper 95 and 206 hashless dumps 2014-01-29 22:16:49 +00:00
goyuken b1dc947794 NES: send unidentified mapper004 games with iNES 4screen flag set to TVROM. i don't like doing this, but it causes no issues in current GOODNES (the one rom it breaks we have covered by bootgod). fixes some of the most pivotal works of the 20th century, like Gauntlet (Nude Valkyrie Hack) and Gauntlet XXX 2014-01-26 17:21:50 +00:00
goyuken 704d269073 nes: fds: make some slight adjustments to audio based on new information. ai senshi nicol still sounds like a cheese grater 2014-01-26 17:09:08 +00:00
goyuken f734665f67 nes: remove unused variables in mapper087 2014-01-26 16:34:04 +00:00
goyuken ef37bfd0c7 nes: misc code cleanup (what was this anyway? leftover of some debug thing?) 2014-01-25 19:48:59 +00:00
goyuken 5df77aac29 small bug in yesterday's sachen stuff 2014-01-24 14:47:18 +00:00
goyuken 7560367f4e add a few more board IDs; we now respond to every board in nescartdb (although some don't work or are partially implemented, of course) 2014-01-24 03:05:41 +00:00
goyuken 1362c43b99 REVENGE OF THE SACHEN
QUAD KILL
2014-01-24 02:32:24 +00:00
goyuken d2f8c5b621 NES: a few more board fixups 2014-01-23 23:32:53 +00:00
goyuken ac91203a7f add some more bootgod board IDs. i don't have most of these roms myself, so these are untested 2014-01-23 23:08:56 +00:00
goyuken 214142b496 NES: Warn in load report if an iNES rom is marked as trainered. Unless the flag marking itself is wrong, there is a 100% chance that such a rom won't work on neshawk; which is fine. 2014-01-23 00:09:05 +00:00
goyuken 6df5ea5a16 NES: NROM: exhaustively add all NROM boards from bootgod, so hopefully that's the end of that 2014-01-22 16:31:33 +00:00
goyuken 0e1f3e4501 NES: fix db snafu that prevented afrom man from running 2014-01-22 02:06:33 +00:00
adelikat 7393f132ab Move CPUs from Emulation.Common to Emulation.Cores 2014-01-22 01:14:36 +00:00
goyuken 2865c56179 nes: attempt to support super mario bros 13 (nonfunctional at the moment) 2014-01-22 01:07:54 +00:00
goyuken b39577cc51 NES: support more mapper 118 roms without hash.
NES: detect a hashless mapper 001 rom with 512KPRG as SUROM.  should be no negative side effects, and fixes some translations of SUROM games.
2014-01-21 23:01:38 +00:00
goyuken 8bf8213a7d NES: truncate if a iNES file's supposed VROM size is longer than the leftover length of the iNES file. seems to fix some hacks\translations 2014-01-21 22:29:51 +00:00
goyuken 3889d687d1 NES: correctly treat audio ram on Namco 163 as battery backed when the board has a battery and there's no WRAM. fixes King of Kings saving, amongst others. 2014-01-21 22:22:24 +00:00
goyuken 3c357a7d83 nes: try (and fail) to support some bad dumps of FAMICOM JUMP 2. meh. the good one works anyway.
batchrunner: keep track of number of lag frames and print to output
2014-01-21 19:08:11 +00:00
goyuken 038e5a9525 NES: Support mapper 196 (super mario bros 11, super mario bros 17, and "super mario bros jurassic park") 2014-01-20 17:47:29 +00:00
goyuken d1bc64d948 nes: vrc7: minor clarification 2014-01-20 05:55:38 +00:00
goyuken 90a8805a5f VRC7: fix Super Mario Bros 14 (Unl) [!]. fix no wram battery on common Lagrange Point dump. 2014-01-20 02:12:02 +00:00
goyuken 53d2f5a9c9 nes: vrc 2 & 4: fix some stuff. all nescartdb dumps should now work, as well as a decent number of unidentified iNES dumps 2014-01-19 23:06:42 +00:00
goyuken 316a61bbb5 NES: support Famicom Jump 2, featuring http://www.youtube.com/watch?v=HYMnmymg1n0&t=1m10s 2014-01-19 19:55:32 +00:00
goyuken 634df83724 NES: rework bandai FCG a bit, to add support for some iNES identified roms (mapper 16, 159). JUMP-2 (aka mapper 153) is not supported, but will be eventually. Datach daughterboard games (aka mapper 157) are poorly documented and dumped, so can't do anything there now. 2014-01-19 19:04:44 +00:00
goyuken 6176b722e9 nes: mapper 90/209: fix a bug, but nothing runs still 2014-01-19 18:00:06 +00:00
goyuken 16c0065635 nes: support some mmc1 proto carts 2014-01-18 16:16:24 +00:00
goyuken 6c4b1ed2da nes: fix esper bouken tai, ff2 (U) 2014-01-18 15:57:43 +00:00
goyuken 77e87688c3 NES: fix CPROM with bad dumps. also fix small mainform menu bug with core selection 2014-01-18 15:36:35 +00:00
adelikat 1f7f5fb6d4 remove todo and support NAMCOT-3405 (testing confirms Side Pocket and Super Xevious work well) 2014-01-18 15:28:39 +00:00
adelikat ff840c9cba NES - support HVC-TBROM (Super Sprint (J)) 2014-01-18 15:14:34 +00:00
adelikat 7e67b41128 fix R.B.I Baseball (Tengen) [!] - This commit is worth a peer review 2014-01-18 14:52:16 +00:00
adelikat 40494419a6 Pro Yakyuu - Family Stadium '87 (J) [!] (threw a TODO - test exception, results: works great) 2014-01-18 14:42:06 +00:00
adelikat 2809b91038 support HVC-TLSROM (Armadillo J) 2014-01-18 13:49:48 +00:00
adelikat 92687cfc05 NES - fix Ys English translation hacks 2014-01-18 13:34:13 +00:00
goyuken f36b213eae diiig duuug toooo 2014-01-18 05:38:21 +00:00
goyuken 2370ab0886 NES: fix a few problems were bad dumps were crashing mappers and such. actually fixes a game or two, too. 2014-01-17 22:55:48 +00:00
goyuken 9e6d364b18 nes: rewrite mapper 76 (sorry, but something wasn't working right, and the file had a rather high ratio of OOP complexity to actual mapper complexity) 2014-01-17 22:21:33 +00:00
goyuken c8459c1296 nes: fix r2299 2014-01-17 22:02:07 +00:00
goyuken c08183f082 NES: internal debugging infrastructure. when compiled in debug mode, throw if two boards both respond to configure. (in release mode, we short circuit there for speedup). also fix zeromus's fat fingers from r2011 2014-01-17 19:53:57 +00:00
goyuken f669279cae NES: fix stuff 2014-01-16 00:22:40 +00:00
goyuken 0ca5cf12a1 NES: more rom fixes 2014-01-15 23:27:02 +00:00
goyuken 69a4d2d327 neshawk: add mapper 29. some sort of homebrew? nothing to test it on 2014-01-15 18:28:21 +00:00
goyuken 1ad4d0ee2a neshawk: hook up some more board names 2014-01-15 18:18:49 +00:00
goyuken dc9d69958f NEShawk: fix a bunch of games, mostly (J) 2014-01-15 17:00:02 +00:00
goyuken c3a5d766e4 nes: fix mapper 87, which was failing to run most of the nescartdb games listed for it. make mapper 101 more resilient with homebrew (which is all that it's used for, if anything) 2014-01-14 22:13:02 +00:00
goyuken 6aa6e5d1a5 neshawk: remove mapper 99; it's left over vs system cruft 2014-01-13 17:00:44 +00:00
goyuken d037f67e28 NES: mapper 225: fix potential memory corruption bug (hard to tell if any games actually exercised it) 2014-01-13 15:59:05 +00:00
goyuken 324f3c77a9 NES: fix mapper 113 with latest in nesdev information 2014-01-12 16:19:14 +00:00
zeromus 25d7a7e2fa neshawk-fix bill&ted MMC1 PRGmode %00 bug 2014-01-11 22:53:31 +00:00
goyuken f98fa2bdbc NES: Mapper 222, except it's broken 2014-01-11 17:28:09 +00:00