Consolidate license copies
[its.git] / system / dz11.9
1 ;-*-MIDAS-*-
2 ;;; Copyright (c) 1999 Massachusetts Institute of Technology
3 ;;;
4 ;;; This program is free software; you can redistribute it and/or
5 ;;; modify it under the terms of the GNU General Public License as
6 ;;; published by the Free Software Foundation; either version 3 of the
7 ;;; License, or (at your option) any later version.
8 ;;;
9 ;;; This program is distributed in the hope that it will be useful,
10 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 ;;; General Public License for more details.
13 ;;;
14 ;;; You should have received a copy of the GNU General Public License
15 ;;; along with this program; if not, write to the Free Software
16 ;;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
18 ; DZ11 definitions
19
20 DZLNLN==3
21 DZNLN==1_DZLNLN                 ;Number of DZ terminal lines per board
22 DZLNM==DZNLN-1                  ;Line number mask given DZ number of TTY
23
24 %DZLM==3400                     ;Line Number Mask
25 %DZLS==8.                       ;Line number shift
26
27 %DZRCS==0                       ;Control & Status register
28 ; CSR Bits and fields
29 %DZCMN==10                      ;Maintenance
30 %DZCCL==20                      ;Clear
31 %DZCMS==40                      ;Master Scan Enable
32 %DZCRE==100                     ;Receiver Interrupt Enable
33 %DZCRD==200                     ;Receiver Done
34 %DZCSE==10000                   ;Silo Alarm Enable
35 %DZCSA==20000                   ;Silo Alarm
36 %DZCTE==40000                   ;Transmitter Interrupt Enable
37 %DZCTR==100000                  ;Transmitter Ready
38
39 %DZRLP==2                       ;Line Parameter register
40 ; LPR Bits and fields
41 %DZLLM==7                       ;Line number mask
42 %DZLCL==10                      ;Character Length position
43 %DZLSC==40                      ;Stop code bit
44 %DZLPY==100                     ;Parity bit
45 %DZLOP==200                     ;Odd parity
46 %DZLSP==400                     ;Speed code position
47 %DZLSS==8.                      ;Speed code shift
48 %DZLRO==10000                   ;Receiver on
49
50 %DZRDR==2                       ;Read Data register
51 ; RDR Bits and fields
52 %DZDCM==377                     ;Character mask
53 %DZDPE==10000                   ;Parity Error
54 %DZDFE==20000                   ;Frame Error (break key)
55 %DZDOR==40000                   ;Overrun
56 %DZDDV==100000                  ;Data valid
57
58 %DZRTC==4                       ;Transmitter Control & Data Terminal registers
59
60 %DZRTD==6                       ;Transmitter Buffer & Break registers
61 ; TDR and BR fields
62 %DZTCM==377                     ;Character mask
63 %DZTBM==177400                  ;Break mask
64
65 ;       To do:
66 ; - Add modem control.
67