Google
 

Trailing-Edge - PDP-10 Archives - BB-H240E-BM_1985 - dn20/dmrdlc.m11
There are 14 other files named dmrdlc.m11 in the archive. Click here to see a list.
	.TITLE	DMCDLC - DMC DLC data base
	.IDENT	/001240/
	.ENABL	LC
;
;
;                    COPYRIGHT (c) 1980, 1981, 1982
;                    DIGITAL EQUIPMENT CORPORATION
;
;     This software is furnished under a license and may  be  used
;     and copied only in accordance with the terms of such license
;     and with the inclusion of the above copyright notice.   This
;     software  or any other copies thereof may not be provided or
;     otherwise made available to any other person.  No  title  to
;     and ownership of the software is hereby transferred.
;
;     The information  in  this  software  is  subject  to  change
;     without  notice  and should not be construed as a commitment
;     by DIGITAL EQUIPMENT CORPORATION.
;
;     DIGITAL assumes no responsibility for the use or reliability
;     of  its  software  on  equipment  which  is  not supplied by
;     DIGITAL.
;
;+
; DLC data base for DMC device driver.
;-
;
; Configuration:
;
	.IF	DF,DMC.xb
D$XNM	==	DMC.xb		; Maximum number of transmits.
	.IFF
D$XNM	==	7.		; Maximum number of transmits.
	.ENDC

	.MCALL	DAT$

	DAT$	COR
	.WORD	0		; Long timer byte and device state flags.
	CHR$W	CTL,0		; ADDRESS OF DMC SEL0 REGISTER
	CHR$W	CTL,1		; Interrupt vector address
	CHR$B	CTL,2		; Interrupt priority
	.BYTE	0		; PIX for NMX
	DSR$W
	    SYN$X		; SYNCH block.
	    END$

	.WORD	0,0,0,0		; DMC input transfer buffer
	.WORD	0,0,0,0		; DMC output transfer buffer.
	.BYTE	0		; Control flags.
	.BYTE	0		; Running flags.
	.BYTE	0		; Protocol state.
	.BYTE	0		; Requested protocol state
	.BYTE	0		; Reported state.
	.BYTE	0		; Network Management line state.
	.BYTE	DD.INI		; DMC device state.
	.BYTE	24.		; Transmit timout interval.
	.EVEN
	.BYTE	0		; Owner line index
	.BYTE	0		; Owner process index
	LST$D			; Assignable receive CCBs
	LST$D			; Assigned receive CCBs
	LST$D			; Assignable transmit CCBs
	LST$D			; Assigned transmit CCBs
	.WORD	DMC.bf		; Size of transmit buffer
	.WORD	0		; Address of next transmit buffer to assign
	.WORD	0		; Address of end of transmit buffer area
	LST$D			; PENDING CONTROL FUNCTION QUEUE
	.WORD	3		; Service timer (seconds).
	LIX$W			; Circuit logging entity identification.
	LIX$W			; Line logging entity identification.
	.WORD	0		; Unreported transient error.
	.WORD	0		; Unreported persistent error.
	.WORD	0		; Receive buffers pending at the LLC
	CHR$W	UNT,<1>		; CIRCUIT COST
	.BYTE	0		; Number of assignable receive buffers
	.BYTE	0		; Number of assignable transmit buffers
	.BYTE	0		; Number of assigned receive buffers
	.BYTE	0		; Number of assigned transmit buffers
	.BYTE	0		; Maximum number of assigned receive buffers
	.BYTE	D$XNM		; Maximum number of assigned transmit buffers
	.EVEN
	.WORD	0,0		; Number of data bytes transmitted
	.WORD	0,0		; Number of data bytes received
	.WORD	0,0		; Number of data messages transmitted
	.WORD	0,0		; Number of data messages received
	.WORD	0,0		; Time line counters zeroed
	.WORD	0		; Configuration error counter (bit mapped)
	.WORD	0		; Device service error counter (bit mapped)
	.WORD	0		; Fatal device error counter (bit mapped)
	.EVEN

	.BLKW	128.		; DMC LINE TABLE
	.BLKW	17.		; Copy of DMC counters from base table
	VFY$	D.LEN
INI	= .
	CHR$B	UNT,<0>		; DEVICE CHARACTERISTICS
INI	= .-INI
	.BLKB	D$XNM*DMC.bf-INI ; Transmit buffer area
	END$

	.END