goyuken
7efcd7cc0b
comments!
2014-12-17 01:20:53 +00:00
goyuken
7cecd20d8d
restore large speed regression on NESHawk core from r8379. other managed cores were likely affected. most managed cores not affected because of event tracking...
2014-12-17 01:17:41 +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
10e38e7bc9
fix BANDAI FCG 1 Boards without barcode reader
2014-12-14 17:19:54 +00:00
goyuken
09f9d50f46
IDisassemblable changes. can't compile right now, so might not work
2014-12-14 17:17:22 +00:00
adelikat
d1cc13a9c0
BasicServiceProvider - catch any IEmulatorServices that the core implements that aren't defined in the Emulation.Common assembly, and make IGBAGPUViewable an emulator service
2014-12-13 23:45:51 +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
925d6f5a50
BasicServiceProvider - allow the core to return itself when its specific implementation is requested
2014-12-13 16:22:36 +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
goyuken
9513d209b1
comments!
2014-12-09 21:52:03 +00:00
zeromus
e0c09a553b
redo how subwcrev stuff is done, so that the subwcrev process doesnt have to run for every project. improves build times.
2014-12-09 19:20:22 +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
be8563469c
Refactor MemoryCallbackSystem. Now that the API is much simpler, the underlying code can be as well.
2014-12-07 19:27:21 +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
7cc5822dfd
Add ActiveChanged event to MemoryCallbackSystem
2014-12-05 02:07:56 +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
e2033c9d2e
AsStatable() and also update statusbar saveslots on CloseRom()
2014-12-05 00:52:16 +00:00
goyuken
40416656a2
eliminate snowiy emulator option from CoreComm. this commit is a bit hackish
2014-12-05 00:39:02 +00:00
adelikat
04f9081943
in IEmulator extensions add methods such as AsMemoryDomains(), AsStatable() that do the service calling magic. In the client code replace appplicable casts of IMemoryDomains with AsMemoryDomains(), more commits of this nature for the other IEmulatorServices soon to follow
2014-12-05 00:32:29 +00:00
adelikat
cda9203ca5
Forgot to add these files
2014-12-05 00:17:34 +00:00
adelikat
d7f88ecbf9
Chane IEmulator Extension methods like HasMemoryDomains to use the HasService<T>() method
2014-12-05 00:15:28 +00:00
adelikat
a91de9ad9c
Move TraceHeader out of CoreComm and into ITracer and TraceBuffer
2014-12-05 00:10:48 +00:00
adelikat
309088211c
Move TraceBuffer from CoreComm to IDebugable and refactor accordingly
2014-12-05 00:05:40 +00:00
adelikat
02f5206382
remove a debug line of code that I checked in on accident
2014-12-04 22:38:03 +00:00
adelikat
eb085fe29d
fix logic error in Remove call on InputCallbackSystem
2014-12-04 22:31:42 +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
529591ce2d
Rename ICoreService to IEmulatorService
2014-12-04 02:12:57 +00:00
goyuken
7f9adc0c1d
dgb: reenable input callbacks.
2014-12-04 02:04:14 +00:00
adelikat
ccb8cce788
InputCallbackSystem - add an ActiveChanged event handler, the event fires anytime the collection goes from 0 to greater than 0, or greater than 0 to 0
2014-12-04 00:56:04 +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
7ffe07c44b
Emulation.Common IsImplemented extensions - fix logic, if FeatureNotImplemented exists it is always considered not implemented
2014-12-04 00:38:42 +00:00
goyuken
78209348dd
move NullSound to its own file, as it's not actually used in NullEmulator
2014-12-01 16:56:51 +00:00
adelikat
a104c420cf
Move CoreComm.cs out of the interfaces folder
2014-12-01 14:28:57 +00:00
adelikat
b08bfc0a2b
Move DisplayType out of IEmulator.cs, that's an annoying place for it to be, instead put it in a new file with Enum.cs which has one line which is silly. silly > annoying
2014-12-01 14:27:23 +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
c4768c102e
Move ControllerDefinition to its own file
2014-11-30 23:05:00 +00:00
adelikat
b05bed93ac
Emulation.Common - move Base Implementations out of the interfaces folder, never made sense to be there
2014-11-30 23:02:16 +00:00
adelikat
745b8f555b
Controller Config menu item - disable based on ControllerDefinition having any buttons rather than check for Null Emulator
2014-11-30 22:56:02 +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