Subversion Repositories Kolibri OS

Rev

Rev 8089 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8089 Rev 8091
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2016. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2016. 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: 8089 $
8
$Revision: 8091 $
9
 
9
 
10
iglobal
10
iglobal
11
full_file_name_table    dd  sysdir_name
11
full_file_name_table    dd  sysdir_name
Line 26... Line 26...
26
 
26
 
27
proc Parser_params
27
proc Parser_params
28
    locals
28
    locals
29
        buff    rb  4   ; for test cd
29
        buff    rb  4   ; for test cd
-
 
30
    endl
-
 
31
if defined extended_primary_loader
-
 
32
        mov     ecx, sysdir_path
-
 
33
        mov     [ecx-64], dword 'sys'
-
 
34
        mov     [ecx-2], byte 3
-
 
35
        mov     esi, BOOT.syspath
-
 
36
        mov     edi, sysdir_path-1
-
 
37
        mov     ecx, 20
-
 
38
        rep movsb
-
 
39
        ret
30
    endl
40
else
31
        mov     ax, [BOOT.sys_disk]
41
        mov     ax, [BOOT.sys_disk]
32
        mov     ecx, sysdir_path
42
        mov     ecx, sysdir_path
33
        mov     [ecx-64], dword 'sys'
43
        mov     [ecx-64], dword 'sys'
34
        mov     [ecx-2], byte 3
44
        mov     [ecx-2], byte 3
Line 59... Line 69...
59
        popad
69
        popad
60
        cmp     [edx], dword 'MENU'
70
        cmp     [edx], dword 'MENU'
61
        jne     .next_cd
71
        jne     .next_cd
62
@@:
72
@@:
63
        ret
73
        ret
-
 
74
end if
Line 64... Line 75...
64
 
75
 
65
.hard_disk:
76
.hard_disk:
66
        sub     al, '1'
77
        sub     al, '1'
67
        mov     [ecx], dword 'HD?/'
78
        mov     [ecx], dword 'HD?/'