Subversion Repositories Kolibri OS

Rev

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

Rev 465 Rev 488
Line 1... Line 1...
1
$Revision: 465 $
1
$Revision: 488 $
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
;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa      ;;
5
;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa      ;;
6
;; Distributed under terms of the GNU General Public License    ;;
6
;; Distributed under terms of the GNU General Public License    ;;
Line 114... Line 114...
114
    mov    word [cs:cfgmanager.loader_block], si
114
    mov    word [cs:cfgmanager.loader_block], si
115
    mov    word [cs:cfgmanager.loader_block+2], ds
115
    mov    word [cs:cfgmanager.loader_block+2], ds
116
@@:
116
@@:
117
; \end{diamond}[02.12.2005]
117
; \end{diamond}[02.12.2005]
Line -... Line 118...
-
 
118
 
-
 
119
    cmp    cx,'HA'						; ïî ðåãèñòðàì îïðåäåëÿåòñÿ çàãðóçêà ñ âèíòà
-
 
120
    jnz    no_hd_load
-
 
121
    cmp    dx,'RD'
-
 
122
    jnz    no_hd_load
-
 
123
    mov    word [bx_from_load], bx		; {SPraid}[13.03.2007]
-
 
124
    jmp    load_next
-
 
125
no_hd_load:
-
 
126
    mov    word [bx_from_load], 'r1'	; if work with floppy
-
 
127
load_next:
118
 
128
 
119
; set up stack
129
; set up stack
120
    mov    ax, 3000h
130
    mov    ax, 3000h
121
    mov    ss, ax
131
    mov    ss, ax
122
    mov    sp, 0EC00h
132
    mov    sp, 0EC00h