Annotation of 43BSDTahoe/new/X/libvs100/reason.h, revision 1.1.1.1

1.1       root        1: /* reason.h    Interrupt reason values for Nov 84 firmware
                      2:  *
                      3:  * Author:     Paul J. Asente
                      4:  *             Digital Equipment Corporation
                      5:  *             Western Reseach Lab
                      6:  * Date:       Sept 1985
                      7:  */
                      8: 
                      9: /****************************************************************************
                     10:  *                                                                         *
                     11:  *  Copyright (c) 1985 by                                                  *
                     12:  *  DIGITAL EQUIPMENT CORPORATION, Maynard, Massachusetts.                 *
                     13:  *  All rights reserved.                                                   *
                     14:  *                                                                         *
                     15:  *  This software is furnished under a license and may be used and copied   *
                     16:  *  only in  accordance with  the  terms  of  such  license  and with the   *
                     17:  *  inclusion of the above copyright notice. This software or  any  other   *
                     18:  *  copies thereof may not be provided or otherwise made available to any   *
                     19:  *  other person.  No title to and ownership of  the  software is  hereby   *
                     20:  *  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 IR_ID          1<<0
                     36: #define IR_ID_MSG      "initialization done"
                     37: #define IR_CD          1<<1
                     38: #define IR_CD_MSG      "command done"
                     39: #define IR_DCI         1<<2
                     40: #define IR_DCI_MSG     "display code initialized"
                     41: #define IR_DE          1<<3
                     42: #define IR_DE_MSG      "device event"
                     43: #define IR_CM          1<<4
                     44: #define IR_CM_MSG      "cursor moved"
                     45: #define IR_DPM         1<<5
                     46: #define IR_DPM_MSG     "data pad moved"
                     47: #define IR_MM          1<<6
                     48: #define IR_MM_MSG      "mouse moved"
                     49: #define IR_PD          1<<7
                     50: #define IR_PD_MSG      "powerup done"
                     51: #define IR_AB_ACK      1<<8
                     52: #define IR_AB_ACK_MSG  "abort acknowledge"
                     53: #define IR_STAT_ACK    1<<9
                     54: #define IR_STAT_ACK_MSG        "status acknowledge"
                     55: #define IR_SAVE_ACK    1<<10
                     56: #define IR_SAVE_ACK_MSG        "save_screen acknowledge"
                     57: 
                     58: #define IR_ERROR       (1<<15)
                     59: 
                     60: #define ERR_NYI                IR_ERROR+0
                     61: #define ERR_NYI_MSG    "function not yet implemented"
                     62: #define ERR_IFC                IR_ERROR+1
                     63: #define ERR_IFC_MSG    "invalid function code"
                     64: #define ERR_ICC                IR_ERROR+2
                     65: #define ERR_ICC_MSG    "invalid command code"
                     66: #define ERR_BE_NXM_68K IR_ERROR+3
                     67: #define ERR_BE_NXM_68K_MSG     "bus error:  receive nxm -- 68K unibus access"
                     68: #define ERR_BE_RO      IR_ERROR+4
                     69: #define ERR_BE_RO_MSG  "bus error:  retry overflow"
                     70: #define ERR_BE_LD      IR_ERROR+5
                     71: #define ERR_BE_LD_MSG  "bus error:  link down"
                     72: #define ERR_BE_S       IR_ERROR+6
                     73: #define ERR_BE_S_MSG   "bus error:  spurious"
                     74: #define ERR_AE         IR_ERROR+7
                     75: #define ERR_AE_MSG     "address error"
                     76: #define ERR_ZD         IR_ERROR+8
                     77: #define ERR_ZD_MSG     "zero divide"
                     78: #define ERR_II         IR_ERROR+9
                     79: #define ERR_II_MSG     "illegal instruction"
                     80: #define ERR_NXM_BBA    IR_ERROR+10
                     81: #define ERR_NXM_BBA_MSG        "receive nxm -- BBA unibus access"
                     82: #define ERR_BNI                IR_ERROR+11
                     83: #define ERR_BNI_MSG    "BBA not installed"
                     84: #define ERR_KCQO       IR_ERROR+12
                     85: #define ERR_KCQO_MSG   "keyboard command queue overflow"
                     86: #define ERR_DPCQO      IR_ERROR+13
                     87: #define ERR_DPCQO_MSG  "data pad command queue overflow"
                     88: #define ERR_MEQO       IR_ERROR+14
                     89: #define ERR_MEQO_MSG   "mouse event queue overflow"
                     90: #define ERR_DPEQO      IR_ERROR+15
                     91: #define ERR_DPEQO_MSG  "data pad event queue overflow"
                     92: #define ERR_AB_BBA     IR_ERROR+16
                     93: #define ERR_AB_BBA_MSG "unable to abort the BBA"
                     94: #define ERR_KEQO       IR_ERROR+17
                     95: #define ERR_KEQO_MSG   "keyboard event queue overflow"
                     96: #define ERR_KOR                IR_ERROR+18
                     97: #define ERR_KOR_MSG    "keyboard overrun"
                     98: #define ERR_DPOR       IR_ERROR+19
                     99: #define ERR_DPOR_MSG   "data pad overrun"
                    100: #define ERR_KFE                IR_ERROR+20
                    101: #define ERR_KFE_MSG    "keyboard framing error"
                    102: #define ERR_DPFE       IR_ERROR+21
                    103: #define ERR_DPFE_MSG   "data pad framing error"
                    104: 
                    105: #define ERR_ISRCM      IR_ERROR+32
                    106: #define ERR_ISRCM_MSG  "invalid source modifiers"
                    107: #define ERR_ISRCBW     IR_ERROR+33
                    108: #define ERR_ISRCBW_MSG "invalid source bitmap width"
                    109: #define ERR_ISRCBH     IR_ERROR+34
                    110: #define ERR_ISRCBH_MSG "invalid source bitmap height"
                    111: #define ERR_ISRCC      IR_ERROR+35
                    112: #define ERR_ISRCC_MSG  "invalid source constant"
                    113: #define ERR_ISRCBD     IR_ERROR+36
                    114: #define ERR_ISRCBD_MSG "invalid source bitmap depth"
                    115: #define ERR_IMSKM      IR_ERROR+38
                    116: #define ERR_IMSKM_MSG  "invalid source mask modifiers"
                    117: #define ERR_IMSKBW     IR_ERROR+39
                    118: #define ERR_IMSKBW_MSG "invalid source mask bitmap width"
                    119: #define ERR_IMSKBH     IR_ERROR+40
                    120: #define ERR_IMSKBH_MSG "invalid source mask bitmap height"
                    121: #define ERR_IMSKBD     IR_ERROR+41
                    122: #define ERR_IMSKBD_MSG "invalid source mask bitmap depth"
                    123: #define ERR_IDSTM      IR_ERROR+44
                    124: #define ERR_IDSTM_MSG  "invalid destination offset modifiers"
                    125: #define ERR_IDSTBW     IR_ERROR+45
                    126: #define ERR_IDSTBW_MSG "invalid destination bitmap width"
                    127: #define ERR_IDSTBH     IR_ERROR+46
                    128: #define ERR_IDSTBH_MSG "invalid destination bitmap height"
                    129: #define ERR_IDSTBD     IR_ERROR+47
                    130: #define ERR_IDSTBD_MSG "invalid destination bitmap depth"
                    131: #define ERR_IMAPM      IR_ERROR+50
                    132: #define ERR_IMAPM_MSG  "invalid mapping function modifiers"
                    133: #define ERR_ICLPM      IR_ERROR+54
                    134: #define ERR_ICLPM_MSG  "invalid clipping rectangle modifiers"
                    135: #define ERR_ICLPC      IR_ERROR+55
                    136: #define ERR_ICLPC_MSG  "invalid clipping rectangle count"
                    137: 
                    138: #define ERR_SMC_ITC    IR_ERROR+56
                    139: #define ERR_SMC_ITC_MSG        "set_mouse_characteristics:  invalid tracking constant"
                    140: #define ERR_SCL_CD     IR_ERROR+58
                    141: #define ERR_SCL_CD_MSG "set_cursor_location:  cursor is detached"
                    142: #define ERR_AC_ICD     IR_ERROR+59
                    143: #define ERR_AC_ICD_MSG "attach_cursor:  invalid cursor device"
                    144: 
                    145: #define ERR_MO_IBC     IR_ERROR+60
                    146: #define ERR_MO_IBC_MSG "move_object:  invalid byte count"
                    147: #define ERR_MO_IOT     IR_ERROR+61
                    148: #define ERR_MO_IOT_MSG "move_object:  invalid object type"
                    149: #define ERR_MO_IDT     IR_ERROR+62
                    150: #define ERR_MO_IDT_MSG "move_object:  invalid device type"
                    151: 
                    152: #define ERR_IPC                IR_ERROR+63
                    153: #define ERR_IPC_MSG    "invalid path count (draw_curve or fill_polygon)"
                    154: 
                    155: #define ERR_DC_IPL     IR_ERROR+65
                    156: #define ERR_DC_IPL_MSG "invalid pattern length"
                    157: #define ERR_DC_IPM     IR_ERROR+66
                    158: #define ERR_DC_IPM_MSG "invalid pattern multiplier"
                    159: #define ERR_DC_ICF     IR_ERROR+67
                    160: #define ERR_DC_ICF_MSG "invalid closed figure"
                    161: #define ERR_DC_IPP     IR_ERROR+68
                    162: #define ERR_DC_IPP_MSG "invalid pattern position"
                    163: #define ERR_DC_IPSM    IR_ERROR+69
                    164: #define ERR_DC_IPSM_MSG        "invalid pattern string modifiers"
                    165: #define ERR_DC_IPMM    IR_ERROR+70
                    166: #define ERR_DC_IPMM_MSG        "invalid pattern mode modifiers"
                    167: #define ERR_DC_IPC     IR_ERROR+71
                    168: #define ERR_DC_IPC_MSG "invalid pattern count"
                    169: #define ERR_DC_ISSRCBW IR_ERROR+72
                    170: #define ERR_DC_ISSRCBW_MSG     "invalid second source bitmap width"
                    171: #define ERR_DC_ISSRCBH IR_ERROR+73
                    172: #define ERR_DC_ISSRCBH_MSG     "invalid second source bitmap height"
                    173: #define ERR_DC_ISSRCBD IR_ERROR+74
                    174: #define ERR_DC_ISSRCBD_MSG     "invalid second source bitmap depth"
                    175: #define ERR_DC_ISSRCC  IR_ERROR+75
                    176: #define ERR_DC_ISSRCC_MSG      "invalid second source constant"
                    177: #define ERR_DC_IDPM    IR_ERROR+76
                    178: #define ERR_DC_IDPM_MSG        "incompatible drawing/pattern modes"
                    179: #define ERR_DC_DXO     IR_ERROR+77
                    180: #define ERR_DC_DXO_MSG "delta_x overflow"
                    181: #define ERR_DC_DYO     IR_ERROR+78
                    182: #define ERR_DC_DYO_MSG "delta_y overflow"
                    183: #define ERR_DC_CRSO    IR_ERROR+79
                    184: #define ERR_DC_CRSO_MSG        "clipping rectangle stack overflow"
                    185: 
                    186: #define ERR_PT_ICSL    IR_ERROR+80
                    187: #define ERR_PT_ICSL_MSG        "invalid control string length"
                    188: #define ERR_PT_ICSO    IR_ERROR+81
                    189: #define ERR_PT_ICSO_MSG        "invalid control string opcode"
                    190: #define ERR_PT_ICSP    IR_ERROR+82
                    191: #define ERR_PT_ICSP_MSG        "invalid control string parameter"
                    192: #define ERR_PT_ITSL    IR_ERROR+83
                    193: #define ERR_PT_ITSL_MSG        "invalid text string length"
                    194: #define ERR_PT_ICI     IR_ERROR+84
                    195: #define ERR_PT_ICI_MSG "invalid character index"
                    196: #define ERR_PT_TSE     IR_ERROR+85
                    197: #define ERR_PT_TSE_MSG "text string exhausted"
                    198: #define ERR_PT_NFP     IR_ERROR+86
                    199: #define ERR_PT_NFP_MSG "no font present"
                    200: #define ERR_PT_ISRCFW  IR_ERROR+87
                    201: #define ERR_PT_ISRCFW_MSG      "invalid source font width"
                    202: #define ERR_PT_ISRCFH  IR_ERROR+88
                    203: #define ERR_PT_ISRCFH_MSG      "invalid source font height"
                    204: #define ERR_PT_ISRCFD  IR_ERROR+89
                    205: #define ERR_PT_ISRCFD_MSG      "invalid source font depth"
                    206: #define ERR_PT_IMSKFW  IR_ERROR+90
                    207: #define ERR_PT_IMSKFW_MSG      "invalid source mask font width"
                    208: #define ERR_PT_IMSKFH  IR_ERROR+91
                    209: #define ERR_PT_IMSKFH_MSG      "invalid source mask font height"
                    210: #define ERR_PT_IMSKFD  IR_ERROR+92
                    211: #define ERR_PT_IMSKFD_MSG      "invalid source mask font depth"
                    212: #define ERR_PT_CSMF    IR_ERROR+93
                    213: #define ERR_PT_CSMF_MSG        "conflicting source/source mask fonts"
                    214: #define ERR_PT_ILB     IR_ERROR+94
                    215: #define ERR_PT_ILB_MSG "invalid left_array bounds"
                    216: #define ERR_PT_ILE     IR_ERROR+95
                    217: #define ERR_PT_ILE_MSG "invalid left_array element"
                    218: 
                    219: #define ERR_FA_ISRCB   IR_ERROR+96
                    220: #define ERR_FA_ISRCB_MSG       "invalid source bitmap"
                    221: #define ERR_FA_SO      IR_ERROR+99
                    222: #define ERR_FA_SO_MSG  "stack overflow"
                    223: #define ERR_FA_IBMM    IR_ERROR+100
                    224: #define ERR_FA_IBMM_MSG        "invalid boundary map modifiers"
                    225: 
                    226: #define ERR_FP_ISRCB   IR_ERROR+112
                    227: #define ERR_FP_ISRCB_MSG       "invalid source bitmap"
                    228: #define ERR_FP_ICF     IR_ERROR+115
                    229: #define ERR_FP_ICF_MSG "invalid closed figure"
                    230: #define ERR_FP_DXO     IR_ERROR+116
                    231: #define ERR_FP_DXO_MSG "delta_x overflow"
                    232: #define ERR_FP_DYO     IR_ERROR+117
                    233: #define ERR_FP_DYO_MSG "delta_y overflow"
                    234: 
                    235: #define ERR_CPU                IR_ERROR+129
                    236: #define ERR_CPU_MSG    "CPU or supervisor stack error"
                    237: #define ERR_RHB                IR_ERROR+130
                    238: #define ERR_RHB_MSG    "ROM high byte checksum error"
                    239: #define ERR_PR         IR_ERROR+131
                    240: #define ERR_PR_MSG     "program RAM data error"
                    241: #define ERR_CRTC       IR_ERROR+132
                    242: #define ERR_CRTC_MSG   "CRT controller data error"
                    243: #define ERR_DPE                IR_ERROR+133
                    244: #define ERR_DPE_MSG    "data pad EPCI data error or time out"
                    245: #define ERR_KE         IR_ERROR+134
                    246: #define ERR_KE_MSG     "keyboard EPCI data error or time out"
                    247: #define ERR_FOE                IR_ERROR+135
                    248: #define ERR_FOE_MSG    "fiber optics electrical loop back"
                    249: #define ERR_F0         IR_ERROR+137
                    250: #define ERR_F0_MSG     "frame #0 data error"
                    251: #define ERR_BSR                IR_ERROR+138
                    252: #define ERR_BSR_MSG    "BBA scratchpad RAM data error"
                    253: #define ERR_BCC                IR_ERROR+139
                    254: #define ERR_BCC_MSG    "BBA copyarea command data error"
                    255: #define ERR_DPTO       IR_ERROR+140
                    256: #define ERR_DPTO_MSG   "data pad self test time out"
                    257: #define ERR_FOO                IR_ERROR+141
                    258: #define ERR_FOO_MSG    "fiber optics optical loop back"
                    259: #define ERR_KTO                IR_ERROR+142
                    260: #define ERR_KTO_MSG    "keyboard self test time out"
                    261: #define ERR_KST                IR_ERROR+143
                    262: #define ERR_KST_MSG    "keyboard self test error"
                    263: #define ERR_VR         IR_ERROR+144
                    264: #define ERR_VR_MSG     "vector RAM data error"
                    265: #define ERR_F1         IR_ERROR+145
                    266: #define ERR_F1_MSG     "frame #1 data error"
                    267: #define ERR_F2         IR_ERROR+146
                    268: #define ERR_F2_MSG     "frame #2 data error"
                    269: #define ERR_F3         IR_ERROR+147
                    270: #define ERR_F3_MSG     "frame #3 data error"
                    271: #define ERR_DPP                IR_ERROR+148
                    272: #define ERR_DPP_MSG    "data pad port loop back data error"
                    273: #define ERR_KP         IR_ERROR+149
                    274: #define ERR_KP_MSG     "keyboard port loop back data error"
                    275: #define ERR_FOED       IR_ERROR+150
                    276: #define ERR_FOED_MSG   "fiber optics electrical loop back"
                    277: #define ERR_FOOD       IR_ERROR+151
                    278: #define ERR_FOOD_MSG   "fiber optics optical loop back"
                    279: #define ERR_BCTO       IR_ERROR+152
                    280: #define ERR_BCTO_MSG   "BBA copyarea command time out"
                    281: #define ERR_RLB                IR_ERROR+153
                    282: #define ERR_RLB_MSG    "ROM low byte checksum error"
                    283: #define ERR_KD         IR_ERROR+154
                    284: #define ERR_KD_MSG     "key down on keyboard self test"
                    285: #define ERR_BVC                IR_ERROR+155
                    286: #define ERR_BVC_MSG    "BBA vector command data error"
                    287: 
                    288: #define ERR_ISRCHW     IR_ERROR+161
                    289: #define ERR_ISRCHW_MSG "invalid source halftone width"
                    290: #define ERR_ISRCHH     IR_ERROR+162
                    291: #define ERR_ISRCHH_MSG "invalid source halftone height"
                    292: #define ERR_ISRCHD     IR_ERROR+163
                    293: #define ERR_ISRCHD_MSG "invalid source halftone depth"
                    294: #define ERR_DC_ISSRCHW IR_ERROR+164
                    295: #define ERR_DC_ISSRCHW_MSG     "invalid second source halftone width"
                    296: #define ERR_DC_ISSRCHH IR_ERROR+165
                    297: #define ERR_DC_ISSRCHH_MSG     "invalid second source halftone height"
                    298: #define ERR_DC_ISSRCHD IR_ERROR+166
                    299: #define ERR_DC_ISSRCHD_MSG     "invalid second source halftone depth"
                    300: 
                    301: #define ERR_LC_ICTX    IR_ERROR+167
                    302: #define ERR_LC_ICTX_MSG        "load_cursor:  invalid cursor tip_x"
                    303: #define ERR_LC_ICTY    IR_ERROR+168
                    304: #define ERR_LC_ICTY_MSG        "load_cursor:  invalid cursor tip_y"
                    305: #define ERR_LC_ICCX    IR_ERROR+169
                    306: #define ERR_LC_ICCX_MSG        "load_cursor:  invalid cursor centre_x"
                    307: #define ERR_LC_ICCY    IR_ERROR+170
                    308: #define ERR_LC_ICCY_MSG        "load_cursor:  invalid cursor centre_y"
                    309: #define ERR_LC_ICW     IR_ERROR+171
                    310: #define ERR_LC_ICW_MSG "load_cursor:  invalid cursor width"
                    311: #define ERR_LC_ICH     IR_ERROR+172
                    312: #define ERR_LC_ICH_MSG "load_cursor:  invalid cursor height"
                    313: #define ERR_PT_DXO     IR_ERROR+173
                    314: #define ERR_PT_DXO_MSG "print_text:  destination offset x overflow"
                    315: #define ERR_PT_CRSO    IR_ERROR+174
                    316: #define ERR_PT_CRSO_MSG        "print_text:  clipping rectangle stack overflow"
                    317: 
                    318: #define NUM_ERR_CODES 134
                    319: 
                    320: #endif

unix.superglobalmegacorp.com

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