; TALKSYS.MAC 06MAY82 ; ; ; System definition file for TALK program. ; ; This file defines parameters for the local and host computers. ; ; ; TO SET UP FOR A PARTICULAR SITE: ; ; Set up the address table for DLV11 or DL11 channels. A section below ; describes how to define the vector and CSR addresses for ; the channels you wish to use. ; ; Define the host system by commenting out the symbol definitions ; which do not apply to the host system with which you will ; be communicating. ; ; ; ; MACRO DEFPRT DEFINES THE VECTOR AND CSR ADDRESS SYMBOLS FOR ONE ; CHANNEL AND AUTOMATICALLY INCREMENTS THE CHANNEL NUMBER .MACRO DEFPRT VEC,CSR SETPRT \PORT,VEC,CSR PORT = PORT + 1 .ENDM ; ; MACRO SETPRT, INVOKED BY THE DEFPRT MACRO, DEFINES THE VECTOR AND ; CSR ADDRESS SYMBOLS FOR THE SPECIFIED CHANNEL .MACRO SETPRT P,VEC,CSR VECT'P'R = VEC ; VECTOR READ ADDRESS FOR CHANNEL VECT'P'X = VECT'P'R + 4 ; VECTOR WRITE ADDRESS FOR CHANNEL RCSR'P = CSR ; CHANNEL RECEIVE CONTROL/STATUS REG. RBUF'P = RCSR'P + 2 ; RECEIVE BUFFER FOR CHANNEL XCSR'P = RCSR'P + 4 ; CHANNEL TRANSMIT CONTROL/STATUS REG. XBUF'P = RCSR'P + 6 ; CHANNEL TRANSMIT BUFFER .ENDM ; ; PORT = 0 ; SET INITIAL VALUE; MACRO DEFPRT WILL INCREMENT ; .LIST ME ; ;----------------------------------------------------------------- ; DEFINE THE VECTOR AND CSR ADDRESSES FOR THE DESIRED PORTS HERE: ; ; Define each channel by modifying the following DEFPRT macro ; calls, if necessary, to specify the correct vector and CSR ; addresses for your site. Delete any extra definitions, or ; add additional DEFPRT macro calls for additional channels. ; The CSR specifications are 16-bit addresses. ; DEFPRT 300,176500 ; DEFINE VECTOR,CSR FOR PORT 0 DEFPRT 310,176510 ; DEFINE VECTOR,CSR FOR PORT 1 DEFPRT 320,176520 ; DEFINE VECTOR,CSR FOR PORT 2 ; ;----------------------------------------------------------------- .NLIST ME ; MAXCHN = PORT-1 ; MAXCHN IS THE HIGHEST PORT NUMBER USED ; ; ; QSIZET = 150. ; SIZE OF QUEUE FOR TERMINAL QSIZEP = 500. ; SIZE OF QUEUE FOR PORT LOWPQ = 300. ; LOWER LIMIT OF PORT QUEUE FREE BYTES; SIGNALS ; WHEN HOST OUTPUT SHOULD BE SUSPENDED ; ; ; This section defines the host system with which TALK is communicating. ; SIGMA9 = 0 ; DEFINE IF HOST IS A SIGMA 9 SYSTEM ;;; RSX11 = 0 ; DEFINE IF HOST IS AN RSX-11M SYSTEM ;;; VAX = 0 ; DEFINE IF HOST IS A VAX/VMS SYSTEM ; ;;; CKFREE = 0 ; DEFINE FOR FREE SPACE CHECK (DURING TEST) CKRERR = 0 ; DEFINE TO CHECK FOR PORT RECEIVE ERRORS ;;; COPOVR = 0 ; DEFINE IF SIGMA 9 HOST AND COMMAND "A" SHOULD ; ; ISSUE A "COPY OVER" INSTEAD OF "COPY TO" ; .PAGE