rename "sp" to "spc", avoid conflict with 4510 opcodes

This commit is contained in:
Gorilla Sapiens
2025-06-04 02:06:40 +00:00
parent 58171691d0
commit 3d118dc6e5
204 changed files with 908 additions and 908 deletions

View File

@@ -8,7 +8,7 @@
.include "tgi-kernel.inc"
.import addysp1
.importzp sp
.importzp spc
.proc _tgi_outtextxy
@@ -17,16 +17,16 @@
pha ;
ldy #0
lda (sp),y
lda (spc),y
sta _tgi_cury
iny
lda (sp),y
lda (spc),y
sta _tgi_cury+1
iny
lda (sp),y
lda (spc),y
sta _tgi_curx
iny
lda (sp),y
lda (spc),y
sta _tgi_curx+1
pla
jsr addysp1 ; Drop arguments from stack