Commit Graph

49 Commits

Author SHA1 Message Date
adelikat 8ad021c6fd Intellivision - implement memory callbacks 2017-04-23 13:28:40 -05:00
adelikat 71f33e53f5 Intellivision - nitpick - let the controller deck assign Power and Reset 2017-04-23 12:41:11 -05:00
adelikat 4b695e2820 Intellivision - implement IDisassemblable 2017-04-23 12:30:41 -05:00
adelikat d03577ade6 Intellivision - partially implement IDebuggable - flag/register getting and setting, and TotalExecutedCycles 2017-04-23 12:30:41 -05:00
adelikat 30aa86cd7e Intellivision - more cleanup 2017-04-23 11:10:26 -05:00
adelikat 0f36bce22a Intellivision - actually support lag variable setting, and some misc cleanup 2017-04-23 10:53:26 -05:00
alyosha-tas ae27d0ae94 Intellivision add Power/Reset
Also fix Aspect ratio
2017-03-05 18:45:32 -05:00
adelikat 61e8b51802 Intellivision - mark the core as released, add alyosha as an author, and add the framerate entry to PlatformFrameRates 2017-02-18 15:01:09 -06:00
alyosha-tas fc96fe2cba Intellivision track lag 2016-12-27 16:31:33 -05:00
alyosha-tas 138f7b140d Add in inputpollable stuff to Intellivision
Should be TASable now
2016-12-19 20:20:10 -05:00
alyosha-tas c6d8666f23 Intellivion copy paste enough stuff to get the sound working
Sound now fully implemented including in savestates
2016-12-13 12:26:56 -05: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
alyosha-tas fc8ac3b190 Intellivision fix controller ports
They are apparently reversed. This fixes numerous games.
2016-12-10 18:56:35 -05:00
alyosha-tas 91f36bf638 Intellivision Partial audio
Still has some bugs and is missing envelope but its getting there
2016-12-09 23:00:40 -05:00
adelikat 538630f957 Intellivision - document a non-applicable emualtor service 2016-12-08 13:06:20 -06:00
alyosha-tas 89940b85af Intellivision wire up sound system 2016-12-07 20:49:47 -05:00
adelikat 2cf14db2ec Intellivision - add IStatable to Intellvision.cs, because it is nice to have all the interface implementations in one place 2016-12-07 12:35:46 -06:00
adelikat 5665de1797 Intellivision - add a "Fake analog" controller as the default controller for easier binding for casual play, but also leave a boolean option as well for more precise (TAS) control. Add a controller config dialog to select them. 2016-12-03 17:44:25 -06:00
alyosha-tas 68028d9c1d Stop logging all the time 2016-11-12 16:09:51 -05:00
adelikat ae8caf4546 Intellivision - set up memory domains service, with a few domains that were easy to do 2016-11-12 14:08:05 -06:00
adelikat e44493d9fb Intellivision - wire up trace logger to the core. Currently does nothing since the TraceCallback in CP1610 needs to be wired up in the object in the right places 2016-11-11 16:17:35 -06:00
alyosha-tas 65e43ca1c4 Initial Intellivison commits
Test game: Armor Battle
2016-11-11 16:47:55 -05:00
adelikat 212f94814d Intellivision - misc reorg 2015-06-18 16:44:30 +00:00
goyuken 723a90fb30 intellivision - clean up corefileprovider usage 2015-02-05 23:07:48 +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 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 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 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 72cf4ed5e1 Intellivision - mark not implemented stuff 2014-11-24 01:05:47 +00:00
adelikat bded999177 Create a FeatureNotImplemented attribute, the intend of which is to apply to any unimplemented method of an ICoreService method/property, set some methods in Intellivision to this, and have CoreFeatureAnalysis look for the presence of this attribute and report unimplemented properties/methods 2014-11-24 00:38:29 +00:00
adelikat c9958748f1 Intellivision - remove IMemoryDomain and method, since it simply throws a NotImplementedException 2014-11-23 17:22:43 +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
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
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
adelikat 01ba63dd09 Coleco/Intellivision - Replace patterns like "Key0" with "Key 0" in button names for consistency and remove a hack in bk2 code that accounts for it 2014-06-29 12:32: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
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
adelikat 7393f132ab Move CPUs from Emulation.Common to Emulation.Cores 2014-01-22 01:14:36 +00:00
goyuken d37796ab1c more new core config framework; this time GAEMBOY 2013-12-23 02:51:41 +00:00
goyuken bd205f47dc update our newtonsoft json.net to version 5.0 release 8. this fixes up abstract class handling so that the CoreSettings can work correctly.
tweak Binding, RecentFiles, and PathEntry to work with the new serializer.  on updating to this revision, you should be able to keep all config.ini settings except for hotkey bindings, path layouts, and recent files list.
start implementation of new CoreSettings and CoreSyncSettings.  at the moment, it's only partially done for NES.
2013-12-22 00:44:39 +00:00
goyuken 87f8d13ca5 apply new firmware load system to ColecoVision and Intellivision 2013-12-10 18:16:39 +00:00
adelikat 7e45f13282 Change project name BizHawk.Emulation to BizHawk.Emulation.Cores 2013-11-15 14:05:47 +00:00