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
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
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
ea1b74c67c
no message
2018-10-08 09:48:27 -05:00
alyosha-tas
028a5b644e
z80 cleanup and bug fix
2018-09-30 09:58:08 -05:00
alyosha-tas
bf9796f1e8
z80: rewrite interrupt handling
2018-09-29 22:04:37 -05:00
Asnivor
3d55446526
A, (N) flag affection
2018-09-19 13:10:41 +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
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
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
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
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
32ae549c70
z80: Add bus request timing array to work with zx spectrum
...
Also some clean up
2018-06-03 19:14:30 -04:00
alyosha-tas
c0d6c02b2e
Z80: Recast core to cycle accurate memory accesses and wait state timing
2018-05-31 21:05:41 -04:00
alyosha-tas
a185f33487
Z80A: Add a WAIT state that can puase the CPU on reads / writes
...
NOTE: a wait state is added automatically to IN/OUT reads / writes, but I don't know if this is already accounted for in the cycle timings, TODO.
2018-05-15 09:44:39 -04:00
alyosha-tas
81e80acf86
z80: make TotalExecutedCycles long and change related variables accordingly
2018-03-18 09:55:56 -04:00
alyosha-tas
dbb90a996d
z80: clean up
2018-03-16 17:50:51 -04:00
alyosha-tas
a9f8828063
z80: fix port access behaviour
2017-12-01 08:20:18 -05:00
alyosha-tas
d09e73b592
z80: implement data bus
...
-needed for ZXspectrum mode 2 interrupts
-use with FetchDB function
2017-11-29 16:28:08 -05:00
Tastyfish
d0bdfd3d68
Fixes disassembler for SMS
2017-11-24 02:56:21 -05:00
alyosha-tas
7cdffc25c3
Update Z80A.cs
...
Properly reset instruction vector index
2017-11-03 08:39:02 -04:00
alyosha-tas
f94d3f58c6
Z80: Fix CDL
...
Use FetchMemory for opcodes and ReadMemory for everything else
Also fix Dis-assembling
2017-10-25 19:21:30 -04:00
alyosha-tas
28cce355bf
Z80: Fix R register operation
2017-10-19 12:08:34 -04:00
alyosha-tas
be6aa52bc8
Z80: Remove JAM
...
The relevent opcodes behave as NOPs
2017-10-19 10:55:17 -04:00
alyosha-tas
4f63cadb4a
Z80
...
Corrections and Bug Fixes
2017-10-14 14:07:17 -04:00
alyosha-tas
0fda518cb7
Add files via upload
2017-10-13 17:58:36 -04:00
alyosha-tas
3be21c583e
Add files via upload
2017-10-13 16:27:41 -04:00
alyosha-tas
258688ebdd
Add files via upload
2017-10-13 11:07:02 -04:00
alyosha-tas
12c46db790
Add files via upload
2017-10-12 20:20:13 -04:00