wok diff BootProg/stuff/boot16.asm @ rev 25087
Up alpine (2.26)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 17 09:35:48 2022 +0000 (24 months ago) |
parents | 584e67527789 |
children | b56b38cfd475 |
line diff
1.1 --- a/BootProg/stuff/boot16.asm Fri Apr 22 16:00:56 2022 +0000 1.2 +++ b/BootProg/stuff/boot16.asm Fri Jun 17 09:35:48 2022 +0000 1.3 @@ -302,14 +302,14 @@ 1.4 mov dx, 0FFF8h 1.5 1.6 cmp [bx(bpbSectorsPerFAT)], cx ; 1..12 = FAT12, 16..256 = FAT16 1.7 - mov ds, ax 1.8 ja ReadClusterFat16 1.9 1.10 mov dh, 0Fh 1.11 - add si, [cs:di] 1.12 + add si, [di] 1.13 shr si, 1 ; si = cluster * 3 / 2 1.14 1.15 ReadClusterFat16: 1.16 + mov ds, ax 1.17 lodsw ; ax = next cluster 1.18 jnc ReadClusterEven 1.19