Skip to content

Commit

Permalink
Fixed EI and DI stepping for Z80.
Browse files Browse the repository at this point in the history
  • Loading branch information
lab313ru committed Jun 24, 2021
1 parent ea1c235 commit 18504df
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Gens/asm/z80.asm
Original file line number Diff line number Diff line change
Expand Up @@ -2607,6 +2607,12 @@ Z80I_DI:
mov zxIFF, ecx
sub edi, byte 4

pusha
mov ecx, zxPC
sub ecx, [ebp + Z80.BasePC]
call @z80TracePC@4
popa

%if (GENS_LOG == 1)
push eax
push ecx
Expand All @@ -2633,6 +2639,12 @@ Z80I_EI:
mov zxIFF, ecx
sub edi, byte 4

pusha
mov ecx, zxPC
sub ecx, [ebp + Z80.BasePC]
call @z80TracePC@4
popa

%if (GENS_LOG == 1)
push eax
push ecx
Expand Down

0 comments on commit 18504df

Please sign in to comment.