[mbr] added ms-sys files

This commit is contained in:
Pete Batard 2011-11-29 20:18:23 +00:00
parent 44c418714c
commit 6e2fb54480
38 changed files with 1809 additions and 2 deletions

15
inc/fat32fd.h Normal file
View file

@ -0,0 +1,15 @@
#ifndef FAT32FD_H
#define FAT32FD_H
#include <stdio.h>
/* returns TRUE if the file has an exact match ot the FAT32 boot record this
program would create for FreeDOS, otherwise FALSE.
The file position will change when this function is called! */
int entire_fat_32_fd_br_matches(FILE *fp);
/* Writes a FAT32 FreeDOS boot record to a file, returns TRUE on success,
otherwise FALSE */
int write_fat_32_fd_br(FILE *fp, int bKeepLabel);
#endif