feat: finalisation de la verification d'unicité des processus Ajout de la gestion des parents dans la fonction execfile
This commit is contained in:
parent
0af23ddb31
commit
753debd849
|
@ -164,11 +164,24 @@ errorload:
|
||||||
;<- Flag Carry si erreur
|
;<- Flag Carry si erreur
|
||||||
;=====================================================
|
;=====================================================
|
||||||
execfile:
|
execfile:
|
||||||
pushad
|
|
||||||
pushf
|
pushf
|
||||||
|
push bp dx
|
||||||
|
mov bp,sp
|
||||||
|
mov dx,ss:[bp+10]
|
||||||
|
mov ah,0Ah
|
||||||
|
mov cx,16
|
||||||
|
int 47h
|
||||||
|
pushad
|
||||||
push ds es fs gs
|
push ds es fs gs
|
||||||
call projfile
|
call projfile
|
||||||
jc reallyerror
|
jc reallyerror
|
||||||
|
mov ah,0Ah
|
||||||
|
mov cx,16
|
||||||
|
int 47h
|
||||||
|
push es
|
||||||
|
pop gs
|
||||||
|
mov ah,6
|
||||||
|
int 49h
|
||||||
push es
|
push es
|
||||||
push cs
|
push cs
|
||||||
mov ax,offset arrive
|
mov ax,offset arrive
|
||||||
|
@ -191,13 +204,15 @@ execfile:
|
||||||
mov ah,01
|
mov ah,01
|
||||||
int 49h
|
int 49h
|
||||||
pop gs fs es ds
|
pop gs fs es ds
|
||||||
popf
|
|
||||||
popad
|
popad
|
||||||
|
pop dx bp
|
||||||
|
popf
|
||||||
ret
|
ret
|
||||||
reallyerror:
|
reallyerror:
|
||||||
pop gs fs es ds
|
pop gs fs es ds
|
||||||
popf
|
|
||||||
popad
|
popad
|
||||||
|
pop dx bp
|
||||||
|
popf
|
||||||
stc
|
stc
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
@ -298,7 +313,6 @@ errorsearch:
|
||||||
;Transforme la chaine ds:si en maj
|
;Transforme la chaine ds:si en maj
|
||||||
uppercase:
|
uppercase:
|
||||||
push si ax
|
push si ax
|
||||||
mov di,si
|
|
||||||
uppercaser:
|
uppercaser:
|
||||||
mov al,ds:[si]
|
mov al,ds:[si]
|
||||||
cmp al,0
|
cmp al,0
|
||||||
|
|
Loading…
Reference in New Issue