fix: corrections de bogues : - lors d'essais multiples de lecture ou d'écriture dans la fonction "readsector" et "writesector" - dans les fonctions de projection-exécution

This commit is contained in:
Nicolas Hordé 2007-03-31 11:17:07 +00:00
parent bdcfa07476
commit ea9ab47d47
1 changed files with 6 additions and 8 deletions

View File

@ -161,7 +161,7 @@ PROC execfile FAR
mov di,[@file]
call uppercase,di
call projfile,di
;jc @@reallyerrornoblock
jc @@reallyerrornoblock
call [cs:mbfind],di
jc @@reallyerror
call [cs:mbchown],ax,[word ptr ss:bp+4]
@ -232,7 +232,7 @@ USES cx,si,di,ds,es
pop di
call uppercase,di
call [cs:mbfind],di
jnc @@errorload
jnc @@notace
call searchfile,di
jne @@errorload
jc @@errorload
@ -742,10 +742,9 @@ PROC readsector FAR
shl cl,6
or cl,bl
mov bx,[@pointer]
mov si,4
mov al,1
mov si,5
@@tryagain:
mov ah, 2
mov ax,0201h
int 13h
jnc @@done
dec si
@ -778,10 +777,9 @@ PROC writesector FAR
shl cl,6
or cl, bl
mov bx,[@pointer]
mov si,4
mov al,1
mov si,5
@@tryagain:
mov ah, 3
mov ax,0301h
int 13h
jnc @@done
dec si