changed "spc" to "c_sp"
This commit is contained in:
@@ -22,8 +22,8 @@ startup:cld
|
||||
txs
|
||||
lda #<(__MAIN_START__ + __MAIN_SIZE__ + __STACKSIZE__)
|
||||
ldx #>(__MAIN_START__ + __MAIN_SIZE__ + __STACKSIZE__)
|
||||
sta spc
|
||||
stx spc+1
|
||||
sta c_sp
|
||||
stx c_sp+1
|
||||
jsr zerobss
|
||||
jsr initlib
|
||||
jsr callmain
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
;
|
||||
|
||||
.export __EXEHDR__ : absolute = 1 ; Linker referenced
|
||||
.importzp spc
|
||||
.importzp c_sp
|
||||
.import __MAIN_START__
|
||||
.import startup
|
||||
|
||||
@@ -24,6 +24,6 @@
|
||||
.else
|
||||
.error Unknown CPU type.
|
||||
.endif
|
||||
.byte spc ; spc address
|
||||
.byte c_sp ; c_sp address
|
||||
.addr __MAIN_START__ ; load address
|
||||
.addr startup ; reset address
|
||||
|
||||
Reference in New Issue
Block a user