Rev 1635 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2465 | Serge | 1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
||
3 | ;; Copyright (C) KolibriOS team 2004-2011. All rights reserved. ;; |
||
4 | ;; Distributed under terms of the GNU General Public License ;; |
||
5 | ;; ;; |
||
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
||
7 | |||
796 | shurf | 8 | Загрузочный сектор для ОС Колибри (FAT12, дискета) |
9 | |||
10 | - Описание |
||
11 | Позволяет загружать KERNEL.MNT с дискет/образов |
||
12 | объёмом 1.44M, 1.68M, 1.72M и 2.88M |
||
13 | Для выбора объёма диска, для которого надо собрать |
||
14 | загрузочный сектор, необходимо в файле boot_fat12.asm |
||
15 | раскомментировать строку вида: |
||
16 | include 'floppy????.inc' |
||
17 | для необходимого объёма диска. Доступные варианты: |
||
18 | floppy1440.inc, |
||
19 | floppy1680.inc, |
||
20 | floppy1743.inc и floppy2880.inc |
||
21 | |||
22 | - Сборка |
||
23 | fasm boot_fat12.asm |
||
24 | |||
25 | - Для записи загрузочного сектора на диск/образ под Linux |
||
26 | можно воспользоваться следующей командой: |
||
27 | dd if=boot_fat12.bin of=288.img bs=512 count=1 conv=notrunc |
||
28 | |||
29 | --------------------------------------------------------------------- |
||
30 | |||
31 | Floppy FAT12 boot sector for KolibriOS. |
||
32 | |||
33 | - Description |
||
34 | Allows booting KERNEL.MNT floppies/images |
||
35 | with volumes of 1.44M, 1.68M, 1.72M and 2.88M |
||
36 | To select the volume of the disk, which should gather |
||
37 | boot sector, it was necessary in file boot_fat12.asm |
||
38 | uncomment line: |
||
39 | include 'floppy????. inc' |
||
40 | for the necessary disk volume. Available options is: |
||
41 | floppy1440.inc, |
||
42 | floppy1680.inc, |
||
43 | floppy1743.inc and floppy2880.inc |
||
44 | |||
45 | - Compile |
||
46 | fasm boot_fat12.asm |
||
47 | |||
48 | - To write boot sector to the floppy/image under Linux |
||
49 | you can use the following command: |
||
50 | dd if=boot_fat12.bin of=288.img bs=512 count=1 conv=notrunc |