summaryrefslogtreecommitdiff
path: root/z80.cpu
diff options
context:
space:
mode:
Diffstat (limited to 'z80.cpu')
-rw-r--r--z80.cpu15
1 files changed, 15 insertions, 0 deletions
diff --git a/z80.cpu b/z80.cpu
index 7772538..4e422f6 100644
--- a/z80.cpu
+++ b/z80.cpu
@@ -1545,7 +1545,22 @@ ed 01DDD100 neg
00000000 nop
01110110 halt
+ cmp nmi_cycle cycles
+ if >=U
+
+ else
+ cmp int_cycle cycles
+ if >=U
+
+ if iff1
+ else
sub 1 pc pc
+ end
+
+ else
+ sub 1 pc pc
+ end
+ end
11110011 di
mov 0 iff1