adelikat
96a85d4442
Z80 Interrupts - remove unnecessary public property
2020-04-29 17:21:26 -05: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
adelikat
fe3b55f953
uh, what happened to this code in the merge?
2020-02-16 18:06:17 -06:00
adelikat
27352a6f8e
add Get/SetCpuFlagsAndRegisters to Z80, and remove all the boilerplate from related cores
2020-02-16 17:55:40 -06:00
YoshiRulz
24e6cc14f0
Enable SA1206 and fix noncompliance
...
"Declaration keywords should follow order"
2020-01-25 19:37:28 +10: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
alyosha-tas
2fa22c2505
MSXHawk: Give DLL a C interface, start making core constructor
2020-01-09 19:37:59 -05: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
YoshiRulz
3fa0f71a24
Inline ToHexString extension where param numdigits is constant
2019-06-14 15:54:17 +00: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
adelikat
165880b444
Merge pull request #1504 from TASVideos/semicolonFormat
...
[Untested] Use format strings with the semicolon section separator
2019-03-27 19:38:16 -05:00
YoshiRulz
0b5a61dcd3
Rewrite "d" replacement again but more like the previous algorithm
2019-03-05 19:37:59 +10:00
YoshiRulz
2f3ac59c7a
Inline local vars, use interpolated strings, and use {0:P;M} format string
2019-03-03 17:55:25 +10:00
YoshiRulz
c0a28a320b
Inconsequential changes (no whitespace)
...
Remove useless semicolon, remove useless `? true : false`, move period to next
line
2019-01-07 22:02:02 +10:00
Asnivor
32cce86f51
z80: optimization using fixed-size arrays
2018-12-21 13:46:47 +00:00
Asnivor
50045f3b4b
Z80: tidy up old commented code
2018-12-21 10:29:10 +00:00
Asnivor
b4219b8242
Z80: convert .Length lookups to integer
2018-12-21 09:57:49 +00:00
Asnivor
6a60657199
Z80: optimization testing
2018-12-20 10:40:54 +00:00
alyosha-tas
19a25e55fb
z80: IORQ signal interrupt acknowledge
2018-09-30 12:21:47 -05:00
alyosha-tas
7ba4e8a437
z80: minor cleanups and bug fixes
2018-09-30 10:02:50 -05:00
alyosha-tas
4cdcb80721
z80: rewrite interrupt handling
...
step one in proper line polling for CPC
2018-09-29 22:08:19 -05:00
Asnivor
2ed0c919d2
Merge pull request #1330 from TASVideos/z80fixes
...
Z80: fix IN A, (N) flag affection
2018-09-19 23:01:30 +01:00
Asnivor
2565f49c89
Merge branch 'AmstradCPC' into master
2018-09-19 14:56:41 +01:00
Asnivor
3d55446526
A, (N) flag affection
2018-09-19 13:10:41 +01:00
Asnivor
c4dd4c50e2
Z80: undo flag oops
2018-09-18 11:13:31 +01:00
Asnivor
f62ab685a9
ZXHawk: Fix core GUI windows monospace weirdness
2018-09-18 10:50:15 +01:00
Asnivor
16d68ea813
ZXHawk: debug only zx-state snapshot export
2018-09-10 10:05:49 +01:00
Asnivor
4192f764b1
CPCHawk: Gatearray now displaying a picture (mode1)
2018-07-13 16:34:36 +01:00
alyosha-tas
3e495e3a28
z80: reset cleanup
2018-06-14 08:02:06 -04:00
alyosha-tas
5d401b20d3
z80: clean up
2018-06-13 12:54:43 -04:00
alyosha-tas
93dab42ba6
z80: Start up values for SP and AF
2018-06-13 08:29:07 -04:00
alyosha-tas
9a906cd8af
z80: add memptr variable
2018-06-12 16:57:11 -04:00
alyosha-tas
8c3afc189a
z80: add a MEMRQ vector for memory contention for zx spectrum
2018-06-12 16:51:21 -04:00
alyosha-tas
3ce546b774
z80: Resond to interrupts at the corect time
2018-06-08 12:28:51 -04:00
alyosha-tas
6ae8f01872
z80: Fix some more contention stuff
2018-06-07 18:41:50 -04:00
alyosha-tas
7ad65bd96e
z80: WZ fixes
2018-06-07 11:11:56 -04:00
alyosha-tas
cd7df2ea07
z80: more contention work
2018-06-07 10:37:26 -04:00
alyosha-tas
b0af0e48e0
z80: IR contention update
2018-06-07 08:34:21 -04:00
alyosha-tas
afd1ba38d8
z80: Fix remaining flags and WZ
2018-06-07 08:10:39 -04:00
alyosha-tas
275092528a
z80: Fix some bugs in flags and WZ register
...
Only thing remaining is INI/IND/INIR/INDR
2018-06-06 19:34:46 -04:00
alyosha-tas
af788ee108
z80: fix IO contention bug
2018-06-06 13:55:57 -04:00
alyosha-tas
74e6f630c3
z80: IO port re-work and contention
2018-06-06 07:33:49 -04:00
alyosha-tas
620c4b3c2e
z80:more contention work, only IN/OUT to go
2018-06-05 18:04:19 -04:00
alyosha-tas
978a93b681
z80: more memory contention timing work
...
(up to test 23)
2018-06-05 15:05:48 -04:00
alyosha-tas
6752a17321
z80: clean up prefetch implementation
2018-06-05 12:52:10 -04:00
alyosha-tas
beae64d563
z80: use high byte BUSRQ vector since PCl = 0 so the look up fails (oops)
2018-06-04 14:27:57 -04:00
alyosha-tas
bff3f41c9a
z80: IN/OUT access fixes
2018-06-04 11:42:59 -04:00