fixed bug in init_LFB()

git-svn-id: svn://kolibrios.org@389 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge)
2007-03-05 21:37:28 +00:00
parent 9140ef0cce
commit 3764b8d630
13 changed files with 87 additions and 77 deletions

View File

@@ -389,8 +389,8 @@ choice_necessity_partition:
choice_necessity_partition_1:
mov ecx,[hdpos]
xor eax,eax
mov [0xfe10], eax ; entries in hd cache
mov edx,0x40002
mov [hd_entries], eax ; entries in hd cache
mov edx,DRIVE_DATA+2
search_partition_array:
mov bl,[edx]
movzx ebx,bl
@@ -402,7 +402,7 @@ choice_necessity_partition_1:
dec eax
xor edx,edx
imul eax,100
add eax,0x4000a
add eax,DRIVE_DATA+0xa
mov [transfer_adress],eax
call partition_data_transfer_1
ret