adelikat
08be637131
Remove some unused constants in SpeexResampler, and some meaningles whitespace cleanups
2017-05-02 07:44:23 -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
957736b787
Misc Emulation.Common cleanups
2017-04-27 12:07:34 -05:00
adelikat
83124a8d20
Fix VerifiedDisassembler to not expose the internal cpu property
2017-04-27 12:02:08 -05:00
adelikat
8eb9d68fa6
Emulation.Comon - misc cleanups
2017-04-27 11:56:33 -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
352b157801
ITraceable - remove set from the Header property since that is an implementation detail only. Remove commented methods/properties and cleanup documentation to reflect the new specification
2017-04-26 09:13:32 -05:00
adelikat
183f5b0672
Emulation.Common - misc cleanups mostly fixing documentation
2017-04-26 09:10:00 -05:00
adelikat
ec545ae3a0
Emulation.Common - misc cleanups
2017-04-26 08:44:52 -05:00
adelikat
167ed41a51
Break up MGBAHawk into separate files
2017-04-25 11:42:03 -05:00
adelikat
ba28ca53a8
GambatteLink cleanup
2017-04-25 11:06:50 -05:00
adelikat
76b9367378
more misc cleanups
2017-04-24 07:43:02 -05:00
J.D. Purcell
3d6b1da94d
Whitespace only (indentation fixes/cleanup).
2017-04-19 20:34:30 -04:00
adelikat
7ebddc6087
LibsnesCore - break off memory domain stuff to a separate file
2017-04-19 10:51:16 -05:00
adelikat
bc42af0fa6
Libsnescore - Break off IEmulator implementation into a separate file
2017-04-19 10:36:08 -05:00
adelikat
7b336664b9
fix ups to the documentation of service interfaces
2017-04-19 09:41:26 -05:00
adelikat
d1d6c20749
break SNES settings code into its own file
2017-04-19 08:31:48 -05:00
adelikat
7ab8455e84
misc code cleanups in BizHawk.Emulation.Common
2017-04-14 12:28:23 -05:00
adelikat
37c989c661
more misc code cleanups, with some C#6isms
2017-04-10 11:24:53 -05:00
J.D. Purcell
b2a28339d1
Use 'nameof' operator.
2017-04-10 08:36:42 -04:00
adelikat
ab1a22bf31
add TotalExecutedCycles as an IDebuggable property, and implement it in cores with the information readily available (and throw NotImplementedExecptions in the remaining). wire the property up to lua with emu.totalexecutedcycles(). Stil todo - wire it up to the Debugger gui
2017-01-09 19:23:05 -06:00
adelikat
eda79c2212
Make an interface for CodeDataLog, and move CodeDataLog to Base Implementations
2016-12-16 11:33:02 -06:00
adelikat
691632f188
More IAsyncSoundProvider and related classes to BizHawk.Emulation.Cores and make them internal, since they are implementation details, and they are deprecrated and not intended to be used in future cores.
2016-12-16 08:50:05 -06:00
J.D. Purcell
cabf27f5d9
Move a few files related to sound output from BizHawk.Emulation.Common to BizHawk.Client.EmuHawk.
2016-12-15 19:25:09 -05:00
adelikat
54eb678387
create an ICreateGameDBEntires specialized service and have Atari2600 implement it. Use this in the log window instead of sneaky reflection to access the method
2016-12-15 10:45:20 -06:00
J.D. Purcell
d95edc273e
Sound cleanup.
2016-12-14 23:26:01 -05:00
adelikat
2d9213c379
IController - Remove the indexer property and refactor code accordingly, also simplify and cleanup many of the IController implementations
2016-12-14 14:12:16 -06:00
adelikat
40418ad25d
More documentaiton for IEmulatorServices, related classes/interfaces, and base implementations
2016-12-14 09:11:07 -06:00
adelikat
f83a54dff7
better documentation of IEMulatorSErvices
2016-12-13 15:56:20 -06:00
adelikat
f90db5beff
IEmulator - more documentation
2016-12-12 13:14:01 -06:00
adelikat
5ff33e7569
Rename IController.Type to IController.Definition to more clearly describe the property
2016-12-12 12:30:32 -06:00
adelikat
d78671a7e4
Emulation.Common - Separate some attributes to their own file, and better document some attributes and interfaces
2016-12-12 09:00:58 -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
5e800b7bba
cleanup some unsightly comments in ISyncSoundProvider
2016-12-08 19:54:38 -06:00
adelikat
657de56123
Remove MaxVolume from ISoundProvider, provide an IMixedSoundProvider interface for classes that want to use SoundMIxer as part of their sound provider implementation
2016-12-08 19:51:17 -06:00
adelikat
4d1629e271
Completely divorce IVideoProvider from IEmulator, use a NullVideo implementation in MainForm if a core does not provide one, Remove VideoProviderGlue. Note that NullEmulator does implement IVideoProvider still, since we like to have fun with that one
2016-12-07 13:21:18 -06:00
zeromus
a7d2b8d7f7
* add a new IToolForm update mechanism which has extensible update points (so a tool can both pre- and post- update)
...
* make trace logging "core-pushes" model, to a sink installed by the frontend. This sink can go straight to the disk without wasting memory if that's what the Trace Logger tool has selected; or the Trace Logger will buffer it if it needs to. Formerly, we had a "core-pushes-to-buffer" and "client-pulls-once-per-frame" which necessarily caused huge buffers no matter what was going on.
2016-08-13 15:31:26 -05:00
parasyte
71c7edbb24
Add address mask setting for breakpoints
2016-08-08 04:37:39 -07:00
Isotarge
5a20a520bd
Tools: Ram -> RAM #669
2016-07-22 01:32:54 +09:30
adelikat
20f3e235f8
Add documentation to the Emulation.Common IEmulatorService interfaces
2016-03-01 21:10:50 -05:00
adelikat
570eff2b8b
Emulation.Common - Move Emulator Services to their own folder
2016-02-28 21:09:06 -05:00
adelikat
b3dd9d26dc
Misc code cleanups in Emulation.Common
2016-02-28 19:03:01 -05:00
adelikat
768905b2db
Make an ISpecializedEmulatorService interface to show the intent of certain interfaces. In the core feature analysis, don't show these are unimplemented, as they aren't expected to be implemented by all cores. Make ILinkable inherit this interface.
...
Also check in ILinkable, I forgot to do that last time
2016-02-28 14:06:11 -05:00
adelikat
fde8dc3d1c
Add a TODO!
2016-02-28 13:26:34 -05:00
adelikat
050fa6d86b
ocd cleanup
2016-02-28 12:23:11 -05:00
adelikat
f5e679fa0d
Refactor ITraceable to work on TraceInfo objects that separate Disassembly and Register information. Make Tracelogger two columns.
2016-02-21 17:34:42 -05:00
nattthebear
c77de0e8af
stuff
2016-02-21 14:00:11 -05:00
scrimpeh
ef1bc65ce6
IInputPollable - Make IsLagFrame settable
2016-01-26 11:34:42 +01:00
Hathor86
c7dcb42b94
Merge from maser@TASVideos
2015-11-15 11:27:00 +01:00
zeromus
53fcc09c08
various bugfixes to system/save pathing and support CAN_DUPE, to stabilize the gambatte and neopop cores
2015-11-08 19:18:08 -06:00
Hathor86
cc2c888870
Merge remote-tracking branch 'refs/remotes/TASVideos/master'
...
Conflicts:
BizHawk.Client.EmuHawk/MainForm.Designer.cs
BizHawk.Client.EmuHawk/MainForm.cs
BizHawk.Client.EmuHawk/tools/CDL.Designer.cs
BizHawk.Client.EmuHawk/tools/CDL.cs
BizHawk.Client.EmuHawk/tools/CDL.resx
BizHawk.Common/InstanceDll.cs
BizHawk.Emulation.Common/CodeDataLog.cs
2015-11-08 22:41:51 +01:00
zeromus
5c16f8b107
fix some assorted bugs, and experiments with handling more environment calls
2015-11-07 02:29:04 -06:00
zeromus
7651f418fe
usably functional libretro player
2015-11-07 00:14:59 -06:00
Hathor86
f70a2c8c6c
Merge from TASVideo
2015-11-01 22:01:19 +01:00
zeromus
70e0954f28
CDL - major refactor complete. muuuuch better.
2015-10-28 03:51:53 -05:00
adelikat
400e4f4800
Add an empty ICodeDataLogger emulator service, make it a required service for CDL.cs
2015-10-27 19:03:56 -04:00
zeromus
0ff0749191
add IMemoryDomains.Has
2015-10-26 21:41:43 -05:00
adelikat
76f285a58a
forgot to add this file, because that's what I do
2015-08-05 20:57:01 -04:00
adelikat
3541c9e975
Make the lag counter settable, and expose this functionality in lua
2015-07-09 13:05:30 -04:00
adelikat
5bcdfb5991
IInputPollable - remove the set on LagCount as it is not needed
2015-06-11 01:23:14 +00:00
adelikat
66a9b8eb5a
IInputPollable - don't inherit IEmulator
2015-02-22 16:57:32 +00:00
goyuken
995f670d36
frontend tracks loaded firmware: proof of concept
2015-02-05 23:25:28 +00:00
adelikat
8246de14aa
IMemoryCallbackSystem - add a flag to indicate whether execute callbacks are available, in lua and the debugger, take this flag into account, also improve some availability checking in Lua memory callbacks. Flag N64 as not having execute callbacks available
2015-01-25 22:14:58 +00:00
adelikat
ac442130ae
Refactor IMemoryDomains and MemoryDomains to have setters for MainMemory and SystemBus, so a core can customize instead of using a one size fits all assumption. Remove constructor that sets main memory and refactor accordingly
2015-01-24 16:02:28 +00:00
adelikat
7b87f666a1
MemoryDomains - rename CheatDomain to SystemBus
2015-01-24 15:49:02 +00:00
adelikat
7cca0be2e7
IEmulatorServiceProvider and BasicServiceProvider - restrict to IEmulatorServices
2015-01-23 20:55:13 +00:00
adelikat
7e50a065a6
make IVideoProvider inherit IEmulatorService
2015-01-14 22:58:14 +00:00
adelikat
5c768b1dc4
IEmulatorServiceProvider - add an AvailableServices property, Service Provider - don't register type object
2015-01-14 22:53:08 +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
9358e24213
IMemoryDomainList - downgrade from IList to IEnumerable, refactor a spot that needed something more than that
2015-01-14 00:34:50 +00:00
adelikat
d62ba4e2b4
Change IMemoryDomains to have an IMemoryDomainList instead of a MemoryDomainList, this is an incremental step into eventually having IMemoryDomains take over the properties of IMemoryDomainList, still todo: reduce the amount of needed functionality in IMemoryDomainList from old and not good code
2015-01-13 22:18:07 +00:00
adelikat
0f2197cec1
Break off ITracer from IDebuggable, rename to ITraceable and make it an IEmulatorService, refactor things accordingly
2014-12-23 01:58:12 +00:00
goyuken
808e17c3f7
tracelogger settings
2014-12-22 19:01:21 +00:00
adelikat
ffdeb618f7
IDebugable - add a CanStep() method, and implement it in all IDebuggable implementations
2014-12-20 13:29:57 +00:00
adelikat
a8116297a0
Rename Register to RegisterValue
2014-12-20 13:16:15 +00:00
adelikat
7bebb66589
IDebuggable - refactor GetCpuFlagsAndRegisters to be IDictionary<string, Register> where Register is a value and a bitsize
2014-12-20 03:19:33 +00:00
goyuken
7efcd7cc0b
comments!
2014-12-17 01:20:53 +00:00
adelikat
bb940473bb
Emulation.Common - move some misc enums into Enums.cs
2014-12-16 17:06:29 +00:00
goyuken
ea47246658
remove the IEmulator inheritance from some services, and fix code as needed
2014-12-15 22:25:06 +00:00
adelikat
d08fb39cb8
Refactor IDebuggable StepInto/Over/Out methods into void Step(StepType type);
2014-12-15 22:19:10 +00:00
goyuken
b23294a68f
remove the IEmulatorService requirement from IEmulatorServiceProvider and BasicServiceProvider
2014-12-15 21:35:09 +00:00
goyuken
95f92c7ed0
remove iemulator requirement from some of the iemulatorservices
2014-12-15 01:01:02 +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
adelikat
7cc3fdec4b
Add PCRegisterName to IDisassemblable
2014-12-14 17:27:45 +00:00
goyuken
09f9d50f46
IDisassemblable changes. can't compile right now, so might not work
2014-12-14 17:17:22 +00:00
scepheo
769cbeb1a0
- IToolForm: Added RequiredServices attribute to define dependencies, and added EmulatorServices for ToolManager to supply them.
...
- IServiceProvider, BasicServiceProvider: Added compile-time unknown type versions of GetService and HasService.
- ToolManager: Added IsAvailable to test whether all dependencies for a tool are available.
2014-12-13 21:54:59 +00:00
goyuken
c6ed49c067
some disassembler stuff
2014-12-13 21:49:15 +00:00
adelikat
9a7715009a
Add an IDisassemblable emulator service, currently no core implements it, just the interface and the IEmulator extensions
2014-12-13 20:52:52 +00:00
adelikat
45809ab73f
move an attribute in Wonderswan core that was on the constructor on accident, added an AttributeTargets attribute on it that would have caught such an error, add AttributeTargets on some other attributes to help clarify their usage
2014-12-13 02:31:31 +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
68e1eae014
MemoryCallbackSystem - implement IEnumerable, Debugger - use it to pre-populate the breakpoint dialog with pre-existing breakpoints
2014-12-07 19:38:42 +00:00
adelikat
1c179da80c
MemoryCallback System - another refinement, make an IMemoryCallback and make that the argument for add methods
2014-12-07 19:09:36 +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
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
cda9203ca5
Forgot to add these files
2014-12-05 00:17:34 +00:00
adelikat
309088211c
Move TraceBuffer from CoreComm to IDebugable and refactor accordingly
2014-12-05 00:05:40 +00:00