From dc30bfd8f1fe240a843acc7ba997c2a9732b29fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Hord=C3=A9?= Date: Wed, 10 Nov 2004 12:01:56 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20chargement=20des=20fichiers=20systeme=20?= =?UTF-8?q?a=20leur=20taille=20r=C3=A9elle=20et=20correction=20d'un=20bogu?= =?UTF-8?q?e=20dans=20l'affichage=20de=20leur=20occupation=20m=C3=A9moire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noyau/systeme.asm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/noyau/systeme.asm b/noyau/systeme.asm index 81003ad..64cf4ee 100644 --- a/noyau/systeme.asm +++ b/noyau/systeme.asm @@ -672,7 +672,7 @@ notsogood: ;remplace le handler pointer par ds:si en bloc:100h interruption ax replacehandler: -push ax bx cx si di es ds +push ax bx cx si di ds call projfile jc reph mov bx,ax @@ -681,7 +681,7 @@ mov es:[102h],si mov es:[104h],ds call setint reph: -pop ds es di si cx bx ax +pop ds di si cx bx ax ret ;install le handler pointer par ds:si en bloc:100h interruption ax -> es @@ -788,13 +788,14 @@ projfile: push eax bx di gs push cs pop es + call uppercase mov di,offset tempfit call searchfile jne errorload jc errorload mov eax,cs:tempfit.FileSize mov ecx,eax - add ecx,19000 + add ecx,100h call MBCreate jc errorload push gs