Commit Graph

471 Commits

Author SHA1 Message Date
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