;-*-MIDAS-*- ;;; Copyright (c) 1999 Massachusetts Institute of Technology ;;; ;;; This program is free software; you can redistribute it and/or ;;; modify it under the terms of the GNU General Public License as ;;; published by the Free Software Foundation; either version 3 of the ;;; License, or (at your option) any later version. ;;; ;;; This program is distributed in the hope that it will be useful, ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;;; General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with this program; if not, write to the Free Software ;;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ; DZ11 definitions DZLNLN==3 DZNLN==1_DZLNLN ;Number of DZ terminal lines per board DZLNM==DZNLN-1 ;Line number mask given DZ number of TTY %DZLM==3400 ;Line Number Mask %DZLS==8. ;Line number shift %DZRCS==0 ;Control & Status register ; CSR Bits and fields %DZCMN==10 ;Maintenance %DZCCL==20 ;Clear %DZCMS==40 ;Master Scan Enable %DZCRE==100 ;Receiver Interrupt Enable %DZCRD==200 ;Receiver Done %DZCSE==10000 ;Silo Alarm Enable %DZCSA==20000 ;Silo Alarm %DZCTE==40000 ;Transmitter Interrupt Enable %DZCTR==100000 ;Transmitter Ready %DZRLP==2 ;Line Parameter register ; LPR Bits and fields %DZLLM==7 ;Line number mask %DZLCL==10 ;Character Length position %DZLSC==40 ;Stop code bit %DZLPY==100 ;Parity bit %DZLOP==200 ;Odd parity %DZLSP==400 ;Speed code position %DZLSS==8. ;Speed code shift %DZLRO==10000 ;Receiver on %DZRDR==2 ;Read Data register ; RDR Bits and fields %DZDCM==377 ;Character mask %DZDPE==10000 ;Parity Error %DZDFE==20000 ;Frame Error (break key) %DZDOR==40000 ;Overrun %DZDDV==100000 ;Data valid %DZRTC==4 ;Transmitter Control & Data Terminal registers %DZRTD==6 ;Transmitter Buffer & Break registers ; TDR and BR fields %DZTCM==377 ;Character mask %DZTBM==177400 ;Break mask ; To do: ; - Add modem control.