changed "spc" to "c_sp"

This commit is contained in:
Gorilla Sapiens
2025-06-04 06:37:59 +00:00
parent 3d118dc6e5
commit b6f42f9ab2
204 changed files with 913 additions and 909 deletions

View File

@@ -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

View File

@@ -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