RT-11 Programmer's Reference Manual

Company:Digital Equipment Corporation
Part:AA-H378C-TC
Date:1984-07
Keywords:
Operating System:RT-11 Version 5.1

Table of Contents

  • Chapter 1 Introduction to Advanced RT-11 Programming
    • 1.1 Programmed Requests
      • 1.1.1 Programmed Request Implementation
        • 1.1.1.1 EMT Instructions
        • 1.1.1.2 System Control Path Flow
      • 1.1.2 System Conventions
        • 1.1.2.1 Programmed Request Format
        • 1.1.2.2 Blank Arguments
        • 1.1.2.3 Addressing Modes
        • 1.1.2.4 Keyword Macro Arguments
        • 1.1.2.5 Channels and Channel Numbers
        • 1.1.2.6 Device Blocks
        • 1.1.2.7 Programmed Request Errors
        • 1.1.2.8 User Service Routine (USR) Requirement
      • 1.1.3 Using Programmed Requests
        • 1.1.3.1 Initialization and Control
        • 1.1.3.2 Examining System Information and Reporting Status
        • 1.1.3.3 Command Interpretation
        • 1.1.3.4 File Operations
        • 1.1.3.5 Input/Output Operations
        • 1.1.3.6 Foreground/Background Communications
        • 1.1.3.7 Timer Support
        • 1.1.3.8 Program Termination or Suspension
        • 1.1.3.9 System Job Communications
        • 1.1.3.10 Extended Memory Functions
        • 1.1.3.11 Interrupt Service Routines
        • 1.1.3.12 Device Handlers
      • 1.1.4 Compatibility with Previous RT-11 Versions
        • 1.1.4.1 Version 1 Programmed Requests
        • 1.1.4.2 Version 2 Programmed Requests
        • 1.1.4.3 Version 3 Programmed Requests
        • 1.1.4.4 Version 4 Programmed Requests
        • 1.1.4.5 Version 5 Programmed Requests
      • 1.1.5 Programmed Request Conversion
        • 1.1.5.1 Macro Calls Not Requiring Conversion
        • 1.1.5.2 Macro Calls That Can Be Converted
      • 1.1.6 Programmed Request Summary
    • 1.2 Using the System Subroutine Library
      • 1.2.1 System Conventions
        • 1.2.1.1 Channel Numbers
        • 1.2.1.2 Completion Routines
        • 1.2.1.3 Device Blocks
        • 1.2.1.4 INTEGER*4 Support Functions
        • 1.2.1.5 User Service Routine (USR) Requirements
        • 1.2.1.6 Subroutines Requiring Additional Queue Elements
        • 1.2.1.7 System Restriction
      • 1.2.2 Calling SYSLIB Subroutines
      • 1.2.3 FORTRAN/MACRO Interface
        • 1.2.3.1 Subroutine Register Usage
        • 1.2.3.2 FORTRAN Programs Calling MACRO Subroutines
        • 1.2.3.3 MACRO Routines Calling FORTRAN Programs
      • 1.2.4 FORTRAN Programs in a Foreground/Background Environment
        • 1.2.4.1 Calculating Workspace for a FORTRAN Foreground Program
        • 1.2.4.2 Running a FORTRAN Program in a Foreground/Background Environment
      • 1.2.5 Linking with FORLIB
      • 1.2.6 SYSLIB Services Not Provided by Programmed Requests
        • 1.2.6.1 Time Conversion and Date Access
        • 1.2.6.2 Program Suspension
        • 1.2.6.3 Two-Word Integer Support (INTEGER*4)
        • 1.2.6.4 Radix-50 Conversion
        • 1.2.6.5 Character String Operations
      • 1.2.7 Character String Functions
        • 1.2.7.1 Allocating Character String Variables
        • 1.2.7.2 Passing Strings to Subprograms
        • 1.2.7.3 Using Quoted-String Literals
      • 1.2.8 System Subroutine Summary
  • Chapter 2 Programmed Request Description and Examples
    • 2.1 .ABTIO
    • 2.2 .ADDR
    • 2.3 .ASSUME
    • 2.4 .BR
    • 2.5 .CDFN
    • 2.6 .CHAIN
    • 2.7 .CHCOPY (FB and XM Only)
    • 2.8 .CLOSE
    • 2.9 .CMKT (FB and XM; SJ Monitor Special Feature)
    • 2.10 .CNTXSW (FB and XM Only)
    • 2.11 .CRAW (XM Only)
    • 2.12 .CRRG (XM Only)
    • 2.13 .CSIGEN
      • 2.13.1 Passing Option Information
    • 2.14 .CSISPC
    • 2.15 .CSTAT
    • 2.16 .CTIMIO (Device Handler Only)
    • 2.17 .DATE
    • 2.18 .DELETE
    • 2.19 .DEVICE (FB and XM Only)
    • 2.20 .DRAST (Device Handler Only)
    • 2.21 .DRBEG (Device Handler Only)
    • 2.22 .DRBOT (Device Handler Only)
    • 2.23 .DRDEF (Device Handler Only)
    • 2.24 .DREND (Device Handler Only)
    • 2.25 .DRFIN (Device Handler Only)
    • 2.26 .DRINS
    • 2.27 .DRSET (Device Handler Only)
    • 2.28 .DRVTB (Device Handler Only)
    • 2.29 .DSTATUS
    • 2.30 .ELAW (XM Only)
    • 2.31 .ELRG (XM Only)
    • 2.32 .ENTER
    • 2.33 .EXIT
    • 2.34 .FETCH/.RELEAS
    • 2.35 .FORK (Device Handler and Interrupt Service Routine Only)
    • 2.36 .FPROT
    • 2.37 .GMCX (XM Only)
    • 2.38 .GTIM
    • 2.39 .GTJB
    • 2.40 .GTLIN
    • 2.41 .GVAL/.PVAL
    • 2.42 .HERR/.SERR
    • 2.43 .HRESET
    • 2.44 .INTEN
    • 2.45 .LOCK/.UNLOCK
    • 2.46 .LOOKUP
      • 2.46.1 Standard Lookup
      • 2.46.2 System Job Lookup
    • 2.47 .MAP (XM Only)
    • 2.48 .MFPS/.MTPS
    • 2.49 .MRKT (FB and XM; SJ Monitor Special Feature)
    • 2.50 .MTATCH (Special Feature)
    • 2.51 .MTDTCH (Special Feature)
    • 2.52 .MTGET (Special Feature)
    • 2.53 .MTIN (Special Feature)
    • 2.54 .MTOUT (Special Feature)
    • 2.55 .MTPRNT (Special Feature)
    • 2.56 .MTPS
    • 2.57 .MTRCTO (Special Feature)
    • 2.58 .MTSET (Special Feature)
    • 2.59 .MTSTAT (Special Feature)
    • 2.60 .MWAIT (FB and XM Only)
    • 2.61 .PEEK/.POKE
    • 2.62 .POKE
    • 2.63 .PRINT
    • 2.64 .PROTECT/.UNPROTECT (FB and XM Only)
    • 2.65 .PURGE
    • 2.66 .PVAL
    • 2.67 .QELDF (Device Handler Only)
    • 2.68 .QSET
    • 2.69 .RCTRLO
    • 2.70 .RCVD/.RCVDC/.RCVDW (FB and XM Only)
    • 2.71 .RDBBK (XM Only)
    • 2.72 .RDBDF (XM Only)
    • 2.73 .READ/.READC/.READW
    • 2.74 .RELEAS
    • 2.75 .RENAME
    • 2.76 .REOPEN
    • 2.77 .RSUM (FB and XM Only)
    • 2.78 .SAVESTATUS
    • 2.79 .SCCA
    • 2.80 .SDAT/.SDATC/.SDATW (FB and XM Only)
    • 2.81 .SDTTM
    • 2.82 .SERR
    • 2.83 .SETTOP
      • 2.83.1 .SETTOP in an Extended Memory Environment
    • 2.84 .SFDAT
    • 2.85 .SFPA (Special Feature)
    • 2.86 .SOB
    • 2.87 .SPCPS (FB and XM SYSGEN Option)
    • 2.88 .SPFUN
    • 2.89 .SPND/.RSUM (FB and XM Only)
    • 2.90 .SRESET
    • 2.91 .SYNCH (Device Handler and Interrupt Service Routine Only)
    • 2.92 .TIMIO (Device Handler Only)
    • 2.93 .TLOCK
    • 2.94 .TRPSET
    • 2.95 .TTYIN/.TTINR
    • 2.96 .TTYOUT/.TTOUTR
    • 2.97 .TWAIT (SYSGEN Option for SJ)
    • 2.98 .UNLOCK
    • 2.99 .UNMAP (XM Only)
    • 2.100 .UNPROTECT
    • 2.101 .WAIT
    • 2.102 .WDBBK (XM Only)
    • 2.103 .WDBDF (XM Only)
    • 2.104 .WRITE/.WRITC/.WRITW
  • Chapter 3 System Subroutine Description and Examples
    • 3.1 AJFLT
    • 3.2 CHAIN
    • 3.3 CLOSEC/ICLOSE
    • 3.4 CONCAT
    • 3.5 CVTTIM
    • 3.6 DEVICE (FB and XM Only)
    • 3.7 DJFLT
    • 3.8 GETSTR
    • 3.9 GTIM
    • 3.10 GTJB/IGTJB
    • 3.11 GTLIN
    • 3.12 IABTIO
    • 3.13 IADDR
    • 3.14 IAJFLT
    • 3.15 IASIGN
    • 3.16 ICDFN
    • 3.17 ICHCPY (FB and XM Only)
    • 3.18 ICLOSE
    • 3.19 ICMKT
    • 3.20 ICSI
    • 3.21 ICSTAT
    • 3.22 IDELET
    • 3.23 IDJFLT
    • 3.24 IDSTAT
    • 3.25 IENTER
    • 3.26 IFETCH
    • 3.27 IFPROT
    • 3.28 IFREEC
    • 3.29 IGETC
    • 3.30 IGETSP
    • 3.31 IGTJB
    • 3.32 IJCVT
    • 3.33 ILUN
    • 3.34 INDEX
    • 3.35 INSERT
    • 3.36 INTSET
    • 3.37 IPEEK
    • 3.38 IPEEKB
    • 3.39 IPOKE
    • 3.40 IPOKEB
    • 3.41 IPUT
    • 3.42 IQSET
    • 3.43 IRAD50
    • 3.44 IRCVD/IRCVDC/IRCVDF/IRCVDW (FB and XM Only)
    • 3.45 IREAD/IREADC/IREADF/IREADW
    • 3.46 IRENAM
    • 3.47 IREOPN
    • 3.48 ISAVES
    • 3.49 ISCHED
    • 3.50 ISCOMP
    • 3.51 ISDAT/ISDATC/ISDATF/ISDATW (FB and XM Only)
    • 3.52 ISDTTM
    • 3.53 ISFDAT
    • 3.54 ISLEEP
    • 3.55 ISPFN/ISPFNC/ISPFNF/ISPFNW
    • 3.56 ISPY
    • 3.57 ITIMER
    • 3.58 ITLOCK (FB and XM Only)
    • 3.59 ITTINR
    • 3.60 ITTOUR
    • 3.61 ITWAIT (SYSGEN Option in SJ)
    • 3.62 IUNTIL (SYSGEN Option in SJ)
    • 3.63 IVERIF
    • 3.64 IWAIT
    • 3.65 IWRITE/IWRITC/IWRITF/IWRITW
    • 3.66 JADD
    • 3.67 JAFIX
    • 3.68 JCMP
    • 3.69 JDFIX
    • 3.70 JDIV
    • 3.71 JICVT
    • 3.72 JJCVT
    • 3.73 JMOV
    • 3.74 JMUL
    • 3.75 JSUB
    • 3.76 JTIME
    • 3.77 LEN
    • 3.78 LOCK
    • 3.79 LOOKUP
    • 3.80 MRKT (SYSGEN Option in SJ)
    • 3.81 MTATCH (Special Feature)
    • 3.82 MTDTCH (Special Feature)
    • 3.83 MTGET (Special Feature)
    • 3.84 MTIN (Special Feature)
    • 3.85 MTOUT (Special Feature)
    • 3.86 MTPRNT (Special Feature)
    • 3.87 MTRCTO (Special Feature)
    • 3.88 MTSET (Special Feature)
    • 3.89 MTSTAT (Special Feature)
    • 3.90 MWAIT (FB and XM Only)
    • 3.91 PRINT
    • 3.92 PURGE
    • 3.93 PUTSTR
    • 3.94 R50ASC
    • 3.95 RAD50
    • 3.96 RCHAIN
    • 3.97 RCTRLO
    • 3.98 REPEAT
    • 3.99 RESUME (FB and XM Only)
    • 3.100 SCCA
    • 3.101 SCOMP/ISCOMP
    • 3.102 SCOPY
    • 3.103 SECNDS
    • 3.104 SETCMD
    • 3.105 STRPAD
    • 3.106 SUBSTR
    • 3.107 SUSPND (FB and XM Only)
    • 3.108 TIMASC
    • 3.109 TIME
    • 3.110 TRANSL
    • 3.111 TRIM
    • 3.112 UNLOCK
    • 3.113 VERIFY
  • Appendix A Display File Handler
    • A.1 Description
      • A.1.1 Assembly Language Display Support
      • A.1.2 Monitor Display Support
    • A.2 Description of Graphics Macros
      • A.2.1 .BLANK
      • A.2.2 .CLEAR
      • A.2.3 .INSRT
      • A.2.4 .LNKRT
      • A.2.5 .LPEN
      • A.2.6 .NAME
      • A.2.7 .REMOV
      • A.2.8 .RESTR
      • A.2.9 .SCROL
      • A.2.10 .START
      • A.2.11 .STAT
      • A.2.12 .STOP
      • A.2.13 .SYNC/.NOSYN
      • A.2.14 .TRACK
      • A.2.15 .UNLNK
    • A.3 Extended Display Instructions
      • A.3.1 DJSR Subroutine Call Instruction
      • A.3.2 DRET Subroutine Return Instruction
      • A.3.3 DSTAT Display Status Intruction
      • A.3.4 DHALT Display Halt Instruction
      • A.3.5 DNAME Load Name Register Instruction
    • A.4 Using the Display File Handler
      • A.4.1 Assembling Graphics Programs
      • A.4.2 Linking Graphics Programs
    • A.5 Display File Structure
      • A.5.1 Subroutine Calls
      • A.5.2 Main File/Subroutine Structure
      • A.5.3 BASIC-11 Graphic Software Subroutine Structure
    • A.6 Summary of Graphics MACRO Calls
    • A.7 Display Processor Mnemonics
    • A.8 Assembly Instructions
      • A.8.1 General Instructions
      • A.8.2 VTBASE
      • A.8.3 VTCAl1 -- VTCAL4
      • A.8.4 VTHLDR
      • A.8.5 Building VTLIB.OBJ
    • A.9 VTMAC
    • A.10 Examples Using GTON
  • Appendix B System Macro Library

Copies

Address: http://vt100.net/dec/aa-h378c-tc.pdf
Site: Paul Williams' VT100.net
Format: PDF
Size: 20505458 bytes (19.6 MiB)
MD5: 9a4e9c434ef774abc7f8a8a3c8f4ca1b
Mirrors: