Rev 2089 | Rev 2112 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2089 | Rev 2104 | ||
---|---|---|---|
Line 66... | Line 66... | ||
66 | ;; |
66 | ;; |
67 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
67 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 68... | Line 68... | ||
68 | 68 | ||
Line 69... | Line 69... | ||
69 | include 'macros.inc' |
69 | include 'macros.inc' |
Line 70... | Line 70... | ||
70 | 70 | ||
Line 71... | Line 71... | ||
71 | $Revision: 2089 $ |
71 | $Revision: 2104 $ |
Line 679... | Line 679... | ||
679 | ; PRINT AMOUNT OF MEMORY |
679 | ; PRINT AMOUNT OF MEMORY |
680 | mov esi, boot_memdetect |
680 | mov esi, boot_memdetect |
681 | call boot_log |
681 | call boot_log |
Line 682... | Line 682... | ||
682 | 682 | ||
- | 683 | movzx ecx, word [boot_y] |
|
- | 684 | if lang eq ru |
|
- | 685 | or ecx, (10+30*6) shl 16 |
|
683 | movzx ecx, word [boot_y] |
686 | else |
- | 687 | or ecx, (10+29*6) shl 16 |
|
684 | or ecx, (10+29*6) shl 16 ; "Determining amount of memory" |
688 | end if |
685 | sub ecx, 10 |
689 | sub ecx, 10 |
686 | mov edx, 0xFFFFFF |
690 | mov edx, 0xFFFFFF |
687 | mov ebx, [MEM_AMOUNT] |
691 | mov ebx, [MEM_AMOUNT] |
688 | shr ebx, 20 |
692 | shr ebx, 20 |
Line 804... | Line 808... | ||
804 | mov esi, boot_cpufreq |
808 | mov esi, boot_cpufreq |
805 | call boot_log |
809 | call boot_log |
Line 806... | Line 810... | ||
806 | 810 | ||
807 | mov ebx, edx |
811 | mov ebx, edx |
- | 812 | movzx ecx, word [boot_y] |
|
- | 813 | if lang eq ru |
|
- | 814 | add ecx, (10+19*6) shl 16 - 10; 'Determining amount of memory' |
|
808 | movzx ecx, word [boot_y] |
815 | else |
- | 816 | add ecx, (10+17*6) shl 16 - 10; 'Determining amount of memory' |
|
809 | add ecx, (10+17*6) shl 16 - 10 ; 'CPU frequency is ' |
817 | end if |
810 | mov edx, 0xFFFFFF |
818 | mov edx, 0xFFFFFF |
811 | xor edi,edi |
819 | xor edi,edi |
812 | mov eax, 0x00040000 |
820 | mov eax, 0x00040000 |
813 | inc edi |
821 | inc edi |