feat: evite la creation d'un nouveau bloc memoire fat a chaque appel de la fonction initdrive
This commit is contained in:
parent
4f63f21906
commit
d5a9a53cd6
|
@ -478,11 +478,17 @@ oknoagaintry:
|
|||
shl edx,16
|
||||
add edx,eax
|
||||
mov ecx,edx
|
||||
mov dx,cs
|
||||
mov si,offset datafat
|
||||
mov ah,9
|
||||
int 49h
|
||||
jnc hadafatbloc
|
||||
mov si,offset datafat
|
||||
mov ah,2
|
||||
int 49h
|
||||
mov ah,3
|
||||
int 49h
|
||||
hadafatbloc:
|
||||
xor di,di
|
||||
mov dx,myboot.SectorsPerFat
|
||||
mov cx,AdressFat
|
||||
|
|
Loading…
Reference in New Issue