Now memory amount is printed in bootlog

git-svn-id: svn://kolibrios.org@194 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Evgeny Grechnikov (Diamond) 2006-10-25 10:28:41 +00:00
parent 1668ac9032
commit ef2a2e0e6a

View File

@ -1271,7 +1271,7 @@ display_number:
and eax,0x3f and eax,0x3f
push eax push eax
mov edi,esp mov edi,esp
add edi,4+64 add edi,4+64-1
mov ecx,eax mov ecx,eax
mov eax,ebx mov eax,ebx
mov ebx,10 mov ebx,10
@ -1295,7 +1295,7 @@ display_number:
and eax,0x3f and eax,0x3f
push eax push eax
mov edi,esp mov edi,esp
add edi,4+64 add edi,4+64-1
mov ecx,eax mov ecx,eax
mov eax,ebx mov eax,ebx
mov ebx,16 mov ebx,16
@ -1320,7 +1320,7 @@ display_number:
and eax,0x3f and eax,0x3f
push eax push eax
mov edi,esp mov edi,esp
add edi,4+64 add edi,4+64-1
mov ecx,eax mov ecx,eax
mov eax,ebx mov eax,ebx
mov ebx,2 mov ebx,2
@ -1361,10 +1361,9 @@ draw_num_text:
; rol eax,16 ; rol eax,16
mov edx,eax mov edx,eax
mov ecx,65 mov ecx,64+4
sub ecx,eax sub ecx,eax
add ecx,esp add ecx,esp
add ecx,4
mov eax,[esp+64+32-8+4] mov eax,[esp+64+32-8+4]
push edx ; add window start x & y push edx ; add window start x & y
mov edx,[0x3010] mov edx,[0x3010]
@ -1378,7 +1377,7 @@ draw_num_text:
mov ebx,[esp+64+32-12+4] mov ebx,[esp+64+32-12+4]
and ebx, not 0x80000000 ; force counted string and ebx, not 0x80000000 ; force counted string
mov esi, [esp+64+4+4] mov esi, [esp+64+4+4]
xor edi,edi mov edi, [esp+64+4]
jmp dtext jmp dtext
read_string: read_string: