Subversion Repositories Kolibri OS

Rev

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

Rev 5363 Rev 7129
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: 5363 $
8
$Revision: 7129 $
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     [boot_dev+OS_BASE+0x10000], 1
14
        cmp     byte [BOOT_DEV+OS_BASE+0x10000], 1
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     [boot_dev+OS_BASE+0x10000], 3
115
        cmp     byte [BOOT_DEV+OS_BASE+0x10000], 3
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