/* include file for adam FCB definitions */

#define FCB_SIZE		26
#define	NUM_FCB_IN_BLOCK	1024/FCB_SIZE

struct EOS_FCB {
	unsigned char	fileName[12];	/* 3 terminated */
	unsigned char   status;
	unsigned long	startBlock;
	unsigned int	blocksAllocated;
	unsigned int	blocksUsed;
	unsigned int	bytesInLastBlock;
	unsigned char	date[3];
};

/* File status bits */
#define	HOLE		1
#define	EXECUTIVE	2
#define	DELETED		4
#define	SYSTEM		8
#define	USER		16
#define	READ_PROTECT	32
#define	WRITE_PROTECT	64
#define	LOCKED		128

char DirChk[4]={0x55,0xAA,0x00,0xFF};
