From cac7a678dd8d3122977897a04eb0f9fbc4668223 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Hord=C3=A9?= Date: Fri, 19 Nov 2004 18:58:30 +0000 Subject: [PATCH] fix: correction d'un oubli, les structures CE commencent en 0h, changement des fonctions MBsearchfunc et MBloadfuncs --- noyau/mcb.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/noyau/mcb.asm b/noyau/mcb.asm index 8563682..0d5931e 100644 --- a/noyau/mcb.asm +++ b/noyau/mcb.asm @@ -78,9 +78,9 @@ MBloadfuncs: push ax bx ecx dx si di ds es gs push gs pop ds - cmp word ptr ds:[102h],"EC" + cmp word ptr ds:[exe.Checks],"EC" jne notloaded - mov si,ds:[100h+exe.import+2] + mov si,ds:[exe.import] loadfuncs: cmp word ptr [si],0 je endofloading @@ -135,9 +135,9 @@ findend: call MBfind mov byte ptr [bx],':' jc notfoundattallthesb - cmp word ptr gs:[102h],"EC" + cmp word ptr gs:[exe.checks],"EC" jne notfoundattallthesb - mov di,gs:[100h+exe.export+2] + mov di,gs:[exe.export] inc bx inc bx functions: