Rev 2106 | Rev 2141 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2106 | Rev 2130 | ||
---|---|---|---|
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: 2106 $ |
71 | $Revision: 2130 $ |
Line 319... | Line 319... | ||
319 | mov dword [sys_pgdir+4], eax |
319 | mov dword [sys_pgdir+4], eax |
Line 320... | Line 320... | ||
320 | 320 | ||
321 | mov eax, cr3 |
321 | mov eax, cr3 |
Line -... | Line 322... | ||
- | 322 | mov cr3, eax ; flush TLB |
|
- | 323 | ||
- | 324 | mov ecx, pg_data.mutex |
|
- | 325 | call mutex_init |
|
- | 326 | ||
- | 327 | mov ecx, disk_list_mutex |
|
322 | mov cr3, eax ; flush TLB |
328 | call mutex_init |
323 | 329 | ||
324 | ; SAVE REAL MODE VARIABLES |
330 | ; SAVE REAL MODE VARIABLES |
325 | mov ax, [BOOT_VAR + 0x9031] |
331 | mov ax, [BOOT_VAR + 0x9031] |
Line 711... | Line 717... | ||
711 | ; PRINT AMOUNT OF MEMORY |
717 | ; PRINT AMOUNT OF MEMORY |
712 | mov esi, boot_memdetect |
718 | mov esi, boot_memdetect |
713 | call boot_log |
719 | call boot_log |
Line 714... | Line 720... | ||
714 | 720 | ||
- | 721 | movzx ecx, word [boot_y] |
|
- | 722 | if lang eq ru |
|
- | 723 | or ecx, (10+30*6) shl 16 |
|
715 | movzx ecx, word [boot_y] |
724 | else |
- | 725 | or ecx, (10+29*6) shl 16 |
|
716 | or ecx, (10+29*6) shl 16 ; "Determining amount of memory" |
726 | end if |
717 | sub ecx, 10 |
727 | sub ecx, 10 |
718 | mov edx, 0xFFFFFF |
728 | mov edx, 0xFFFFFF |
719 | mov ebx, [MEM_AMOUNT] |
729 | mov ebx, [MEM_AMOUNT] |
720 | shr ebx, 20 |
730 | shr ebx, 20 |
Line 830... | Line 840... | ||
830 | mov esi, boot_cpufreq |
840 | mov esi, boot_cpufreq |
831 | call boot_log |
841 | call boot_log |
Line 832... | Line 842... | ||
832 | 842 | ||
833 | mov ebx, edx |
843 | mov ebx, edx |
- | 844 | movzx ecx, word [boot_y] |
|
- | 845 | if lang eq ru |
|
- | 846 | add ecx, (10+19*6) shl 16 - 10; 'Determining amount of memory' |
|
834 | movzx ecx, word [boot_y] |
847 | else |
- | 848 | add ecx, (10+17*6) shl 16 - 10; 'Determining amount of memory' |
|
835 | add ecx, (10+17*6) shl 16 - 10 ; 'CPU frequency is ' |
849 | end if |
836 | mov edx, 0xFFFFFF |
850 | mov edx, 0xFFFFFF |
837 | xor edi,edi |
851 | xor edi,edi |
838 | mov eax, 0x00040000 |
852 | mov eax, 0x00040000 |
839 | inc edi |
853 | inc edi |
Line 2268... | Line 2282... | ||
2268 | ;// mike.dld, 2006-29-01 ] |
2282 | ;// mike.dld, 2006-29-01 ] |
2269 | window_minimize db 0 |
2283 | window_minimize db 0 |
2270 | sound_flag db 0 |
2284 | sound_flag db 0 |
2271 | endg |
2285 | endg |
Line -... | Line 2286... | ||
- | 2286 | ||
- | 2287 | UID_NONE=0 |
|
- | 2288 | UID_MENUETOS=1 ;official |
|
- | 2289 | UID_KOLIBRI=2 ;russian |
|
2272 | 2290 | ||
2273 | iglobal |
2291 | iglobal |
2274 | version_inf: |
2292 | version_inf: |
2275 | db 0,7,7,0 ; version 0.7.7.0 |
2293 | db 0,7,7,0 ; version 0.7.7.0 |
2276 | db UID_KOLIBRI |
2294 | db 0 |
2277 | dd __REV__ |
2295 | dd __REV__ |
2278 | version_end: |
2296 | version_end: |
Line 2279... | Line -... | ||
2279 | endg |
- | |
2280 | - | ||
2281 | UID_NONE=0 |
- | |
2282 | UID_MENUETOS=1 ;official |
- | |
2283 | UID_KOLIBRI=2 ;russian |
2297 | endg |
2284 | 2298 | ||
2285 | sys_cachetodiskette: |
2299 | sys_cachetodiskette: |
2286 | cmp ebx, 1 |
2300 | cmp ebx, 1 |
2287 | jne .no_floppy_a_save |
2301 | jne .no_floppy_a_save |