fix: bogue dans la fonction "mbfree" la mémoire libre n'était pas affichée "libre" bogue dans la fonction "mballoc" qui n'utilisait pas le bon segment pour le programme appelant

This commit is contained in:
Nicolas Hordé 2007-03-28 21:26:59 +00:00
parent b9250f34ee
commit ab40064c1f
1 changed files with 3 additions and 1 deletions

View File

@ -349,6 +349,8 @@ PROC mbfree FAR
jne @@nottofree
mov [es:mb.isresident],false
mov [es:mb.reference],free
mov si,offset @@isfree
lea di,[es:mb.names]
mov cx,6
cld
rep movsb
@ -491,7 +493,7 @@ PROC mballoc FAR
push cs
pop ds
call mbcreate,offset @@data,[@size]
call mbchown,ax,[word ptr ss:bp+2]
call mbchown,ax,[word ptr ss:bp+4]
ret
@@data db '/data',0