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