.COMMENT SHNOTE.RNO NAB 7-MAY-81/15-DEC-82. .COMMENT .COMMENT 04-JUN-82 This article has been taken from the TSXLIB .COMMENT Users Guide document. .COMMENT 07-JUN-82 Revised tail end of the introductory section .COMMENT and the references. .COMMENT 15-DEC-82 Udated for publication in the S & H monthly .COMMENT bullitin. .COMMENT .PAPER SIZE 60,72 .UPPER CASE .LEFT MARGIN 8 .RIGHT MARGIN 72 .FILL .JUSTIFY .FLAGS HYPHENATE .CENTER;TSXLIB .BLANK .CENTER;A FORTRAN Callable Implementation .CENTER;of the TSX-Plus EMTs .BLANK .PARAGRAPH Like RT-11, TSX-Plus offers the MACRO programmer a number of system services via programmed requests or EMTs. RT-11 makes its system services available to the FORTRAN programmer through the system subroutine library, SYSLIB. TSX-Plus also honors most RT-11 programmed requests. TSXLIB makes the TSX-Plus EMTs available to the FORTRAN programmer as a library of callable routines. The code in TSXLIB is all reentrant. .PARAGRAPH The TSX-Plus library routines provide facilities to support detached jobs, file structured device mounting and dismounting, =communication between running programs, program performance =analysis, real time program execution, shared run time system, shared files, system status information, =communication between running programs and a terminal, program control of the terminal, ODT activation mode, and several miscellaneous EMTs. The system status information routines require the use of TSX-Plus version 2.2. Several of the real time support routines require TSX-Plus version 3.0. All other routines require TSX-Plus version 2.0 or later. .PARAGRAPH TSXLIB is available from the DECUS/US Chapter Program Library. The kit includes the MACRO source modules for all =groups of routines, a complete user's manual, a cross reference chart, an indirect command file to build the library, and the implemented library. The cross reference chart lists for each routine the page number in the user's manual and the page number in the "TSX-Plus Reference Manual". .PARAGRAPH The standard FORTRAN subroutine calling sequence shown below may be used to access all of the routines in TSXLIB. .BLANK .CENTER;CALL SUBRTN ( ARG1, ... ,ARGn ) .PARAGRAPH Those routines that return only one value are also callable as FORTRAN functions. This is as follows: .BLANK .CENTER;IRET _= RTNAME ( ARG1, ... ,ARGn ) .PARAGRAPH The "TSX-Plus Reference Manual" describes how the EMTs implemented in TSXLIB are accessed from a MACRO program. However, the FORTRAN/MACRO interface described in the "RT-11 Programmer's Reference Manual" may also be used to access the routines in the library. The TSXLIB (as well as SYSLIB) routines are also available to the "C" programmer via the DECUS "C" library function, "call(...)". .BLANK 2 .CENTER;RT-11 is a trademark of Digital Computer Corporation. .BREAK