Google
 

Trailing-Edge - PDP-10 Archives - BB-J696A-BM_1980 - dngen/crdat.mac
There are no other files named crdat.mac in the archive.
	.TITLE	CRDAT - CR DEVICE DRIVER DATA BASE
	.IDENT	/X01.00/
	.LIST	MEB
;
;
; COPYRIGHT (C) 1978 BY
; DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.
; 
; 
; 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.
	.MCALL	CRDLT$
	CRDLT$
	.PSECT
;
; NURD CR11 DEVICE DRIVER LINE TABLE TEMPLATE
;
CRDAT::				;START OF DATA BASE
	.BYTE	0		;TWO BYTE TIMER ENTRY, CURRENT VALUE
	.BYTE	2		;  AND INITIAL TIMER VALUE
;C.CALL:	.INT	$CRINT		;INTERRUPT DISPATCH CALL
;C.PRI:	.PRI			;SCHEDULING PRIORITY
;				;DDM LEVEL DATA BASE
;				;ORDER FOR THIS SECTION IS CRITICAL
;C.CSR:	.CSR			;ONE WORD CSR POINTER
	.BLKW	7		;INTERRUPT SERVICE ROUTINE
	.WORD	0		;PRIORITY
	.WORD	0		;CSR ADDRESS
	.WORD	0		;CR11 STATUS READ AT INTERRUPT
	.BYTE	0		;PHYSICAL COLUMN COUNT
	.BYTE	0		;HUNG DEVICE TIMER
	.WORD	0,0		;BUFFER PTR DOUBLEWORD
	.WORD	0		;CURRENT SEGMENT HEADER ADDRESS
	.WORD	0		;LAST DATA ITEM READ
	.WORD	0		;BUFFER INPUT COUNTER
	.WORD	0		;BEG OF NURD MESSAGE(ADDRESS)
;C.DDMQ:	.LSTHD			;CCB'S QUEUED FOR OUTPUT
	.WORD	0,.-2		;
	.WORD	CA.CLO		;ACTION STATUS BIT MAP
	.WORD	0		;PHYSICAL CARD COUNT
				;MISCELLANEOUS ITEMS
	.EVEN
;C.SLN:	.SLNW			;DEVICE SYSTEM LINE NUMBER
	.WORD	0		;
	.WORD	0		;OUTSTANDING IO COUNT
	.WORD	0		;CLOSE WAIT FLAG = CLOSE CCB
				;CONTROL MESSAGE PROCESSNG DATA BASE
	.EVEN
;C.CMSQ:	.LSTHD			;CONTROL MESSAGE QUEUE
	.WORD	0,.-2		;
	.BYTE	0		;CONTROL MESSAGE RESOURCE ERROR SWITCH
	.BYTE	0		;PENDING ATTENTION MESSAGE FLAG - REASON CODE
	.BYTE	0		;PENDING CAPABILITIES MESSAGE FLAG
	.BYTE	0		;PENDING READ START
				;DATA & FEATURES PROCESSING DATA BASE
	.EVEN
;C.DLCQ:	.LSTHD			;CCB'S QUEUED INTO DLC
	.WORD	0,.-2		;
	.BYTE	0		;CURRENT NURD MESSAGE FLAGS
	.BYTE	0		;CURRENT INDEX INTO CAPALITIES LIST
	.BYTE	0		;NO. FEATURE SPECS IN CURRENT MSG
	.EVEN
	.WORD	0,0		;DATA MSG ADDRESS DOUBLEWORD (PTR)
	.WORD	0		;DATA MSG BUFFER SIZE
	.BYTE	0,0		;LAST GOOD, CURRENT DATA SEQ NUMBERS
	.BYTE	0		;LAST CHARACTER PROCESSED
;C.MSGQ:	.LSTHD			;OUTGOING MSG QUEUE
	.EVEN
	.WORD	0,.-2		;
	.WORD	0,0		;CURRENT MSG BUFFER ADDRESS DOUBLEWORD
	.WORD	0		;CURRENT MSG BUFFER SIZE
				;DATA/FEATURES PROCESS HYBER CONTEXT
	.BYTE	0		;WAKE CONDITION
	.BYTE	0		;NO. WORDS ON STACK AT SLEEP TIME
	.EVEN
	.WORD	0		;STACK ORIGIN
;	.BLKW	DTXTSZ		;CONTEXT BLOCK
	.REPT	DTXTSZ
	.WORD	0
	.ENDR
				;FEATURE CRUFT
					;LP11 COMMON FEATURE LIST
	.BYTE	CCFETL			;NUMBER OF COMMON FEATURES
	
	.BYTE	CR.DAT			;FEATURE FE.DAT     SUPPORTED
	.BYTE	0			;FEATURE FE.SER NOT SUPPORTED
	.BYTE	0			;FEATURE FE.LCR NOT SUPPORTED
	.BYTE	0			;FEATURE FE.FWD NOT SUPPORTED
	.BYTE	CR.EOF			;FEATURE FE.EOF     SUPPORTED
	.BYTE	0			;FEATURE FE.DVT NOT SUPPORTED
	.BYTE	0			;FEATURE FE.TRN NOT SUPPORTED
	.BYTE	0			;FEATURE FE.FNM NOT SUPPORTED
	.BYTE	CR.DWD			;FEATURE FE.DWD     SUPPORTED
	
;CCFETL	=	.-C.CFET
;
	.BYTE	CDFETL			;NUMBER OF DEVICE SPECIFIC FEATURES

	.BYTE	0			;FEATURE 129    NOT DEFINED
	.BYTE	CR.CWD			;FEATURE CD.CWD     DEFINED
	
;CDFETL	=	.-C.DFET
;
;
					;DATA MODE
	.BYTE	CRDATS
	.BYTE	1			;ASCII
	.BYTE	1			;ASCII IS STD
	
;CR.SER:				;SERIAL NUMBER
;
;CR.LCR:				;LOWER CASE RAISE
;
;CR.FWD:					;FORM WIDTH
;
					;EOF RECOGNITION
	.BYTE	CREOFS
	.BYTE	1			;ASCII MODE
					;NO STD
	
;CR.DVT:				;DEVICE TYPE
;
;CR.TRN:				;RECORD TRUNCATION
;
;CR.FNM:				;FORM NAME
;
					;DEVICE WIDTH
	.BYTE	FB.CL1
	.BYTE	80.			;STD WIDTH
	
	
;	DEVICE SPECIFIC FEATURES
;
;
					;CARD WIDTH
	.BYTE	CRCWDS
	.BYTE	80.			;VALUE
	.BYTE	80.			;80. IS STD
	.EVEN
CREND::					;END OF DATA BASE	
	.END