support merged packed files

This commit is contained in:
Peter Ferrie 2021-10-19 11:09:57 -07:00
parent 7ecd31d147
commit 9915862086
2 changed files with 2 additions and 0 deletions

View File

@ -178,6 +178,7 @@ LoadIndexedFile
jsr $bf00 jsr $bf00
!byte $cc !byte $cc
!word @cc_parms !word @cc_parms
jsr swap_zpg ; restore sizelo2/hi2
dec $BF0E ; re-enable ROM mapping on return dec $BF0E ; re-enable ROM mapping on return
jmp SwitchToBank1 jmp SwitchToBank1

View File

@ -20,6 +20,7 @@ buffer = first_zp+2 ;word
ProDOS_enter ProDOS_enter
!set CloseHandles = @imp_close !set CloseHandles = @imp_close
!set swap_zpg = @swap_zp
stx ProDOS_savedX+1 stx ProDOS_savedX+1
sty ProDOS_savedY+1 sty ProDOS_savedY+1
jsr @swap_zp jsr @swap_zp