This commit is contained in:
mrdudz
2025-06-23 17:09:06 +02:00
parent 4863a3e29b
commit 5fc15a7a60
204 changed files with 915 additions and 912 deletions

View File

@@ -5,7 +5,7 @@
; int __cdecl__ xreg(char device, char channel, unsigned char address, ...);
.export _xreg
.importzp sp
.importzp c_sp
.import addysp, _ria_call_int_errno
.include "rp6502.inc"
@@ -20,12 +20,12 @@
@copy: ; copy stack
dey
lda (sp),y
lda (c_sp),y
sta RIA_XSTACK
tya
bne @copy
; recover variadic size and move sp
; recover variadic size and move c_sp
txa
tay
jsr addysp