#define DATASIZE 8192 #define FILEHEADER 80 #define ERRORSIZE -1 #define EOFSIZE 0 #define FILEMARK 3 #define TAPE_REOPEN 10000 #define MAXEV 80 /* NSCL BUFFER TYPES */ #define FE_K_DATA 1 #define FE_K_SCALER 2 #define FE_K_SCALER_PEEK 3 #define FE_K_START 11 #define FE_K_STOP 12 #define FE_K_PAUSE 13 #define FE_K_RESUME 14 #define FE_K_LINKLOST 15 #define EOF_MARK 0 #define ANSI_MARK 80 #define ERROR_MARK -1 struct MSU_HEADER { short int num_words; short int type; unsigned short int checksum; short int run_no; unsigned int Buff_seq; short int num_ev; short int num_LAM; short int num_CPU; short int num_BITREGS; short int buf_rev; short int res1; short int res2; short int res3; short int res4; short int res5; char title[80]; unsigned int time; };