Rev 488 | Rev 514 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 488 | Rev 509 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | $Revision: 488 $ |
1 | $Revision: 509 $ |
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 118... | Line 118... | ||
118 | 118 | ||
119 | cmp cx,'HA' ; ïî ðåãèñòðàì îïðåäåëÿåòñÿ çàãðóçêà ñ âèíòà |
119 | cmp cx,'HA' ; ïî ðåãèñòðàì îïðåäåëÿåòñÿ çàãðóçêà ñ âèíòà |
120 | jnz no_hd_load |
120 | jnz no_hd_load |
121 | cmp dx,'RD' |
121 | cmp dx,'RD' |
122 | jnz no_hd_load |
122 | jnz no_hd_load |
123 | mov word [bx_from_load], bx ; {SPraid}[13.03.2007] |
- | |
124 | jmp load_next |
123 | mov word [cs:bx_from_load], bx ; {SPraid}[13.03.2007] |
125 | no_hd_load: |
- | |
126 | mov word [bx_from_load], 'r1' ; if work with floppy |
- | |
Line 127... | Line 124... | ||
127 | load_next: |
124 | no_hd_load: |
128 | 125 | ||
129 | ; set up stack |
126 | ; set up stack |
130 | mov ax, 3000h |
127 | mov ax, 3000h |