Eliminated local var in mainmem.path.s (use ZPTMP)

This commit is contained in:
Bobbi Webber-Manners 2023-01-04 21:04:57 -05:00
parent 5d96b7d115
commit 9bf86a54fe
2 changed files with 3 additions and 2 deletions

View File

@ -37,7 +37,7 @@ A4H EQU $43
ISRL EQU $02 ; Used for ISR only
ISRH EQU $03 ; Used for ISR only
SHRZP EQU $56 ; 25 bytes, persistent, SHR code only
TMPZP EQU $56+25 ; Temp scratch space for routines
TMPZP EQU $56+25 ; 20 bytes temp scratch space for locals
* Used by XFER
STRTL EQU $3ED

View File

@ -219,7 +219,8 @@ INSMF PHA ; Preserve char
STA MOSFILE,Y ; Insert it
INC MOSFILE ; One char longer
RTS
:INSIDX DB $00
* Zero page
:INSIDX EQU TMPZP+0
* Copy Pascal-style string
* Source in A1L/A1H, dest in A4L/A4H