Continuing on from issue #4 the FAT functionality needs write capability.
Since directory traversal is already supported this would require 2 new G6 SCSI commands:
BSFATNEW - Creates a new directory entry in the current FAT directory using the specified file name. Newly created files would be simply entries of 0 length.
BSFATWRITE - Allows the host to add multiple blocks of data to an existing FAT file, passed data is simply added to the end of a previously created file.
Since there is potential for the host to overwrite or corrupt a SCSI LUN image, the firmware should also prevent the host from selecting one of the BeebSCSI* directories.
Continuing on from issue #4 the FAT functionality needs write capability.
Since directory traversal is already supported this would require 2 new G6 SCSI commands:
BSFATNEW - Creates a new directory entry in the current FAT directory using the specified file name. Newly created files would be simply entries of 0 length.
BSFATWRITE - Allows the host to add multiple blocks of data to an existing FAT file, passed data is simply added to the end of a previously created file.
Since there is potential for the host to overwrite or corrupt a SCSI LUN image, the firmware should also prevent the host from selecting one of the BeebSCSI* directories.