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

RCOS C++ CRC for class fcbTag

Name:

fcbTag

Comment:

a CP/M File Control Block. While it "uses" the Directory entry struct, certain bytes have different meanings from those held on the disk. Note that the target buffer for the transfer is an extension of the original - added to permit totally encapsulated operation requests.

Collaborators:

Responsibilities:

  typedef struct fcbTag {
    DIRENT de;                  // A.A. but nUsrNmbr = drive ID
    BYTE   nCurRec;             // current record for sequential read/write
    BYTE   nRandom[3];          // record number (0..65535)
    char  *pBuf;                // address for transfer
  } FCB, *PFCB;