wok diff BootProg/stuff/bootex.asm @ rev 25469
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 07 09:15:33 2022 +0000 (19 months ago) |
parents | 4c101652eb90 |
children | f40d97a52c42 |
line diff
1.1 --- a/BootProg/stuff/bootex.asm Mon Oct 03 08:28:51 2022 +0000 1.2 +++ b/BootProg/stuff/bootex.asm Fri Oct 07 09:15:33 2022 +0000 1.3 @@ -81,7 +81,7 @@ 1.4 NullEntryCheck equ 1 ; +3 bytes 1.5 ReadRetry equ 1 ; +8 bytes 1.6 SectorOf512Bytes equ 1 ; -13 bytes 1.7 -CheckAttrib equ 0 ; +6 bytes 1.8 +CheckAttrib equ 0 ; +19 bytes 1.9 1.10 [BITS 16] 1.11 [CPU 386] 1.12 @@ -199,13 +199,20 @@ 1.13 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1.14 1.15 CurNameSize equ 03h ; 1 byte 1.16 -Attributes equ 0Bh ; 1 byte 1.17 StartCluster equ 14h ; 4 bytes 1.18 FileSize equ 18h ; 8 bytes 1.19 1.20 FindNameCycle: 1.21 pusha 1.22 1.23 +%if CheckAttrib != 0 1.24 +Attributes equ 0Bh ; 1 byte 1.25 + cmp byte [es:di], 85h ; EXFAT_ENTRY_FILE ? 1.26 + jne NotEntryFile 1.27 + mov al, [es:di+Attributes] 1.28 + mov [bx+32], al 1.29 +NotEntryFile: 1.30 +%endif 1.31 %if NullEntryCheck != 0 1.32 xor ax, ax 1.33 or al, [es:di] 1.34 @@ -239,7 +246,7 @@ 1.35 VolumeLabel equ 8 1.36 SubDirectory equ 10h 1.37 jnz SkipFindName 1.38 - test byte [bx+Attributes], VolumeLabel+SubDirectory 1.39 + test byte [bx+32], VolumeLabel+SubDirectory 1.40 SkipFindName: 1.41 %endif 1.42 je FindNameFound ; cx = 0