[ C++ RCOS Home | RCOS.java Home | RCOS Home | David's Home ]

RCOS C++ CRC for class deTag

Name:

deTag

Comment:

As I remember it, the CP/M directory entries went something like this. The m.s.b. of the name extension holds file attributes: fextn[0] set = read only 1 = system (hidden)

Collaborators:

Responsibilities:

  typedef struct deTag {
    BYTE nUsrNmbr;              // 0xe5 = erased, else user number (zero)
    char fname[PNAME_LEN];      // File name
    char fextn[ENAME_LEN];       // File extension
    BYTE nExtent;               // logical extent of this entry
    BYTE nRes1;                 // internal usage
    BYTE nRes2;                 // internal usage
    BYTE nRcnt;                 // BLOCK_LEN byte record num in use in last block
    BYTE nAllocBlk[16];         // Disk blocks allocated to this extent
  } DIRENT, *PDIRENT;