From 2501bdfd28fd0fe4d00534cb121c2de0773249e2 Mon Sep 17 00:00:00 2001 From: Adrian Conlon <98398945+AdrianConlon@users.noreply.github.com> Date: Sat, 3 May 2025 22:46:02 +0100 Subject: [PATCH] More block timing issues corrected. 16 issues remaining --- Z80/Z80.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Z80/Z80.cs b/Z80/Z80.cs index 97b9988..1b380af 100644 --- a/Z80/Z80.cs +++ b/Z80/Z80.cs @@ -1026,7 +1026,7 @@ namespace Z80 --this.PC.Word; } - this.Tick(7); + this.Tick(5); break; case 7: // LDDR if (this.LDDR()) @@ -1036,7 +1036,7 @@ namespace Z80 --this.PC.Word; } - this.Tick(7); + this.Tick(5); break; default: break; @@ -1061,7 +1061,6 @@ namespace Z80 this.Tick(5); } - this.Tick(5); break; case 7: // CPDR if (this.CPDR()) @@ -1076,7 +1075,7 @@ namespace Z80 this.MEMPTR.Word = (ushort)(this.PC.Word - 2); } - this.Tick(7); + this.Tick(2); break; default: break; @@ -1129,7 +1128,6 @@ namespace Z80 this.Tick(5); } - this.Tick(3); break; case 7: // OTDR if (this.OTDR())