changed "spc" to "c_sp"
This commit is contained in:
@@ -55,7 +55,7 @@ _exit: pha ; Save the return code on stack
|
||||
|
||||
ldx #zpspace-1
|
||||
L2: lda zpsave,x
|
||||
sta spc,x
|
||||
sta c_sp,x
|
||||
dex
|
||||
bpl L2
|
||||
|
||||
@@ -85,7 +85,7 @@ init:
|
||||
; Save the zero-page locations that we need.
|
||||
|
||||
ldx #zpspace-1
|
||||
L1: lda spc,x
|
||||
L1: lda c_sp,x
|
||||
sta zpsave,x
|
||||
dex
|
||||
bpl L1
|
||||
@@ -94,8 +94,8 @@ L1: lda spc,x
|
||||
|
||||
lda #<(__MAIN_START__ + __MAIN_SIZE__)
|
||||
ldx #>(__MAIN_START__ + __MAIN_SIZE__)
|
||||
sta spc
|
||||
stx spc+1 ; Set argument stack ptr
|
||||
sta c_sp
|
||||
stx c_sp+1 ; Set argument stack ptr
|
||||
|
||||
; Switch to the second charset.
|
||||
|
||||
|
||||
@@ -239,11 +239,11 @@ MOVE: sei ; No interrupts
|
||||
jsr CMOVEY ; Set it
|
||||
|
||||
ldy #$01
|
||||
lda (spc),y
|
||||
lda (c_sp),y
|
||||
sta XPos+1
|
||||
tax
|
||||
dey
|
||||
lda (spc),y
|
||||
lda (c_sp),y
|
||||
sta XPos ; New X position
|
||||
|
||||
jsr CMOVEX ; Move the cursor
|
||||
|
||||
@@ -249,10 +249,10 @@ MOVE: sei ; No interrupts
|
||||
jsr MoveY
|
||||
|
||||
ldy #$01
|
||||
lda (spc),y
|
||||
lda (c_sp),y
|
||||
tax
|
||||
dey
|
||||
lda (spc),y
|
||||
lda (c_sp),y
|
||||
jsr MoveX ; Move the cursor
|
||||
|
||||
cli ; Allow interrupts
|
||||
|
||||
@@ -245,11 +245,11 @@ MOVE: sei ; No interrupts
|
||||
jsr CMOVEY ; Set it
|
||||
|
||||
ldy #$01
|
||||
lda (spc),y
|
||||
lda (c_sp),y
|
||||
sta XPos+1
|
||||
tax
|
||||
dey
|
||||
lda (spc),y
|
||||
lda (c_sp),y
|
||||
sta XPos ; New X position
|
||||
|
||||
jsr CMOVEX ; Move the cursor
|
||||
|
||||
@@ -230,11 +230,11 @@ MOVE: sei ; No interrupts
|
||||
jsr CMOVEY ; Set it
|
||||
|
||||
ldy #$01
|
||||
lda (spc),y
|
||||
lda (c_sp),y
|
||||
sta XPos+1
|
||||
tax
|
||||
dey
|
||||
lda (spc),y
|
||||
lda (c_sp),y
|
||||
sta XPos ; New X position
|
||||
|
||||
jsr CMOVEX ; Move the cursor
|
||||
|
||||
Reference in New Issue
Block a user