Econet System User Guide
Total Page:16
File Type:pdf, Size:1020Kb
THE ECONET SYSTEM USER GUIDE Copyright ACORN COMPUTERS LTD 1982 29 November 1982 403,100 Issue 1 Obligatory safety instructions for inclusion in the Econet documentation to cover; the BBC Microcomputer with a three core moulded plug, the System 5 with a three core conventional plug and a clock/terminator with a two core plug, should read as follows: WARNING: Systems 2, 3, 4 and 5 and the BBC Microcomputer must be earthed. IMPORTANT: The wires in the mains lead for the System 5 computer and the BBC Microcomputer are coloured in accordance with the following code: Green and Yellow - Earth Blue - Neutral Brown - Live As the colours of the wires in the mains lead of this apparatus may not correspond with the coloured markings identifying the terminals in your plug, proceed as follows: The wire which is coloured green and yellow must be connected to the terminal in the plug which is marked by the letter E or by the safety earth symbol or coloured green or green and yellow. The wire which is coloured blue must be connected to the terminal which is marked with the letter N or coloured black. The wire which is coloured brown must be connected to the terminal which is marked with the letter L or coloured red. In the case of apparatus supplied with a moulded plug, please note the following: If the socket outlet available is not suitable for the plug supplied, the plug should be cut off and the appropriate plug fitted and wired as previously noted. The moulded plug which was cut off should be disposed of as it would be a potential shock hazard if it were to be plugged in with the cut off end of the mains cord exposed. The moulded plug must be used with the fuse and the fuse carrier firmly in place. The fuse carrier is of the same basic colour as the coloured insert in the base of the plug. Different manufacturers plugs and fuse carriers are not interchangeable. In the event of loss of the fuse carrier, the moulded plug MUST NOT be used. Either replace the moulded plug with another conventional plug wired as previously described, or obtain a replacement fuse carrier from an authorised Acorn or BBC Microcomputer dealer. not necessarily the same shade of that colour. iii IMPORTANT:IntroductionThe wires in the mains lead for the mains adaptor for 1 the Acorn Atom or the Econet Clock or the Econet Termination accessories are coloured in accordance with the following code: Blue - Neutral Brown - Live As the colours of the wires may not correspond with the coloured markings identifying the terminals in your plug, proceed as follows: The wire which is coloured Blue must be connected to the terminal which is marked with the letter N or coloured black. The wire which is coloured Brown must be connected to the terminal which is marked with the letter L or coloured red. IMPORTANT: In the event of the fuse blowing, it should be replaced after clearing any fault, with a 3 Amp fuse that is ASTA approved to BS1362. C.B. Turner 3.12.82 iii 1 Getting going 2 1.1 Initialising the ECONET software 1.1.1 -On the BBC Microcomputer 1.1.2 -On the Atom 1.1.3 -On the Acorn Systems 3, 4, 5 1.1.4 The No Clock message 1.1.5 What next? 2 The file server 7 2.1 What is the file server? 2.1.1 Purpose of this chapter 2.1.2 Not starting the file server! 2.2 Simple file server commands 2.2.1 A single directory 2.2.2 Commands 2.2.3 Identifying yourself 2.2.4 SAVE 2.2.5 SAVE 2.2.6 LOAD 2.2.7 LOAD 2.2.8 Listing the directory - CAT 2.2.9 File information - INFO 2.2.10 EX/INF 2.2.11 DELETE 2.2.12 RENAME 2.2.13 File access - ACCESS 2.2.14 A note on file titles 2.2.15 Multiple file servers 2.2.16 Monitor messages 2.2.17 Summary 2.3 Creating and using a hierarchy of directories 2.3.1 Directories within directories 2.3.2 Creating directories 2.3.3 Filenames 2.3.4 Selecting directories 2.3.5 The ROOT directory and USERS ROOT directory 2.3.6 Selecting discs 2.3.7 Deleting directories 2.4 Owner and public access 2.4.1 Whats the difference? 2.4.2 Becoming the owner 2.5 Passwords 2.5.1 How they are used 2.5.2 Setting the password - PASS 2.5.3 The password file 2.6 User commands and libraries 2.6.1 Commands 2.6.2 Libraries 2.6.3 RUN and / 2.7 EXEC and SPOOL 2.7.1 EXEC 2.7.2 SPOOL 2.8 Auto-start facilities 2.8.1 SettingIntroduction option 1 2.8.2 Auto-start when logging on 2.8.3 Auto-start when resetting the machine 2.9 Utility programs 2.9.1 Bow to use them 2.9.2 INF 2.9.3 DISCS 2.9.4 USERS 2.9.5 Network utilities 2.9.6 PS 2.10 Random access 2.10.1 What is random access? 2.10.2 Channels - Opening and closing files 2.10.3 Random access in BASIC 2.10.4 Using the pointer 2.10.5 Interlocks 3 Using the File Server from Assembler 34 3.1 OSFIND 3.2 OSFILE 3.3 OSARGS 3.4 OSBGBP 3.5 OSBGET 3.6 OSBPUT 4 The printer server and printing 4O 4.1 What is the printer server? 4.1.1 Using a BBC Microcomputer printer server 4.1.2 Using an ATOM printer server 4.2 Printing from a station 4.3 Several printer servers 5 Communicating with other User Stations 42 5.1 Introduction 5.2 VIEW 5.3 REMOTE 5.4 ESCAPE and BREAK in REMOTE 5.4.1 On BBC Microcomputers 5.4.2 On ATOMs and Systems 5.5 ROFF 5.6 NOTIFY 5.7 Protection 5.7.1 PROT 5.7.2 UNPROT 6 Errors 47 6.1 Errors on the BBC Microcomputer 6.1.1 Error messages 6.1.2 OSWORD call to read error numbers 6.1.3 Line jammed 6.1.4 Net error 6.1.5 No clock 6.1.6 Bad TXCB 6.2 Errors on the ATOM and Systems 6.2.1 Error messages 6.3 Errors common to all machines 6.3.1 NOT LISTENING 6.3.2 NO REPLY 6.3.3 Channel 6.4 List of Errors 7 Supervising the network 51 7.1 General principles 7.2 Hardware requirements 7.2.1 A useful file server configuration 7.3 Discs provided 7.3.1 File server and DOS discs not compatible 7.3.2 The NETWORK UTILITIES DISC 7.3.3 The FILE SERVER MASTER DISC 7.3.4 Disc care and handling 7.4 Starting the file server program 7.4.1 Basic steps 7.4.2 Routine starting procedure 7.4.3 File Server Monitor 7.5 Initialising file server discs 7.5.1 Why necessary? 7.5.2 Formatting the disc 7.5.3 Initialising the disc maps 7.5.4 Creating the ROOT and PASSWORD file 7.6 Managing the password file 7.6.1 Forgotten passwords 7.7 Privileged users - setting privilege 7.7.1 The user SYST 7.7.2 Creating and deleting users 7.8 Changing discs 7.9 Copying from DOS discs 7.10 ARCHIVING! - Data security 7.10.1 Backup routines 7.10.2 Copying on the BBC Microcomputer file server 7.10.3 Copying on the system file server 8 Installing an ECONET network 64 8.1 Items required 8.1.1 Terminators 8.1.2 Clock 8.1.3 Cable 8.1.4 Sockets 8.1.5 Suppliers 8.2 Installing a network 8.3 Setting up the network 8.4 Fault diagnosis 9 Selecting a filing system 73 vii 9.1 On the BBC Microcomputer 9.2 On Systems 9.3 On the ATOM 10 Econet primitives 74 10.1 Introduction 10.2 TRANSMIT 10.2.1 Purpose 10.2.2 The TRANSMIT control block 10.2.3 Return from TRANSMIT 10.3 RECEIVING messages 10.3.1 Introduction 10.3.2 The RECEIVE CONTROL BLOCK 10.3.3 The Receive Control Block after reception 10.4 Broadcast 10.5 Immediate operations 10.5.1 Introduction 10.5.2 PEEK 10.5.3 POKE 10.5.4 Remote subroutine JMP 10.5.5 Remote procedure call 10.5.6 Machine type (Local PEEK) 10.5.7 HALT 10.5.8 CONTINUE 10.6 Protection 11 The BBC Microcomputer operating system interface 89 11.1 Introduction 11.2 TRANSMIT 11.2.1 Calling TRANSMIT 11.2.2 Polling the TRANSMIT block 11.3 RECEIVE 11.3.1 Opening a control block 11.3.2 Polling a receive block 11.3.3 Reading a receive block 11.3.4 Deleting a receive block 11.4 Immediate operations 11.5 Remote Subroutine Jump 11.6 Remote procedure call 11.6.1 Operating system procedure call 11.7 Protection 11.8 Other OSWORD calls 11.8.1 Reading and Setting State Information 11.8.2 File Server/Remote Machine Call 11.9 Other OSBYTE calls 11.9.1 Switching a REMOTE off from within REMOTE 12 The ATOM and System operating system interface 95 12.1 Introduction 12.2 Calling TRANSMIT 12.3 Receiving vii 12.4 Immediate commands 12.5 Remote Subroutine Jump 12.6 Remote Procedure call 12.6.1 Operating system procedure call 12.7 Protection 12.8 Memory allooation 12.8.1 Page zero 12.8.2 Page two 12.8.3 Other locations 13 The file server interface 99 13.1 Introduction 13.2 The user environment - Handles 13.3 Definitions 13.4 Command line decoding 13.5 Simple commands 13.6 SAVE 13.7 LOAD 13.8 Other command line operations 13.9 Other functions 13.9.1 Save - code 1 13.9.2 Load - code 2 13.9.3 Examine - code 3 13.9.3.1 ARG = 0 13.9.3.2 ARG = 1 13.9.3.3 ARG = 2 13.9.3.4 ARG = 3 13.9.4 Catalogue header -code 4 13.9.5 Load as command - code 5 13.9.6 Find (OPEN) - code 6 13.9.7 Shut (CLOSE) - code 7 13.9.8 Get byte - code 8 13.9.9 Put byte - code 9 13.9.10 Get bytes and Put bytes - codes 10 and 11 13.9.11 Read random access info - code 12 13.9.