h62727
s 00000/00000/00026
d D 1.3 82/09/13 12:58:08 ross 3 2
c 
e
s 00009/00000/00017
d D 1.2 82/09/13 11:03:25 ross 2 1
c Added symbolic command definitions.
e
s 00017/00000/00000
d D 1.1 82/09/13 10:15:53 ross 1 0
e
u
U
t
T
I 1
/*
 * Auto-driver channel control block
 */

struct ccb {
	short	cc_ccw;		/* channel command word */
	short	cc_cnt0;	/* buffer 0 count */
	char	*cc_buf0;	/* buffer 0 end address */
	short	cc_chk;		/* check word */
	short	cc_cnt1;	/* buffer 1 count */
	char	*cc_buf1;	/* buffer 1 end address */
	char	*cc_tab;	/* translate table address */
	short	cc_subr;	/* subroutine entry address */
	short	cc_pad;
};

extern struct ccb	ccb[];	/* defined in L.s (addresses must be <64K) */
I 2

/*
 * Command word bits
 */

#define	CCEX	0x80		/* execute */
#define	CCWR	0x04		/* write */
#define	CCRD	0x00		/* read */
#define CCFAST	0x01		/* fast mode */
E 2
E 1
