Subversion Repositories Kolibri OS

Rev

Rev 1635 | Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  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.  
  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
  51.