home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
UNIFLEX
/
UNIFLEX
/
UniFLEX_Common.tar.Z
/
UniFLEX_Common.tar
/
params
< prev
next >
Wrap
Text File
|
1984-04-05
|
4KB
|
157 lines
sttl System Parameters
pag
*
* System Parameters - adjust accordingly
*
DSKADS equ 3 disk address size in bytes
DIRSIZ equ 14 directory entry size (name)
SIGCNT equ 12 number of system signals
MAPSIZ equ 13 file map size in fdn
PAGSIZ equ 4096 smallest allocated memory page
BUFSIZ equ 512 buffer size
MAXPAG equ 256 max 4K segments in mainframe
PRCSIZ equ 256 max size of terminal line
SMAPSZ equ 256 size of swap allocation area
CBSIZE equ 32 clist buffer size
CFDN equ 50 max in core fdns
CDBLKS equ 100 max in core disk blocks
MAXPAGES equ 16 Max 4K Pages in 64K
RESTM equ 9 max system residence time (ticks)
MAXPIP equ 4096 max data in a pipe (don't go over 5120!)
DPLCNT equ 10 data pool buffer count
DPLSIZ equ 9 data pool buffer size
EXCSIZ equ 8 size of exec name entry
UNFILS equ 16 max open files / user
pag
* memory associated values
SYSPAG equ $00 system page
SYSLOC equ $00 system segment in system space
STABPG equ $01 system table page
SYSTXT equ $05 system text start
DRVPAG equ $09 drivers segment
USRLOC equ $0B user segment in system space
SBUF equ $0C system buffer segment
XBUF equ $0D cross buffer segment
XBUFFR equ XBUF<<12 cross buffer begin
SBUFFR equ SBUF<<12 system buffer begin
SYSSTK equ (USRLOC<<12)+$F40 system stack per task
USERBL equ (USRLOC<<12)+$F40 user block location
SYSBLK equ $0F system page 0
USTKO equ $E00 user stack offset in ublock
* character definitions
TABCH equ $9 tab character
SPACE equ $20 space character
NL equ $a new line
CR equ $d carriage return
HOLDC equ $1b ESC - suspend output
XONC equ $11 XON - restart output
XOFFC equ $13 XOFFF - suspend output
QUITC equ $1c FS character
INTRC equ $03 DEL character
EOTCH equ $04 EOT character
BSPCH equ $08 back space character
CNCLC equ $18 line cancel char
* Constants
F equ %01000000 firq mask
I equ %00010000 irq mask
EBIT equ %10000000 entire state status bit (cc)
CBIT equ %00000001 carry bit in cc (error bit)
REGSIZ equ 8 bytes on stack at intrpt
STKREG equ 12 registers on stack size
NODEV equ -1 no device specifier
pag
* Register offset to SP
UCC equ 0 condition codes
UA equ 1 a register
UB equ 2 b register
UX equ 3 x register
UPC equ 5 pc register
UPB equ 7 os call post byte
UD equ UA d register
* signals
HANGS equ 1 hangup signal
INTS equ 2 interrupt signal
QUITS equ 3 quit signal
EMTS equ 4 emt trap signal (swi)
KILLS equ 5 kill signal
WPIPES equ 6 illegal pipe write signal
* SWTPC vii special
FALTS equ 7 memory fault
EMT2S equ 8 emt2 trap (swi2)
* non SWTPC vii
BARGS equ 7 bad argument signal
TRACS equ 8 trace job signal
*
TIMES equ 9 time limit signal
ALARMS equ 10 alarm signal
* priorities
SWAPPR equ 120 swap task
FDNPR equ 100 fdn update
NFDNPR equ 80 fdn wait priority
BUFPR equ 50 block io task
WBUFPR equ 30 buffer wait
PIPEPR equ -5 pipe i/o
WMEMPR equ -5 wait memory
TTYIPR equ -10 tty wait
TTYOPR equ -20 tty wait output
WAITPR equ -40 task wait
SLEPPR equ -80 sleeping
USERPR equ -90 max user priority
pag
* errors
EIO equ 1 io error
EFAULT equ 2 system fault
EDTOF equ 3 data section overflow
ENDR equ 4 not a directory
EDFUL equ 5 disk full
ETMFL equ 6 too many files
EBADF equ 7 bad file
ENOFL equ 8 no file
EMSDR equ 9 missing directory
EPRM equ 10 file permission
EFLX equ 11 file exists
EBARG equ 12 bad argument
ESEEK equ 13 seek error
EXDEV equ 14 crossed devices
ENBLK equ 15 not a block special file
EBSY equ 16 device is busy
ENMNT equ 17 file not mounted
EBDEV equ 18 bad device specified
EARGC equ 19 too many arguments
EISDR equ 20 file is a directory
ENOTB equ 21 file not binary
EBBIG equ 22 binary file too big
ESTOF equ 23 stack overflow
ENCHD equ 24 no children living
ETMTS equ 25 too mant tasks active
EBDCL equ 26 bad system call
EINTR equ 27 interrupted system call
ENTSK equ 28 no task found
ENTTY equ 29 not a tty
EPIPE equ 30 write to broken pipe
ELOCK equ 31 record locking error