1 ;;; Copyright (c) 1999 Massachusetts Institute of Technology
3 ;;; This program is free software; you can redistribute it and/or
4 ;;; modify it under the terms of the GNU General Public License as
5 ;;; published by the Free Software Foundation; either version 3 of the
6 ;;; License, or (at your option) any later version.
8 ;;; This program is distributed in the hope that it will be useful,
9 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
10 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 ;;; General Public License for more details.
13 ;;; You should have received a copy of the GNU General Public License
14 ;;; along with this program; if not, write to the Free Software
15 ;;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 ;Hardware definitions for CH10 PDP-10 CHAOSNET interface
19 CHX==470 ;I/O Device number
23 CHXTEN==10 ;1.4 Transmit interrupt enable
24 CHXREN==20 ;1.5 Receive interrupt enable
25 CHXSPY==40 ;1.6 Match any destination (on receive)
26 CHXLUP==100 ;1.7 Loop back
27 CHXSWB==200 ;1.8 Swap bytes
28 CHXHLF==400 ;1.9 Halfword DATAO
29 CHXXMT==1000 ;2.1 Transmit done (CONI)
30 ; Transmit or retransmit packet (CONO)
31 CHXRCV==2000 ;2.2 Receive done (CONI)
32 ; Enable to receive next packet (CONO)
33 CHXABT==4000 ;2.3 Transmit aborted (CONI)
34 ; Reset transmitter (CONO)
35 $CHXLC==140400 ;2.4-2.7 Lost count (CONI)
36 CHXRST==10000 ;2.4 Reset (CONO)
37 CHXCRC==200000 ;2.8 CRC error (CONI)
38 CHXWLE==400000 ;2.9 Word length error (CONI)
39 CHXPLE==1,, ;3.1 Packet length error (CONI)
40 CHXOVR==2,, ;3.2 Overrun (CONI)
41 $CHXAD==242000 ;3.3-4.9 Chaosnet address (CONI)