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

@@ -13,7 +13,7 @@
.import initlib, donelib
.import push0, _main
.import IRQStub, __nmi
.importzp spc
.importzp c_sp
; Linker-generated
.import __CARTSIZE__
@@ -86,8 +86,8 @@ start: sei
; Set up the stack
lda #<(__MAIN_START__ + __MAIN_SIZE__ + __STACKSIZE__)
ldx #>(__MAIN_START__ + __MAIN_SIZE__ + __STACKSIZE__)
sta spc
stx spc+1
sta c_sp
stx c_sp+1
; Call the module constructors.
jsr initlib