Rev 2014 | Rev 3163 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2014 | Rev 2047 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
2 | ;; ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2010. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2011. All rights reserved. ;; |
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
6 | ;; ;; |
6 | ;; ;; |
7 | ;; BOOTCODE.INC ;; |
7 | ;; BOOTCODE.INC ;; |
8 | ;; ;; |
8 | ;; ;; |
9 | ;; KolibriOS 16-bit loader, ;; |
9 | ;; Kolibri-A auxiliary 16-bit code, ;; |
10 | ;; based on bootcode for MenuetOS ;; |
10 | ;; based on bootcode for KolibriOS ;; |
11 | ;; ;; |
11 | ;; ;; |
12 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
12 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 13... | Line 13... | ||
13 | 13 | ||
Line 14... | Line 14... | ||
14 | $Revision: 2014 $ |
14 | $Revision: 2047 $ |
15 | 15 | ||
16 | 16 | ||
Line 117... | Line 117... | ||
117 | push cs |
117 | push cs |
118 | pop ds |
118 | pop ds |
119 | push cs |
119 | push cs |
120 | pop es |
120 | pop es |
Line 121... | Line -... | ||
121 | - | ||
122 | if 0 |
- | |
123 | ; set videomode |
- | |
124 | mov ax, 3 |
- | |
125 | int 0x10 |
- | |
126 | - | ||
127 | ; draw frames |
- | |
128 | push 0xb800 |
- | |
129 | pop es |
- | |
130 | xor di, di |
- | |
131 | mov ah, 1*16+15 |
- | |
Line 132... | Line 121... | ||
132 | end if |
121 | |
Line 133... | Line 122... | ||
133 | 122 | ||
134 | cpugood: |
123 | cpugood: |
Line 296... | Line 285... | ||
296 | 285 | ||
297 | mov al, [preboot_device] |
286 | mov al, [preboot_device] |
298 | dec al |
287 | dec al |
Line 299... | Line -... | ||
299 | mov [boot_dev], al |
- | |
300 | - | ||
301 | ; GET MEMORY MAP |
- | |
302 | include 'detect/biosmem.inc' |
- | |
303 | - | ||
304 | ; READ DISKETTE TO MEMORY |
- | |
Line 305... | Line 288... | ||
305 | 288 | mov [boot_dev], al |
|
Line 306... | Line 289... | ||
306 | 289 | ||
307 | 290 |