Apple2: mutualize mli filename push (-0 to -18 bytes)

This commit is contained in:
Colin Leroy-Mira
2025-10-25 12:00:17 +02:00
committed by Oliver Schmidt
parent 3b8531a422
commit 280f296952
8 changed files with 19 additions and 23 deletions

View File

@@ -5,7 +5,7 @@
;
.export __sysrename
.import pushname, popname
.import pushname, pushname_tos, popname
.import popax
.include "zeropage.inc"
@@ -17,8 +17,7 @@ __sysrename:
stx ptr2+1
; Get and push oldname
jsr popax
jsr pushname
jsr pushname_tos
bne oserr1
; Save pushed oldname