bugfix for HALT
This commit is contained in:
1 parent
c1b264ef9a
commit
43d630a7ee
1 file changed
+4
-1
@@ -43,7 +43,10 @@ Z80_instr_76: ; HALT
|
|||||||
|
|
||||||
ldx #$01 ; default BIOS function, warm start
|
ldx #$01 ; default BIOS function, warm start
|
||||||
|
|
||||||
lda REG_PC
|
lda REG_PC+1
|
||||||
|
cmp #$FE
|
||||||
|
bne @1
|
||||||
|
lda REG_PC+0
|
||||||
sec
|
sec
|
||||||
sbc #$64
|
sbc #$64
|
||||||
cmp #33
|
cmp #33
|
||||||
|
|||||||
Reference in new issue
Block a user