Rev 3163 | Rev 3176 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3163 | Rev 3168 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; |
2 | ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2010. All rights reserved. |
3 | ;; Copyright (C) KolibriOS team 2004-2013. All rights reserved. |
4 | ;; PROGRAMMING: |
4 | ;; PROGRAMMING: |
5 | ;; Ivan Poddubny |
5 | ;; Ivan Poddubny |
6 | ;; Marat Zakiyanov (Mario79) |
6 | ;; Marat Zakiyanov (Mario79) |
7 | ;; VaStaNi |
7 | ;; VaStaNi |
8 | ;; Trans |
8 | ;; Trans |
Line 56... | Line 56... | ||
56 | ;; |
56 | ;; |
57 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
57 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 58... | Line 58... | ||
58 | 58 | ||
Line 59... | Line 59... | ||
59 | include 'macros.inc' |
59 | include 'macros.inc' |
Line 60... | Line 60... | ||
60 | 60 | ||
Line 61... | Line 61... | ||
61 | $Revision: 3163 $ |
61 | $Revision: 3168 $ |
Line 85... | Line 85... | ||
85 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
85 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
86 | ;; |
86 | ;; |
87 | ;; Included files: |
87 | ;; Included files: |
88 | ;; |
88 | ;; |
89 | ;; Kernel16.inc |
89 | ;; Kernel16.inc |
90 | ;; - Booteng.inc English text for bootup |
- | |
91 | ;; - Bootcode.inc Hardware setup |
90 | ;; - Bootcode.inc Hardware setup |
92 | ;; - Pci16.inc PCI functions |
91 | ;; - Pci16.inc PCI functions |
93 | ;; |
92 | ;; |
94 | ;; Kernel32.inc |
93 | ;; Kernel32.inc |
95 | ;; - Sys32.inc Process management |
94 | ;; - Sys32.inc Process management |
Line 114... | Line 113... | ||
114 | 113 | ||
115 | use16 |
114 | use16 |
116 | org 0x0 |
115 | org 0x0 |
Line 117... | Line 116... | ||
117 | jmp start_of_code |
116 | jmp start_of_code |
Line 118... | Line 117... | ||
118 | 117 | ||
119 | version db 'Kolibri OS version 0.7.7.0+ ',13,10,13,10,0 |
118 | version db 'Kolibri-A version 0.1.0.0 ',13,10,13,10,0 |
Line 120... | Line -... | ||
120 | - | ||
121 | ;include "boot/bootstr.inc" ; language-independent boot messages |
119 | |
122 | include "boot/preboot.inc" |
- | |
123 | 120 | diff16 "preboot start: ",0,$ |
|
Line 124... | Line 121... | ||
124 | include "boot/booteng.inc" ; english system boot messages |
121 | include "boot/preboot.inc" |
125 | diff16 "bootcode start: ",0,$ |
122 | |
Line 250... | Line 247... | ||
250 | mov cr0,eax |
247 | mov cr0,eax |
Line 251... | Line 248... | ||
251 | 248 | ||
252 | lgdt [gdts] |
249 | lgdt [gdts] |
Line -... | Line 250... | ||
- | 250 | jmp pword os_code:high_code |
|
- | 251 | ||
253 | jmp pword os_code:high_code |
252 | diff16 "32-bit init size ",B32,$ |
254 | 253 | ||
255 | align 4 |
254 | align 4 |
Line 256... | Line 255... | ||
256 | bios32_entry dd ? |
255 | bios32_entry dd ? |
Line 476... | Line 475... | ||
476 | mov [ipc_ptab], eax |
475 | mov [ipc_ptab], eax |
Line 477... | Line 476... | ||
477 | 476 | ||
478 | stdcall kernel_alloc, (unpack.LZMA_BASE_SIZE+(unpack.LZMA_LIT_SIZE shl \ |
477 | stdcall kernel_alloc, (unpack.LZMA_BASE_SIZE+(unpack.LZMA_LIT_SIZE shl \ |
Line 479... | Line 478... | ||
479 | (unpack.lc+unpack.lp)))*4 |
478 | (unpack.lc+unpack.lp)))*4 |
Line 480... | Line 479... | ||
480 | 479 | ||
481 | mov [unpack.p], eax |
480 | mov [unpack.p], eax ; unpacker.inc |
482 | 481 | ||
483 | call init_events |
482 | call init_events |