Rev 1675 | Rev 1949 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1675 | Rev 1941 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; |
2 | ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2010. All rights reserved. |
3 | ;; Copyright (C) KolibriOS team 2004-2011. All rights reserved. |
4 | ;; PROGRAMMING: |
4 | ;; PROGRAMMING: |
5 | ;; Ivan Poddubny |
5 | ;; Ivan Poddubny |
6 | ;; Marat Zakiyanov (Mario79) |
6 | ;; Marat Zakiyanov (Mario79) |
7 | ;; VaStaNi |
7 | ;; VaStaNi |
8 | ;; Trans |
8 | ;; Trans |
Line 17... | Line 17... | ||
17 | ;; Sergey Semyonov (Serge) |
17 | ;; Sergey Semyonov (Serge) |
18 | ;; Johnny_B |
18 | ;; Johnny_B |
19 | ;; SPraid (simba) |
19 | ;; SPraid (simba) |
20 | ;; Hidnplayr |
20 | ;; Hidnplayr |
21 | ;; Alexey Teplov ( |
21 | ;; Alexey Teplov ( |
- | 22 | ;; Rus |
|
- | 23 | ;; Nable |
|
- | 24 | ;; shurf |
|
- | 25 | ;; Alver |
|
- | 26 | ;; Maxis |
|
- | 27 | ;; Galkov |
|
- | 28 | ;; CleverMouse |
|
- | 29 | ;; tsdima |
|
- | 30 | ;; turbanoff |
|
- | 31 | ;; Asper |
|
- | 32 | ;; art_zh |
|
22 | ;; |
33 | ;; |
23 | ;; Data in this file was originally part of MenuetOS project which is |
34 | ;; Data in this file was originally part of MenuetOS project which is |
24 | ;; distributed under the terms of GNU GPL. It is modified and redistributed as |
35 | ;; distributed under the terms of GNU GPL. It is modified and redistributed as |
25 | ;; part of KolibriOS project under the terms of GNU GPL. |
36 | ;; part of KolibriOS project under the terms of GNU GPL. |
26 | ;; |
37 | ;; |
Line 55... | Line 66... | ||
55 | ;; |
66 | ;; |
56 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
67 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 57... | Line 68... | ||
57 | 68 | ||
Line 58... | Line 69... | ||
58 | include 'macros.inc' |
69 | include 'macros.inc' |
Line 59... | Line 70... | ||
59 | 70 | ||
Line 60... | Line 71... | ||
60 | $Revision: 1675 $ |
71 | $Revision: 1941 $ |
Line 218... | Line 229... | ||
218 | mov esp,0x3ec00 ; Set stack |
229 | mov esp,0x3ec00 ; Set stack |
Line 219... | Line 230... | ||
219 | 230 | ||
Line 220... | Line 231... | ||
220 | ; CLEAR 0x280000 - HEAP_BASE |
231 | ; CLEAR 0x280000 - HEAP_BASE |
221 | 232 | ||
222 | xor eax,eax |
233 | xor eax,eax |
223 | mov edi,0x280000 |
234 | mov edi,CLEAN_ZONE |
224 | mov ecx,(HEAP_BASE-OS_BASE-0x280000) / 4 |
235 | mov ecx,(HEAP_BASE-OS_BASE-CLEAN_ZONE) / 4 |
Line 225... | Line 236... | ||
225 | cld |
236 | cld |
226 | rep stosd |
237 | rep stosd |
Line 235... | Line 246... | ||
235 | rep stosd |
246 | rep stosd |
Line 236... | Line 247... | ||
236 | 247 | ||
Line 237... | Line 248... | ||
237 | ; SAVE & CLEAR 0-0xffff |
248 | ; SAVE & CLEAR 0-0xffff |
238 | 249 | ||
239 | xor esi, esi |
250 | xor esi, esi |
240 | mov edi,0x2F0000 |
251 | mov edi,(BOOT_VAR-OS_BASE) |
241 | mov ecx,0x10000 / 4 |
252 | mov ecx,0x10000 / 4 |
242 | rep movsd |
253 | rep movsd |
243 | mov edi,0x1000 |
254 | mov edi,0x1000 |