Subversion Repositories Kolibri OS

Rev

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

Rev 1952 Rev 2014
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2007. 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: 1952 $
8
$Revision: 2014 $
Line 9... Line 9...
9
 
9
 
10
 
10
 
11
; READ RAMDISK IMAGE FROM HD
11
; READ RAMDISK IMAGE FROM HD
12
 
12
 
13
	cmp   [boot_dev+OS_BASE+0x10000],1
13
;        cmp   [boot_dev+OS_BASE+0x10000],1
14
;	jne   no_sys_on_hd
14
       jmp   no_sys_on_hd
15
 
15
if 0
16
	test  [DRIVE_DATA+1],byte 0x40
16
	test  [DRIVE_DATA+1],byte 0x40
Line 95... Line 95...
95
	mov   ecx, RAMDISK
95
	mov   ecx, RAMDISK
96
	mov   esi, 0
96
	mov   esi, 0
97
	mov   edi, 12
97
	mov   edi, 12
98
	call  file_read
98
	call  file_read
99
	ret
99
	ret
-
 
100
end if
Line 100... Line 101...
100
 
101
 
101
image_retrieved  db 0
102
image_retrieved  db 0
102
counter_of_partitions db 0
103
counter_of_partitions db 0
103
no_sys_on_hd:
104
no_sys_on_hd: