adelikat
899f8662c0
refactor CoreComm usages in more cores
2020-03-15 09:38:54 -05:00
adelikat
da95c1f56f
remove RomAnnotation fields on CoreComm and use the service instead
2020-03-14 22:10:57 -05:00
adelikat
dd062b3ca7
replace CoreComm screenofsets with an emulator service
2020-03-14 16:35:54 -05:00
YoshiRulz
3afcf416e8
Follow attribute class best practices, cleanup docs on attributes
2020-02-19 03:54:50 +10:00
adelikat
2ccf03fd44
use property initializers in some cores and some constructor cleanups
2020-02-18 10:54:39 -06:00
adelikat
027dc01c8b
create StateSerializer as a base implementation of IStatable ( #1850 )
...
* create StateSerializer, an ITextStatable implementation using the Serializer class, and wire it up to the TI83 core
* wire StateSerializer to A2600 core
* wire up StateSerializer to AmstradCPC, C64, and ZXS
* wire up StateSerializer to MSX, A27800, and Coleco
* wire up state serializer to ChannelF, Vectrex, Intellivision
* fix GambatteLink to implement ITextStatable, implement TextSerializer in O2
* StateSerializer - wire up a loadstate callback and implement StateSerializer for NesHawk, a bit of rework to subNesHawk as a result
* fix subneshawk text savestates
* StateSerializer - implement byte[] buffer storing (optionally), wire up to PCE
* implement StateSerializer to SMS, tweak GGLink accordingly
* implement StateSerializer in GBHawk, fix link cores accordingly
* StateSerializer - use Serializer static methods to create serializers
2020-02-16 12:05:57 -06:00
YoshiRulz
9af93be0d3
Use string interpolation
2019-04-04 02:41:18 +10:00
alyosha-tas
b2ed6eb737
Always initialize independent instances of IController in cores to NullController
...
- Fixes #1168
2018-03-31 11:23:55 -04:00
adelikat
04ce66c397
phase 1 of changing memory callback api to specify domain - require cores to specify which domains are available and have the domain passed in when creating callbacks. Still todo - cores need to pass in domain name on CallReads/Writes/Executes methods
2017-08-01 22:05:17 -05:00
adelikat
46e4ae05d6
PCE - rip out old controller config logic
2017-07-18 11:05:11 -05:00
adelikat
d99d2dd3dc
PCE - start support for peripheral support - implement a controller deck and wire it up to the controller logic, with the same options as previously, 5 ports, with None and Gamepad as options. No ui for the new system. Old system code and ui still left in
2017-07-18 10:37:17 -05:00
adelikat
c6e0e9fa57
Rename CoreAttributes to CoreAttribute as to not be a bad person
2017-07-12 14:10:55 -05:00
nattthebear
ebe789eed2
heh
2017-05-10 07:45:23 -04:00
adelikat
1dae91e6a8
clean up core constructors - consistent parameter casing, and put them at the top of the class
2017-05-05 19:05:36 -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
eee0ba69dc
misc cleanups on PCEngine
2017-04-25 12:57:42 -05:00
adelikat
aaed8e67d5
NullController - remove a bunch of methods that were originally part of IController but no longer are, and clean up the code a bit
2016-12-14 09:16:54 -06:00
adelikat
bd7bd831c7
PCEngine - lock down some variables to private or internal, explicitly mark some private variables
2016-12-12 10:31:38 -06:00
adelikat
618f5de54f
PC Engine - break off services into their separate files
2016-12-12 10:23:07 -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
nattthebear
4b165089fd
Fix PCE memory domains
2016-07-16 13:57:24 -04:00
nattthebear
111648cf98
Break a bunch of memory domain stuff with pointless refactoring
2016-04-13 19:50:06 -04:00
adelikat
5cd11d0bb4
Move Sound component objects from Emulation.Common to Emulation.Cores so they live in the same assembly as the calling cores
2016-03-04 08:37:09 -05:00
adelikat
2975d699ef
Traceer - header for NesHawk and PCE
2016-02-28 08:28:00 -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
scrimpeh
ef1bc65ce6
IInputPollable - Make IsLagFrame settable
2016-01-26 11:34:42 +01:00
zeromus
70e0954f28
CDL - major refactor complete. muuuuch better.
2015-10-28 03:51:53 -05:00
zeromus
a7ae3c0cfc
Merge branch 'discsys'
...
Conflicts:
BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj
BizHawk.Emulation.Cores/Consoles/Sega/gpgx/GPGXDynamic.cs
libmupen64plus/mupen64plus-win32-deps
2015-07-11 14:01:44 -05:00
zeromus
6dcaa3ca04
apply major discsystem refactorings to emulator cores and client. lots of undone things, most notably generalized RawTOCEntries -> TOCRaw -> Structure synthesis outside of the individual format/api disc loaders. IOW there's no DiscStructure right now. Probably lots of bugs too.
2015-07-11 13:46:36 -05: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
36f4eff0f6
add ByteSize to MemoryDomain with a default of 1, set it to not 1 on appropriate domains (I probably missed some, or got some wrong). Have RamSearch use that instead of SystemInfo, remove ByteSize from SystemInfo since it is no longer needed
2015-02-22 15:19:38 +00:00
adelikat
d3a9535ade
PCE - sort out 16 bit vs 21 bit buses, and remove an InvalidOperationException in the disassembler
2015-01-24 15:45:37 +00:00
adelikat
aa9e5cf2d7
PCE - Hu6280 - pass in and store the callback system instead of an IDebuggable instance and calling .MemoryCallbacks constantly
2015-01-24 15:05:03 +00:00
adelikat
91ffc17aae
Refacotor MemoryDomain.Size to be long instead of int, still some small todos, but it compiles and seems to work
2015-01-18 15:25:47 +00:00
goyuken
6de080dd9c
PCE - clean up fix i broke, sorry
2015-01-15 22:39:43 +00:00
adelikat
bd74041cde
fix atari 2600 and pc engine similarly
2015-01-15 15:56:41 +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
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
goyuken
574cd2f649
pce: disassemble
2015-01-05 21:03:54 +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
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
scepheo
0c724d62d4
PCEngine: second constructor now sets the ServiceProvider correctly.
2014-12-17 23:17:36 +00:00
adelikat
d08fb39cb8
Refactor IDebuggable StepInto/Over/Out methods into void Step(StepType type);
2014-12-15 22:19:10 +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
08fb509a1a
Add an IDriveLight Emulator service, and remove the CoreComm properties, and refactor accordingly
2014-12-12 01:49:54 +00:00