Rev 851 | Rev 855 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
851 | serge | 1 | |
2 | |||
3 | |||
4 | |||
5 | |||
6 | |||
7 | |||
8 | |||
9 | |||
10 | |||
11 | include "../kglobals.inc" |
||
12 | include "../lang.inc" |
||
13 | |||
14 | |||
854 | serge | 15 | CR0_WP equ 0x00010000 ;write protect |
16 | CR0_PG equ 0x80000000 ;paging |
||
17 | |||
18 | |||
19 | |||
851 | serge | 20 | public _leave_bootscreen |
21 | |||
22 | |||
23 | |||
24 | |||
25 | |||
26 | |||
27 | |||
28 | |||
29 | |||
30 | |||
31 | |||
32 | |||
33 | |||
34 | mov eax, cr0 |
||
35 | and eax, not 0x80000001 |
||
36 | mov cr0, eax |
||
37 | jmp far 0x1000:start_of_code |
||
38 | |||
39 | |||
40 | |||
41 | |||
42 | include "preboot.inc" |
||
43 | |||
44 | |||
45 | include "booteng.inc" ; english system boot messages |
||
46 | else if lang eq ru |
||
47 | include "bootru.inc" ; russian system boot messages |
||
48 | include "ru.inc" ; Russian font |
||
49 | else if lang eq et |
||
50 | include "bootet.inc" ; estonian system boot messages |
||
51 | include "et.inc" ; Estonian font |
||
52 | else |
||
53 | include "bootge.inc" ; german system boot messages |
||
54 | end if |
||
55 | |||
56 | |||
57 | |||
58 | |||
59 | include "../bus/pci/pci16.inc" |
||
60 | include "../detect/biosdisk.inc" |
||
61 | |||
62 | |||
63 | |||
64 | |||
65 | |||
66 | |||
67 | or eax, CR0_PG+CR0_WP+CR0_PE |
||
854 | serge | 68 | mov cr0, eax |
851 | serge | 69 | |
70 | |||
71 | |||
72 | |||
73 | _leave_bootscreen: |
||
74 |