BASIC-PLUS-2 User's Guide

Total Page:16

File Type:pdf, Size:1020Kb

BASIC-PLUS-2 User's Guide BASIC-PLUS-2 User's Guide Order Number : AA-JP35B-TK May 1991 This manual provides tutorial information on BASIC-PLUS-2 language features . It also contains information on advanced program development techniques . Revision/Update Information : This manual is a revision . Operating System and Version : RSX-11M Version 4 .6 or higher RSX-11M-PLUS Version 4 .3 or higher Micro/RSX Version 4 .3 or higher RSTS/E Version 9.7 or higher Software Version : BASIC-PLUS-2 Version 2 .7 Digital Equipment Corporation Maynard, Massachusetts The information in this document is subject to change without notice and should not be construed as a commitment by Digital Equipment Corporation . Digital Equipment Corporation assumes no responsibility for any errors that may appear in this document . The software described in this document is furnished under a license and may be used or copied only in accordance with the terms of such license. No responsibility is assumed for the use or reliability of software on equipment that is not supplied by Digital Equipment Corporation or its affiliated companies . Restricted Rights : Use, duplication, or disclosure by the U .S. Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252 .227-7013 . © Digital Equipment Corporation 1987, 1991 . All Rights Reserved . Printed in U .S.A. The postpaid Reader's Comments forms at the end of this document request your critical evaluation to assist in preparing future documentation . The following are trademarks of Digital Equipment Corporation : BASIC-PLUS, BASIC-PLUS-2, DEC, DECnet, DECUS, Digital, DOCUMENT, Micro/RSX, PDP, PDP-11, RMS, RMS-11, RSTS, RSTS/E, RSX, RSX-11M, RSX-11M-PLUS, RX50, TK50, UNIBUS, VAX, VAXcluster, VAXinfo, VMS, and the Digital logo . BASIC is a trademark of Dartmouth College . This document was prepared using VAX DOCUMENT, Version 2 .0. Contents Preface xix Summary of Technical Changes xxv 1 Developing Programs in the BASIC Environment 1 .1 Entering the Environment 1-1 1 .2 Creating Programs 1-3 1 .2.1 Creating a Program Interactively 1-3 1 .2.2 Creating a Program Using a Text Editor 1-4 1 .3 Running Programs 1-4 1 .4 Indirect Command Files 1-5 1 .5 Multiple-Unit Programs 1-6 1 .6 Exiting from the Environment 1-7 1 .7 Immediate Mode 1-8 1 .8 Environment Commands 1-10 1 .8.1 The $ System-Command 1-12 1 .8 .2 The APPEND Command 1-13 1 .8 .3 The BRLRES Command 1-13 1 .8 .4 The BUILD Command 1-13 1 .8 .5 The COMPILE Command 1-14 1 .8 .6 The DELETE Command 1-15 1 .8 .7 The DSKLIB Command 1-15 1 .8.8 The EDIT Command 1-15 1 .8.9 The EXIT Command 1-16 1 .8.10 The EXTRACT Command 1-16 1 .8.11 The HELP Command 1-17 1 .8.12 The IDENTIFY Command 1-17 1 .8.13 The INQUIRE Command 1-17 1 .8.14 The LIBRARY Command 1-17 1 .8.15 The LIST and LISTNH Commands 1-18 1 .8.16 The LOAD Command 1-18 iii 1 .8.17 The LOCK Command 1-19 1 .8.18 The NEW Command 1-19 1 .8.19 The ODLRMS Command 1-19 1 .8.20 The OLD Command 1-20 1 .8.21 The RENAME Command 1-20 1 .8.22 The REPLACE Command 1-20 1 .8.23 The RUN and RUNNH Commands 1-20 1 .8.24 The SAVE Command 1-21 1 .8.25 The SCALE Command 1-22 1 .8.26 The SCRATCH Command 1-22 1 .8.27 The SEQUENCE Command 1-22 1 .8.28 The SET Command 1-23 1 .8.29 The SHOW Command 1-23 1 .8.30 The UNSAVE Command 1-25 1 .9 Setting Environment Defaults with an Initialization File 1-26 2 Developing Programs at DCL Command Level 2.1 Using EDT to Create a BASIC-PLUS-2 Program 2-1 2.2 Compiling a BASIC-PLUS-2 Program 2-2 2.2.1 The BASIC Command 2-3 2.2.2 BASIC Command Qualifiers 2-3 2.2.3 Compiler Listings 2-7 2.2.3.1 Source Program Listing 2-7 2.2.3.2 Cross-Reference Listing 2-9 2.2.3.3 Qualifier Summary 2-11 2.3 Linking a BASIC-PLUS-2 Program 2-12 2.3 .1 The TKB Command 2-12 2.3 .2 The LINK Command 2-13 2.4 Executing a BASIC-PLUS-2 Program 2-14 3 Debugging Programs 3.1 Introduction 3-1 3.2 Invoking the Debugger 3-1 3.3 Sample Debugging Session in the BASIC-PLUS-2 Environment 3-5 3.4 Sample Debugging Session at DCL Command Level 3-7 3.5 Debugger Error Messages 3-18 iv 4 Program Elements 4.1 Line Numbers 4-1 4 .2 Labels 4-2 4.3 Continuing Long Program Statements 4-2 4.4 Identifying Program Units 4-3 4.5 The BASIC-PLUS-2 Character Set 4-4 4.6 Program Documentation 4-4 4.7 Declarations and Data Types 4-5 4.7.1 Implicit Data Typing 4-6 4.7 .2 Explicit Data Typing 4-7 4.8 Constants 4-7 4.9 Variables 4-9 4.9 .1 Floating-Point Variables 4-9 4.9 .2 Integer Variables 4-10 4.9 .3 String Variables 4-10 4.9.4 Subscripted Variables 4-10 4 .9.5 Initialization of Variables 4-11 4 .10 Keywords and Reserved Words 4-11 4 .11 Operands, Operators and Expressions 4-12 4 .12 Assignment Statements 4-13 5 Simple Input-Output 5.1 Program Input 5-1 5.1 .1 Providing Input Interactively 5-1 5.1 .1 .1 The INPUT Statement 5-1 5.1 .1 .2 The INPUT LINE and LINPUT Statements 5-4 5.1 .1 .3 Enabling and Disabling the Question Mark Prompt . 5-4 5.1 .2 Providing Input from the Source Program 5-5 5.1 .2.1 The READ and DATA Statements 5-6 5.1 .2.2 The RESTORE Statement 5-7 5 .2 Program Output 5-8 5 .2.1 Print Zones-the Comma and the Semicolon 5-9 5 .2.2 Output Format for Numbers and Strings 5-12 5 .3 Terminal-Format Files 5-14 5 .3.1 Opening and Closing a Terminal-Format File 5-14 5 .3.2 Writing Records to a Terminal-Format File 5-14 v 6 Control Statements 6 .1 Statement Modifiers 6-1 6 .1 .1 The IF Modifier 6-2 6 .1 .2 The UNLESS Modifier 6-2 6 .1 .3 The FOR Modifier 6-2 6.1 .4 The UNTIL Modifier 6-2 6.1 .5 The WHILE Modifier 6-3 6.1 .6 Nested Modifiers 6-3 6.2 Loops 6-3 6.2.1 FOR. .NEXT Loops 6-4 6.2.2 WHILE ...NEXT Loops 6-7 6.2.3 UNTIL. .NEXT Loops 6-8 6.2 .4 Nested Loops 6-9 6.3 Unconditional Branching 6-9 6.4 Conditional Branching 6-9 6.4 .1 The ON...GOTO. .OTHERWISE Statement 6-10 6.4 .2 The IF.. THEN. .ELSE Statement 6-10 6.4.3 The SELECT. .CASE Statement 6-13 6.5 The EXIT and ITERATE Statements 6-15 6.6 Executing Local Subroutines 6-16 6.6.1 The GO SUB and RETURN Statements 6-17 6.6.2 The ON...GOSUB.. .OTHERWISE Statement 6-18 6.7 Suspending and Halting Program Execution 6-19 6.7.1 The SLEEP Statement 6-19 6.7.2 The WAIT Statement 6-20 6.7.3 The STOP Statement 6-20 6.7.4 The END Statement 6-21 7 Declarations and Data Types 7.1 Declarative Statements 7-1 7.2 Data Types 7-1 7.3 Setting the Default Data Type and Size 7-4 7.4 Declaring Variables Explicitly 7-5 7.5 Declaring Named Constants Explicitly 7-6 7.5.1 Declaring Constants Within a Program Unit 7-7 7.5.2 Declaring Constants External to the Program Unit 7-7 7.6 Operations with Multiple Data Types 7-7 7.7 Allocating Static Storage 7-9 7.7 .1 The COMMON Statement 7-9 vi 7 .7.2 The MAP Statement 7-10 7 .7.2.1 Single Maps 7-10 7.7.2.2 Multiple Maps 7-12 7 .7.3 FILL Items 7-13 7.7.4 Using COMMON and MAP in Subprograms 7-14 7.8 Dynamic Mapping 7-17 8 Functions 8.1 Built-In Functions 8-1 8.1 .1 Using Numeric Functions 8-2 8.1 .1 .1 The ABS Function 8-2 8.1 .1 .2 The INT and FIX Functions 8-2 8.1 .1 .3 The SIN, COS, and TAN Functions 8-3 8 .1 .1 .4 The LOG10 Function 8-4 8.1 .1 .5 The EXP Function 8-5 8.1 .1 .6 The RND Function 8-5 8 .1 .2 Using Data Conversion Functions 8-7 8.1 .2 .1 The ASCII Function 8-7 8.1 .2.2 The CHR$ Function 8-7 8 .1 .3 Using String Numeric Functions 8-8 8.1 .3 .1 The FORMAT$ Function 8-8 8.1 .3.2 The NUM$ and NUM1$ Functions 8-8 8 .1 .3 .3 The VAL% and VAL Functions 8-10 8.1 .4 Using String Arithmetic Functions 8-10 8.1 .4.1 The PLACE$ Function 8-13 8 .1 .4 .2 The PROD$ Function 8-14 8.1 .5 Using Date and Time Functions 8-14 8.1 .5 .1 The DATE$ Function 8-14 8.1 .5 .2 The TIME$ Function 8-15 8.1 .5 .3 The TIME Function 8-15 8 .1 .6 Using Terminal Control Functions 8-16 8.1 .6 .1 The CTRLC and RCTRLC Functions 8-16 8.1 .6 .2 The ECHO and NOECHO Functions 8-17 8 .2 User-Defined Functions 8-17 8.2.1 Single-Line DEF Functions 8-18 8.2.2 Multi-Line DEF Functions 8-19 8 .3 External Functions 8-24 8.3.1 The FUNCTION, EXIT FUNCTION, and END FUNCTION Statements 8-24 8 .3.2 The EXTERNAL Statement 8-25 vii 9 String Handling 9.1 Introduction 9-1 9.2 Using Dynamic Strings 9-2 9.3 Using Fixed-Length Strings 9-4 9.4 String Virtual Arrays 9-5 9.5 Assigning String Data 9-6 9.5 .1 The LET Statement 9-6 9.5 .2 The LSET Statement 9-7 9.5 .3 The RSET Statement 9-8 9.6 Manipulating String Data with String Functions 9-9 9 .6.1 The LEN Function 9-9 9 .6.2 The POS Function 9-10 9 .6.3 The SEG$ Function 9-12 9 .6.4 The MID$ Function 9-14 9 .6.5 The STRING$ Function 9-15 9 .6.6 The SPACE$ Function 9-15 9 .6.7 The TRM$ Function 9-16 9 .6.8 The EDIT$ Function 9-16 9 .7 Manipulating String Data with Multiple Maps 9-18 10 Arrays 10.1 Introduction 10-1 10.2 Creating Arrays Explicitly 10-2 10.2.1 Creating Arrays with the DECLARE Statement 10-3 10.2.2 Creating Arrays with the DIM Statement 10-4 10.2 .2.1 Declarative DIM Statements 10-5 10.2 .2.2 Executable DIM Statements 10-5 10.2 .3 Creating Arrays with the COMMON Statement 10-6 10.2 .4 Creating Arrays with the MAP Statement 10-7 10.3 Creating Arrays Implicitly 10-7 10.3 .1 Referencing an Undeclared Array Element 10-7 10.3 .2 Using MAT Statements 10-9 10.3 .2.1 The MAT Statement 10-10 10.3 .2.2 The MAT READ Statement 10-12 10.3 .2.3 The MAT INPUT [#] Statement 10-13 10.3 .2.4 The MAT LINPUT [#] Statement 10-15 10.3 .2.5 The MAT PRINT [#] Statement 10-16 10.3 .2.6 Matrix I/O Functions 10-17 10.4 Array Input and Output 10-18 10.4 .1 Assigning Values with the LET Statement 10-18 10.4 .2 Listing Array Elements with the PRINT Statement 10-19 10-19 10.5.1 Arithmetic Matrix Operations 10-19 10.5 .1 .1
Recommended publications
  • DECSYSTEM-10I2O CATALOG DIGITAL EQUIPMENT (OMPUTER USERS SO(IETY APRIL 1978 DECUS PROGRAM LIBRARY DECSYSTEM-10/20 Cataloci
    [Q] PROGRAM LIBRARY DECSYSTEM-10I2O CATALOG DIGITAL EQUIPMENT (OMPUTER USERS SO(IETY APRIL 1978 DECUS PROGRAM LIBRARY DECSYSTEM-10/20 CATALOCi g] DI(iITAL EQUIPMENT COMPUTER USERS SOCIETY APRIL 1978 This is a complete DECUS DECsystem-10/20 Library Catalog. It includes a complete listing of DECsystem-10 and DECSYSTEM-20 programs currently available from the DECUS Library. First Edition April 1973 Updated October 1973 Updated April 1974 Updated October 1974 Updated March 1975 Supplement June 1976 Special Edition November 1976 Revised February 1977 Revised April 1978 Copyright © 1978, Digital Equipment Corporation Maynard, Massachusetts The DECUS Program Library is a clearing house only; it does not sell, generate or test programs. All programs and information are provided "AS IS". DIGITAL EQUIP­ MENT COMPUTER USERS SOCIETY, DIGITAL EQUIPMENT CORPORATION AND THE CONTRIBUTOR DISCLAIM ALL WARRANTIES ON THE PRO­ GRAMS AND ANY MEDIA ON WHICH THE PROGRAMS ARE PROVIDED, INCLUDING WITHOUT LIMITATION, ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. The descriptions, service charges, exchange rates, and availability of software available from the DECUS Library are subject to change without notice. The following are trademarks of Digital Equipment Corporation: COMPUTER LABS DECtape FOCAL PDP COMTEX DECUS INDAC PHA DDT DIBOL LAB-8 RSTS DEC DIGITAL MASSBUS RSX DECCOMM EDUSYTEM OMNIBUS TYPESET-8 DECsystem-10 FLIP CHIP OS-8 TYPESET-11 DECSYSTEM-20 UNIBUS 5/78-38 CONTENTS HOW TO USE THIS CATALOG ...................................................................
    [Show full text]
  • TECO Reference Manual Digital Equipment Corporation • Maynard
    08/8 TECO Reference Manual Order No. AA-H608A-TA ABSTRACT This document describes the Text Editing and Correcting Program for OS/8 users. SUPERSESSION/UPDATE INFORMATION: This manual supersedes the TECO chapter of the OS/8 Handbook (DEC-S&OSHBA-A-D). OPERATING SYSTEM AND VERSION: OS/8V3D To order additional copies of thisdocument, contact the Software Distribution Center, Digital Equipment Corporation, Maynard, Massachusetts 01754 digital equipment corporation • maynard. massachusetts First Printing, March 1979 The info~ation in this document is subject to change without notice and should not be construed as a commitment by Digital Equipment Corporation. Digital Bquipment Corporation assumes no responsibility for any errors that may appear in this document. The software described in this document is furnished under a license and may only be used or copied in accordance with the te~s of such license. No responsibility is assumed for the use or reliability of software on equipment that is not supplied by DIGITAL or its affiliated companies. Copyright (S) 1979 by Digital Equipment Corporation The postage-prepaid READER'S COMMENTS form on the last page of this document requests the user's critical evaluation to assist us in pre­ paring future documentation. The following are trademarks of Digital Equipment Corporation: DIGITAL DECsystem-10 MASSBUS DEC DEC tape OMNIBUS PDP DIBOL OS/8 DECUS EDUSYSTEM PHA UNIBUS FLIP CHIP RSTS COMPUTER LABS FOCAL RSX COMTEX INDAC TYPESET-8 DDT LAB-8 TYPESET-ll DECCOMM DECSYSTEM-20 TMS-ll ASSIST-ll RTS-8 ITPS-10
    [Show full text]
  • Timesharing on the PDP-11 Under RT-11
    Behavior Research Methods & Instrumentation 1977, Vol. 9 (2),173-175 Timesharing on the PDP-11 under RT-ll KARL W. SCHOLZ The Medical CoUege ofPenmylvanill., Division ofSocial Science, 11&e Department ofPsychiatry, PhikulelphiD., Penmylvania19129 A timesharing system for the Digital Equipment Corporation PDP-11 is described. In keeping with the general philosophy ofthe RT-11 operating system, the permanently resident portion of the system is kept to an absolute minimum size. The system supports from 2 to 16 users, and provides each with full editing and batch execution capabilities. A majority of the users of the Digital Equipment manager to load and execute the nonresident overlays, Corporation PDP-II in scientific and academic environ­ and a collection of routines to handle input/output ments have chosen the RT-II operating system as the and interactive text editing. system which offers the greatest range of facilities with 2. At the time the system is generated, one port the smallest resident memory requirements of any table is allocated for each potentially active port on the Digital systems. However, despite its versatility, RT-11 system. Each port table contains a collection of flags is inherently a single-user (with the exception of the and a buffer which is used as either an edit buffer or as Multiple User Basic option) and, as such, much poten­ space for the execution of nonresident overlays. tially valuable computer time is wasted. The present 3. All utility functions, such as file creation and paper describes the design and implementation of a deletion, disk directory manipulation, and job queue multiple-access version of RT-II which extends the full insertion are implemented as nonresident overlays.
    [Show full text]
  • RSTS/E Ocumentation Directory
    RSTS/E ocumentation Directory er No. AA-2642G-TC RSTS/E Documentation Directory Order No. AA-2642G-TC June 1985 This document contains general descriptions of RSTS/E software documenta­ tion. It describes the documents specific to RSTS/E as well as some of the optional software and documentation associated with the operating system. This document also contains ordering information for RSTS/E documenta­ tion. OPERATING SYSTEM AND VERSION: RSTS/E V9.0 SOFTWARE VERSION: RSTS/E V9.0 Idlgltal equipment corporation, maynard, massachusetts The information in this document is subject to change without notice and should not be construed as a commitment by Digital Equipment Corporation. Digital Equipment Corporation assumes no responsibility for any errors that may appear in this document. The software described in this document is furnished under a license and may be used or copied only in accordance with the terms of such license. No responsibility is assumed for the use or reliability of software on equipment that is not supplied by DIGITAL or its affiliated companies. Copyright © 1975, 1985 by Digital Equipment Corporation. All rights reserved. The postage-paid READER'S COMMENTS form on the last page of this docu­ ment requests your critical evaluation to assist us in preparing future documenta­ tion. The following are trademarks of Digital Equipment Corporation: DIBOL ReGIS ~D~DDmD ™ FMS-11 RSTS DEC LA RSX DECmail MASS BUS RT DECmate PDP UNIBUS DECnet P/OS VAX DECtape Professional VMS DECUS Q-BUS VT DECwriter Rainbow Work Processor The type for this document was produced by DECpage, DIGITAL's high quality document processing system.
    [Show full text]
  • RSTS/E Documentation Directory
    RSTS/E Documentation Directory Order No . AA-2642F-TC March 1983 This document contains general descriptions of RSTS/E software docu- mentation . It describes the documents specific to RSTS/E as well as some of the optional software and documentation associated with the operating system. This document also contains ordering information for RSTS/E documentation. OPERATING SYSTEM AND VERSION : RSTS/E V8.0 SOFTWARE VERSION : RSTS/E V8.0 digital equipment corporation, maynard, massachusetts The information in this document is subject to change without notice and should not be construed as a commitment by Digital Equipment Cor- poration. Digital Equipment Corporation assumes no responsibility for any errors that may appear in this document . The software described in this document is furnished under a license and may be used or copied only in accordance with the terms of such license . No responsibility is assumed for the use or reliability of software on equip- ment that is not supplied by DIGITAL or its affiliated companies . Copyright © 1975, 1978, 1981, 1983 by Digital Equipment Corporation . All Rights Reserved. The postage-paid READER'S COMMENTS form on the last page of this document requests your critical evaluation to assist us in preparing future documentation . The following are trademarks of Digital Equipment Corporation : DECwriter RSTS d 0 9 DIBOL RSX MASSBUS UNIBUS DECmate PDP VAX DECsystem-10 P/OS VMS DECSYSTEM-20 Professional VT DECUS DEC Rainbow Work Processor Commercial Engineering Publications typeset this manual using DIGITAL's
    [Show full text]
  • RT–11 Commands Manual
    RT–11 Commands Manual Order Number AA–PDU0A–TC August 1991 This manual tells you how to use RT–11 DCL commands. If you are unfamiliar with RT–11, you should read the Introduction to RT–11 before using this manual. Revison/Update Information: This manual supersedes the RT–11 System User’s Guide, AA–5279E–TC. Operating System: RT–11 Version 5.6 Digital Equipment Corporation Maynard, Massachusetts First Printing, August 1991 The information in this document is subject to change without notice and should not be construed as a commitment by Digital Equipment Corporation. Digital Equipment Corporation assumes no responsibility for any errors that may appear in this document. Any software described in this document is furnished under a license and may be used or copied only in accordance with the terms of such license. No responsibility is assumed for the use or reliability of software or equipment that is not supplied by Digital Equipment Corporation or its affiliated companies. Restricted Rights: Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227–7013. © Digital Equipment Corporation 1991 All rights reserved. Printed in U.S.A. The Reader’s Comments form at the end of this document requests your critical evaluation to assist in preparing future documentation. The following are trademarks of Digital Equipment Corporation: CTS–300, DDCMP, DECNA, DECnet, DECUS, DECwriter, DEQNA, DEUNA, DIBOL, Ethernet, MASSBUS, MicroPDP–11, Micro/RSX, PDP, Professional, Q-bus, RSTS, RSX, RT–11, RTEM–11, UNIBUS, VMS, VT, and the DIGITAL logo.
    [Show full text]
  • Pdp-Ii/23-Plus System Manual
    PDP-II/23-PLUS SYSTEM MANUAL EK-1T238-0P-001 PDP-ll/23-PLUS SYSTEM MANUAL Prepared by Educational Services of Digital Equipment Corporation 1st Edition, January 1982 Copyright ® 1982 by Digital Equipment Corporation All Rights Reserved The material in this manual is for informational purposes and is subject to change without notice. Digital Equipment Corporation assumes no responsibility for any errors which may appear in this manual. Printed in U.s.A. The manuscript for this book was created on a DIGITAL Word Processing System and. via a translation program, was automatically typeset on DIGITAL's DECset-8000 Typesetting System. Book production was done by Educational Services Development and Publishing in Marlboro. MA. The following are trademarks of Digital Equipment Corporation: DEC EduSystem RSTS DEC net lAS RSX DECUS MASSBUS TOPS-IO DECsystem-IO MINC-II TOPS-20 DECSYSTEM-20 OMNIBUS UNIBUS DECwriter OS/8 VAX DIBOL PDP VMS mamaala PDT VT CONTENTS PREFACE CHAPTER 1 GETTING STARTED INTRODUCTION................................................................................... 1 CONTROL PANEL ................................................................................ 2 SYSTEM CONFIGURATION .................................................................. 2 RL02 Disk Drives...................................................................... 2 BREAK Key............................................................................... 4 Receive Speed ITransmit Speed .............................................. 5 Bootstrap Technique
    [Show full text]
  • Mdmdomd Software Product Description
    mDmDomD Software Product Description PRODUCT NAME: TOPS-10 for DECsystem 2020, Version 6.03\ Operating System SPD 7.6.0 DESCRIPTION: can modify them as necessary. The system operator This Software Product Description describes the controls the batch system and specifies all operating TOPS-10 monitor on the DECSYSTEM-2020. It should parameters. The operator has the power to select or be noted that the functionality of the TOPS-10 moni­ reject jobs, to suspend them, or to remove them from tor on a DECSYSTEM-2020 is not the full functionality the batch system. of the TOPS-10 monitor on DECsystem-10. This is User Command Language: due to differences between the DECsystem-10 and Through an easy-to-use command language, the user DECSYSTEM-2020 communication hardware. controls the running of his job. Specifically, he can: Under control of TOPS-10, the DECSYSTEM-2020 • Com pile, execute, and debug programs can service a range of job types and response re­ • Create and edit files; list, append, and delete files quirements, including any mix of timesharing and • Use available resources such as mag tapes, private batch. TOPS-10 allocates memory, storage, peripher­ disk packs, or other peripherals als, and processing time among system users, and has an installation-adjustable scheduler to control • Communicate with the system operator and request system operation. To service multiple users concur­ such services as the mounting and dismounting of rently, the DECSYSTEM-2020 uses multi-program­ disk packs and magnetic tapes ming and swapping. The monitor supports reentrant • Start, suspend, or terminate his job software; that is, only one copy of a reentrant lan­ • Spool output to line printer guage processor (or any reentrant program) need be • Determine status of the system and the resources memory-resident to serve multiple users simulta­ available neously.
    [Show full text]
  • Field Service Software Assistance Brochure
    FIELD SERVICE SOFTWARE ASSISTANCE BROCHURE O S - 8 Prepared by: Rick Moore INTRODUCTION This is a reference document for Field Service use in diagnosing system problems. The information presented in this chapter is extracted from various OS-8 reference manuals and literature which are listed in the appendix. It is not intended to be a course on OS-8 or a substitute for standard DEC software manuals. However, the topics presented here are some of the more commonly used features and some of the commands that should help you to better serve your customer through an enhanced knowledge of his OS-8 operating system. It is strongly recommended that you be extremely careful using your customer's software as a little knowledge is a dangerous thing. If you do work on a customer's files, be sure to use copies of his system only. Tell him what you feel the problem is and let him take any corrective action. OS-8 consists of an executive and library of system programs which reside on a mass storage device called a "system device". This could be a disk, dectape or floppy unit. The executive supervises the overall program processing and consists of the following four major components: - Keyboard monitor ( KMON ) - Command Decoder ( CD ) - Device Handlers - User Service Routine ( USR ) The Keyboard Monitor provides communications between the user and the OS-8 Executive. The root segment of the monitor resides perminently in memory and occupies 256 words. Commands from the console terminal are interperted and whenever needed, the Command Decoder, USR, KMON, and ODT are brought into memory in a series of overlays while the contents of the memory used is swapped out to the system scratch area.
    [Show full text]
  • Pdp-10 Time-Sharing Monitors: Multiprogramming Disk Monitor (10/40) Multiprogramming Nondisk Monitor (10/40) Swapping Monitor (10/50) Programmer's Reference Manual
    PDP-10 TIME-SHARING MONITORS: MULTIPROGRAMMING DISK MONITOR (10/40) MULTIPROGRAMMING NONDISK MONITOR (10/40) SWAPPING MONITOR (10/50) PROGRAMMER'S REFERENCE MANUAL For additional copies order No. DEC-T9-MTZA-D from Program Library, Digital Equipment Corporation, Maynard, Massachusetts Price $3.00 DIGITAL EQUIPMENT CORPORATION • MAYNARD, MASSACHUSETTS Original Printing April 1967 Reprinted July 1967 Revised November 1967 Reprinted March 1968 Revised May 1968 Revised October 1968 Revised August 1969 Copyright@ 1967, 1968, 1969 by Digital Equipment Corporation Instruction times, operating speeds and the like are in­ cluded in this manual for reference only; they are not to be taken as specifications, The fol lowing are registered trademarks of Digital Equipment Corporation, Maynard, Massachusetts: DEC PDP FLIP CHIP FOCAL DIGITAL COMPUTER LAB ii CONTENTS Page CHAPTER 1 INTRODUCTION 1. 1 Monitor Functions 1-1 1.2 User Facilities 1-2 1.3 Operating Technique 1-2 CHAPTER 2 MONITOR COMMANDS 2. 1 Console Control 2-1 2.2 Command Interpreter and Command Format 2-1 2.2. 1 Command Names 2-1 2.2.2 Arguments 2-1 2.2.3 Login Check (10/50 Monitor) 2-2 2.2.4 Job Number Check (10/40 Monitor) 2-4 2.2.5 Core Storage Check 2-4 2.2.6 Delayed Command Execution 2-4 2.2.7 Completion-of-Command Signal 2-4 2.2.8 Program Searching 2-4 2.3 System Access Control Commands (10/50 Monitor System Only) 2-5 2.3. 1 LOGIN Command {Swapping or Multiprogramming Disk Monitor) 2-5 2.3.2 SYSTAT Command (10/50 Monitor) 2-5 2.4 Facility Allocation Commands 2-6 2.4.
    [Show full text]
  • PDP-8 SYSTEMS MODULE Ill OS/8 ·- DEC/XS
    PDP-8 SYSTEMS MODULE Ill OS/8 ·- DEC/XS Student Guide EY-2849E-SG-0301 Student Guide List of Contents Page Section 1 OS/8 Operating Systems 1-1 OS/8 Command Formats· 1-A-l Section 2 DEC/XS Software System 2-1 Worksheets & Examples 2-A-l Job & Device Code Information 2-B-l. Status Registers 2-C-l Boot Information 2-D-l STUDENT GUIDE SECTION 1 OS/8 OPERATING SYSTEM 1-1 STUDENT GUIDE OS/8 INTRODUCTION The OS/8 Operating System is a sophisticated operating system designed for the PDP-8 family of computers. This system permits use of a wide range of peripherals and all available ·core up to 32K. OS/8 offers a versatile keyboard monitor that supervises a comprehensive library of system programs. These features make o S / 8 a s i g n i f i cant improvement in sm a 11 computer opera t i n g systems. 1-2 STUDENT GUIDE OS/8 OVERVIEW HARDWARE·CONFIGURATIONS The OS/8 system can operate with the following devices as the system device. TC01/TC08 DECtape LINCtape (PDP-12) TD8E .DECtape DF32/RF08 disk RK8E disk RK8 disk RX01 diskette The term system device refers to the device on which the. OS/8 system resides and which it utilizes for system functions. Thus, DECtape unit 0 is the system device for a DECtape-based system. A nonsystem device is any peripheral not specifically used for system functions, such as LPT:, PTR:, DTA2:, etc. A typical medium-sized system might contain a PDP-8/E with at least 8K words of core memory, TD8E DECtape and control, and .an RK8E disk pack and control.
    [Show full text]
  • RSTS/E Quick Reference Guide
    RSTS/E Quick Reference Guide Order Number: AA-EZ13C-TC August 1990 This manual describes the use of Del, System Utility Programs, and general programming information on RSTS/E. Operating System and Version: RSTS/E Version 10.0 Software Version: RSTS/E Version 10.0 digital equipment corporation maynard, massachusetts August 1990 The information in this document is subject to change without notice and should not be construed as a commitment by Digital Equipment Corporation. Digital Equipment Corporation assumes no responsibility for any errors that may appear in this document. The software described in this document is furnished under a license and may only be used or copied in accordance with the terms of such license. No responsibility is assumed for the use or reliability of software on equipment not supplied by Digital Equipment Corporation or its affiliated companies. Restricted Rights: Use, duplication, or disclosure by the U.s. Government is subject to restrictions as set forth in subparagraph (c)(1 )(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013. © Digital Equipment Corporation 1990. All rights reserved. Printed in U.S.A. The postpaid READER'S COMMENTS form on the last page of this document requests the user's critical evaluation to assist in preparing future documentation. The following are trademarks of Digital Equipment Corporation: ALL-IN-l DEUNA RSX DEC/CMS DIBOL RT DECdx EDT RT-ll DECIFMS-ll lAS TOPS-IO DECmail LA TOPS-21 DECnet LNOI ULTRIX DECnet/E Micro/RSX UNIBUS DECSA OS/8 VAX DECserver PDP VAXmate DECsystem-lO PDP-ll VMS DECSYSTEM-20 PDT VT DECUS Q-BUS WPS-PLUS DECworld RMS-ll Rainbow DELUA RSTS DEQNA mamaamD™ IBM is a registered trademark of International Business Machines Corporation.
    [Show full text]