From 0a0e9cc723426c2f745fdfcaa72820088ddda668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Hord=C3=A9?= Date: Sat, 30 Oct 2004 20:36:00 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20correction=20de=20bogues=20(sauts=20et?= =?UTF-8?q?=20flag=20carry)=20lors=20de=20l'echec=20de=20la=20projection?= =?UTF-8?q?=20en=20m=C3=A9moire=20dans=20la=20fonction=20execfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noyau/disque.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/noyau/disque.asm b/noyau/disque.asm index 54ca5ce..e471718 100644 --- a/noyau/disque.asm +++ b/noyau/disque.asm @@ -166,9 +166,8 @@ errorload: execfile: pushad pushf - push ds es fs gs - mov ah,17 - int 48h + push ds es fs gs + call projfile jc reallyerror push cs mov ax,offset arrive @@ -195,6 +194,7 @@ reallyerror: pop gs fs es ds popf popad + stc ret ;============projfile (Fonction 17)=============== @@ -208,8 +208,8 @@ projfile: pop es mov di,offset tempfit call searchfile - jne errorload - jc errorload + jne errorload2 + jc errorload2 mov eax,cs:tempfit.FileSize mov ecx,eax add ecx,19000