Google
 

Trailing-Edge - PDP-10 Archives - BB-J696A-BM_1980 - dngen/ledat.mac
There are no other files named ledat.mac in the archive.
	.TITLE	LEDAT - LE DEVICE DRIVER DATA BASE
	.IDENT	/X01.02/
	.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 	LEDLT$
	LEDLT$
	.PSECT
;
; NURD LP11 DEVICE DRIVER LINE TABLE TEMPLATE
;
LEDAT::				;BEGINNING OF DATA BASE
	.BYTE	0		;TWO BYTE TIMER ENTRY, CURRENT VALUE
	.BYTE	2		;  AND INITIAL TIMER VALUE
;L.CALL:	.INT	$LEINT		;INTERRUPT DISPATCH CALL
;L.PRI:	.PRI			;SCHEDULING PRIORITY
;				;DDM LEVEL DATA BASE
;				;ORDER FOR THIS SECTION IS CRITICAL
;L.CSR:	.CSR			;ONE WORD CSR POINTER
	.BLKW	7		;INTERRUPT SERVICE ROUTINE
	.WORD	0		;SCHEDULING PRIORITY
	.WORD	0		;ONE WORD CSR 
	.WORD	LA.CLO		;ACTION STATUS BIT MAP
	.WORD	0,0		;BUFFER PTR DOUBLEWORD
	.WORD	0		;BUFFER SIZE DOWN COUNTER
;L.DDMQ:	.LSTHD			;CCB'S QUEUED FOR OUTPUT
	.WORD	0,.-2		;
	.WORD	0		;PHYSICAL PAGE COUNT
	.WORD	0		;PAGE LIMIT REGISTER
	.BYTE	0		;PHYSICAL LINE COUNT
	.BYTE	0		;HUNG DEVICE TIMER
				;MISCELLANEOUS ITEMS
	.EVEN
;L.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
;L.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
				;DATA & FEATURES PROCESSING DATA BASE
	.EVEN
	.WORD	$LEASC		;CHARACTER SET MAP ADDRESS
	.BYTE	0		;LINE COUNTER
	.BYTE	0		;COLUMN COUNTER
	.EVEN
	.WORD	$VFU66		;ADDRESS OF VFU MAP IN USE
;L.DLCQ:	.LSTHD			;CCB'S QUEUED INTO DLC
	.WORD	0,.-2		;
	.BYTE	0		;CURRENT NURD MESSAGE FLAGS
	.BYTE	0		;LAST GOOD/CURRENT DATA SEQ NUMBERS
	.BYTE	0		;DATA MESSAGE SEGMENT COUNT BYTE
	.BYTE	0		;DATA MSG CURRENT SEGMENT SIZE
	.BYTE	0		;CURRENT INDEX INTO CAPALITIES LIST
	.BYTE	0		;NO. FEATURE SPECS IN CURRENT MSG
	.EVEN
	.WORD	0		;CHAR REPEAT COUNT, 2 BYTES USED AS WORD
	.WORD	0,0		;DATA MSG ADDRESS DOUBLEWORD (PTR)
	.WORD	0		;DATA MSG BUFFER SIZE
;L.PLBQ:	.LSTHD			;FREE PHYSICAL BUFFER QUEUE
	.WORD	0,.-2		;
	.WORD	0,0		;CHARACTER POINTER DOUBLEWORD
	.WORD	0		;BUFFER SIZE DOWN COUNTER
	.BYTE	0		;LAST CHARACTER PROCESSED
;L.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	LCFETL			;NUMBER OF COMMON FEATURES
	
	.BYTE	LE.DAT			;FEATURE FE.DAT     SUPPORTED
	.BYTE	0			;FEATURE FE.SER NOT SUPPORTED
	.BYTE	LE.LCR			;FEATURE FE.LCR     SUPPORTED
	.BYTE	LE.FWD			;FEATURE FE.FWD     SUPPORTED
	.BYTE	0			;FEATURE FE.EOF NOT SUPPORTED
	.BYTE	0			;FEATURE FE.DVT NOT SUPPORTED
	.BYTE	LE.TRN			;FEATURE FE.TRN     SUPPORTED
	.BYTE	0			;FEATURE FE.FNM NOT SUPPORTED
	.BYTE	LE.DWD			;FEATURE FE.DWD     SUPPORTED
	
;LCFETL	=	.-L.CFET
;
	.BYTE	LDFETL			;NUMBER OFDEVICE SPECIFIC FEATURES

	.BYTE	0			;FEATURE 129    NOT DEFINED
	.BYTE	LE.HT			;FEATURE LP.HT      SUPPORTED
	.BYTE	LE.SFC			;FEATURE LP.SFC     SUPPORTED
	.BYTE	0			;FEATURE LP.OVP NOT SUPPORTED
	.BYTE	0			;FEATURE LP.CVF NOT SUPPORTED
	.BYTE	LE.FCC			;FEATURE LP.FCC     SUPPORTED
	.BYTE	0			;FEATURE LP.VFR NOT SUPPORTED
	.BYTE	LE.CHS			;FEATURE LP.CHS     SUPPORTED
	.BYTE	LE.PLE			;FEATURE LP.PLE     SUPPORTED
	.BYTE	0			;FEATURE LP.OPV NOT SUPPORTED
	
;LDFETL	=	.-L.DFET
;
;
					;DATA MODE
	.BYTE	LEDATS
	.BYTE	1			;ASCII
	.BYTE	1			;ASCII IS STD
	
				;SERIAL NUMBER
;
					;LOWER CASE RAISE
	.BYTE	FB.CL0			;CLASS 0 NO CHANGE ALLOWED
	.BYTE	0			;OFF-WE LET THE LP11 CONTROLLER RAISE
					;IF GOING TO A UPPER-CASE ONLY PRINTER

					;FORM WIDTH
	.BYTE	FB.CL1
	.BYTE	132.
	
				;EOF RECOGNITION
;
				;DEVICE TYPE
;
					;RECORD TRUNCATION
	.BYTE	LETRNS
	.BYTE	0			;OFF
	.BYTE	0			;OFF IS STD
	
				;FORM NAME
;
					;DEVICE WIDTH
	.BYTE	FB.CL1
	.BYTE	132.			;STD WIDTH
	
	
;	DEVICE SPECIFIC FEATURES
;
;
					;HORIZONTAL TAB
	.BYTE	LEHTS
	.BYTE	0			;STD TABS ON
	.BYTE	0
	
					;STD VFU
	.BYTE	LESFCS
	.BYTE	1			;ON
	.BYTE	1
	
				;OVERPRINT LIMIT
;
				;CUSTOM VFU
;
					;FORTRAN CARRIAGE CONTROL
	.BYTE	LEFCCS
	.BYTE	0			;OFF
	.BYTE	0
	
				;VARIABLE FORMS RATIO
;
					;CHARACTER SET
	.BYTE	FB.CL1
	.BYTE	2			;95 CHAR ASCII
	
					;PAGE LIMIT ENFORCEMENT
	.BYTE	LEPLES
	.BYTE	L.PGLM			;PAGE COUNTER
	.BYTE	0,0			;STD = 0 => OFF
	
	
				;OPTICAL VFU
LEEND::					;END OF DATA BASE
;
;
;
	.END