fix: ajout de la gestion des blocs de mémoire résident et correction des bogues
This commit is contained in:
parent
056902c2cf
commit
c3c97b251b
|
@ -39,10 +39,10 @@ mov dx,ds:[MB.Sizes]
|
||||||
shl edx,4
|
shl edx,4
|
||||||
mov ah,0Fh
|
mov ah,0Fh
|
||||||
int 47h
|
int 47h
|
||||||
|
mov bh,24
|
||||||
|
cmp ds:[MB.IsResident],true
|
||||||
push cs
|
push cs
|
||||||
pop ds
|
pop ds
|
||||||
mov bh,24
|
|
||||||
cmp ds:[MB.Sizes],true
|
|
||||||
jne notresident
|
jne notresident
|
||||||
mov si,offset resident
|
mov si,offset resident
|
||||||
mov ah,14h
|
mov ah,14h
|
||||||
|
@ -81,7 +81,7 @@ fino:
|
||||||
db 0CBh
|
db 0CBh
|
||||||
resident db 'oui',0
|
resident db 'oui',0
|
||||||
nonresident db 'non',0
|
nonresident db 'non',0
|
||||||
msg db 'Memory manager V1.2',0
|
msg db 'Memory manager V1.3',0
|
||||||
menu db 'Nom | Taille | Res | Parent | Mem',0
|
menu db 'Nom | Taille | Res | Parent | Mem',0
|
||||||
|
|
||||||
end start
|
end start
|
||||||
|
|
Loading…
Reference in New Issue