File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed
Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -708,26 +708,23 @@ zproc bdos_RENAMEFILE
708708 ; New name: param+16
709709
710710 jsr get_closed_file_table_entry
711- phx
711+ txa
712+ clc
713+ adc #<(file_table+FT_FILENAMELEN)
714+ sta CP_PARAM+0
715+ lda #>(file_table+FT_FILENAMELEN)
716+ adc #0
717+ sta CP_PARAM+1
712718
713719 clc
714720 lda param+0
715721 adc #16
716722 sta param+0
717- zif_eq
723+ zif_cs
718724 inc param+1
719725 zendif
720726
721- jsr get_closed_file_table_entry
722-
723- pla
724- inc a
725- clc
726- adc #<file_table
727- sta CP_PARAM+0
728- lda #>file_table
729- adc #0
730- sta CP_PARAM+1
727+ jsr convert_filename
731728
732729 lda #<(temp_file_entry+FT_FILENAMELEN)
733730 sta CP_PARAM+2
@@ -1240,7 +1237,6 @@ zproc open_file_table_entry
12401237
12411238 ; Update the LRU list.
12421239
1243- update_lru_list_debug:
12441240 ldx #NUM_FILES-1
12451241 ldy #NUM_FILES-1
12461242 zrepeat
You can’t perform that action at this time.
0 commit comments