home *** CD-ROM | disk | FTP | other *** search
- This package reads and writes files in the root directory of a MS-DOS
- format diskette. Reads from and to files in directorys are not supported,
- directorys are ignored.
-
- The format is the one used on MS-DOS since version 2.01, ie. media
- descriptor bytes are not tested or supported. Diskettes formatted with
- MS-DOS versions 2.01 through 4.01 should all work. It should also be
- possible to use Atari ST -formatted diskettes, if the controller chip
- timing supports the different gap lengths of the format. However, the
- TOS on the Atari expects to see the media descriptor byte set to 0xF7
- for 720k diskettes; thus, the formatting routine will have to be changed
- in this respect. Diskettes with this media descriptor will unfortunately
- get the warning "Probable non-DOS diskette" from the MS-DOS chkdsk program.
-
- The following sample programs are supplied: read (read a diskette file
- using the routines), write (write a diskette file) and clear (logically
- format a MS-DOS diskette).
-
- Some guidelines for producing generally MS-DOS compatible diskettes/files
- with this package:
-
- * filenames are 8 characters, with 3 character file extensions; both parts
- consist of uppercase characters padded from the right with spaces but
- they should NOT contain imbedded spaces; the filename cannot be all blank
- but the extension can be, and a period is assumed between the two parts;
- for example, the on-disk filename "MYFILE EXT" maps logically to the name
- "MYFILE.EXT" and the logical filename "2ND-FILE" maps to "2ND-FILE "
-
- * do not use lowercase characters or any of the DOS reserved characters
- which are ?*,;.:+"/<=>[\]| in the filenames you create
-
- * do not use either of the characters 0x00 (NUL) or 0xE5 as the first character
- of a filename; the first means a never used directory entry, the second a
- deleted one
-
- * use only "whole" diskettes, ie. if a diskette is physically or logically
- damaged and you try to write onto it with this package, the results will
- probably be bad (if not worse)
-