Rev 426 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
425 | victor | 1 | $Revision: 431 $ |
431 | serge | 2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
3 | ;; ;; |
||
4 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
||
5 | ;; Distributed under terms of the GNU General Public License ;; |
||
6 | ;; ;; |
||
7 | ;; KERNEL16.INC ;; |
||
8 | ;; ;; |
||
9 | ;; Included 16 bit kernel files for MenuetOS ;; |
||
10 | ;; ;; |
||
11 | ;; This file is kept separate as it will be easier to ;; |
||
12 | ;; maintain and compile with an automated SETUP program ;; |
||
13 | ;; in the future. ;; |
||
14 | ;; ;; |
||
15 | ;; Copyright Ville Turjanmaa, see file COPYING for details. ;; |
||
16 | ;; ;; |
||
17 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
||
1 | ha | 18 | |
19 | |||
20 | ;% +include |
||
21 | |||
426 | mikedld | 22 | msg_svn db " SVN ",0 |
23 | msg_svn.len = $ - msg_svn |
||
24 | svn_num_buf rb 12 |
||
25 | |||
1 | ha | 26 | ;!!! |
27 | if lang eq en |
||
28 | include "boot/booteng.inc" ; english system boot messages |
||
135 | diamond | 29 | else if lang eq ru |
30 | include "boot/bootru.inc" ; russian system boot messages |
||
271 | kaitz | 31 | else if lang eq et |
32 | include "boot/bootet.inc" ; estonian system boot messages |
||
1 | ha | 33 | else |
135 | diamond | 34 | include "boot/bootge.inc" ; german system boot messages |
1 | ha | 35 | ;!!! |
36 | end if |
||
274 | kaitz | 37 | if lang eq et |
38 | include "boot/et.inc" ; Estonian font |
||
426 | mikedld | 39 | else if lang eq ru |
1 | ha | 40 | include "boot/ru.inc" ; Russian font |
274 | kaitz | 41 | end if |
424 | spraid | 42 | |
43 | ; сюда данные записываются в 16 разрядном режиме, читаются в 32 разрядном |
||
44 | bx_from_load: ; структура для хранения параметров- откуда гашрузились, берется ниже из bx ; {SPraid}[13.03.2007] |
||
431 | serge | 45 | .from_disc db 0 ; a,b,c,d - винчестеры, r - рам диск |
424 | spraid | 46 | .from_part db 0,0 ; # диска... символ, а не байт. '1', а не 1 |
47 | |||
82 | halyavin | 48 | org $-0x10000 |
1 | ha | 49 | |
50 | include "boot/bootcode.inc" ; 16 bit system boot code |
||
51 | |||
52 | include "bus/pci/pci16.inc" |
||
53 | |||
431 | serge | 54 | ;% -include |