Merge remote-tracking branch 'origin/disasm'

This commit is contained in:
Joshua Bell 2019-01-29 23:00:07 -08:00
commit c355d59221

View File

@ -1778,7 +1778,9 @@ L4CD6: pha
bpl :- bpl :-
jsr redraw_windows_and_desktop jsr redraw_windows_and_desktop
jsr jt_delete_file jsr jt_delete_file
L4D9D: pha L4D9D: pha
jsr set_pointer_cursor jsr set_pointer_cursor
pla pla
@ -1787,24 +1789,29 @@ L4D9D: pha
: addr_call find_last_path_segment, path_buf3 : addr_call find_last_path_segment, path_buf3
sty path_buf3 sty path_buf3
addr_call find_window_for_path, path_buf3 addr_call find_window_for_path, path_buf3
beq L4DC2 beq :+
pha pha
jsr update_used_free_for_vol_windows jsr update_used_free_for_vol_windows
pla pla
jmp select_and_refresh_window jmp select_and_refresh_window
L4DC2: ldy #1 ;; --------------------------------------------------
: iny ;; Update used/free for windows for same vol as path_buf3
: ldy #1
@loop: iny
lda path_buf3,y lda path_buf3,y
cmp #'/' cmp #'/'
beq :+ beq :+
cpy path_buf3 cpy path_buf3
bne :- bne @loop
iny iny
: dey : dey
sty path_buf3 sty path_buf3
addr_call find_windows_for_prefix, path_buf3 addr_call find_windows_for_prefix, path_buf3
ldax #path_buf3 ldax #path_buf3
ldy path_buf3 ldy path_buf3
jsr update_vol_used_free_for_found_windows jsr update_vol_used_free_for_found_windows