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
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
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
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
adelikat
5ce1d02df7
Null Emulator - rip out now uneeded stubs, increment frame counter during FrameAdvance (might as well, since it has a notion of advancing a frame)
2014-11-30 20:01:36 +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
goyuken
9c02bf77ba
wonderswan: clear out unused code for clear saveram
2014-11-24 18:50:18 +00:00
adelikat
0e82fff3ff
Clean out ClearSaveRam() calls since they are no longer used
2014-11-24 15:00:54 +00:00
goyuken
baa1556836
remove IEmulator.ClearSaveRam() from the interface
2014-11-24 02:22: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
4582a88798
Add an ICoreService interface that interfaces such as IEmulator and IDebuggable inherit
2014-11-23 20:30:53 +00:00
adelikat
1832894405
IDebuggable - GetCpuFlagsAndRegisters() - refactor to make it an IDictionary instead of Dictionary
2014-11-23 16:22:02 +00:00
adelikat
133d690363
Move IDebuggable to its own file, in anticipation of it having enough stuff to warrant it
2014-11-23 16:10:46 +00:00
adelikat
e6e2972e3d
Make IMemoryDomains inherit IEmulator and simplify some code slightly as a result
2014-11-23 16:03:04 +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
jlennox
01a994fe9c
Break IDebuggable off from IEmulator
2014-10-18 22:13:25 +00:00
goyuken
8634d52bed
remove the dummymemorydomainlist as its not needed anymore (if a core has no memory domains, it simply doesn't have the interface)
2014-09-01 21:09:25 +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
adelikat
56384da18b
Front end for the Link Cable status bar icon
2014-08-23 01:18:59 +00:00
goyuken
6bc604e5a5
clean up comments on IEmulator slightly to explain the Settings\SyncSettings contract better
2014-08-20 18:08:22 +00:00
goyuken
29f34ed79a
clearsaveram() internal infrastructure changes
2014-08-13 19:16:48 +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
647adabea3
Simplify even more!
2014-08-13 01:44:22 +00:00
adelikat
e9110be6ff
simplify the InputCallbackSystem object
2014-08-13 01:43:28 +00:00
goyuken
2383cc3963
make r7219 consistent across different audio throttle settings
2014-07-13 17:12:26 +00:00
zeromus
dc6daddff7
add option to disable fullscreen hacks (may increase latency) and snowy null emulator (may increase seizure rate)
2014-07-12 20:42:44 +00:00
adelikat
676d1ecd0f
Virtualpad - add a PlayerCount property to ControllerDefinition with a rather crude but effective implementation for now, and use it when populating PCE virtualpads, so it will dynamically generate the correct values should PCE's number of controllers ever become configurable
2014-06-28 15:56:20 +00:00
adelikat
0b21085a98
Bk2 - Rework how input logs are generated and read
2014-06-21 11:56:30 +00:00
goyuken
90f627d883
wonderswan: debugging callbacks
2014-06-19 15:57:07 +00:00
zeromus
3ea6495031
give yabause its own GL context. gets gl+yabause minimally working. maybe still loadstate-related crashes.
2014-06-08 23:30:34 +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
0588c3d7ea
Check in patch from zeromus that provides back end support for custom Axis constraints for analog input
2014-05-17 19:35:47 +00:00
goyuken
b0970451aa
internal infrastructure for video presentation changes (aspect ratio, apparent size, etc)
2014-04-30 23:48:37 +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
beirich
c179fd5fd6
Add OSD message notifier to CoreComm
2014-03-18 03:03:53 +00:00
goyuken
b2eef124e2
nes: controller infrastructure
2014-03-05 04:08:24 +00:00
goyuken
17d6e866a0
pce: refactor CD loading to move bios determination out of RomLoader
2014-02-10 15:26:18 +00:00
goyuken
4ccc31da44
cleanup of removed items in config, corecomm
2013-12-27 22:26:59 +00:00
goyuken
75d39ac60f
SNES: connect to new settings system.. everything should work?
2013-12-27 17:59:19 +00:00
goyuken
82c82b681a
connect a26 to the new settings setup. unlike all those before it, the menus have changed a bit, but all of the functionality is still there. in movie 2.0, a26 will store the two difficulty switches and the bw\color switch as syncsettings
2013-12-24 20:50:53 +00:00
goyuken
bdfbafdfca
SMS: support new settings infrastructure. this adds enableFM and allowOverclock as sync relevant settings for movie files (but of course, they won't end up in Movie 1.0 files)
2013-12-24 01:06:17 +00:00
goyuken
2558e76b5d
fix rewind on N64, gpgx.debug
2013-12-23 20:34:02 +00:00
goyuken
bf20188462
add winform edit for dual gameboy settings
2013-12-23 16:58:20 +00:00
goyuken
d37796ab1c
more new core config framework; this time GAEMBOY
2013-12-23 02:51:41 +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
goyuken
3c95174e8c
remove obselete PSX_FirmwaresPath corecomm ref
2013-12-21 18:00:38 +00:00
goyuken
09d515682b
add release envelope to super secret tone generator. make NullEmulator date aware
2013-12-18 20:37:32 +00:00
goyuken
24ef496737
CHRISTMASHAWK
2013-12-18 19:36:17 +00:00
goyuken
013de207d8
remove a few no longer used corecomm path hookups
2013-12-11 01:51:41 +00:00
goyuken
e95d7b8cd7
fix the mess i made yesterday with IEmuLoadHelper (I did not know at the time, but it's 99% the same as the existing ICoreFileProvider)
2013-12-10 17:58:12 +00:00
goyuken
1d0db18244
update some snes core internal firmware request infrastructure to use the new firmware match system. should be no actual functionality change
2013-12-09 21:41:18 +00:00
goyuken
2a0217e06c
refactor a bit of firmware loading code to get some slop out of MainForm.LoadRom()
2013-12-09 20:36:24 +00:00
adelikat
0737f884bd
a new style Mnemonics lookup table, and a bunch of various refactorings.
2013-12-07 16:31:04 +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
0ed9d832c7
Trace Logger - some code clean up, some tiny speedups, and implement a few small tweaks like Always on Top, and Select All
2013-11-29 00:35:05 +00:00
zeromus
4c247672fe
snes hooking system and GetCpuFlagsAndRegisters now work normally
2013-11-22 09:33:56 +00:00
pjgat09
58336c45b2
Fix onmemorywrite so it can trigger on any memory address
2013-11-17 02:36:52 +00:00
adelikat
e606429219
more misc cleanup and removing some usings that should have been removed when moving things from one project to another
2013-11-15 01:52:03 +00:00
adelikat
5d65b0ef77
implement Lua - event.onmemoryexecute(), currently only works with the NES core
2013-11-12 01:51:07 +00:00
zeromus
9fed70a49c
add some ExecFetch stuff to NES/6502 cores for memorycallbacks and whatnot
2013-11-12 01:06:33 +00:00
adelikat
fb78215590
Lua - Implement emu.getregister() and emu.getregisters(). Only implemented in NESHawk right now
2013-11-11 03:20:33 +00:00
adelikat
2e51e7ad4f
Registered Lua Functions dialog - fix so Remove removes MemoryRead/Write events, add a Remove All button
2013-11-10 21:56:02 +00:00
adelikat
e7a481e6c4
Lua - OnMemoryRead() and OnMemoryWrite() - support multiple events, hook to the registered functions system, add ability to name function, return a GUID.
2013-11-10 21:20:55 +00:00
adelikat
ded77beb65
Lua - OnInputPoll() - hooked up to the registered lua functions system
2013-11-10 19:19:58 +00:00
adelikat
ea24f236fb
Lua - event.OnInputPoll() - allow multiple functions to be registered
2013-11-10 18:15:32 +00:00
adelikat
9e5e477467
move emuversion, releasedate, and interim constants from MainForm to VersionInfo so that they are available to all projects (we can now "interim" things in all projects)
2013-11-10 02:32:47 +00:00
adelikat
1061add64f
Refactor MemoryDomains in IEmulator, make a MemoryDomainsList object rather than IList<MemoryDomain>, remove MainMemory from IEmulator and make it a property of this new collection object, also add indexing by name. Refactor cores and tools as needed
2013-11-06 02:15:29 +00:00
adelikat
3f88ece3db
Remove some files I meant to delete, and some useless code cleanups
2013-11-04 03:12:50 +00:00
adelikat
be547db4a1
Move MemoryDomain to its own file, and move the Endian enum into it, also clean up the class a bit, and refactor things as necessary
2013-11-04 02:11:40 +00:00
adelikat
9751fd5a1a
Move interfaces and base implemenations from emulation to emulation.common
2013-11-04 01:39:19 +00:00