Rev 431 | Rev 593 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 431 | Rev 465 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | $Revision: 431 $ |
1 | $Revision: 465 $ |
2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
3 | ;; ;; |
3 | ;; ;; |
4 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
4 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
6 | ;; ;; |
6 | ;; ;; |
7 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
7 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 8... | Line 8... | ||
8 | 8 | ||
Line 9... | Line 9... | ||
9 | ; READ RAMDISK IMAGE FROM HD |
9 | ; READ RAMDISK IMAGE FROM HD |
10 | 10 | ||
Line 11... | Line 11... | ||
11 | cmp [boot_dev],1 |
11 | cmp [boot_dev+OS_BASE+0x10000],1 |
12 | jne no_sys_on_hd |
12 | jne no_sys_on_hd |
13 | 13 | ||
Line 86... | Line 86... | ||
86 | image_present: |
86 | image_present: |
87 | mov [image_retrieved],1 |
87 | mov [image_retrieved],1 |
88 | ret |
88 | ret |
Line 89... | Line 89... | ||
89 | 89 | ||
90 | read_image: |
90 | read_image: |
91 | mov eax, hdsysimage |
91 | mov eax, hdsysimage+OS_BASE+0x10000 |
92 | mov ebx, 1474560/512 |
92 | mov ebx, 1474560/512 |
93 | mov ecx, RAMDISK |
93 | mov ecx, RAMDISK |
94 | mov esi, 0 |
94 | mov esi, 0 |
95 | mov edi, 12 |
95 | mov edi, 12 |