Ch 18 ³nºÐ¤ù

³nºÐ¤ù±q Apple II ¶}©l±À¥X¨Ó¦Ü¤µ¡A¬ù 20 ­Ó¦~ÀY¤F¡AÁö¤w¬Oº¥ÅS¯hºA¡A¦ý¬O¦b¤pÀɮץ洫ªº±¡§Î¤U¡A¤´¬O³Ì¬°¤è«Kªº¤u¨ã¡CApple II ªº®É¥N¡A¤p¤ì°¸¥¼¯à®¥³{¨ä®É¡A¤£¤Ó¤F¸Ñ¨ä©Ò¨Ï¥Îªº³nºÐ¤ù¡CIBM PC ¤Î¨ä¬Û®e¹q¸£©Ò¨Ï¥Îªº³nºÐ¤ù¨Ìª½®|¤j¤p¤À¬°¨âºØ¡A¤­¤S¥|¤À¤§¤@­^¦T¤Î¤T¤S¤G¤À¤§¤@­^¦T¡C«eªÌÁöµM¦³¸û¤jªº­±¿n¡A¦ý¬OÀx¦s¸ê®Æ¤Ï¦Ó¤ñ¸û¤p¡C¤­¤S¥|¤À¤§¤@­^¦Tªº³nºÐ¤ù¦³ 160¡N180¡N320¡N360¡N1200 KB ¤­ºØ®e¶q¡A¦Ó¤T¤S¤G¤À¤§¤@­^¦Tªº³nºÐ¤ù¦³ 720¡N1440KB ¨âºØ®e¶q¡A¦ý¬O²{¦b´X¥G¬Ý¤£¨ì¤­¤S¥|¤À¤§¤@­^¦Tªº³nºÐ¤ù¡A¦Ó¤T¤S¤G¤À¤§¤@­^¦Tªº³nºÐ¤ù³Ì±`¥Îªº¬O±N¥¦®æ¦¡¤Æ ( format ) ¦¨ 1440KB¡A¤]´N¬O 1.44MB ®e¶q¤j¤p¡C³o¤@³¹ùØ¡A¤p¤ì°¸¥u½Í 1.44MB ªº¤T¤S¤G¤À¤§¤@­^¦Tªº³nºÐ¤ù¡A¤£¹L¨ä¥L®æ¦¡ªº³nºÐ¤]¥i¨Ì¬Û¦Pªº­ì²z±À¾É¥X¨Ó¡C

³nºÐ¤ùºc³y

¤£ºÞ¨º¤@ºØ³nºÐ¤ù¡A³£¬O¥Ñ¤@­Ó¶ì½¦¶ê½L¬°°ò©³¡A¨ä¤W¶î¤WÅKªº®ñ¤Æª«¬°ºÏ©Ê§÷®Æ¡A³oºÏ©Êª«½è¥i¥HÂÇ¥Ñ N ©Î S ·¥¨ÓÀx¦s¸ê®Æ¡A¥~­±¦A®M¤W«OÅ@¶ì½¦¡A´N§Î¦¨³nºÐ¤ù¡C¦³¨Ç³nºÐ¤ù¦³¨â­±¶î¤WºÏ©Êª«½è¡A¦Ó¦³¨Ç¥u¦³¤@­±¶î¤WºÏ©Êª«½è¡A©ó¬O³y¦¨®e¶q¬Û®t¤@­¿¡A¤£¹L²{¦b¤j·§¤]¶R¤£¨ì¥u¦³¤@­±¥i¥Îªº³nºÐ¤ù¤F¡C¥Ñ©óºÏ¤ù¤Wªº¨C¤@­±³£¥u¦³¤@­ÓºÏÀY¨ÓŪ¼g¡A©Ò¥H³\¦h³nÅé©Î®Ñ¥»¤]ºÙºÏ¤ùªº¤@­±¬°ºÏÀY (head )¡C

¦b¶î¤WºÏ©Êª«½èªº¨º¤@­±¡A§Ú­Ì¥i¥H§â·Q¹³¤W­±¦³³\¦h³\¦hªº¦P¤ß¶ê¡AºÙ¤§¬°ºÏ­y ( track ¥çºÙ cylinder )¡C¨C­ÓºÏ­y¤S¦A¤À¦¨¼Æ­Ó°Ï°ì¡AºÙ¤§¬°ºÏ°Ï ( sector )¡A¦Ó§Ú­Ì©ÒÀx¦sªº¸ê®Æ´N¦s¦b³oºÏ°ÏùØ¡A¤£ºÞ¨º¤@ºØºÏ¤ù¡A¨C­ÓºÏ°Ï³£¥i¦s©ñ 512 ­Ó¦ì¤¸²Õ¡C¥H 1.44MB ºÏ¤ù¨Ó»¡¡A¥¦¦³¨â­±¡A¨C¤@­±¦³ 80 ­ÓºÏ­y¡A¨C¤@ºÏ­y¦³ 18 ­ÓºÏ°Ï¡A©Ò¥HÁ`¦@¥i¥H¦s©ñ 2*80*18*512 = 1474560 ­Ó¦ì¤¸²Õ¡C

¥Î¦ì¤¸²Õ¬°³æ¦ì­pºâºÏ¤ù®e¶q¡AÅãµM·|¨Ï±o¼Æ¦r¤Ó¤j¦Ó¤£¤è«K¡A©Ò¥H§Ú­Ì¥t¥~©w¸q¤F¨â­Ó³æ¦ì KB »P MB¡A¤¤¤å¥iĶ¬°¤d¦ì¤¸²Õ»P¦Ê¸U¦ì¤¸²Õ¡A´«ºâ¤è¦¡¦p¤U¡G

1KB = 1024 ¦ì¤¸²Õ
1MB = 1024KB = 1048576 ¦ì¤¸²Õ

¦]¦¹³o­Ó¤T¤S¤G¤À¤§¤@­^¦Tªº³nºÐ¤ù¦@¦³ 1474560/1048576 = 1.44 MB¡C¤p¤ì°¸§â 1984 ¦~¨ì²{¦b³Ì±`¨£ªº¥|ºØºÏ¤ù¾ã²z¦p¤Uªí¡G

3.5 ­^¦T
1.44MB
5.25 ­^¦T
1.2MB
5.25 ­^¦T
360KB
5.25 ­^¦T
320KB
®e¶q(¦ì¤¸²Õ)1474560 1228800368640 327680
ºÏÀY¼Æ2 22 2
¨C­±ºÏ­y¼Æ80 8040 40
¨CºÏ­y¤§ºÏ°Ï¼Æ18 159 8
¨CºÏ°Ï¦ì¤¸²Õ¼Æ512 512512 512

¤@¤ùºÏ¤ù¦b¹êÅé¤W¡A¤À¬°­± ( ºÏÀY )¡BºÏ­y¡BºÏ°Ï¡C¥H 3.5 ­^¦T 1.44MB ªººÏ¤ù¨Ó»¡¡A¦@¦³¨â­±¡A²Ä 0 ­±»P²Ä 1 ­± ( ©ÎªÌ±z»¡²Ä 0 ºÏÀY»P²Ä 1 ºÏÀY¤]¦æ )¡A¦Ó¨C­±¤S¤À¦¨ 80 ­ÓºÏ­y¡A¨ä½s¸¹¥Ñ²Ä 0 ºÏ­y¨ì²Ä 79 ºÏ­y¡A¨C¤@ºÏ­y¦A¤À¦¨ 18 ­ÓºÏ°Ï¡A¨ä½s¸¹¥Ñ²Ä 1 ºÏ°Ï¨ì²Ä 18 ºÏ°Ï¡C( ¦¹³B«Ü©_©Ç¡A¤@¯ë¹q¸£¤Wªº½s¸¹´X¥G³£¥Ñ¹s¶}©l¡A¥u¦³ª«²zºÏ°Ïªº½s¸¹¥Ñ¤@¶}©l¡C)

ÅÞ¿èºÏ°Ï

¥H¤W©Ò»¡ªººÏÀY¡NºÏ­y¡NºÏ°Ï³£¬Oª«²z¹êÅé¤Wªº©w¸q¡A¦ý¬O¦b DOS ªºªA°Èµ{¦¡ùØ­nŪ¨ú©Î¼g¤J¤@¨Ç¸ê®Æ®É¡A«o¤£¬O¨Ì·ÓºÏÀY¡NºÏ­y¡NºÏ°Ïªº¤è¦¡«ü©w¯S©wºÏ°Ï¡A¦Ó¬O¥H¬Y¤@ºØ½s±Æ¤è¦¡«ü©wºÏ°Ï¡C¥H 1.44MB ºÏ¤ù¬°¨Ò¡A¦b DOS ªº²´ùØ¡A§â²Ä 0 ­±¡N²Ä 0 ­y¡N²Ä 1 ºÏ°Ï¬Ý¦¨¬O²Ä 0 ¸¹ºÏ°Ï¡A²Ä 0 ­±¡N²Ä 0 ­y¡N²Ä 2 ºÏ°Ï¬Ý¦¨¬O²Ä 1 ¸¹ºÏ°Ï¡A²Ä 0 ­±¡N²Ä 0 ­y¡N²Ä 3 ºÏ°Ï¬Ý¦¨¬O²Ä 2 ¸¹ºÏ°Ï¡A²Ä 0 ­±¡N²Ä 0 ­y¡N²Ä 4 ºÏ°Ï¬Ý¦¨¬O²Ä 3 ¸¹ºÏ°Ï¡K¡K²Ä 0 ­±¡N²Ä 0 ­y¡N²Ä 18 ºÏ°Ï¬Ý¦¨¬O²Ä 17 ¸¹ºÏ°Ï¡C±µ¤U¨Ó«o¤£¬O²Ä 0 ­±¡B²Ä 1 ­y¡B²Ä 1 ºÏ°Ï¬°²Ä 18 ºÏ°Ï¡A¦Ó¬O²Ä 1 ­±¡N²Ä 0 ­y¡N²Ä 1 ºÏ°Ï¬Ý¦¨¬O²Ä 18 ¸¹ºÏ°Ï¡A¬°¦ó³o¼Ë©O¡H¥D­n­ì¦]¬O¦Ò¼{ºÏÀY¦b¤£¦PºÏ­y¶¡²¾°Ê³t²v¸ûºC¡A¦Ó³nºÐ¾÷¤W¤U¦U¦³¤@­ÓºÏÀY¤£¶·²¾°ÊºÏÀY¡A©Ò¥H¥ý§â¦P¤@­yªººÏ°Ï¥Î§¹¦A²¾°Ê¨ì¤U¤@ºÏ­y¥i¤j´T´£°ª®Ä²v¡C±µ¤U¨Ó²Ä 1 ­±¡N²Ä 0 ­y¡N²Ä 2 ºÏ°Ï¬Ý¦¨¬O²Ä 19 ¸¹ºÏ°Ï¡A²Ä 1 ­±¡N²Ä 0 ­y¡N²Ä 3 ºÏ°Ï¬Ý¦¨¬O²Ä 20 ¸¹ºÏ°Ï¡K¡K²Ä 1 ­±¡B²Ä 0 ­y¡B²Ä 18 ºÏ°Ï¬Ý¦¨¬O²Ä 35 ¸¹ºÏ°Ï¡C±µ¤U¨Ó«K¬O²Ä 0 ­±¡N²Ä 1 ­y¡N²Ä 1 ºÏ°Ï¬Ý¦¨¬O²Ä 36 ¸¹ºÏ°Ï¡A¦p¦¹¤@ª½¨ì²Ä 1 ­±¡N²Ä 79 ­y¡N²Ä 18 ºÏ°Ï¬Ý¦¨¬O²Ä 2879 ¸¹ºÏ°Ï¡A¹³³o¨Ç¥Õ¦âªººÏ°Ï½s¸¹¬O³sÄò©Êªº¡A¥Ñ 0 ¸¹¶}©l¨ì 2879 ¸¹¡AºÙ¤§¬°¡yÅÞ¿èºÏ°Ï¡z¡C¦b DOS ªA°Èµ{¦¡¤¤­nŪ¨ú©Î¼g¤J³£¬O¥HÅÞ¿èºÏ°Ïªº¤è¦¡«ü©w¯S©wºÏ°Ï¡A¦Ó DOS ·|¦Û°ÊÀ°§Ú­Ìºâ¥X¦b²Ä´X­±¡N²Ä´X­y¡N²Ä´XºÏ°Ï¡C¦³ÃöÅÞ¿èºÏ°Ïªº½s±Æ¤è¦¡¡A¦p¤U¹Ï¡G

3.5­^¦TºÏ¤ù¤§ÅÞ¿èºÏ°Ï¤À°t¹Ï

BOOT ºÏ°Ï (±Ò°ÊºÏ°Ï)

³o­ÓºÏ°Ï¬O³nºÐ¤ù¤Wªº²Ä¹s­ÓÅÞ¿èºÏ°Ï¡A¦b³o­ÓºÏ°ÏùØ¥]§t¤F³\¦h³o­Ó³nºÐªº¸ê°T¥H¤Î¤@¤p¬q±Ò°Êµ{¦¡¡C¦b³o­ÓºÏ°Ï¤@¶}©l¬O¤@­Ó¸õÅD«ü¥O¡A¸õ¨ì±Ò°Êµ{¦¡¤§³B°õ¦æ¡A¦Ó¦b¸õÅD«ü¥O¤§«áªº 8 ­Ó¦ì¤¸²Õ¬O®æ¦¡¤Æ³o¤ù³nºÐªº¼t°Ó¦WºÙ¡A±µ¤U¨Ó´N¬O³QºÙ¬° BPB ªº¤@¶ô°Ï°ì¡A¤p¤ì°¸§â­«­nªº¸ê®Æ¾ã²z¦¨¤Uªí¡G

¦ì§}½d³ò ¤j¤p
(¦ì¤¸²Õ)
©Ò¥Nªí·N¸q
00-023 ¸õÅD«ü¥O
03-0A8 ¼t°Ó³nÅé¦W
0B-0C2 ¨C¤@ºÏ°Ïªº¦ì¤¸²Õ¼Æ
0D1 ¨C¤@ºÏÂO©Ò¦ûºÏ°Ï¼Æ
0E-0F2 FAT «eºÏ°Ï¼Æ¡A§Y BOOT ©Ò¦ûºÏ°Ï¼Æ
101 FAT ­Ó¼Æ
11-122 ®Ú¥Ø¿ý®e¶q
13-142 ÅÞ¿èºÏ°ÏÁ`¼Æ¡A­Y¬°¹s«h¦s©ó 20-23
151 ³nºÐ¤ùºØÃþ
16-172 ¨C­Ó FAT ©Ò¦ûºÏ°Ï¼Æ
18-192 ¨C¤@ºÏ­y¤§ºÏ°Ï¼Æ
1A-1B2 ºÏÀY¼Æ
1C-1F4 ÁôÂúϰϼÆ
20-234 ¶W¹L 32MB µwºÐªºÅÞ¿èºÏ°ÏÁ`¼Æ

Åý¤p¤ì°¸¥Î DENUG ¸ü¤J¤@¤ù­è®æ¦¡¤Æ¡A§¹¥þ¨S¦³¦s©ñÀɮתº 1.44MB ºÏ¤ùÆ[¹î¬Ý¬Ý¡G


C:\WINDOWS>DEBUG [Enter]
-L 100 0 0 1 [Enter]
-D 100 L20 [Enter]
1B83:0100  EB 34 90 2A 3C 68 58 73-49 48 43 00 02 01 01 00   .4.*<hXsIHC.....
1B83:0110  02 E0 00 40 0B F0 09 00-12 00 02 00 00 00 00 00   ...@............

DEBUG ªº L «ü¥O¥i¥Î¨Ó¸ü¤JÅÞ¿èºÏ°Ï¡A100 ªí¥Ü¸ü¤J¦ì§}¡A²Ä¤@­Ó¹sªí¥Ü A: ºÏºÐ¾÷¡A²Ä¤G­Ó¹sªí¥Ü­n¸ü¤JªºÅÞ¿èºÏ°Ï½s¸¹¡A³Ì«á¤@­Ó¼Æªí¥Ü¥Ñ­n¸ü¤JªºÅÞ¿èºÏ°Ï¼Æ¡C

¤p¤ì°¸¥Î¬õ¦â¼Ð¥X¨Óªº¤À§O¥Nªí¨C¤@ºÏ°Ïªº¦ì¤¸²Õ¼Æ¡NÅÞ¿èºÏ°ÏÁ`¼Æ¡N¨C¤@ºÏ­yªººÏ°Ï¼Æ¡NºÏÀY¼Æ¡AÅÞ¿èºÏ°ÏÁ`¼Æ­¼¥H¨C¤@ºÏ°Ïªº¦ì¤¸²Õ¼Æ±o¨ìªº´N¬O³o±iºÏ¤ùªº®e¶q¡C±z¥i¥H·Q¹³²Ä 0BH ¦ì¤¸²Õ¨ì 23H ¦ì¤¸²Õ©Ò´£¨Ñªº¸ê®Æªí¥Ü¤F³o­ÓºÏ¤ùªº­«­n°Ñ¼Æ¡A³o¨Ç¸ê®ÆºÙ¤§¬° BPB (BIOS parameter block)¡C·í DOS ­n±NºÏÀY¡NºÏ­y¡NºÏ°ÏÂà´«¦¨ÅÞ¿èºÏ°Ï½s¸¹©Î¬Oµ{¦¡³]­p®v¼¶¼gµ{¦¡®É¡A³£±o§Q¥Î³o¤@°Ïªº°Ñ¼Æ¡C

ºÏÂO

ÁöµM DOS ¥i¥H¨C¦¸¥uŪ¼g¤@­ÓºÏ°Ïªº¸ê®Æ¡A¦ý¬O·í DOS ­n¼g¤J¤@­Ó·s«ØªºÀɮ׮ɡA¬O¥HºÏÂO (cluster) ªº¤è¦¡¼g¤J¡A¤]´N¬O DOS ¬°·sÀÉ®×°t¸mºÏ¤ùªÅ¶¡¡A¬O¥ÎºÏÂO¬°³æ¦ì¡C¤@­ÓºÏÂO¬O¥Ñ¼Æ­Ó³sÄòªºÅÞ¿èºÏ°Ï²Õ¦¨¡A¨ä¤j¤p¬OÀHµÛºÏºÐ®e¶q¥H¤Î DOS ª©¥»¤£¦P¦ÓÅÜ¡C

¬°¤°»ò­n¦³ºÏÂO©O¡H¦Ó¤£ª½±µ¥ÎÅÞ¿èºÏ°Ï´N¦n¤F¡A³o¼Ë¤£¬O²³æ¤S¤è«K¶Ü¡H­ì¦]¬O¦]¬°¦pªG­n¼g¤J¤@­Ó«Ü¤jªºÀɮסA°²¦p¥ÎºÏ°Ï¬°°t¸m¤è¦¡¡A¨ººÏ°Ï¼Æ´N­n«Ü¤j¡A¨Ã¥B¥i¯à´²¥¬¦b¹s´²ªºªÅ¶¡¡A°²¦p¥ÎºÏÂO¨Ó°t¸m³æ¦ìªº¸Ü¡A«hºÏÂO¼Æ¥Ø¥i¯à·|´î¤Ö (¦b 3.5 ­^¦T³nºÐ¤W¬°¤@¥b)¡A©Ò¥H´²¶Ãªºµ{«×±N´î¤Ö¡A¤S¥Ñ©óºÏÂO¬O³sÄòªººÏ°Ï¡A©Ò¥HŪ¨ú®É¯à¥[§Ö³t«×¡C(µù¤@)

DOS ¬JµM¬O¥HºÏÂO¬°°t¸mÀɮתº³æ¦ì¡A©Ò¥H±zªºÀɮפ£ºÞ¤j¤p¦p¦ó¡A¥²©w­n¦û¾Ú¡y¾ã¼Æ¡z­ÓºÏÂOªºªÅ¶¡¡C¥H 1.44MB ³nºÐ¤ù¬°¨Ò¡A¨C­ÓºÏÂO¬O¤@­ÓºÏ°Ï ( ¥i¥Ñ BPB ±oª¾ )¡A°²¦p±zªºÀÉ®×¥u¦³¤@­Ó¦ì¤¸²Õ¡A¨º¤]­n 512 ­Ó¦ì¤¸²Õ¡C©³¤U¬O¤@±i­è®æ¦¡¤Æªº 1.44MB ºÏ¤ù¡A¥ý¬Ý¬Ý³Ñ¾lªÅ¶¡¬O 1457664 ­Ó¦ì¤¸²Õ¡C

C:\>dir a: [Enter]

 Volume in drive A has no label
 Directory of A:\

File not found
                        1,457,664 bytes free

C:\>copy con a:t123.txt [Enter]
A^Z¡@¡÷«ö¦í Ctrl Á䤣©ñ¡A¦A«ö Z Áä
        1 file(s) copied

C:\>dir a: [Enter]

 Volume in drive A has no label
 Directory of A:\

T123     TXT             1  08-24-02   3:05 T123.TXT
         1 file(s)              1 bytes
         0 dir(s)       1,457,152 bytes free

·í§Ú·s«Ø¤@­ÓÀɮסAT123.TXT¡A®É¡A¥¦´N¥Î¥h¤F 512 ­Ó¦ì¤¸²Õ ( 1457664-1457152=512 )¡AÁöµM¥¦¥u¦³¤@­Ó¦ì¤¸²Õ¡C

FAT ( ÀÉ®×°t¸mªí )

¦b±Ò°ÊºÏ°Ï¤§«á¡Aºò±µµÛªº¬O°O¸üµÛ¬Y­ÓÀɮצû¦³¨º´X­ÓºÏÂOªº¤@¶ô°Ï°ì¡AºÙ¤§¬°ÀÉ®×°t¸mªí ( FAT¡AFile Allocation Table )¡A·Q·íµM¦Õ¡A³o­Ó FAT ¬O«Ü­«­nªº¡A¦pªG°O¸ü¤£¥¿½T¡AÀÉ®×´NµLªk¶¶§Q¦s¨ú¡A©Ò¥H DOS ¯S§O±N FAT ³]¬°¨â­Ó¡A¨ÃÀH®ÉÀˬd³o¨â FAT ¬O§_¬Û¦P¡C

FAT ¤¤¤À¦¨«Ü¦hÄæ¦ì¡A¨ÌºÏ¤ù®e¶q¤£¦P¨C­ÓÄæ¦ì¤j¤p¤]¤£¦P¡A1.44MB ºÏ¤ùªº¨C­ÓÄæ¦ì¬O 12 ¦ì¤¸¡A¤]´N¬O 1.5 ­Ó¦ì¤¸²Õ¡A³o¨C­ÓÄæ¦ì³£¥NªíµÛ¤@­ÓºÏÂO½s¸¹¡A¹³³o¼Ë¨C­ÓºÏÂO¦bÀÉ®×°t¸mªí¤¤©Ò¦ûªº½s¸¹¬O 12 ­Ó¦ì¤¸ªº¡A³oºØÀɮרt²ÎºÙ¬° FAT12¡C12 ­Ó¦ì¤¸¥u¯àªí¥Ü 0¡ã4095 ªº¼Æ­È¡C´«¥y¸Ü»¡¡AºÏÂO½s¸¹¥u¯à±q 0 ¶}©l¨ì 4095¡A¦ý¹ê»Ú¤W¦©°£´X­Ó¯S§Oªº½s¸¹¤£¥Î¤§¥~¡A¨Ò¦p·lÃaªººÏ°Ï¡Bµ²§ôºÏ°Ïµ¥µ¥¡A¤]¥u¯àªí¥Ü 4085 ­ÓºÏÂO½s¸¹¡A­n¬O®e¶q¤jªºµwºÐ¡A©Ò§tºÏÂO¼Æ¦h¡A´NµLªk¥u¥Î 12 ­Ó¦ì¤¸ªí¥Ü¡C( µù¤G )

²Ä¹s­ÓÄæ¦ì»P²Ä¤@­ÓÄæ¦ì¦@ 3 ­Ó¦ì¤¸²Õ¬°¨t²Î¨Ï¥Î¡Cªº²Ä¹s­ÓÄæ¦ì¬Oªí¥Ü³o±iºÏ¤ùªººØÃþ¡A¦p¤Uªí¡G

FF0 1.44MB 3.5­^¦T
FF8 µwºÐ
FF9 1.2M 5.25­^¦T©Î 720K 3.5­^¦T
FFD 360K 5.25­^¦T
FFE 160K 5.25­^¦T
FFF 320K 5.25­^¦T

FAT ªº²Ä¤@­ÓÄæ¦ì«O¯d¥¼¨Ï¥Î¡A¤@¯ë³£¬O FFFH¡C±q FAT ªº²Ä¤G­ÓÄæ¦ì (¤]´N¬O²Ä¤T­Ó¦ì¤¸²Õ) ¶}©l¡A¨ä FAT Äæ¦ìªº¤º®e´Nªí¥ÜÀɮשҦû¥ÎªººÏÂO½s¸¹¡C¦¹³BÀ³ª`·N¡A1.44MB ºÏ¤ù¡A¦³¨â­Ó FAT¡A¦Ó¨C­Ó FAT ¦û¥Î 9 ­ÓºÏ°Ï¡A¥[¤W FAT «eÁÙ¦³¤@­Ó±Ò°ÊºÏ°Ï¥H¤Î¥Ø¿ý©Ò¦û¥Îªº 14 ­ÓºÏ°Ï (µy«á»¡©ú)¡A©Ò¥H¹ê»Ú¤WºÏ¤ù¤W¬O±q²Ä 33 ­ÓºÏ°Ï¤~¶}©l¦s©ñ¸ê®Æ¡C´«¥y¸Ü»¡¡AFAT ªº²Ä¤G­ÓÄæ¦ì¬O¥Nªí²Ä 33 ­ÓºÏÂO¡A²Ä¤T­ÓÄæ¦ì¬O¥Nªí²Ä 34 ­ÓºÏÂO¡A²Ä¥|­ÓÄæ¦ì¬O¥Nªí²Ä 35 ­ÓºÏÂO¡K¡K¡C

¦Ó FAT Äæ¦ìùØ©Ò¦s©ñªº¤º®e¥i¥H¤À¦¨¤U­±´XºØ±¡§Î¡G

000 ªí¥Ü¦¹Äæ©Ò¹ïÀ³ªººÏÂO¨Ã¥¼¨Ï¥Î
FF7 ªí¥Ü¦¹Äæ©Ò¹ïÀ³ªººÏÂO¤w·lÃa¡A¤£¥i¨Ï¥Î
FF8-FFF ªí¥Ü¦¹Äæ©Ò¹ïÀ³ªººÏÂO¬°Àɮתº³Ì«á¤@­ÓºÏÂO
¨ä¥L­È ªí¥Ü¤U¤@­ÓºÏÂO¼Ð¸¹©Ò¹ïÀ³ªº FAT Äæ¦ì

©³¤U¥H´X­Ó¨Ò¤l¨Ó»¡©ú FAT ¤º®e»PÀɮצs©ñºÏ°ÏªºÃö«Y¡C¥ý¬Ý¬Ý­è®æ¦¡¤Æ¦Ó«á¥u«Ø¥ß¤@­Ó T123.TXT ªº¨º¤@±iºÏ¤ù¡G

C:\WINDOWS>dir a: [Enter]

 Volume in drive A has no label
 Directory of A:\

T123     TXT             1  08-24-02   3:05 T123.TXT
         1 file(s)              1 bytes
         0 dir(s)       1,457,152 bytes free

C:\WINDOWS>debug [Enter]
-l 100 0 1 1 [Enter]
-d 100 L30 [Enter]
1C6C:0100  F0 FF FF FF 0F 00 00 00-00 00 00 00 00 00 00 00   ................
1C6C:0110  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
1C6C:0120  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................

«e´X­Ó¦ì¤¸²Õ¬O F0 FF FF FF 0F¡A·í DOS ¸ÑŪ³o¨Ç¼Æ¦r®É¡A­nª`·N¨â¥ó¨Æ¡A¤@¬O¨C­ÓÄæ¦ìªº¦ì¤¸²Õ¼Æ¡A¥H 1.44MB ºÏ¤ù¨Ó»¡¬O 1.5 ¦ì¤¸²Õ¡F¤G¬O¤j¦ì¼Æ­n¦b°ª¦ì§}¡C¥H­è­è¨º±iºÏ¤ù¬°¨Ò¡A§Ú­ÌÀ³¸Ó§â¥¦¸ÑŪ¦¨¹³¤U­±³o¼Ë¡G

¸ÑŪ FAT ªº¨Ò¤l¤@

¹Ï¤¤¤W¤è¯»¬õ¦âªº byte: «á­±±µªº¼Æ¦r¬O¦ì¤¸²Õ½s¸¹ (¦ì§})¡A³Ì¤U¤èªº¯»¬õ¦âªº FAT: «á±µªº¼Æ¦rªí¥Ü FAT Äæ¦ì¡A³o¨âªÌ³£±q¹s¶}©l¡C

²Ä¹s­Ó FAT ªºÄæ¦ì¬O²Ä¹s­Ó¦ì¤¸²Õ (FAT ªº¨â­Ó¸û§C¦ì§}¡A¦p¤W¹Ï¥ªÃ䪺¥Õ½u©Ò«üªº¨â­Ó¼Æ) ¥H¤Î²Ä¤@­Ó¦ì¤¸²Õªº§C¦ì§} (FAT ªº¸û°ª¦ì§}¡A¦p¤W¹Ï¥ªÃ䪺¦Ç½u©Ò«üªº¨º¤@­Ó¼Æ)¡AFF0¡C²Ä¤@­Ó FAT Äæ¦ìªº¤p¦ì¼Æ¬O²Ä¤@­Ó¦ì¤¸²Õªº°ª¦ì§} (ÂŦâ½u©Ò«ü)¡A¤j¦ì¼Æ¬O²Ä¤G­Ó¦ì¤¸²Õ (¤ÑÂŦâ©Ò«ü)¡A©Ò¥H²Ä¤G­ÓÄæ¦ì¬O FFF¡C²Ä¤G­Ó FAT Äæ¦ì¬O FFF¡A¬O¥kÃ䪺¥Õ¦â½u©Ò«ü¡C

FATªº²Ä¹s¡N²Ä¤@­ÓÄæ¦ì¬O¨t²Î©Ò¨Ï¥Î¡A²Ä¤G­ÓÄæ¦ì¬O T123.TXT ³o­ÓÀɮשҦû¾Ú¡A¦Ó³o­ÓÀÉ®×¥u¦û¤@­ÓºÏÂO¡A©Ò¥H³o­ÓÄæ¦ì´N¬O FFF¡C±N¥¦¸ü¤J¬Ý¬Ý§a¡A·Ó­è­èªºÁ¿ªk¡AT123.TXT ³o­ÓÀÉ®×À³¸Ó¦s©ñ¦b²Ä 33 ­ÓºÏ°Ïªº¦a¤è¡A´«¦¨¤Q¤»¶i¦ì¬O 21H¡C

-l 200 0 21 1 [Enter]
-d 200 L20 [Enter]
1C6C:0200  41 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   A...............
1C6C:0210  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................

-q [Enter]

ªGµM´N¬O T123.TXT Àɪº¤º®e¡C¥ýÂ÷¶} DEBUG¡A§Ú­Ì¦A«þ¨©¤@­Ó¸û¤jªºÀɮ׬ݬݡG

C:\WINDOWS>copy content.gif a: [Enter]
        1 file(s) copied

C:\WINDOWS>dir a: [Enter]

 Volume in drive A has no label
 Directory of A:\

T123     TXT             1  08-24-02   3:05 T123.TXT
CONTENT  GIF         1,059  05-05-99  22:22 CONTENT.GIF
         2 file(s)          1,060 bytes
         0 dir(s)       1,455,616 bytes free

C:\WINDOWS>debug [Enter]
-l 100 0 1 1 [Enter]
-d 100 L30 [Enter]
1C6C:0100  F0 FF FF FF 4F 00 05 F0-FF 00 00 00 00 00 00 00   ....O...........
1C6C:0110  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
1C6C:0120  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................

CONTENT.GIF Àɦ³ 1059 ­Ó¦ì¤¸²Õ¡A¦]¦¹À³¸Ó¦û¦³ 3 ­ÓºÏÂO¡A±N³o¨Ç FAT Äæ¦ì¸ÑŪ¦p¤U¡G

¸ÑŪ FAT ªº¨Ò¤l¤G

«e¨â­Ó¶À¦âªº FAT Äæ¦ì­È¬°¨t²Î©Ò¨Ï¥Î¡A²Ä¤G­Ó FAT Äæ¦ì¬O T123.TXT ©Ò¨Ï¥Î¡C

CONTENT.GIF ¦@¦û¾Ú¤T­ÓºÏÂO¡AÀ³¸Ó¨Ï¥Î²Ä¤T¡N¥|¡N¤­³o¤T­Ó FAT Äæ¦ì¡C²Ä¤@­Ó¦û¾ÚªººÏÂO¬O²Ä 34 ­ÓºÏÂO (¨£«e­±)¡A¤]´N¬O FAT ªº²Ä¤T­ÓÄæ¦ì¡A¦Ó³o­ÓÄæ¦ì¤º®eÀ³¸Ó«ü¦V¤U¤@­ÓºÏÂO½s¸¹©Ò¹ïÀ³ªº FAT Äæ¦ì¡A¤]´N¬O²Ä¥|­ÓÄæ¦ì¡A©Ò¥H²Ä¤T­ÓÄæ¦ì¤º®e¬° 004H¡C¦P¼Ëªº CONTENT.GIF ªº©Ò¦û¾Úªº²Ä¤G­ÓºÏÂO¬O²Ä 35 ºÏÂO¡A¤U¤@­ÓºÏÂO¬O 36 ºÏÂO (¹ïÀ³ªº FAT Äæ¦ì¬O 005H)¡A©Ò¥H²Ä 35 ºÏÂO¹ïÀ³ªº FAT Äæ¦ì (¤]´N¬O²Ä¥|Äæ¦ì) ¤§¤º®e¬° 005H¡C¦Ó²Ä 36 ºÏÂO¤w¸g¬O³Ì«á¤@­ÓºÏÂO¤F¡A©Ò¥H¨ä¤º®e´N¬O FFFH¡C

°²¦p§A­@¤ß¬Ý§¹¥H¤W»¡©ú¡A¨Ã¥B¯àÁA¸Ñ¡A¨º¤p¤ì°¸·Q¡A±zÀ³¸Ó¯àÁA¸Ñ FAT ¨ä¹ê¬O¤@­ÓÀɮצ걵ªí¡A¨C¤@­Ó FAT Äæ¦ì³£«ü¦V¤U¤@­Ó FAT Äæ¦ì¡A¦Ó³o¡y¤U¤@­Ó¡zFAT Äæ¦ì¨ä¹ê¬O¹ïÀ³ªººÏÂO½s¸¹¡C²{¦b¥u³Ñ¤U¤@­Ó°ÝÃD¤F¡AÀɮתº°_©l FAT ½s¸¹¦s©ó¦ó³B¡Hµª®×¦bÀÉ®×´y­z°Ï¶ô¡C

®Ú¥Ø¿ý»PÀÉ®×´y­z°Ï¶ô ( FDB )

®Ú¥Ø¿ý¬Oºò±µµÛ FAT «á­±ªº¤@¶ô°Ï°ì¡A¦b±Ò°ÊºÏ°Ïªº²Ä 11¡ã12H ¦ì§}ùØ°O¸üµÛ®Ú¥Ø¿ý®e¶q¡A³o­Ó®e¶q«üªº¬O®Ú¥Ø¿ý¤º³Ì¦h¥i¥H©ñ¦h¤Ö­ÓÀɮתº¸ê®Æ¡C¥H 3.5 ­^¦T 1.44MB ºÏ¤ù¨Ó»¡¡A³Ì¦h¥i¥H°O¸ü00E0H­ÓÀɮתº¸ê®Æ¡A¤]´N¬O»¡°²¦p¶W¹L³o­Ó½d³ò¡A§Y¨ÏºÏ¤ùÁÙ¦³ªÅ¶¡¡A¤]µLªk¦A¦s¤J¸ê®Æ¡A°£«D¬O¦s¦b¤l¥Ø¿ý¤º¡C

¨º®Ú¥Ø¿ý¦û¦h¤Ö­ÓºÏ°Ï©O¡H¥H 1.44MB 3.5 ­^¦TºÏ¤ù¬°¨Ò¡A¥¦ªº®Ú¥Ø¿ý¦û¦³ 0E0H ­Ó FDB¡A¦Ó¨C­Ó FDB ¦³ 32 ­Ó¦ì¤¸²Õ¡A¦]¦¹®Ú¥Ø¿ý©Ò¦ûªººÏ°Ï¬° 32*0E0H/512=14 ­ÓºÏ°Ï¡C

®Ú¥Ø¿ýªº¤º®e¬O¥Ñ³\¦hµ§¸ê®Æ²Õ¦¨¡A¨C¤@µ§¸ê®Æ³£°O¸üµÛ®Ú¥Ø¿ý¤ºªºÀɮצWºÙ¡N«ØÀɤé´Á¡NÀɮפj¤p¡K¡KÁÙ¦³¸ÓÀɮץѲĴX­ÓºÏÂO¶}©lªº²Õ¦¨¡A³o¨C¤@µ§¸ê®Æ³£¬O¥Ñ 32 ­Ó¦ì¤¸²Õºc¦¨¡A¥¦´y­z¤FÀÉ®×°ò¥»¸ê®ÆºÙ¤§¬°ÀÉ®×´y­z°Ï¶ô ( FDB¡Afile description block )¡A¤Uªí»¡©ú³o 32 ­Ó¦ì¤¸²Õ©Ò¥Nªíªº·N¸q¡G

00¡ã0AH¡G ³o 11 ­Ó¦ì¤¸²Õ¦s©ñÀɦW¡A«e­± 8 ­Ó¦ì¤¸²Õ¦s©ñ¥DÀɦW¡A«á­±¤T­Ó¦ì¤¸²Õ¦s©ñ°ÆÀɦW¡C¦Ó¥DÀɦWªº²Ä¹s­Ó¦ì¤¸²Õ¨ã¦³¯S®í·N¸q¡A¥­±`¬O¦s©ñÀɦWªº²Ä¹s­Ó¦r¡A¦ý¦pªGÀÉ®×¾D§R°£¡A«h¦¹¦ì¸m·|Åܦ¨ E5H¡A¦Ó¨ä¥L¸ê®Æ¤£ÅÜ (¥]§t FDB ªº¨ä¥L¸ê®Æ¦p«ØÀɮɶ¡¡NÀɮפj¤p¡K¡K)¡A»¡©ú¦p¤U¡G
00H¡G ¥¼¨Ï¥Îªº FDB¡C·í¨Ï¥ÎªÌ«Ø¥ß·sÀɮ׮ɡADOS ·|¥Ñ²Ä¹s­Ó FDB ¶}©l´M§ä¡A¥u­n¬O²Ä¹s­Ó¦r¬O 00 ©Î E5H ªº´N·|¬° DOS ©Ò¨Ï¥Î¡A³o¼Ëªº¦n³B¬O¨Ï±o³Q¨Ï¥Îªº FDB ¥Ã»··|¦b®Ú¥Ø¿ý«e­±¡C¦Ó DOS ´M§äÀɮ׮ɤ]¬O¥Ñ«e­±¶}©l·j´M¡A·í DOS ¬Ý¨ì FDB ªº²Ä¹s­Ó¦r¬° 00 ®É´Nª¾¹D¥H«á³£¬O¥¼¨Ï¥Îªº FDB ¤£»Ý¦A·j´M¡A¥H¸`¬Ù®É¶¡¡C
05H¡G ªí¥Ü³o­ÓÀɮתº²Ä¹s­Ó¦Û¬O¯uªº¥H 0E5H ¬°¶}©l¡C
2EH¡G ªí¥Ü³o­Ó FDB ¬O¥Ø¿ý¡A­Y¥u¦³²Ä¹s¦r¬°¡y.¡z¡Aªí¥Ü¬°¦Û¨­¥Ø¿ý¡A¦¹®É FAT «ü¦ì¾¹«ü¦V¦Û¨­ºÏÂO¡C¦p«e¨â¦r§¡¬°¡y.¡zªí¥Ü¬°¤÷¥Ø¿ý¡AFAT «ü¦ì¾¹«ü¦V¤÷¥Ø¿ýªººÏÂO¡C
E5H¡G ªí¥Ü³Q§R°£ªºÀɮסCÀÉ®×¾D§R°£«á¡ADOS ¥u¦b FDB ªº²Ä¹s¦r¥H E5H ¼Ð¥Ü¡A¦P®É±N«e­z FAT ªºÃìµ²Åܬ°¹s¡A¨ä¾l³£¨S¦³§ó°Ê¡A©Ò¥H¨Ï±o¤Ï§R°£³nÅé±o¥H¹ê²{¡C
0BH¡G ÀÉ®×ÄÝ©Ê¡A¨ä¼Æ­È·N¸q¦p¤U¡G
01H¡G °ßŪÀÉ¡A­Y¥H¼g¤J¼Ò¦¡¶}±Ò¦¹ÀɩΧR°£¦¹Àɳ£·|µo¥Í¿ù»~¡C
02H¡G ÁôÂÃÀÉ¡A¥Î DOS ªº DIR «ü¥O¬O¬Ý¤£¨£ªº¡A¥²¶·¥[¤W¡y/A¡z°Ñ¼Æ¡C
04H¡G ¨t²ÎÀÉ¡A¬O DOS ¨t²Î¨Ï¥ÎªºÀɮסA¦p MSDOS.SYS¡NIO.SYS¡C
08H¡G ºÏºÐ¨÷¦W ( ©ÎºÏºÐ¼ÐÅÒ )¡A´N¬O¥Î DIR «ü¥O¬Ý¨ìªº¡yvolume label¡z©Î Win 9x/Me ¨t²Î¤¤¡y§Úªº¹q¸£¡z¬Ý¨ìªººÏºÐ¾÷¤U­±ªº¦W¦r¡C
10H¡G ¥Ø¿ý¦W¡C
20H¡G «O¦sÀÉ¡A¥u­nÀɮ׳Q«Ø¥ß¡A¦¹¦ì¤¸´N·|³]¬°¤@¡C¦¹Äݩʬ°³Æ¥÷µ{¦¡¡A¨Ò¦p MSBACKUP.EXE¡A©Ò¥Î¡A³Æ¥÷µ{¦¡Àˬd¦¹Äݩʬ°¤@¡Aªí¥Ü©|¥¼³Æ¥÷¡C
¨Æ¹ê¤W³o¨Ç¼Æ­È¨ä¹ê¬O³o­Ó¦ì¤¸²Õªº 8 ­Ó¦ì¤¸¥Nªí¶}©ÎÃöªºµ²ªG¡A¦]¦¹ÀÉ®×¥i¥H¬O¨t²ÎÀÉ¡A¤]¥i¥H¦P®É¬OÁôÂÃÀɸò°ßŪÀÉ¡A³o¼Ëªº¸Ü¡A³o­Ó¦ì¤¸²Õ´NÅܦ¨ 0000 0111B¡A¤]´N¬O 7 ¤F¡C
0C¡ã11H¡G «O¯d¥¼¨Ï¥Î¡A§¡¬° 00H¡C
12¡ã13H¡G DOS 6.x ¤Î¨ä¥H«eªºª©¥»«O¯d¥¼¨Ï¥Î¡A§¡¬° 00H¡C¦ý Win 95 ¥H«á¡A¦s©ñ¤W¦¸¦s¨ú¤é´Á¡A¨ä®æ¦¡½Ð°Ñ¦Ò 18¡ã19H¡C
14¡ã15H¡G FAT12/FAT16 ¤¤¡A¦¹¤G¦ì¤¸²Õ«O¯d¡A¥¼¨Ï¥Î¡C¦ý¬O¦b FAT32 ¨t²Î¤¤¡A³o­Ó¦r²Õ¬OºÏÂO«ü¦ì¾¹ªº¸û°ª¦r²Õ¡A¥ç§YÀÉ®×°_©lºÏÂOªº¸û°ª¦r²Õ¡A¥²¶·»P 1A¡ã1BH °t¦X¨Ï¥Î¡C
16¡ã17H¡G ³o¨â­Ó¦ì¤¸²Õ¥Nªí®É¶¡¡C¹ïÀɮצӨ¥¡A¬O«ü«Ø¥ß®É¶¡©Î³Ì«á­×§ïªº®É¶¡¡F¹ï¤l¥Ø¿ý¦Ó¨¥¡A¬O«ü«Ø¥ßªº®É¶¡¡C³o¨â­Ó¦ì¤¸²ÕÀ³³s°_¨Ó¬Ý¡A¦p¤U¹Ï¡G
FDB ®É¶¡Äæ¦ì»¡©ú
¨ä¤¤®É¡N¤À¡N¬í¤À§O¦û 5¡N6¡N5 ­Ó¦ì¤¸¡A®Éªº³¡¥÷³Ì¦h¥i¥HÅã¥Ü 25=32¡A¥iÅã¥Ü 24 ¤p®É¡F¤À³Ì¦h¦³ 26=64¡A¤]¥iÅã¥Ü 60 ¤À¡F¦ý¬O¬í¥u¦³ 25=32¡AµLªkÅã¥Ü 60 ¬í¡A¬G¦b¦¹±Ä¥Î§é°Jªº¤èªk¡A³o 5 ­Ó¦ì¤¸©Òªí¥Üªº¤G¶i¦ì¼Æ¥²¶·­¼¥H 2¡A¤~¬O¯u¥¿«ØÀÉ¡y¬í¡z¼Æ¡C
18¡ã19H¡G ³o¨â­Ó¦ì¤¸²Õ¥Nªí¤é´Á¡C¹ïÀɮצӨ¥¡A¬O«ü«Ø¥ß¤é´Á©Î³Ì«á­×§ïªº¤é´Á¡F¹ï¤l¥Ø¿ý¦Ó¨¥¡A¬O«ü«Ø¥ßªº¤é´Á¡C³o¨â­Ó¦ì¤¸²ÕÀ³³s°_¨Ó¬Ý¡A¦p¤U¹Ï¡G
FDB ¤é´ÁÄæ¦ì»¡©ú
¨ä¤¤¦~¥÷¦û 7 ­Ó¦ì¤¸¡A¨äªí¥Üªº¤G¶i¦ì¼ÆÁÙ­n¥[¤W 1980 ¤~¬O«ØÀɮɪº¤½¤¸¦~¥÷¡A27=128¡A©Ò¥H¥i¥Hªí¥Ü¤½¤¸ 1980 ¨ì¤½¤¸ 2108 ¦~¡A¬Û«H¨ì 2108 ¦~¡A¤£·|¦³¤HÁÙ¦A¥Î DOS¡C¨ä¾lªº¤ë©M¤é©M«e­z®É¶¡ªººâªk¬Û¦P¡A³£¬O¥H¤G¶i¦ì¼Æªí¥Ü¡C
1A¡ã1BH¡G ºÏÂO«ü¦ì¾¹¡A³o¤@Äæ¦s©ñµÛÀɮתº²Ä¹s­ÓºÏÂO½s¸¹©Ò¹ïÀ³ªº FAT Äæ¦ì¡C¹ï FAT32 ¦Ó¨¥¡A³o¬OºÏÂO½s¸¹ªº§C¦r²Õ¡A¨ä°ª¦r²Õ¦b 14¡ã15H ³B¡C
1C¡ã1FH¡G Àɮפj¤p¡A¥H¦ì¤¸²Õ¬°³æ¦ì¡C­Y¦¹Ä欰 FFFFFFFFH ªí¥ÜÀɮפj¤p¬ù¬° 4G ­Ó¦ì¤¸²Õ¡A¦¹ÀÉ®×¥i»¡«D±`¤j¡A¦ý¦b DOS FAT16 ¨t²Î¤UÁÙ¦³¨ä¥L­­¨î¡C

¤p¤ì°¸¥H­è­èªººÏ¤ù¬°¨Ò»¡©ú¡A1.44MB 3.5­^¦TªººÏ¤ù³Ì«e­±¬O¤@­Ó±Ò°ÊºÏ°Ï¡A±µµÛ¬O¨â­Ó FAT¡A¦Ó¨C­Ó FAT ¦û¤F 9 ­ÓºÏ°Ï¡A¦A±µ¤U¨Ó¤~¬O®Ú¥Ø¿ý¡A©Ò¥H®Ú¥Ø¿ýÀ³¸Ó¥Ñ²Ä 13H ­ÓºÏ°Ï¶}©l¡G

-l 300 0 13 1 [Enter]
-d 300 [Enter]
1C6C:0300  54 31 32 33 20 20 20 20-54 58 54 20 00 AD C5 13   T123    TXT ....
1C6C:0310  1D 2D 1D 2D 00 00 B9 18-18 2D 02 00 01 00 00 00   .-.-.....-......
1C6C:0320  43 4F 4E 54 45 4E 54 20-47 49 46 20 00 63 E3 13   CONTENT GIF .c..
1C6C:0330  1D 2D 1D 2D 00 00 C0 B2-A5 26 03 00 23 04 00 00   .-.-.....&..#...
1C6C:0340  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
1C6C:0350  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
1C6C:0360  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
1C6C:0370  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
-

¥H T123.TXT ¨Ó¬Ý¡A¥Ñ²Ä¹s¨ì²Ä 0AH ­Ó¦ì¤¸²Õ¬OÀɦW¡A¨ä¤¤¥DÀɦW¤£º¡ 8 ­Ó¦r¡A¥HªÅ¥Õ¶ñº¡¡C²Ä 0BH ­Ó¦ì¤¸²Õ¬OÀÉ®×ÄÝ©Ê¡A20H ¬dªí¥i±o¬O´¶³qÀɮסC±µ¤U¨Ó¡A¥Õ¦âªº®É¶¡³¡¥÷¡A 18 B9 ´«¦¨¤G¶i¦ì¬O 0001 1000 1011 1001 ¡A¨Ì®É¶¡Äæ¦ì»¡©ú¡A«ØÀɪº¡y®É¡z¬O 00011B¡A´«¦¨¤Q¶i¦ì¬O 3¡A§Y­â±á 3 ÂI¡A¤À¬O 000101B¡A´«¦¨¤Q¶i¦ì¬O 5¡A§Y 5 ¤À¡A¬í¬O 11001B¡A´«¦¨¤Q¶i¦ì¬O 25¡A¦A­¼¥H 2 ±o 50 ¬í¡A©Ò¥H«ØÀɮɶ¡¬O 3 ÂI 5 ¤À 50 ¬í¡C

¦Ó¬õ¦â³¡¥÷¬O FAT «ü¦ì¾¹¡A¨ä­È¬° 0002 ªí¥Ü³o­ÓÀÉ®×¥Ñ FAT ªº²Ä¤G­ÓÄæ¦ì¶}©l¡A©ó¬O DOS ´N¨ì FAT ªº²Ä¤G­ÓÄæ¦ì¥h§äµo²{¬O FFF ©ó¬O DOS ´Nª¾¹D³o­ÓÀÉ®×¥u¦û¤@­ÓºÏÂO¡A´N¬O 002 ©Òªí¥ÜªººÏÂO¡A§Y²Ä 33 ­ÓºÏÂO¡C¦A¥H CONTENT.GIF Àɬ°¨Ò¡A¥¦ªº FAT «ü¦ì¾¹¬O 003¡A©ó¬O DOS ¨ì FAT ªº²Ä¤TÄæ¥h§äµo²{¸ÓÄ檺­È¬O 004¡A©Ò¥H DOS ¤S¨ì²Ä¥|Äæ§ä¡A²Ä¥|Ä檺­È¬O 005¡A¤S¨ì²Ä¤­Äæ¥h¬Ý¡A²Ä¤­Äæ¬O FFF¡Aªí¥Ü²Ä¤­Äæ¬O³Ì«á¤@­ÓºÏÂO¡A¦Ó¸ÓÀɦû¦³²Ä 003¡N004¡N005 ¤T­ÓºÏÂO¡C(°Ñ¦Ò«e¹Ï)

µ²»y

³o¤@³¹¤º®e¤]¬Û·í±o¦h¡A¤×¨ä¬O FAT ªºµ²ºc§ó¬O½ÆÂø¡A«Ý¤U¤@³¹¤p¤ì°¸¥´ºâ¤¶²Ð­Óµ{¦¡¡AŪ¨ú FAT ¨Ã¥B§â¾ã±iºÏ¤ù©Ò¨Ï¥ÎªºªÅ¶¡¥Î°Ï¶ôªº¤è¦¡¡yµe¡z¦b¿Ã¹õ¤W¡C


µù¤@¡GDOS ¤À°tÀɮ׮ɬO¦³ªÅ¶¡´N¨Ï¥Î¡A©Ò¥H°²¦p±z¦b¤@±i·sºÏ¤ù¤¤¨Ì§Ç¥Ñ§O³B«þ¨© A¡NB¡NC ¤T­ÓÀɮסA¦Ó«á¨Ó±z§R¥h¤F B ÀɮסA©ó¬O B ÀÉ®×­ì¥ý¦û¾Úªº¦a¤èÅܦ¨¥i¥H¦A³Q§Q¥Î¡C·í±z¦A«þ¨©¤@­Ó¤jÀÉ®× D¡A³o®É DOS ¬Ý¨ì­ì¥ý B ÀÉ©Ò¦û¾ÚªºªÅ¶¡¥i³Q§Q¥Î¡A©Ò¥H D Àɮתº«e¥b¬q«K¦b B ÀÉ®×­ì¥ýªºªÅ¶¡¡A«á¥b¬q«K¦b C Àɮפ§«áªºªÅ¶¡¡A©ó¬O³y¦¨´²¶Ã¡C·íÀɮפ£Â_ªº§R°£¡N«Ø¥ß¡A³oºØ±¡§Î·|¶V¨Ó¶VÄY­«¡A¦pªG¤@­ÓÀɮפÀ´²¦b¦U³B¡A¨ºÅª¨ú®ÉºÏÀY±o²¾°Ê¨ì¦U³B¡AŪ¨ú®É·|Åܱo«ÜºC¡A©Ò¥H¦³³\¦h¼t°Ó´Nµo®i¥X­«²ÕºÏºÐªºµ{¦¡¡C

µù¤G¡GµwºÐ®e¶q¤ñ³nºÐ®e¶q¤j±o¦h¡A©Ò¥HºÏÂO¼Æ¥ØÅܱo«Ü¦h¡A12 ¦ì¤¸µLªk®e¯Ç±o¤U©Ò¦³½s¸¹¡A³o®É´N±o¥Î 16 ¦ì¤¸ªøªºÄæ¦ì¨Óªí¥ÜºÏÂO½s¸¹¡AºÙ¬° FAT16¡A¨C­Ó FAT Äæ¦ì¦û¥Î 16 ¦ì¤¸¡A³Ì¦h¥i¥H¥Ñ 0¡ã65535 ¦@ 65536 ­ÓºÏÂO¡A¦ý¬O¦©°£¤@¨Ç«O¯dªº³¡¥÷¡A¥u¯à¥Î 65525 ­ÓºÏÂO½s¸¹¡C­n¬O¶W¹L³o­Ó¼Æ­È¡A´N±o¥Î 32 ¦ì¤¸ªí¥ÜºÏÂO½s¸¹¤F¡A´NºÙ¬° FAT32¡C

FAT12¡BFAT16¡BFAT32 ªº¤ñ¸û¡G


¦^¨ì­º­¶¡A ¨ì²Ä¤Q¤C³¹¡A ¨ì²Ä¤Q¤E³¹