test #2674
This commit is contained in:
@@ -33,7 +33,7 @@ Start:
|
||||
sei ; No interrupts since we're banking out the ROM
|
||||
sta ENABLE_RAM
|
||||
ldx #zpspace-1
|
||||
L1: lda sp,x
|
||||
L1: lda c_sp,x
|
||||
sta zpsave,x
|
||||
dex
|
||||
bpl L1
|
||||
@@ -53,8 +53,8 @@ L1: lda sp,x
|
||||
|
||||
lda #<__HIMEM__
|
||||
ldx #>__HIMEM__
|
||||
sta sp
|
||||
stx sp+1
|
||||
sta c_sp
|
||||
stx c_sp+1
|
||||
|
||||
; Set up the IRQ vector in the banked RAM; and, switch off the ROM.
|
||||
|
||||
@@ -114,7 +114,7 @@ _exit: pha ; Save the return code
|
||||
|
||||
ldx #zpspace-1
|
||||
L2: lda zpsave,x
|
||||
sta sp,x
|
||||
sta c_sp,x
|
||||
dex
|
||||
bpl L2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user