Subversion Repositories Kolibri OS

Rev

Rev 8086 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8086 Rev 8089
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 8086 $
8
$Revision: 8089 $
9
 
9
 
Line 10... Line 10...
10
 
10
 
11
read_ramdisk:
11
read_ramdisk:
Line 12... Line 12...
12
; READ RAMDISK IMAGE FROM HD (only for IDE0, IDE1, IDE2, IDE3)
12
; READ RAMDISK IMAGE FROM HD (only for IDE0, IDE1, IDE2, IDE3)
13
 
13
 
14
        cmp     byte [BOOT.dev], 1
14
        cmp     byte [BOOT.rd_load_from], RD_LOAD_FROM_HD
Line 110... Line 110...
110
 
110
 
111
no_sys_on_hd:
111
no_sys_on_hd:
112
        DEBUGF 1, "K : RD not found\n"
112
        DEBUGF 1, "K : RD not found\n"
113
.1:
113
.1:
114
        ; test_to_format_ram_disk (need if not using ram disk)
114
        ; test_to_format_ram_disk (need if not using ram disk)
115
        cmp     byte [BOOT.dev], 3
115
        cmp     byte [BOOT.rd_load_from], RD_LOAD_FROM_FORMAT
116
        jne     not_format_ram_disk
116
        jne     not_format_ram_disk
117
        ; format_ram_disk
117
        ; format_ram_disk
118
        mov     edi, RAMDISK
118
        mov     edi, RAMDISK
119
        mov     ecx, 0x1080
119
        mov     ecx, 0x1080