From dcd98e5eb7004579b59c005bd916557d41627bf9 Mon Sep 17 00:00:00 2001 From: Adrian Conlon Date: Fri, 20 Mar 2026 09:55:40 +0000 Subject: [PATCH] Simplify Z80 IM2 implementation --- Z80/Z80.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Z80/Z80.cs b/Z80/Z80.cs index c3c2b5c..c823ad5 100644 --- a/Z80/Z80.cs +++ b/Z80/Z80.cs @@ -580,9 +580,8 @@ namespace Z80 break; case 2: this.Tick(); - this.PushWord(this.PC); - this.Bus.Address.Assign(data, this.IV); - this.PC.Assign(this.GetWordPaged()); + this.MEMPTR.Assign(this.GetWordPaged(data, this.IV)); + this.Call(this.MEMPTR); Debug.Assert(this.Cycles == 19); break; default: