changed "spc" to "c_sp"
This commit is contained in:
@@ -7,23 +7,23 @@
|
||||
.export _DbgMemDump
|
||||
.import addysp1
|
||||
.import __hextab
|
||||
.importzp spc, tmp2, tmp3, tmp4, ptr3, ptr4
|
||||
.importzp c_sp, tmp2, tmp3, tmp4, ptr3, ptr4
|
||||
|
||||
_DbgMemDump:
|
||||
ldy #0
|
||||
lda (spc),y ; Get length
|
||||
lda (c_sp),y ; Get length
|
||||
sta tmp4
|
||||
iny
|
||||
lda (spc),y ; Get the string buffer
|
||||
lda (c_sp),y ; Get the string buffer
|
||||
sta ptr3
|
||||
iny
|
||||
lda (spc),y
|
||||
lda (c_sp),y
|
||||
sta ptr3+1
|
||||
iny
|
||||
lda (spc),y ; Get the address
|
||||
lda (c_sp),y ; Get the address
|
||||
sta ptr4
|
||||
iny
|
||||
lda (spc),y
|
||||
lda (c_sp),y
|
||||
sta ptr4+1
|
||||
jsr addysp1 ; Drop the parameters
|
||||
|
||||
|
||||
Reference in New Issue
Block a user