changed "spc" to "c_sp"
This commit is contained in:
@@ -80,8 +80,8 @@ MikeyInitData: .byte $9e,$18,$68,$1f,$00,$00,$00,$00,$00,$ff,$1a,$1b,$04,$0d,$2
|
||||
|
||||
lda #<(__MAIN_START__ + __MAIN_SIZE__ + __STACKSIZE__)
|
||||
ldx #>(__MAIN_START__ + __MAIN_SIZE__ + __STACKSIZE__)
|
||||
sta spc
|
||||
stx spc+1
|
||||
sta c_sp
|
||||
stx c_sp+1
|
||||
|
||||
; Init Mickey.
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
;
|
||||
; off_t __fastcall__ lseek(int fd, off_t offset, int whence);
|
||||
|
||||
.importzp spc, sreg, regsave, regbank, tmp1, ptr1, ptr2
|
||||
.importzp c_sp, sreg, regsave, regbank, tmp1, ptr1, ptr2
|
||||
.macpack longbranch
|
||||
.export _lseek
|
||||
.import addysp, stax0sp, tosand0ax, pusheax, asreax2
|
||||
|
||||
Reference in New Issue
Block a user