Subversion Repositories Kolibri OS

Rev

Rev 796 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 796 Rev 2455
-
 
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
 
1
‡ £à㧮ç­ë© ᥪâ®à ¤«ï Ž‘ Š®«¨¡à¨ (FAT12, ¤¨áª¥â )
8
‡ £à㧮ç­ë© ᥪâ®à ¤«ï Ž‘ Š®«¨¡à¨ (FAT12, ¤¨áª¥â )
2
 
9
 
3
- Ž¯¨á ­¨¥
10
- Ž¯¨á ­¨¥
4
  ®§¢®«ï¥â § £à㦠âì KERNEL.MNT á ¤¨áª¥â/®¡à §®¢
11
  ®§¢®«ï¥â § £à㦠âì KERNEL.MNT á ¤¨áª¥â/®¡à §®¢
5
  ®¡êñ¬®¬ 1.44M, 1.68M, 1.72M ¨ 2.88M
12
  ®¡êñ¬®¬ 1.44M, 1.68M, 1.72M ¨ 2.88M
6
  „«ï ¢ë¡®à  ®¡êñ¬  ¤¨áª , ¤«ï ª®â®à®£® ­ ¤® ᮡà âì
13
  „«ï ¢ë¡®à  ®¡êñ¬  ¤¨áª , ¤«ï ª®â®à®£® ­ ¤® ᮡà âì
7
  § £à㧮ç­ë© ᥪâ®à, ­¥®¡å®¤¨¬® ¢ ä ©«¥ boot_fat12.asm
14
  § £à㧮ç­ë© ᥪâ®à, ­¥®¡å®¤¨¬® ¢ ä ©«¥ boot_fat12.asm
8
  à áª®¬¬¥­â¨à®¢ âì áâப㠢¨¤ :
15
  à áª®¬¬¥­â¨à®¢ âì áâப㠢¨¤ :
9
     include 'floppy????.inc'
16
     include 'floppy????.inc'
10
  ¤«ï ­¥®¡å®¤¨¬®£® ®¡êñ¬  ¤¨áª . „®áâã¯­ë¥ ¢ à¨ ­âë:
17
  ¤«ï ­¥®¡å®¤¨¬®£® ®¡êñ¬  ¤¨áª . „®áâã¯­ë¥ ¢ à¨ ­âë:
11
  floppy1440.inc,
18
  floppy1440.inc,
12
  floppy1680.inc,
19
  floppy1680.inc,
13
  floppy1743.inc ¨ floppy2880.inc 
20
  floppy1743.inc ¨ floppy2880.inc 
14
 
21
 
15
- ‘¡®àª 
22
- ‘¡®àª 
16
  fasm boot_fat12.asm
23
  fasm boot_fat12.asm
17
 
24
 
18
- „«ï § ¯¨á¨ § £à㧮筮£® ᥪâ®à  ­  ¤¨áª/®¡à § ¯®¤ Linux
25
- „«ï § ¯¨á¨ § £à㧮筮£® ᥪâ®à  ­  ¤¨áª/®¡à § ¯®¤ Linux
19
  ¬®¦­® ¢®á¯®«ì§®¢ âìáï á«¥¤ãî饩 ª®¬ ­¤®©:
26
  ¬®¦­® ¢®á¯®«ì§®¢ âìáï á«¥¤ãî饩 ª®¬ ­¤®©:
20
  dd if=boot_fat12.bin of=288.img bs=512 count=1 conv=notrunc
27
  dd if=boot_fat12.bin of=288.img bs=512 count=1 conv=notrunc
21
 
28
 
22
---------------------------------------------------------------------
29
---------------------------------------------------------------------
23
 
30
 
24
Floppy FAT12 boot sector for KolibriOS.
31
Floppy FAT12 boot sector for KolibriOS.
25
 
32
 
26
- Description
33
- Description
27
   Allows booting KERNEL.MNT floppies/images
34
   Allows booting KERNEL.MNT floppies/images
28
   with volumes of 1.44M, 1.68M, 1.72M and 2.88M
35
   with volumes of 1.44M, 1.68M, 1.72M and 2.88M
29
   To select the volume of the disk, which should gather
36
   To select the volume of the disk, which should gather
30
   boot sector, it was necessary in file boot_fat12.asm
37
   boot sector, it was necessary in file boot_fat12.asm
31
   uncomment line:
38
   uncomment line:
32
      include 'floppy????. inc'
39
      include 'floppy????. inc'
33
   for the necessary disk volume. Available options is:
40
   for the necessary disk volume. Available options is:
34
   floppy1440.inc,
41
   floppy1440.inc,
35
   floppy1680.inc,
42
   floppy1680.inc,
36
   floppy1743.inc and floppy2880.inc
43
   floppy1743.inc and floppy2880.inc
37
 
44
 
38
- Compile
45
- Compile
39
  fasm boot_fat12.asm
46
  fasm boot_fat12.asm
40
 
47
 
41
- To write boot sector to the floppy/image under Linux
48
- To write boot sector to the floppy/image under Linux
42
  you can use the following command:
49
  you can use the following command:
43
  dd if=boot_fat12.bin of=288.img bs=512 count=1 conv=notrunc
50
  dd if=boot_fat12.bin of=288.img bs=512 count=1 conv=notrunc