fix: correction d'un oubli, les structures CE commencent en 0h, changement des fonctions MBsearchfunc et MBloadfuncs
This commit is contained in:
parent
8da7e5072a
commit
cac7a678dd
|
@ -78,9 +78,9 @@ MBloadfuncs:
|
||||||
push ax bx ecx dx si di ds es gs
|
push ax bx ecx dx si di ds es gs
|
||||||
push gs
|
push gs
|
||||||
pop ds
|
pop ds
|
||||||
cmp word ptr ds:[102h],"EC"
|
cmp word ptr ds:[exe.Checks],"EC"
|
||||||
jne notloaded
|
jne notloaded
|
||||||
mov si,ds:[100h+exe.import+2]
|
mov si,ds:[exe.import]
|
||||||
loadfuncs:
|
loadfuncs:
|
||||||
cmp word ptr [si],0
|
cmp word ptr [si],0
|
||||||
je endofloading
|
je endofloading
|
||||||
|
@ -135,9 +135,9 @@ findend:
|
||||||
call MBfind
|
call MBfind
|
||||||
mov byte ptr [bx],':'
|
mov byte ptr [bx],':'
|
||||||
jc notfoundattallthesb
|
jc notfoundattallthesb
|
||||||
cmp word ptr gs:[102h],"EC"
|
cmp word ptr gs:[exe.checks],"EC"
|
||||||
jne notfoundattallthesb
|
jne notfoundattallthesb
|
||||||
mov di,gs:[100h+exe.export+2]
|
mov di,gs:[exe.export]
|
||||||
inc bx
|
inc bx
|
||||||
inc bx
|
inc bx
|
||||||
functions:
|
functions:
|
||||||
|
|
Loading…
Reference in New Issue