Sirius 1 CP/M-86 Manuals
Total Page:16
File Type:pdf, Size:1020Kb
SIRIUS 1 User’s Guide for CP/M-86 sinus NOTICES COPYRIGHT © Sirius Systems Technology, Inc., 1982. All rights reserved. © Digital Research, Inc. 1982. All rights reserved. TRADEMARKS CP/M is a registered trademark of Digital Research, Inc. ASM-S-5, CBASIC-86, CP/M-86, and DDT-86 are trademarks of Digital Research, Inc. DISCLAIMER Sirius Systems Technology, Inc. makes no representations or warranties of any kind with respect to the contents hereof and specifically disclaims any implied warranties of merchantability or fitness for any particular purpose. Sirius shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material. Further, Sirius reserves the right periodically to revise this publication and to make changes in the content hereof without obligation of Sirius to notify any person of such revision or changes. > „ PROPRIETARY This document contains proprietary information which is protected by NOTICE copyright. All rights reserved. No part of this publication may be reproduced, transcribed, stored in a retrieval system, translated into any language or computer or transmitted in any form, without the prior written consent of Sirius Systems Technology, Inc., 380 El Pueblo Road, Scotts Valley, California 95066. PART NUMBER 100919-01 Printed in U.S.A. CONTENTS (1 S E f\ Gi u < D 1. Introduction 1.1 Manual Contents .............................................................................. 1 12 Manual Conventions ....................................................................... 2 1.3 Related Publications .............................. ......................................... 2 2. CP/M-86 Overview 2.1 Components ................................................................................... 5 22 Input/Output Devices ..................................................................... 5 2.3 Basic Operating Principles and Notes ............... ............................ 6 2.4 Entering and Modifying CP/M-86 Commands .............................. 7 2.5 File System .................................................................................... 7 2.5.1 File Specifiers ............................................................................... 7 2.52 CP/M-86 File Extension Conventions ......................................... 10 2.5.3 Valid and Invalid Fiie Specifiers ........................ .......................... 10 2.5.4 Wild-Card Characters .................................................................. 11 3. CP/M-86 3.1 Loading CP/M-86 . ........................................................................ 13 Basic Operating 32 Changing the Default Drive ............................................................ 13 Procedures 3.3 Changing Diskettes at the CP/M-86 System Level ........................ 13 3.4 Controlling Console Output ............................................................ 14 3.5 Loading CP/M-86 or Programs from Drive B ................................ 14 4. Device and 4.1 Diskette Formatting — The FORMAT Program ............................. 17 Media Management 4.1.1 Using FORMAT ............................... ........................................... 17 4.12 Using FORMAT Switches ............................................................ 18 42 Diskette Backup — The DCOPY Program .................................... 19 42.1 Using DCOPY with Interactive System Prompts ............................. 20 422 Using DCOPY without System Prompts ..................................... 21 4.3 Operating System Copy — The BOOTCOPY Program ............... 22 4.4 Device and Fiie Status — The STAT Program ............................ 23 4.4.1 Available Space on All Drives .................................................... 24 4.42 Available Space on a Specified D rive ......................................... 25 4.4.3 File Information ............................................................................. 25 4.4.4 Setting a Fiie or Diskette to Read-Only or Read-Write Status . 26 4.4.5 Excluding Fiie Names from the Directory .................................... 26 4.4.6 Displaying STAT Command Parameters .................................... 27 4.4.7 Displaying Drive Characteristics .................................................. 27 4.4.8 Physicai-to-Logicai Device Assignments .................................... 28 5. File System 5.1 The DIR Command ......................................................................... 29 Management 5.1.1 DIR Command Format ................................................................. 29 5.12 DIR Command Examples ............................................................ 29 52 The TYPE (Display) Command ...................................................... 30 5.3 The ERA (Delete) Command ........................................................ 31 5.4 The REN (Rename) Command ...................................................... 31 5.5 PIP — Peripheral Interchange Program ......................................... 32 5.5.1 Loading PIP ................................................................................ 32 5.52 Copying Files With PIP ............................................................... 33 5.5.3 Using PIP Parameters ................................................................. 35 5.5.4 Outputting Files To Logical Devices With PIP ............................ 36 5.5 The SUBMIT Command and .SUB Fiies ....................................... 38 U S t (ilO (Df 6. Creating and Editing 6.1 Activating the Text Editor ................................................................. 41 Text Files 62 Basic Operating Principles ............................................................... 41 6.3 Creating a Text F ile ......................................................................... 42 6.4 Editing an Existing File .................................................................... 42 6.5 Text Transfers Between the Edit Buffer and ASCII Files ............... 43 6.6 The Character Pointer ..................................................................... 45 6.7 Modifying Text ................................................................................. 46 6.8 Command String Usage .................................................................. 47 6.9 Sample ED Session ......................................................................... 48 6.10 ED Error Message and Error Indicators ........................................ 49 6.11 Alternate Character Summary ....................................................... 49 6.12 ED Command Summary................................................................ 50 Appendixes Appendix A: CP/M-86 Command Format Summary .......................... 51 Appendix B: CP/M-86 Error Messages ....................... ........................ 53 Appendix C: BDOS Error Messages ..................................................... 55 Appendix D: Error Codes and Definitions ............................................. 57 Appendix E SIRIUS Utility Error Messages ......................................... 59 VI FIGURES 2-1: File Specifier Structure................................................................ 9 6-1: Edit Buffer/Edit Fiie Interaction................................................... 44 TABLES 2-1: Logical and Physical Devices .................................................... 6 2-2: Alternate-Key Command-Line Editing Functions ....................... 7 2- 3: CP/M-86 Fiie Extension Conventions .................................... 10 3- 1: Console Output Alternate Characters .................................... 14 4- 1: STAT Command Options ....................................................... 24 4- 2: Physical-to-Logical Device Assignments................................. 28 5- 1: PIP Command Parameters ..................................................... 35 5- 2: Logical Devices and Special Terms Used With PIP .............. 37 6- 1: Edit Buffer - Text Fiie Transfer Command ............................ 43 6-2: Character-Pointer Related Commands ...................................... 45 6-3: Text Modification Commands .................................................... 46 6-4: Command String Alternate-Characters ...................................... 47 6-5: ED Error Indicators .................................................. .................. 49 6-6: Text Editor Alternate-Character Commands .............................. 49 6-7: Alphabetical List of ED Commands ........................................... 50 A-1: CP/M-86 Command Format Summary...................................... 51 B-1: CP/M-86 Error Messages ........................................................ 54 D-1: SIRIUS Error Code Definitions ................................................... 58 E-1: SIRIUS Utility Error Messages .................................................. 59 IX MANUAL PRINTING CONVENTIONS This manual uses two-color printing in examples to differentiate computer messages from user entries. Computer output is black, and user entries are grey. The following symbols and abbreviations are used in examples to represent pressing certain keys: -«-* represents pressing the Return key, and represents pressing the Space bar. Examples and parts of tables show Alternate function (Alt key) characters as bold face upper case letters. For example, the key sequence Alt C is indicated as C. XI 1 INTRODUCTION 1. INTRODUCTION This manual describes the CP/M-86 operating system,