Rev 424 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 424 | Rev 425 | ||
---|---|---|---|
- | 1 | $Revision: 425 $ |
|
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
3 | ;; ;; |
3 | ;; KERNEL16.INC ;; |
4 | ;; KERNEL16.INC ;; |
4 | ;; ;; |
5 | ;; ;; |
5 | ;; Included 16 bit kernel files for MenuetOS ;; |
6 | ;; Included 16 bit kernel files for MenuetOS ;; |
6 | ;; ;; |
7 | ;; ;; |
7 | ;; This file is kept separate as it will be easier to ;; |
8 | ;; This file is kept separate as it will be easier to ;; |
8 | ;; maintain and compile with an automated SETUP program ;; |
9 | ;; maintain and compile with an automated SETUP program ;; |
9 | ;; in the future. ;; |
10 | ;; in the future. ;; |
10 | ;; ;; |
11 | ;; ;; |
11 | ;; Copyright Ville Turjanmaa, see file COPYING for details. ;; |
12 | ;; Copyright Ville Turjanmaa, see file COPYING for details. ;; |
12 | ;; ;; |
13 | ;; ;; |
13 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
14 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
14 | 15 | ||
15 | 16 | ||
16 | ;% +include |
17 | ;% +include |
17 | 18 | ||
18 | ;!!! |
19 | ;!!! |
19 | if lang eq en |
20 | if lang eq en |
20 | include "boot/booteng.inc" ; english system boot messages |
21 | include "boot/booteng.inc" ; english system boot messages |
21 | else if lang eq ru |
22 | else if lang eq ru |
22 | include "boot/bootru.inc" ; russian system boot messages |
23 | include "boot/bootru.inc" ; russian system boot messages |
23 | else if lang eq et |
24 | else if lang eq et |
24 | include "boot/bootet.inc" ; estonian system boot messages |
25 | include "boot/bootet.inc" ; estonian system boot messages |
25 | else |
26 | else |
26 | include "boot/bootge.inc" ; german system boot messages |
27 | include "boot/bootge.inc" ; german system boot messages |
27 | ;!!! |
28 | ;!!! |
28 | end if |
29 | end if |
29 | if lang eq et |
30 | if lang eq et |
30 | include "boot/et.inc" ; Estonian font |
31 | include "boot/et.inc" ; Estonian font |
31 | else |
32 | else |
32 | include "boot/ru.inc" ; Russian font |
33 | include "boot/ru.inc" ; Russian font |
33 | end if |
34 | end if |
34 | 35 | ||
35 | ; ñþäà äàííûå çàïèñûâàþòñÿ â 16 ðàçðÿäíîì ðåæèìå, ÷èòàþòñÿ â 32 ðàçðÿäíîì |
36 | ; ñþäà äàííûå çàïèñûâàþòñÿ â 16 ðàçðÿäíîì ðåæèìå, ÷èòàþòñÿ â 32 ðàçðÿäíîì |
36 | bx_from_load: ; ñòðóêòóðà äëÿ õðàíåíèÿ ïàðàìåòðîâ- îòêóäà ãàøðóçèëèñü, áåðåòñÿ íèæå èç bx ; {SPraid}[13.03.2007] |
37 | bx_from_load: ; ñòðóêòóðà äëÿ õðàíåíèÿ ïàðàìåòðîâ- îòêóäà ãàøðóçèëèñü, áåðåòñÿ íèæå èç bx ; {SPraid}[13.03.2007] |
37 | .from_disc db 0 ; a,b,c,d - âèí÷åñòåðû, r - ðàì äèñê |
38 | .from_disc db 0 ; a,b,c,d - âèí÷åñòåðû, r - ðàì äèñê |
38 | .from_part db 0,0 ; # äèñêà... ñèìâîë, à íå áàéò. '1', à íå 1 |
39 | .from_part db 0,0 ; # äèñêà... ñèìâîë, à íå áàéò. '1', à íå 1 |
39 | 40 | ||
40 | org $-0x10000 |
41 | org $-0x10000 |
41 | 42 | ||
42 | include "boot/bootcode.inc" ; 16 bit system boot code |
43 | include "boot/bootcode.inc" ; 16 bit system boot code |
43 | 44 | ||
44 | include "bus/pci/pci16.inc" |
45 | include "bus/pci/pci16.inc" |
45 | 46 | ||
46 | ;% -include |
47 | ;% -include |