Commit Graph

26 Commits

Author SHA1 Message Date
adelikat fdcbe6924b use inline out insome places 2020-04-29 17:43:46 -05:00
adelikat a4e1defad3 make PCE core a lot faster, one is supposed to check for the existence of callbacks before calling them 2020-04-21 13:27:40 -05:00
adelikat 0b388d669d PCE - implement IDebuggable.SetCpuRegister, and add flags to IDebuggable.GetCpuFlagsAndRegisters(), move logic to HuC6280 2020-02-18 15:58:39 -06:00
adelikat 606c3bf1c2
use more advanced language features in Emulation.Cores (#1852)
* Use expression bodies in Emulation.Cores, and a few other misc cleanups

* remove unused usings in Emulation.Common

* cleanups in Tables_Direct.cs

* some cleanups in nes boards - redundant code

* remove some redundant array initializers in Emulation.Cores

* cleanup AmstradCPC.Controllers

* use object initializers in a lot of places

* nes mappers - remove disch's notes comments in favor of the nesdev wiki link

* cleanup CdtConverter.cs, mostly use of object initializers

* remove redundant .ToString() calls in Emulation.Cores

* using var in Emulation.Cores

* AmstradCPC/ZXSpectrum - simplify some linq, tabs instead of spaces, a few other misc cleanups

* Use null-propagation in Emulation.Cores
2020-02-17 16:54:51 -06:00
YoshiRulz 6f3f01125c
Enable SA1504 and fix noncompliance
"All accessors should be single-line or multi-line"
i.e. no block form on one line
2020-01-25 14:56:56 +10:00
J.D. Purcell fec63fb66a Spaces -> tabs, fix mixed newlines. 2019-11-03 20:58:36 -05:00
YoshiRulz 4dd40305bc
Merge branch 'master' into interp_cores 2019-06-15 02:11:24 +10:00
Brian Armstrong 2c6ecb68bd Merge branch 'master' into brian/mem_callback_addr_value 2019-06-06 02:11:04 -07:00
Brian Armstrong d41bd867b8 flags 2019-06-06 02:04:47 -07:00
YoshiRulz 9af93be0d3
Use string interpolation 2019-04-04 02:41:18 +10:00
YoshiRulz 7fb8051426
Use string.Concat/string.Join 2019-04-04 02:17:00 +10:00
James Groom 4e91f88af3
Use nameof in cores 2019-03-28 14:18:58 +11:00
Brian Armstrong a8f293eec8 Call mem callbacks with addr, value 2019-01-24 03:23:21 -08:00
adelikat cd289c474e memorycallbacks with domains - Phase 2 - change api to Call methods and refactor accordingly, everything should behave as it was before the refactor at this point. No cores have yet to be implemented with domains other than the default bus they already had 2017-08-03 18:08:07 -05:00
feos 76eaea3619 tracer unification for cores: spacing, headers, etc 2016-08-16 01:39:26 +03: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
adelikat d831d1c218 PCE - add memory read/write callbacks 2015-01-24 15:16:53 +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 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
beirich 8363d66f25 PCE: convert states to Serializer implementation 2014-04-07 04:53:18 +00:00
goyuken 094e7ca18f revert r6072 2014-02-09 20:17:59 +00:00
goyuken c2abb01978 i must commit this because we aren't using git 2014-02-09 20:09:19 +00:00
goyuken 5dac0660e1 PCE: disassembler enhancements 2014-02-09 05:49:05 +00:00
beirich 2dc01eab33 pasky better do something cool with this to warrant janking up my HuC6280 core 2014-02-08 20:18:36 +00:00
adelikat 7393f132ab Move CPUs from Emulation.Common to Emulation.Cores 2014-01-22 01:14:36 +00:00