home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
CPM
/
22RSX
/
BYERSX.ARK
/
RSXCUST.BYE
< prev
next >
Wrap
Text File
|
1985-11-08
|
7KB
|
167 lines
; Customization file for a BYE replacement RSX.
;
; Name this file RSXCUST.DEF before assembly
;
; This file normally holds customization equates for the RSX system.
;
; customise the @RSX value for the application. See BDOS call lists
; in BDOS.DEF for guidance. Try to avoid values that create conflicts
@RSXX equ @USR; This is an extra intercept, outside the range
; below. Set 0 if not used. Some programs use
; this to test for BYE mounting.
@RSXY equ @CHN; from CPM 3. Chain to program. 0 if not used.
@RSXLO equ 61; The lowest standard BYERSX value
;
; @RSX and @RSXHI are defined in the main source code
;
nodrive equ false; TRUE prevents any alteration of the BIOS
; vector at location 1. If true then DRIVER
; MUST be false. This is for systems that
; create only BDOS intercepts, and do not
; alter the bios in any way.
driver equ true; TRUE installs drivers visible to DOS
; FALSE makes new BIOS drivers visible only
; to an application program
; the value of "driver" initializes "chkflg"
; which is then user patchable.
;
; Experimental equate. True not checked out yet
multidrv equ false; true to allow multiple drivers
; visible to BDOS. Care needed.
;
; ------------ Access Customizations ------------
;
; Following can customize the BYE installation
clkspd equ 25; In units of 100khz. 25 for 2.5 Mhz, etc.
;
; The "endcall" program after line drop is found here.
defdrv equ 'A'; default for internally chained programs
defusr equ 15; " " " " "
;
; Area used when access to restricted area attemped. Also area
; set at system entry via BYE
homdrv equ 'M'; default for illegal access
homusr equ 0; " " "
;
; ========== Following used with Communication Programs ===========
;
; These values are simply supplied by BYERSX to curious programs, and
; no specific use is enforced. Since they are supplied by a central
; location all programs will agree as to their values, although not
; necessarily as to their use. All drive values should be '@' .. 'P'
; and user values should be 0 .. 31, unless you have wildly different
; uses for them. The suggested uses are shown.
;
; Allows uploading to be done on a specified drive/user area so all
; viewers (including the SYSOP) can readily find the latest entries.
;
rdrv equ 'M'; Drv on which to rcv files. '@' = unrestricted
rusr equ 14; Usr area on which to receive files.
;
; Selects the drive/user area for downloading private files from the
; SYSOP. This permits him to put a special file in this area, then
; leave a private note to that person mentioning the name of the file
; and its location. Although anybody could download that program,
; they don't know what (if any) files are there. A high degree of
; security exists, while the SYSOP still has the ability to make
; special files available. Thus any person can be a temporary
; "privileged user".
;
psdrv equ 'B'; '@' for no such area
psusr equ 15
;
; Selects the drive/user area for uploading private files for the
; SYSOP. This permits experimental files, replacement files and
; proprietary programs to be sent to the SYSOP.
;
prdrv equ 'M'; '@' for no such area
prusr equ 15
;
; ----------------- End Access restrictions ------------
;
; ============ NON-Standard CCP customization ==================
;
zcpr2xc equ false; Not using zcpr2 external cmd line
;
if zcpr2xc; Also experimental area
@zcmd equ 0ff80h; insert location of command line
endif
;
; ----------------- FUNCTION KEYS ------------------
;
; Function keys from local console only
; These are operations to be performed while remote user on-line
; Use of '0' through '9' is controlled in i/o insert. Use here will
; prevent such use. Thus functions 0 through 9 are i/o dependant
; and can perform such operations as screen dumps.
attn equ CTRL AND '^'; lead in char for function keys
blnkey equ 'B'; Toggle remote terminal on/off
bellkey equ 'G'; Toggle bells on console
hardtog equ 'H'; toggle hard copy on/off
twitkey equ 'N'; Hangup immediately
msgkey equ 'Q'; Message from sysop, chat, until ^E
timekey equ 'T'; Display timeon
union equ 'U'; Enter "union" terminal mode until ^E
whokey equ 'W'; Display last caller id
zscreen equ 'Z'; Manually clear screen
noisekey equ '['; uc { toggle noise suppressor on/off
;
; ----------------- Miscellaneous -----------------
;
; Clear screen sequence for local terminal. Set all chars to
; 0 if not available. Set all trailing chars to 0.
clr1 equ CTRL AND 'Z'; for Kaypro/ADM3/Osborne
clr2 equ 0
clr3 equ 0
clr4 equ 0
clr5 equ 0
clr6 equ 0; Up to 6 characters available
;
; Last Caller buffer
lcbufsz equ 20; Size of LastCaller buffer, bytes
oldlc equ false; true eliminates the size byte
; false buffer is headed by size byte
; Communication parameters
closs equ 2; seconds carrier loss acceptable
defbaud equ 76h; 1..10 for 110,300,450,600,710,1200
; ^ this is 2400,4800,9600,19200
; set for ENSURE valid for RSXIO.INC module.
; 1 stop The high hex digit specifies the
; & even stopbits and parity setting. See
; parity. documentation of "sgbaud" for values
;
; These are only used when a fake timer (using add1min in insert)
; is used. Adjust this so that the timer is approximately correct
; when most time is spent waiting for console input. This value
; should never be greater than 60000, else you have an infinitely
; fast machine. 0 is equivalent to 65536.
tratio equ 49050; about right for me.
turatio equ 11; this is approximately the number
; of calls to CSTAT performed per
; millisec. Obviously usage dependant
; Used to correct for sub-systems that
; never call CIN until CSTAT is true.
; Also minor corrections for cout
;
; ---------------- STACKS ----------------
;
; Required equate. Used in RSXMAST to set minimum stack assignment
STKSZ equ 32; Actual stack assignment may be larger
; stack includes xstack below
;
; Gyrations due to insufficient stack space in applications/BDOS/CCP
; Increase size if you have crashes due to interrupts overrunning the
; available stack space.
;
; Size of stack for terminal mode only. Protects against programs
; which supply too little stack space. This piece of stack is avail-
; able to the main RSX system until it enters terminal mode, which is
; only done via some BIOS call. Thus the areas can overlap somewhat.
xstksz equ 40
;
; This third stack is used to protect against excessive stack use
; in the original bios. Routines lcout, pcin, and pcsta use this,
; and therefore cannot be re-entrant.
iostksz equ 40
;
É¿