mkbootFd( ) - create a boot floppy disk from a specified file
STATUS mkbootFd
(
int drive, /* drive number: (0 - 3) */
int fdType, /* type of floppy disk: (0 - 1) */
char *in /* name of file to read: "bootrom.bin" */
)
This command creates a boot floppy disk from a specified file
The following example makes a bootable floppy disk from the file named bootrom.bin to the floppy drive 0: "a:", which contains a type 0 diskette.
-> mkbootFd 0, 0, "bootrom.bin"
OK, or ERROR if there is an error copying from in to the disk.
Not Available
mkboot
mkbootAta( ) - create a boot ATA disk from a specified file
STATUS mkbootAta
(
int ctrl, /* controller number: (0 - 1) */
int drive, /* drive number: (0 - 1) */
char *in /* name of file to read: "bootrom.bin" */
)
This command creates a ATA boot disk from a specified file Note that the disk should have a FAT16 or a FAT12 volume. FAT32 volumes are not supported.
The following example makes a bootable hard disk from the file named bootrom.bin to the ATA ctrl 0, drive 0: "c:" drive.
-> mkbootAta 0, 0, "bootrom.bin"
OK, or ERROR if there is an error copying from in to the disk.
Not Available
mkboot