2012-03-15 16:41:29 +04:00
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; Copyright (C) KolibriOS team 2004-2011. All rights reserved. ;;
;; Distributed under terms of the GNU General Public License ;;
;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2010-10-01 13:21:55 +04:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 㧮<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ᥪ<> <E1A5AA> <EFBFBD> <20> <> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> (FAT12, <20> <> ᪥<EFBFBD> <E1AAA5> )
- <20> <> <EFBFBD> ᠭ<EFBFBD> <E1A0AD>
<20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> 㦠<EFBFBD> <E3A6A0> KERNEL.MNT <20> <20> <> ᪥<EFBFBD> /<2F> <> ࠧ<EFBFBD> <E0A0A7>
<20> <> <EFBFBD> 1.44M, 1.68M, 1.72M <20> 2.88M
<20> <> <EFBFBD> <20> 롮<EFBFBD> <EBA1AE> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ᪠, <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ண<EFBFBD> <20> <> <EFBFBD> <EFBFBD> ᮡ<> <E1AEA1> <EFBFBD> <EFBFBD>
<20> <> <EFBFBD> <EFBFBD> 㧮<EFBFBD> <E3A7AE> <EFBFBD> <EFBFBD> ᥪ<> <E1A5AA> <EFBFBD> , <20> <> <EFBFBD> <EFBFBD> 室<EFBFBD> <E5AEA4> <EFBFBD> <20> 䠩<> <E4A0A9> boot_fat12.asm
<20> <> <EFBFBD> <E1AAAE> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <E0AEA2> <EFBFBD> <20> <> ப<EFBFBD> <20> <> <EFBFBD> <EFBFBD> :
include 'floppy????.inc'
<20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> 室<EFBFBD> <E5AEA4> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ᪠. <20> <> <EFBFBD> <EFBFBD> 㯭<EFBFBD> <E3AFAD> <20> <> ਠ<EFBFBD> <E0A8A0> <EFBFBD> :
floppy1440.inc,
floppy1680.inc,
floppy1743.inc <20> floppy2880.inc
- <20> <> <EFBFBD> ઠ
fasm boot_fat12.asm
- <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> 㧮筮<E3A7AE> <E7ADAE> ᥪ<> <E1A5AA> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> /<2F> <> ࠧ <20> <> <EFBFBD> Linux
<20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ᯮ<EFBFBD> 짮<EFBFBD> <ECA7AE> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <> <E1ABA5> <EFBFBD> 饩 <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> :
dd if=boot_fat12.bin of=288.img bs=512 count=1 conv=notrunc
---------------------------------------------------------------------
Floppy FAT12 boot sector for KolibriOS.
- Description
Allows booting KERNEL.MNT floppies/images
with volumes of 1.44M, 1.68M, 1.72M and 2.88M
To select the volume of the disk, which should gather
boot sector, it was necessary in file boot_fat12.asm
uncomment line:
include 'floppy????. inc'
for the necessary disk volume. Available options is:
floppy1440.inc,
floppy1680.inc,
floppy1743.inc and floppy2880.inc
- Compile
fasm boot_fat12.asm
- To write boot sector to the floppy/image under Linux
you can use the following command:
dd if=boot_fat12.bin of=288.img bs=512 count=1 conv=notrunc