|
|
1.1 ! root 1: ! 2: ! 3: #define GATE_OPEN (0x00) ! 4: #define GATE_CLOSED (0xFF) ! 5: ! 6: ! 7: /* Group. I Control status/commands */ ! 8: #define NOOP (0x20000000L) /* no op */ ! 9: #define CONFIG (0x00000000L) /* configure */ ! 10: #define SET_PA (0x08000000L) /* set page */ ! 11: #define DRIVE_S (0x28000000L) /* drive status */ ! 12: #define DRIVE_R (0x90000000L) /* drive reset */ ! 13: ! 14: /* Group. II Tape position commands */ ! 15: #define REWD_OV (0x04000000L) /* rewind overlapped */ ! 16: #define READ_FO (0x1C000000L) /* read foreign tape */ ! 17: #define REWD_TA (0x34000000L) /* rewind tape */ ! 18: #define OFF_UNL (0x38000000L) /* off_line and unload */ ! 19: #define WRIT_FM (0x40000000L) /* write filemark */ ! 20: #define SERH_FM (0x44000000L) /* search filemark */ ! 21: #define SPACE (0x48000000L) /* skip record */ ! 22: #define SP_FORW (0x48000000L) /* space forward */ ! 23: #define SP_BACK (0xC8000000L) /* space backwords */ ! 24: #define ERASE_F (0x4C000000L) /* erase fixed length */ ! 25: #define ERASE_T (0x50000000L) /* erase to end of tape */ ! 26: #define SPAC_FM (0x70000000L) /* space filemark */ ! 27: #define SERH_MU (0x94000000L) /* search multiple filemarks */ ! 28: ! 29: /* Group. III Data transfer commands */ ! 30: #define READ_BU (0x10000000L) /* read buffered */ ! 31: #define WRIT_BU (0x14000000L) /* write buffered */ ! 32: #define EDIT_BU (0x18000000L) /* edit buffered */ ! 33: #define READ_TA (0x2C000000L) /* read tape */ ! 34: #define WRIT_TA (0x30000000L) /* write tape */ ! 35: #define EDIT_TA (0x3C000000L) /* edit tape */ ! 36: #define READ_ST (0x60000000L) /* read streaming */ ! 37: #define WRIT_ST (0x64000000L) /* write streaming */ ! 38: ! 39: /* Group. IV Special commands */ ! 40: #define EXCHANG (0x0C000000L) /* exchange system and tapemaster RAM */ ! 41: #define BLOCK_M (0x80000000L) /* block move */ ! 42: ! 43: /* Group. V Diagnostic commands */ ! 44: #define TEST_SH (0x54000000L) /* short memory test */ ! 45: #define TEST_LG (0x58000000L) /* long memory test */ ! 46: #define TEST_CN (0x5C000000L) /* controller confidence test */ ! 47: #define TEST_RW (0x68000000L) /* test read/write timeing */ ! 48: /* Control byte[0] bit assignments */ ! 49: #define CW_TSm (0x0C) /* tape select mask, 2 bit field */ ! 50: #define CW_TSs (2) /* tape select shift, 2 bit field <<shift */ ! 51: #define CW_M (0x10) /* mailbox flag */ ! 52: #define CW_I (0x20) /* interrupt flag */ ! 53: #define CW_L (0x40) /* link flag */ ! 54: #define CW_BL (0x80) /* bus lock flag */ ! 55: ! 56: /* Control byte[1] bit assignments */ ! 57: #define CW_BS (0x01) /* bank select */ ! 58: #define CW_R (0x04) /* reverse flag */ ! 59: #define CW_SD (0x08) /* speed/density */ ! 60: #define CW_25ips (0x00) /* 25 inches per second speed */ ! 61: #define CW_100ips (0x08) /* 100 inches per second speed */ ! 62: #define CW_C (0x10) /* continuous */ ! 63: #define CW_W (0x80) /* width */ ! 64: #define CW_8bits (0x00) /* width 8 bits */ ! 65: #define CW_16bits (0x80) /* width 16 bits */ ! 66: ! 67: /* status byte[0] bit assignements */ ! 68: #define CS_P (0x02) /* Protected, no write ring */ ! 69: #define CS_FB (0x04) /* formatter busy */ ! 70: #define CS_DR (0x08) /* drive ready */ ! 71: #define CS_EOT (0x10) /* end of tape detected */ ! 72: #define CS_LP (0x20) /* tape is at load point */ ! 73: #define CS_OL (0x40) /* drive on_line */ ! 74: #define CS_FM (0x80) /* Filemark detected */ ! 75: ! 76: /* status byte[1] bit assignements */ ! 77: #define CS_ERm (0x1F) /* Command (Error) mask */ ! 78: #define CS_CR (0x20) /* Command (Retry) */ ! 79: #define CS_CC (0x40) /* Command (Complete) */ ! 80: #define CS_CE (0x80) /* Command (Entered) */ ! 81: ! 82: /* block move control byte[0] bit assignments */ ! 83: #define BM_SI (0x01) /* increment source address */ ! 84: #define BM_SW (0x02) /* source width */ ! 85: #define BM_DI (0x04) /* increment destination address */ ! 86: #define BM_DW (0x08) /* destination width */ ! 87: #define BM_M (0x10) /* mailbox flag */ ! 88: #define BM_I (0x20) /* interrupt flag */ ! 89: #define BM_L (0x40) /* link flag */ ! 90: #define BM_BL (0x80) /* bus lock flag */ ! 91: ! 92: /* block move control byte[1] bit assignments */ ! 93: #define BM_T (0x01) /* translate flag */ ! 94: #define BM_S (0x02) /* search flag */ ! 95: #define BM_NC (0x04) /* non_compare flag */ ! 96: #define BM_TH (0x08) /* throttle flag */ ! 97: #define BM_SL (0x10) /* source local flag */ ! 98: #define BM_DL (0x20) /* destination local flag */ ! 99: ! 100: /* block move status bit assignments */ ! 101: #define BS_ERm (0x1F) /* Command (Error) mask */ ! 102: #define BS_HIT (0x20) /* found match during search */ ! 103: #define BS_CC (0x40) /* Command (Complete) */ ! 104: #define BS_CE (0x80) /* Command (Entered) */ ! 105: /* SC_ERROR & BM_ERROR codes */ ! 106: #define ER_NONE (0x00) /* no error */ ! 107: #define ER_TO1 (0x01) /* timed out data busy false */ ! 108: #define ER_TO2 (0x02) /* data busy false,formatter,ready */ ! 109: #define ER_T03 (0x03) /* time out ready busy false */ ! 110: #define ER_T04 (0x04) /* time out ready busy true */ ! 111: #define ER_T05 (0x05) /* time out data busy true */ ! 112: #define ER_T06 (0x06) /* time out memory */ ! 113: #define ER_BLAN (0X07) /* blank tape */ ! 114: #define ER_DIAG (0x08) /* micro-diagnostic */ ! 115: #define ER_END (0x09) /* EOT forward, BOT rev. */ ! 116: #define ER_HARD (0x0A) /* retry unsuccessful */ ! 117: #define ER_FIFO (0x0B) /* FIFO over/under flow */ ! 118: /* (0x0C) /* Not used */ ! 119: #define ER_PARI (0x0D) /* drive to tapemaster parity error */ ! 120: #define ER_PSUM (0x0E) /* prom checksum */ ! 121: #define ER_TOF (0x0F) /* time out tape strobe */ ! 122: #define ER_TRN (0x10) /* tape not ready */ ! 123: #define ER_PRO (0x11) /* write, no enable ring */ ! 124: /* (0x12) /* Not used */ ! 125: #define ER_JUMP (0x13) /* missing diagnostic jumper */ ! 126: #define ER_BLIN (0x14) /* bad link, link inappropriate */ ! 127: #define ER_FMAR (0x15) /* unexpected filemark */ ! 128: #define ER_PARA (0x16) /* bad parameter, byte count ? */ ! 129: /* (0x17) /* Not used */ ! 130: #define ER_ER (0x18) /* unidentified hardware error */ ! 131: #define ER_STER (0x19) /* streaming terminated */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.