/* * This file contains the hardware definitions for the iis model 70/f * at Kitt Peak. */ #define MAXCHAN 15 /* four refresh memory channels */ /* 0, 1, 2 and 3 */ #define NGRAPHICS 7 /* 7-bits graphics */ /* define offsets in the 16-byte, 8-word header */ #define XFERID 0 /* transfer id */ #define THINGCT 1 /* thing count */ #define SUBUNIT 2 /* subuint select */ #define CHECKSUM 3 /* check sum */ #define XREG 4 /* x register */ #define YREG 5 /* y register */ #define ZREG 6 /* z register */ #define TREG 7 /* t register */ #define IREAD 0100000 /* transfer id definitions */ #define IWRITE 0 #define PACKED 040000 #define BYPASSIFM 020000 #define BYTE 010000 #define ADDWRITE 04000 #define ACCUM 02000 #define BLOCKXFER 01000 #define VRETRACE 0400 #define MUX32 0200 #define REFRESH 1 /* iis subunit selection */ #define LUT 2 #define OFM 3 #define IFM 4 #define FEEDBACK 5 #define SCROLL 6 #define VIDEOM 7 #define SUMPROC 8 #define GRAPHICS 9 #define CURSOR 10 #define ALU 11 #define ZOOM 12 #define COMMAND 0100000 #define ADVXONTC 0100000 /* advance x on thing count */ #define ADVXONYOV 040000 /* advance x on y overflow */ #define ADVYONXOV 0100000 /* advance y on x overflow */ #define ADVYONTC 040000 /* advance y on thing count */ /* iis channel select definitions. Note that we start the channel numbers at 0, not 1, since this is the way the hardware is labelled. iis follows both conventions, randomly! Note that the channel numbers are 0, 1, 2, 3, ... while the channel selects are 1, 2, 4, 8, ... In C it is very simple, to select channel "n" simply output "1<