Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/dzdoc/docparq.inc is written in an unsupported language. File is not indexed.

0001 *
0002 * $Id$
0003 *
0004 * $Log$
0005 * Revision 1.1  1996/03/04 16:12:57  mclareni
0006 * Initial revision
0007 *
0008 *
0009 #ifndef CERNLIB_DZDOC_DOCPARQ_INC
0010 #define CERNLIB_DZDOC_DOCPARQ_INC
0011 *
0012 *  Definitions for DZDOC
0013 *
0014 * docparq.inc
0015 *
0016 C
0017 C----           PARAMETER definitions for DZDOC
0018 C
0019 C--     Offset of DOWN bank for text buffers in master DOC babk
0020       PARAMETER (MDOCDQ = -1)
0021 C--     Offset of number of words used
0022       PARAMETER (MDCENQ = 1 )
0023  
0024 C----   Description of the documentation bank
0025 C       =====================================
0026  
0027 C--     Bank header part
0028 C       ----------------
0029 C--     Number of words in the header
0030       PARAMETER (NBHEAQ = 20)
0031 C--     Offset of encoded bank IDH
0032       PARAMETER (MBIDHQ = 1)
0033 C--     Offset of number of words in use
0034       PARAMETER (MBUSEQ = MBIDHQ+1)
0035 C--     Offset of number of words in the header
0036       PARAMETER (MBHEAQ = MBUSEQ+1)
0037 C--     Offset of total number of links
0038       PARAMETER (MBNNDQ = MBHEAQ+1)
0039 C--     Offset of number of structural links
0040       PARAMETER (MBNNLQ = MBNNDQ+1)
0041 C--     Offset of number of data words
0042       PARAMETER (MBNNSQ = MBNNLQ+1)
0043  
0044 C--     Offset of number of words with general information
0045       PARAMETER (MBGENQ = 11)
0046 C--     Offset of number of words describing the links
0047       PARAMETER (MBLINQ = MBGENQ+1)
0048 C--     Offset of number of words describing the ref links
0049       PARAMETER (MBRLIQ = MBLINQ+1)
0050 C--     Offset of number of words describing the status bits
0051       PARAMETER (MBBITQ = MBRLIQ+1)
0052 C--     Offset of number of words describing the data words
0053       PARAMETER (MBDATQ = MBBITQ+1)
0054  
0055 C---             Bank Description pointers and flags
0056 C---             ===================================
0057  
0058 C--              Normal entry
0059 C                ------------
0060 C--     Number of words in bank description pointers and flag section
0061       PARAMETER (NBDSCQ = 4)
0062 C--     Offset of pattern word inside section
0063       PARAMETER (MBPATQ = 1)
0064 C--     Offset of the two index words inside the section
0065       PARAMETER (MBIX1Q = MBPATQ+1  , MBIX2Q = MBIX1Q+1)
0066  
0067 C--              End of sequence
0068 C                ---------------
0069 C--     Number of words in bank description for end of sequence entry
0070       PARAMETER (NBEOSQ = 2)
0071  
0072 C--     Descriptor for normal entry
0073 C       ---------------------------
0074 C--     Start bit and number of bits for tag information
0075       PARAMETER (ICHTGQ = 0 , NCHTGQ = 2)
0076 C--     Multiple choice bit
0077       PARAMETER (ICHBTQ = 2)
0078 C--     Start bit and number of bits for identifier information
0079       PARAMETER (ICHIDQ = 10 , NCHIDQ = 5)
0080 C--     Start bit and number of bits for REP. level information
0081       PARAMETER (IRPLVQ = ICHIDQ+NCHIDQ , NRPLVQ = 4)
0082 C--     Bit for end-of-sequence flag
0083       PARAMETER (IBEOSQ = IRPLVQ+NRPLVQ)
0084  
0085 C--     Descriptor for CHOICE tag
0086 C       -------------------------
0087  
0088 C--     Number of words for CHOICE flag descriptor
0089       PARAMETER (NCDSCQ = 4)
0090 C--     Offset of pattern word inside section
0091       PARAMETER (MCPATQ = 1)
0092  
0093 C--     Offset of the word offset in the bank and its contents
0094       PARAMETER (MCWOFQ = MCPATQ+1  , MCWCOQ = MCWOFQ+1)
0095  
0096 C--     Bit flags choice by number (dynamic sector)
0097       PARAMETER (ICNUMQ = 0 )
0098 C--     Bit flags choice by format (self describing sector)
0099       PARAMETER (ICFORQ = ICNUMQ + 1)
0100 C--     Bit flags choice by contents
0101       PARAMETER (ICCONQ = ICFORQ + 1)
0102 C--     Offset of self description information and width
0103       PARAMETER (ICSELQ = 10, NCSELQ=4)
0104 C--     Offset of selection byte fields in word and width
0105       PARAMETER (ICBY1Q = ICSELQ+NCSELQ, NCBYTQ=8)
0106       PARAMETER (ICBY2Q = ICBY1Q+NCBYTQ)
0107  
0108 
0109 #endif