changed "spc" to "c_sp"
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
.export _inflatemem
|
||||
|
||||
.import incsp2
|
||||
.importzp spc, sreg, ptr1, ptr2, ptr3, ptr4
|
||||
.importzp c_sp, sreg, ptr1, ptr2, ptr3, ptr4
|
||||
|
||||
; --------------------------------------------------------------------------
|
||||
;
|
||||
@@ -79,10 +79,10 @@ _inflatemem:
|
||||
stx inputPointer+1
|
||||
; outputPointer = dest
|
||||
ldy #1
|
||||
lda (spc),y
|
||||
lda (c_sp),y
|
||||
sta outputPointer+1
|
||||
dey
|
||||
lda (spc),y
|
||||
lda (c_sp),y
|
||||
sta outputPointer
|
||||
|
||||
; ldy #0
|
||||
@@ -129,11 +129,11 @@ inflate_nextBlock:
|
||||
lda outputPointer
|
||||
; ldy #0
|
||||
; sec
|
||||
sbc (spc),y
|
||||
sbc (c_sp),y
|
||||
iny
|
||||
pha
|
||||
lda outputPointer+1
|
||||
sbc (spc),y
|
||||
sbc (c_sp),y
|
||||
tax
|
||||
pla
|
||||
; pop dest
|
||||
|
||||
Reference in New Issue
Block a user