Guides:Coin Case ACE: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
Line 363: | Line 363: | ||
E8 FF add sp, -1 ; Fix the effect of increasing the stack pointer |
E8 FF add sp, -1 ; Fix the effect of increasing the stack pointer |
||
F1 pop af ; a = $03 |
F1 pop af ; a = $03 |
||
E0 9F ld ($FF9F), a |
E0 9F ld ($FF9F), a ; Ensures return to ROM bank 3 after resuming execution |
||
A7 and a ; Reset carry flag. Not strictly necessary, but added for safety for now |
A7 and a ; Reset carry flag. Not strictly necessary, but added for safety for now |
||
D0 ret nc |
D0 ret nc |