Commit Graph

53 Commits

Author SHA1 Message Date
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 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
alyosha-tas 2661b0804c z80: fix a typo 2018-06-04 11:15:26 -04:00
alyosha-tas 9f4b6f1ecf z80: Bus timing on interrupts 2018-06-04 08:57:12 -04:00
alyosha-tas 1125ccedc3 z80: fix a bug 2018-06-04 07:52:48 -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 7220e9d394 z80: fix some instruction timings for IN/OUT 2018-06-01 15:21:05 -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 9c06ac02a2 Z80: Fix Flags for IN operations 2018-04-18 19:00:59 -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 396f875ac2 z80 disassembler: handle address wrap 2018-03-15 20:58:08 -04:00
alyosha-tas 8ebcadbc58 z80: fix port addressing in some cases 2018-03-15 20:47:47 -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