adelikat
08fb509a1a
Add an IDriveLight Emulator service, and remove the CoreComm properties, and refactor accordingly
2014-12-12 01:49:54 +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
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
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
7a7a7783dc
fix stuff with PCE multicontroller config which already worked without any sort of config at all years ago
2014-08-20 18:03:04 +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
768c2762a5
cleanup
2014-08-03 22:05:32 +00:00
adelikat
fd80c62cdb
More Util methods -> extension methods
2014-07-03 19:20:34 +00:00
adelikat
402db49ed8
PCE - add ability to set connected controllers (up to 5) as sync settings, with a Controller settings dialog
2014-06-28 22:48:07 +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
zeromus
a72c5891e2
fix some bugs in ffmpeg handling which seemed to be depending on an older version of ffmpeg; and clarify some rom loading error handling, especially in PCE-CD
2014-05-08 03:18:00 +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
zeromus
de89e38d7a
flush more frequently in PCE savestate memorywriter code
2014-04-08 00:22:42 +00:00
beirich
8363d66f25
PCE: convert states to Serializer implementation
2014-04-07 04:53:18 +00:00
beirich
f27dd11389
PCE: Sprite Limit no longer requires Core Reboot. Also, selecting Equalize Volumes no longer makes it impossible to load a HuCard.
2014-02-27 01:00:21 +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
17d6e866a0
pce: refactor CD loading to move bios determination out of RomLoader
2014-02-10 15:26:18 +00:00
goyuken
d15c867693
PCE CDL: fix for street fighter 2 and 384K games. arcade card still not supported
2014-02-10 02:47:23 +00:00
goyuken
bdbcf689d9
PCE: fix Main Memory domain in SGX mode. Add Cart Battery Ram domain (populous). change domain names in CDL to match memory domains.
2014-02-10 01:21:13 +00:00
goyuken
c9c01202e6
PCE CDL: open for business! not very tested yet. DOES NOT WORK ON SF2 MAPPER.
2014-02-10 01:06:06 +00:00
goyuken
094e7ca18f
revert r6072
2014-02-09 20:17:59 +00:00
goyuken
c2abb01978
i must commit this because we aren't using git
2014-02-09 20:09:19 +00:00
zeromus
f98e1a942d
try to make new pce "rom" domain writable
2014-02-09 06:57:54 +00:00
goyuken
5dac0660e1
PCE: disassembler enhancements
2014-02-09 05:49:05 +00:00
beirich
2dc01eab33
pasky better do something cool with this to warrant janking up my HuC6280 core
2014-02-08 20:18:36 +00:00
goyuken
c18f1af150
PCE: fix noticeable LOH thrashing when rewinding with big savestates (arcade card)
2014-01-29 04:31:23 +00:00
adelikat
7393f132ab
Move CPUs from Emulation.Common to Emulation.Cores
2014-01-22 01:14:36 +00:00
goyuken
a327d585ee
PCE - fix init problem with clean config
2013-12-30 20:26:33 +00:00
goyuken
50e3691181
new setting system: misc cleanup
2013-12-23 21:54:10 +00:00
goyuken
d37796ab1c
more new core config framework; this time GAEMBOY
2013-12-23 02:51:41 +00:00
goyuken
0347fc5eef
core settings stuff etc
2013-12-22 20:41:21 +00:00
goyuken
a5cdee3780
pce: connect to new settings system
2013-12-22 05:58:24 +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
adelikat
50d4a3307a
Rip out UpdateControls() method from IController, also some code cleanup in related files
2013-12-07 00:53:06 +00:00
adelikat
7e45f13282
Change project name BizHawk.Emulation to BizHawk.Emulation.Cores
2013-11-15 14:05:47 +00:00