Mail Archives: opendos/1997/02/28/00:40:12
> High-bit set characters have a special meaning under FAT, AFAIK. They
> certainly did under CP/M. I think if the first character has its top bit
> set
> that marks the file as being deleted.
AFAIK, the only character which has a special meaning under FAT is 0xf6,
and even then only as the first character in the name.
Under CP/M, the first character in the directory entry was not the first
character of the name. It contained the user number (0x00 through 0x0f) for a
file which was not deleted or 0xe5 for a deleted file. If it contained anything
else, you couldn't get to the file.
The high-order bits of the filename characters were used to store file
attributes. The only defined attributes were Read-Only and System (called
Hidden in DOS). The remaining bits were available for users.
IIRC, DOS provides an attributes byte in the directory entry so it doesn't
need the high-order bits of the characters for file attributes.
Roger Ivie
ivie AT cc DOT usu DOT edu
- Raw text -