1

我阅读了有关编写引导加载程序的教程。作者将此作为引导参数块的示例:

bootsector:
 iOEM:          .ascii "DevOS   "    # OEM String
 iSectSize:     .word  0x200         # bytes per sector
 iClustSize:    .byte  1             # sectors per cluster
 iResSect:      .word  1             # #of reserved sectors
 iFatCnt:       .byte  2             # #of FAT copies
 iRootSize:     .word  224           # size of root directory
 iTotalSect:    .word  2880          # total # of sectors if over 32 MB
 iMedia:        .byte  0xF0          # media Descriptor
 iFatSize:      .word  9             # size of each FAT
 iTrackSect:    .word  9             # sectors per track
 iHeadCnt:      .word  2             # number of read-write heads
 iHiddenSect:   .int   0             # number of hidden sectors
 iSect32:       .int   0             # # sectors for over 32 MB
 iBootDrive:    .byte  0             # holds drive that the boot sector came from
 iReserved:     .byte  0             # reserved, empty
 iBootSign:     .byte  0x29          # extended boot sector signature
 iVolID:        .ascii "seri"        # disk serial
 acVolumeLabel: .ascii "MYVOLUME   " # volume label
 acFSType:      .ascii "FAT16   "    # file system type

如果我使用的是FAT32文件系统,我可以只更改最后一部分(acFSType: ascii “FAT16 “)并使用这个引导参数块吗?如果没有,我在哪里可以获得FAT32的引导参数块?

4

1 回答 1

0

我在一封电子邮件中询问了 Mike Saunders(Mike-OS 的作者),他的回答是否定的。我不能仅通过更改该(acFSType: ascii “FAT16 “)部分来将此表用于 FAT32。为了获得 FAT32 文件系统的引导参数块,他向我发送了这个指向 Microsoft 网站的链接

于 2013-10-29T02:45:33.677 回答