fix: correction de bogues (sauts et flag carry) lors de l'echec de la projection en mémoire dans la fonction execfile
This commit is contained in:
parent
4b570f7995
commit
0a0e9cc723
|
@ -166,9 +166,8 @@ errorload:
|
||||||
execfile:
|
execfile:
|
||||||
pushad
|
pushad
|
||||||
pushf
|
pushf
|
||||||
push ds es fs gs
|
push ds es fs gs
|
||||||
mov ah,17
|
call projfile
|
||||||
int 48h
|
|
||||||
jc reallyerror
|
jc reallyerror
|
||||||
push cs
|
push cs
|
||||||
mov ax,offset arrive
|
mov ax,offset arrive
|
||||||
|
@ -195,6 +194,7 @@ reallyerror:
|
||||||
pop gs fs es ds
|
pop gs fs es ds
|
||||||
popf
|
popf
|
||||||
popad
|
popad
|
||||||
|
stc
|
||||||
ret
|
ret
|
||||||
|
|
||||||
;============projfile (Fonction 17)===============
|
;============projfile (Fonction 17)===============
|
||||||
|
@ -208,8 +208,8 @@ projfile:
|
||||||
pop es
|
pop es
|
||||||
mov di,offset tempfit
|
mov di,offset tempfit
|
||||||
call searchfile
|
call searchfile
|
||||||
jne errorload
|
jne errorload2
|
||||||
jc errorload
|
jc errorload2
|
||||||
mov eax,cs:tempfit.FileSize
|
mov eax,cs:tempfit.FileSize
|
||||||
mov ecx,eax
|
mov ecx,eax
|
||||||
add ecx,19000
|
add ecx,19000
|
||||||
|
|
Loading…
Reference in New Issue