我读了一篇关于编写bootloader的教程。作者将此作为引导参数块的示例:
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 的启动参数块?
答案 0 :(得分:0)
我在一封电子邮件中询问Mike Saunders(Mike-OS的作者),他的回答是否定的。仅仅通过更改(acFSType: ascii “FAT16 “)
部分,我无法将此表用于FAT32。为了获得FAT32文件系统的启动参数块,他向我发送了this link to the Microsoft website。