bugfix for HALT

This commit is contained in:
FeralChild64 committed 2020-12-20 21:02:01 +01:00
1 parent c1b264ef9a
commit 43d630a7ee
1 file changed
+4 -1
+4 -1
View File
@@ -43,7 +43,10 @@ Z80_instr_76: ; HALT
ldx #$01 ; default BIOS function, warm start
lda REG_PC
lda REG_PC+1
cmp #$FE
bne @1
lda REG_PC+0
sec
sbc #$64
cmp #33