Commit Graph

71 Commits

Author SHA1 Message Date
adelikat ebcd237858 Merge branch 'master' into domainedmemoryhooks 2017-10-29 12:38:29 -05:00
alyosha-tas cf9bfbe726 Update ColecoVision.cs 2017-10-25 19:17:00 -04:00
alyosha-tas 9d9133720c Add files via upload 2017-10-13 18:00:08 -04:00
alyosha-tas ce6dcab323 Add files via upload 2017-10-13 17:50:54 -04:00
alyosha-tas 0d8b9c42cc Add reset button to colecovision
Fixes #992
2017-10-06 10:51:40 -04:00
adelikat 04ce66c397 phase 1 of changing memory callback api to specify domain - require cores to specify which domains are available and have the domain passed in when creating callbacks. Still todo - cores need to pass in domain name on CallReads/Writes/Executes methods 2017-08-01 22:05:17 -05:00
adelikat c6e0e9fa57 Rename CoreAttributes to CoreAttribute as to not be a bad person 2017-07-12 14:10:55 -05:00
adelikat ae8f44096a oops, fix colecovision 2017-05-08 21:07:12 -05:00
adelikat 01eb150b3d ColecoVision - cleanup 2017-05-08 11:37:16 -05:00
adelikat d7928377f2 ColecoVision merge MemoryMap.cs into ColecoVision.cs 2017-05-08 11:31:00 -05:00
adelikat 44ef1f9568 ColecoVision - break off IEmulator properties to their own file, move Input.cs code to ColecoVision.cs 2017-05-08 11:29:09 -05:00
adelikat c33fbfddf4 Colecovision - virtualpad support for new controller options 2017-05-07 10:04:15 -05:00
adelikat 1dae91e6a8 clean up core constructors - consistent parameter casing, and put them at the top of the class 2017-05-05 19:05:36 -05:00
adelikat 698c6741ae Refactor IEmulator and remove the IController property, instead pass it as a paramter to the FrameAdvance() method 2017-05-01 20:09:11 -05:00
adelikat ded1c2d7b7 Break off BoardName from IEmulator into a separate IBoardInfo service 2017-04-30 21:01:54 -05:00
adelikat 3192cc70ae slight refactor to IEmulator - make the IController property set only to more clearly express the client -> core relationship 2017-04-26 19:09:00 -05:00
adelikat b16a9b12ff remove an unused variable in Colecovision 2017-04-24 12:55:43 -05:00
adelikat 7f663a0ed6 misc. cleanup for Coleco and Intellivision 2017-04-24 12:24:56 -05:00
J.D. Purcell b53502eed8 Spaces -> tabs. 2017-04-15 16:37:30 -04:00
adelikat 37c989c661 more misc code cleanups, with some C#6isms 2017-04-10 11:24:53 -05:00
alyosha-tas a7f5bafb72 ColecoVision clean up Super Action Controller
wheel mostly works now.
2017-03-23 10:40:32 -04:00
alyosha-tas 3bf20a4c53 ColecoVision add Super Action Controller
Thumb Wheel is still broken, I think Interrupts are wrong but I can't find a good source of information about them.

Rest of the controller works though.
2017-03-22 21:26:51 -04:00
alyosha-tas d87d5eb0e0 Coleco Turbo Controller Functional 2017-03-02 11:58:36 +08:00
alyosha-tas 39808f793d Coleco Turbo Controller 2017-03-01 10:44:05 +08:00
adelikat da5795255c Wire up Colecovision sound 2016-12-11 11:33:33 -06:00
adelikat b73a500d6b Major sound provider refactor. Create a unified interface ISoundProvider, that is an IEmulator service and break it off of IEmulator. IAsyncSoundProvider was kept as a shim for now, for legacy cores that were inherintly async. 2016-12-11 11:15:00 -06:00
adelikat b697110098 Rename ISoundProvider to IAsyncSoundProvider to more accurately describe what the service does 2016-12-09 10:24:43 -06:00
adelikat 5cd11d0bb4 Move Sound component objects from Emulation.Common to Emulation.Cores so they live in the same assembly as the calling cores 2016-03-04 08:37:09 -05:00
adelikat d477bc1fb6 nice Trace header for SMS, and Coleco 2016-02-28 08:07:02 -05:00
adelikat 1635cf9b30 Trace logging support for ColecoVision 2016-02-24 20:41:55 -05:00
adelikat 5bcdfb5991 IInputPollable - remove the set on LagCount as it is not needed 2015-06-11 01:23:14 +00:00
zeromus e7564f11ae fix coleco sound which had got unhooked 2015-04-12 05:52:40 +00:00
adelikat 3589323ca1 Fix the coleco core that was crashing on start up 2015-03-05 01:17:43 +00:00
goyuken 7017168ee3 coleco: clean up corefileprovider usage 2015-02-05 23:09:37 +00:00
adelikat c9cbac7021 Colecovision - implement the disassembler and memory read/write/execute callbacks 2015-01-24 21:08:20 +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 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 3ded6116a6 Break up ColecoVision.cs into separate files 2014-12-05 03:16:08 +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 9adc45f4d1 Add a ServiceNotApplicable attribute for cores to mark things like SaveRam and ISettable as not applicable for the given core, update the CoreFeatureAnalysis dialog to not show these interfaces for the given core (and not mark them as incomplete). Set various cores accordingly 2014-11-30 23:41:54 +00:00
adelikat fef1011e9b oops, Coleco is IStatable 2014-11-30 20:34:51 +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 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 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