wok-6.x diff BootProg/stuff/boot32.asm @ rev 25457
Normazile https://sourceforge.net/projects web_sites
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 23 08:28:09 2022 +0000 (21 months ago) |
parents | 78727b04c002 |
children | 9a714ac859a3 |
line diff
1.1 --- a/BootProg/stuff/boot32.asm Thu Sep 22 07:58:57 2022 +0000 1.2 +++ b/BootProg/stuff/boot32.asm Fri Sep 23 08:28:09 2022 +0000 1.3 @@ -489,7 +489,7 @@ 1.4 %endif 1.5 int 13h ; reset drive (DL) 1.6 1.7 - dec bp 1.8 + dec bp ; up to 32 retries 1.9 jnz ReadSectorRetry 1.10 %endif 1.11 1.12 @@ -505,7 +505,7 @@ 1.13 stc 1.14 loop ReadSectorNext 1.15 1.16 - cmp esi, 0FFFFFF8h ; carry=0 if last cluster, and carry=1 otherwise 1.17 + cmp esi, 0FFFFFF6h ; carry=0 if last cluster, and carry=1 otherwise 1.18 1.19 ReadSectorNext: 1.20 ret