Commit Graph

144 Commits

Author SHA1 Message Date
zeromus 29b217b587 big discsystem refactors and preliminary CCD handling. not to be considered stable, but ill start supporting it. 2014-12-04 05:40:10 +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 ef1ef251b6 gpgx: remove input todo 2014-12-04 03:31:26 +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 c7c038b7ca add more interfaces that got missed 2014-11-30 20:38:15 +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
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 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
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 9c30cea1dd fix issue 277 2014-10-07 22:20:17 +00:00
goyuken f9baa5e8e4 genesis: change initial frame 0 size of video display 2014-09-22 19:35:00 +00:00
goyuken 0d69b77507 issue 270 2014-09-22 14:24:11 +00:00
goyuken 489d69d20c genesis: make the vram memory domain properly invalidate the tile cache and the vdp viewer properly regenerate the tile cache. may or may not fix issue 265. 2014-09-19 23:56:08 +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
goyuken 93eb656eba gpgx: account for the fact that rom and ram are emulated with 16 bit swaps 2014-09-08 14:50:36 +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 79b741b869 sms: use standard message when bios is required but not supplied 2014-08-25 00:14:14 +00:00
goyuken 0e37b01a88 polish up r7867 slightly 2014-08-23 19:16:47 +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 ceae8d71b5 memory domain: minor refactor and cleanup 2014-08-15 21:21:17 +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 4deda7eb91 settings cleanup 2014-08-03 22:19:55 +00:00
adelikat 05c0f0d1d5 Saturn - ditto 2014-07-20 00:31:01 +00:00
adelikat 0e12d5cdc3 pretty up Genesis setting display names 2014-07-20 00:26:42 +00:00
goyuken fb133da0c5 fix some internal settings infrastructure 2014-07-14 16:10:45 +00:00
adelikat f5209ccfa2 Profile config - fix getting of sync settings from non-instantiated cores 2014-07-14 11:48:28 +00:00
goyuken 0f6dbd5570 genesis: merge r874 from upstream (sprite corner-case fix) 2014-07-11 18:55:43 +00:00
goyuken e660937c46 genesis: layer draw toggles 2014-07-11 18:51:26 +00:00
goyuken 00d31f41e1 genesis: grab r859 and r872 from upstream 2014-07-05 01:54:19 +00:00
zeromus 9e1c678b4a TIMEUP! fix GPGX core revision metadata from r580 to r850 which is the actually correct value 2014-07-05 01:17:11 +00:00
goyuken 60e47b6514 genesis: fix mouse analog range 2014-07-04 00:18:50 +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 47514784eb Separate stream and writer extensions to an IOExtensions object and namespace 2014-07-03 17:13:09 +00:00
adelikat 467f8da2fb Convert StringHelpers into extension methods, and merge into StringExtensions, change namespace of string extensions 2014-07-03 15:05:02 +00:00
adelikat 1f7a79d4ea Saturn - reorder buttons 2014-06-29 13:20:30 +00:00
goyuken f0d846a0ba gpgx: support activator and xepp1ppxepxep1ppxep1pxepe1p1p1apexep`1p 2014-06-27 17:15:30 +00:00
goyuken 8b1735ce24 geneis: fix lightguns with variable screen resolutions 2014-06-27 02:55:14 +00:00
goyuken 142f893df8 genesis: menacer 2014-06-27 02:39:24 +00:00
adelikat 2f214dad71 Game Gear - fix typo in last commit of mine that caused Start to not work, and add default mappings for GG buttons 2014-06-27 02:24:18 +00:00
goyuken 3ab7610da3 genesis: fix settings snafu. make mouse work; seems to be minimally functional in nobunga's ambition 2014-06-27 02:22:23 +00:00
adelikat 179a5c3bb4 Different controller definition for Game Gear than SMS, since game gear is 1 player and has a start button and no pause button 2014-06-27 02:09:17 +00:00
goyuken 41d7302f25 better 2014-06-26 21:33:01 +00:00
goyuken ee0ca870ff gpgx: contrl infrastructure 2014-06-26 21:31:38 +00:00
goyuken e520b11552 ganasis: support memory callbacks (exec, read, write). writes and reads don't fire on a certain class of PC relative load\store which includes immediates but possibly other stuff and i didn't unravel it all... 2014-06-21 17:20:18 +00:00