Annotation of 43BSD/contrib/X/libvs100/reason.h, revision 1.1.1.1

1.1       root        1: /* $Header: reason.h,v 10.3 86/02/01 15:47:29 tony Rel $ */
                      2: /* reason.h    Interrupt reason values
                      3:  *
                      4:  * Author:     Paul J. Asente
                      5:  *             Digital Equipment Corporation
                      6:  *             Western Reseach Lab
                      7:  * Date:       June 1983
                      8:  */
                      9: 
                     10: /****************************************************************************
                     11:  *                                                                         *
                     12:  *  Copyright (c) 1983, 1984 by                                                    *
                     13:  *  DIGITAL EQUIPMENT CORPORATION, Maynard, Massachusetts.                 *
                     14:  *  All rights reserved.                                                   *
                     15:  *                                                                         *
                     16:  *  This software is furnished on an as-is basis and may be used and copied *
                     17:  *  only with inclusion of the above copyright notice. This software or any *
                     18:  *  other copies thereof may be provided or otherwise made available to     *
                     19:  *  others only for non-commercial purposes.  No title to or ownership of   *
                     20:  *  the software is hereby transferred.                                            *
                     21:  *                                                                         *
                     22:  *  The information in this software is  subject to change without notice   *
                     23:  *  and  should  not  be  construed as  a commitment by DIGITAL EQUIPMENT   *
                     24:  *  CORPORATION.                                                           *
                     25:  *                                                                         *
                     26:  *  DIGITAL assumes no responsibility for the use  or  reliability of its   *
                     27:  *  software on equipment which is not supplied by DIGITAL.                *
                     28:  *                                                                         *
                     29:  *                                                                         *
                     30:  ****************************************************************************/
                     31: 
                     32: #ifndef VS_REASONS
                     33: #define VS_REASONS
                     34: 
                     35: #define INT_ID         0x0001
                     36: #define INT_ID_MSG     "initialization done"
                     37: #define INT_CD         0x0002
                     38: #define INT_CD_MSG     "command done"
                     39: #define INT_SE         0x0004
                     40: #define INT_SE_MSG     "started executing"
                     41: #define INT_BE         0x0008
                     42: #define INT_BE_MSG     "button event"
                     43: #define INT_CM         0x0010
                     44: #define INT_CM_MSG     "cursor moved"
                     45: #define INT_TM         0x0020
                     46: #define INT_TM_MSG     "tablet moved"
                     47: #define INT_MM         0x0040
                     48: #define INT_MM_MSG     "mouse moved"
                     49: #define INT_PD         0x0080
                     50: #define INT_PD_MSG     "powerup done"
                     51: #define INT_ERR                -128
                     52: #define INT_ERR_MSG    "error encountered"
                     53: 
                     54: #define ERR_NYI                INT_ERR+0
                     55: #define ERR_NYI_MSG    "not yet implemented"
                     56: #define ERR_IFC                INT_ERR+1
                     57: #define ERR_IFC_MSG    "invalid function code"
                     58: #define ERR_ICC                INT_ERR+2
                     59: #define ERR_ICC_MSG    "invalid command code"
                     60: #define ERR_RN         INT_ERR+3
                     61: #define ERR_RN_MSG     "bus error: non-existant memory"
                     62: #define ERR_RO         INT_ERR+4
                     63: #define ERR_RO_MSG     "bus error: retry overflow"
                     64: #define ERR_LD         INT_ERR+5
                     65: #define ERR_LD_MSG     "bus error: link down"
                     66: #define ERR_BE         INT_ERR+6
                     67: #define ERR_BE_MSG     "bus error: unexplained"
                     68: #define ERR_AE         INT_ERR+7
                     69: #define ERR_AE_MSG     "address error"
                     70: #define ERR_SI         INT_ERR+8
                     71: #define ERR_SI_MSG     "spurious interrupt"
                     72: #define ERR_II         INT_ERR+9
                     73: #define ERR_II_MSG     "illegal instruction"
                     74: #define ERR_BN         INT_ERR+10
                     75: #define ERR_BN_MSG     "bba: non-existant memory"
                     76: #define ERR_BNI                INT_ERR+11
                     77: #define ERR_BNI_MSG    "bba not installed"
                     78: #define ERR_KBO                INT_ERR+12
                     79: #define ERR_KBO_MSG    "keyboard buffer overflow"
                     80: #define ERR_TBO                INT_ERR+13
                     81: #define ERR_TBO_MSG    "tablet buffer overflow"
                     82: #define ERR_BBO                INT_ERR+14
                     83: #define ERR_BBO_MSG    "button buffer overflow"
                     84: #define ERR_ITP                INT_ERR+15
                     85: #define ERR_ITP_MSG    "invalid tablet packet"
                     86: 
                     87: #define ERR_ISRCMB     INT_ERR+32
                     88: #define ERR_ISRCMB_MSG "invalid src modifier bits"
                     89: #define ERR_ISRCBW     INT_ERR+33
                     90: #define ERR_ISRCBW_MSG "invalid src bitmap width"
                     91: #define ERR_ISRCBH     INT_ERR+34
                     92: #define ERR_ISRCBH_MSG "invalid src bitmap height"
                     93: #define ERR_ISRCC      INT_ERR+35
                     94: #define ERR_ISRCC_MSG  "invalid src constant"
                     95: #define ERR_ISRCBD     INT_ERR+36
                     96: #define ERR_ISRCBD_MSG "invalid src bitmap depth"
                     97: #define ERR_ISRCD      INT_ERR+37
                     98: #define ERR_ISRCD_MSG  "invalid src bitmap dimension"
                     99: 
                    100: #define ERR_IMSKMB     INT_ERR+38
                    101: #define ERR_IMSKMB_MSG "invalid msk modifier bits"
                    102: #define ERR_IMSKBW     INT_ERR+39
                    103: #define ERR_IMSKBW_MSG "invalid msk bitmap width"
                    104: #define ERR_IMSKBH     INT_ERR+40
                    105: #define ERR_IMSKBH_MSG "invalid msk bitmap height"
                    106: #define ERR_IMSKBD     INT_ERR+41
                    107: #define ERR_IMSKBD_MSG "invalid msk bitmap depth"
                    108: 
                    109: #define ERR_IDSTMB     INT_ERR+44
                    110: #define ERR_IDSTMB_MSG "invalid dst-offset modifier"
                    111: #define ERR_IDSTBW     INT_ERR+45
                    112: #define ERR_IDSTBW_MSG "invalid dst bitmap width"
                    113: #define ERR_IDSTBH     INT_ERR+46
                    114: #define ERR_IDSTBH_MSG "invalid dst bitmap height"
                    115: #define ERR_IDSTBD     INT_ERR+47
                    116: #define ERR_IDSTBD_MSG "invalid dst bitmap depth"
                    117: 
                    118: #define ERR_NOAREA     INT_ERR+48
                    119: #define ERR_NOAREA_MSG "no resultant area"
                    120: 
                    121: #define ERR_IMAPMB     INT_ERR+50
                    122: #define ERR_IMAPMB_MSG "invalid map modifier bits"
                    123: #define ERR_IMAPFC     INT_ERR+51
                    124: #define ERR_IMAPFC_MSG "invalid map function code"
                    125: #define ERR_ZIMAP      INT_ERR+52
                    126: #define ERR_ZIMAP_MSG  "depth incompatible with map"
                    127: #define ERR_ZCIMAP     INT_ERR+53
                    128: #define ERR_ZCIMAP_MSG "depth combination incompatible with map"
                    129: 
                    130: #define ERR_ICLPMB     INT_ERR+54
                    131: #define ERR_ICLPMB_MSG "invalid clipr modifier bits"
                    132: #define ERR_ICLPRC     INT_ERR+55
                    133: #define ERR_ICLPRC_MSG "invalid clipr count"
                    134: 
                    135: #define ERR_SMC_ITC    INT_ERR+56
                    136: #define ERR_SMC_ITC_MSG        "invalid tracking ratio"
                    137: #define ERR_ITC_MULT   INT_ERR+57
                    138: #define ERR_ITC_MULT_MSG "invalid tracking multiplier"
                    139: #define ERR_ITC_DIV    INT_ERR+58
                    140: #define ERR_ITC_DIV_MSG        "invalid tracking divisor"
                    141: 
                    142: #define ERR_ICD                INT_ERR+59
                    143: #define ERR_ICD_MSG    "invalid cursor device"
                    144: #define ERR_MO_IBC     INT_ERR+60
                    145: #define ERR_MO_IBC_MSG "invalid byte count"
                    146: #define ERR_MO_IOT     INT_ERR+61
                    147: #define ERR_MO_IOT_MSG "invalid object type"
                    148: #define ERR_MO_IDT     INT_ERR+62
                    149: #define ERR_MO_IDT_MSG "invalid device type"
                    150: #define ERR_IPC                INT_ERR+63
                    151: #define ERR_IPC_MSG    "invalid path count"
                    152: 
                    153: #define ERR_DC_IPC     INT_ERR+64
                    154: #define ERR_DC_IPC_MSG "invalid path count"
                    155: #define ERR_DC_IPSL    INT_ERR+65
                    156: #define ERR_DC_IPSL_MSG        "invalid pattern string length"
                    157: #define ERR_DC_IPSM    INT_ERR+66
                    158: #define ERR_DC_IPSM_MSG        "invalid pattern string multiplier"
                    159: #define ERR_DC_ICF     INT_ERR+67
                    160: #define ERR_DC_ICF_MSG "invalid closed figure"
                    161: #define ERR_DC_IPSP    INT_ERR+68
                    162: #define ERR_DC_IPSP_MSG        "invalid pattern position"
                    163: #define ERR_DC_IPSMB   INT_ERR+69
                    164: #define ERR_DC_IPSMB_MSG "invalid pattern string modifier bits"
                    165: #define ERR_DC_IPMMB   INT_ERR+70
                    166: #define ERR_DC_IPMMB_MSG "invalid pattern mode modifier bits"
                    167: #define ERR_DC_IPSC    INT_ERR+71
                    168: #define ERR_DC_IPSC_MSG        "invalid pattern count"
                    169: #define ERR_DC_ISSRCBW INT_ERR+72
                    170: #define ERR_DC_ISSRCBW_MSG "invalid second src bitmap width"
                    171: #define ERR_DC_ISSRCBH INT_ERR+73
                    172: #define ERR_DC_ISSRCBH_MSG "invalid second src bitmap height"
                    173: #define ERR_DC_ISSRCBD INT_ERR+74
                    174: #define ERR_DC_ISSRCBD_MSG "invalid second src bitmap depth"
                    175: #define ERR_DC_ISSRCC  INT_ERR+75
                    176: #define ERR_DC_ISSRCC_MSG "invalid second src constant"
                    177: #define ERR_DC_IDPM    INT_ERR+76
                    178: #define ERR_DC_IDPM_MSG        "incompatible drawing/pattern mode"
                    179: 
                    180: #define ERR_PT_ICSL    INT_ERR+80
                    181: #define ERR_PT_ICSL_MSG        "invalid control string length"
                    182: #define ERR_PT_ICSO    INT_ERR+81
                    183: #define ERR_PT_ICSO_MSG        "invalid control string opcode"
                    184: #define ERR_PT_ICSP    INT_ERR+82
                    185: #define ERR_PT_ICSP_MSG        "invalid control string parameter"
                    186: #define ERR_PT_ITSL    INT_ERR+83
                    187: #define ERR_PT_ITSL_MSG        "invalid text string length"
                    188: #define ERR_PT_ICI     INT_ERR+84
                    189: #define ERR_PT_ICI_MSG "invalid character index"
                    190: #define ERR_PT_TSE     INT_ERR+85
                    191: #define ERR_PT_TSE_MSG "test string exhausted"
                    192: #define ERR_PT_NFP     INT_ERR+86
                    193: #define ERR_PT_NFP_MSG "no font present"
                    194: #define ERR_PT_ISRCFW  INT_ERR+87
                    195: #define ERR_PT_ISRCFW_MSG "invalid src font width"
                    196: #define ERR_PT_ISRCFH  INT_ERR+88
                    197: #define ERR_PT_ISRCFH_MSG "invalid src font height"
                    198: #define ERR_PT_ISRCFD  INT_ERR+89
                    199: #define ERR_PT_ISRCFD_MSG "invalid src font depth"
                    200: #define ERR_PT_IMSKFW  INT_ERR+90
                    201: #define ERR_PT_IMSKFW_MSG "invalid msk font width"
                    202: #define ERR_PT_IMSKFH  INT_ERR+91
                    203: #define ERR_PT_IMSKFH_MSG "invalid msk font height"
                    204: #define ERR_PT_IMSKFD  INT_ERR+92
                    205: #define ERR_PT_IMSKFD_MSG "invalid msk font depth"
                    206: #define ERR_PT_CSMF    INT_ERR+93
                    207: #define ERR_PT_CSMF_MSG        "conflicting src/msk fonts"
                    208: 
                    209: #define ERR_FA_ISRCB   INT_ERR+96
                    210: #define ERR_FA_ISRCB_MSG "invalid src bitmap"
                    211: #define ERR_FA_SPIOB   INT_ERR+98
                    212: #define ERR_FA_SPIOB_MSG "seed point is on boundary"
                    213: #define ERR_FA_SO      INT_ERR+99
                    214: #define ERR_FA_SO_MSG  "stack overflow"
                    215: #define ERR_FA_IBMMB   INT_ERR+100
                    216: #define ERR_FA_IBMMB_MSG "invalid boundary map modifier bits"
                    217: 
                    218: #define ERR_FP_ISRCB   INT_ERR+112
                    219: #define ERR_FP_ISRCB_MSG "invalid src bitmap"
                    220: #define ERR_FP_SO      INT_ERR+113
                    221: #define ERR_FP_SO_MSG  "stack overflow"
                    222: #define ERR_FP_IPC     INT_ERR+114
                    223: #define ERR_FP_IPC_MSG "invalid point count"
                    224: #define ERR_FP_ICF     INT_ERR+115
                    225: #define ERR_FP_ICF_MSG "invalid closed figure"
                    226: 
                    227: #define ERR_68K                INT_ERR+129
                    228: #define ERR_68K_MSG    "68000 cpu"
                    229: #define ERR_RC         INT_ERR+130
                    230: #define ERR_RC_MSG     "rom checksum"
                    231: #define ERR_PR         INT_ERR+131
                    232: #define ERR_PR_MSG     "program ram"
                    233: #define ERR_CRT                INT_ERR+132
                    234: #define ERR_CRT_MSG    "crtc register"
                    235: #define ERR_TU         INT_ERR+133
                    236: #define ERR_TU_MSG     "tablet usart"
                    237: #define ERR_KU         INT_ERR+134
                    238: #define ERR_KU_MSG     "keyboard usart"
                    239: #define ERR_FOE                INT_ERR+135
                    240: #define ERR_FOE_MSG    "fotr electrical loop back"
                    241: #define ERR_VTO                INT_ERR+136
                    242: #define ERR_VTO_MSG    "vsync time out"
                    243: #define ERR_SB         INT_ERR+137
                    244: #define ERR_SB_MSG     "screen buffer"
                    245: #define ERR_BS         INT_ERR+138
                    246: #define ERR_BS_MSG     "bba scratchpad ram"
                    247: #define ERR_BC         INT_ERR+139
                    248: #define ERR_BC_MSG     "bba copyarea command"
                    249: #define ERR_TTO                INT_ERR+140
                    250: #define ERR_TTO_MSG    "tablet time out"
                    251: #define ERR_FOO                INT_ERR+141
                    252: #define ERR_FOO_MSG    "fotr optical loop back"
                    253: #define ERR_KTO                INT_ERR+142
                    254: #define ERR_KTO_MSG    "keyboard time out"
                    255: #define ERR_KST                INT_ERR+143
                    256: #define ERR_KST_MSG    "keyboard self-test"
                    257: 
                    258: #define ERR_LDC_IATRV  INT_ERR+160
                    259: #define ERR_LDC_IATRV_MSG "invalid cursor attribute value"
                    260: #define ERR_LDC_ICH    INT_ERR+161
                    261: #define ERR_LDC_ICH_MSG        "invalid cursor height"
                    262: #define ERR_LDC_ICW    INT_ERR+162
                    263: #define ERR_LDC_ICW_MSG        "invalid cursor width"
                    264: #define ERR_NOVALCUR   INT_ERR+163
                    265: #define ERR_NOVALCUR_MSG "no valid cursor defined"
                    266: 
                    267: #define NUM_ERR_CODES  108
                    268: 
                    269: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.