Search code examples
filesystemsfat32assembly

How is a file loaded in the FAT file system?


I am developing a bootloader in x86 Assembly and I have a question about the FAT file system.

Which steps are necessary to find and load the file?


Solution

  • There is no simple answer, so I won't delve into it here.
    You have to peek into the FAT (File Allocation Table) structures on the disk: https://en.wikipedia.org/wiki/Design_of_the_FAT_file_system

    More, Reference:
    https://en.wikipedia.org/wiki/File_Allocation_Table