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