WARNING: THIS APPARATUS MUST BE EARTHED! IMPORTANT: The wires in this mains lead 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 marking 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. 4. DOS SHELL The DOS Shell is a program that provides you with an alternate way to execute disk drive commands. Prompting messages take you step-by-step through each operation, making the use of the 1571 easier and more understandable. The Shell is automatically loaded when you insert the diskette, then turn on or reset the computer. You can enter or exit the Shell by pressing the F1 key. 4.1. LANGUAGE SELECTION The Shell displays its messages in any one of four languages: English, French, German, and Italian. When you enter the Shell, each language appears, in turn, on the screen for about six seconds. To choose one, press the SPACE BAR when it appears on the screen. You can skip to the next language without waiting the six seconds by pressing the CRSR-DOWN key. NOTE: The DOS Shell can be used in 40-column or 80-column mode. The only difference is a change in the layout of the screen. You can switch the screen size by pressing and holding down the ESC key while you press the X key. This must be done before you select a function from the primary menu screen (see below). 4.2. PRIMARY MENU SCREEN After a language is chosen, the primary menu screen appears. To choose a function, use the CRSR keys to position the cursor on that function and press the SPACE BAR. 4.3. DISK/PRINTER SETUP Within the Shell there are two drives: A and B. They are called logical drives because they reside only within the Shell. You can set them to represent a single disk drive unit, two single units, or a dual drive unit. Assuming you have a single unit, the usual setting is for A and B would show a device# of 8 and a drive# of 0. Those are the default settings (in other words, when you first enter the Shell, the Disk Setup is such that it represents a single unit). With two single units, you would change the device# of one of the Drives. The drive#s can stay the same. With a dual drive unit, you would change the drive# of one of the Drives. To change a setting, use the CRSR keys to position the cursor over the desired value and press the SPACE BAR. After you have changed any settings, press the F7 key to lock them in. If you change your mind, press the STOP key instead of F7 and the previous settings are left unchanged. The printer device# is selected in the same way. To change the device number of the actual drive (the physical drive), position the cursor on the 'CHANGE DISK DEVICE #' line and press the SPACE BAR. A message then appears on the screen guiding you through the steps to change the device#. If you change your mind before completing the steps, press the STOP or F5 keys to cancel the device# change. F5 returns you to the logical drive selections and STOP returns you to the primary menu screen. NOTE: Unless the Disk Setup is set for a single drive unit, when you choose any of the following functions, a question appears on the screen asking you which drive you want to use. In describing these functions, we'll assume that you have a single disk. If you have more than one, then you'll have to provide the appropriate answer to that question through the use of the CRSR keys and SPACE BAR. 4.4. RUN A PROGRAM This function automatically loads and runs a program file that you choose from a file list shown on the screen (for this function the file list contains only program files). Use the CRSR keys to position the cursor over the desired file, then press the SPACE BAR to choose that file. If you change your mind, press the F5 key to un-select the file. Press the F7 key to load and run it. If you press the stop key before the loading is complete, the function is canceled. NOTE: You can print out the file list, whenever it's displayed for a function, by pressing the F3 key. Make sure your printer is turned on and the paper is at the top of a page. 4.5. FORMAT A DISK When you select this function, a message appears on the screen telling you to insert a blank disk into the drive. After you do that, press the SPACE BAR and the Shell checks to see if the disk has already been formatted. If it has, the disk header information is displayed on the screen as a precaution that there may be files on the disk. To proceed with formatting, either enter a new disk name or accept the old one and press RETURN. If the disk was previously formatted, it retains its old ID code. If not, the Shell randomly generates one. You can enter your own ID code by entering a comma and two-digit number as the last three characters of the disk name. 4.6. CLEANUP A DISK This function enables you to validate the Block Availability Map of a disk (see the VALIDATE command in Chapter 2 or the COLLECT command in Chapter 3). 4.7. COPY A DISK Use this function to make backups of your diskettes. The disk drive setup (drives A and B) determines what type of copy is performed: single unit, dual drive, or two single units. Dual Drive or Two Unit Copy The Shell asks you from which drive you want to copy (use CRSR keys and SPACE BAR to select A or B). Insert the original disk into that drive and the copy disk into the other drive and press the SPACE BAR. Press the STOP key to cancel this function. The F5 key or SPACE BAR can be used to retry a disk operation if an error occurs. Single Drive Copy The Shell displays the following warning message: 'PROGRAMS IN MEMORY WILL BE DESTROYED'. Press the STOP or F5 keys to cancel the function at this point. Press the SPACE BAR to continue. Throughout this function you will alternately insert the original and backup disks according to prompts from the Shell. It takes from one to four swaps to complete the copy. The first time you insert the backup disk, it is formatted with the same disk name as the original disk, but a different ID code is generated. Then, each time you insert a disk, its ID code is checked to make sure that it's the correct disk. If it's not, an error message is displayed on the screen. If that happens, press the SPACE BAR or the F5 key to return to the last-used disk swapping prompt. If the STOP key is pressed, the function is canceled and the copy will be incomplete. 4.8. COPY FILES This function makes copies of selected files, the type of copy is determined by the Disk Drive Setup. Once you select the drive from which the files will be copied, the file list is displayed so you can select the files using the CRSR keys and SPACE BAR. You can "scroll" the list up or down using the CRSR keys. Once you position the cursor next to a file you want to copy, press the SPACE BAR. If you change your mind, press the F5 to un- select the file. After you have chosen the file(s) to be copied, press the F7 key to proceed to the copy function. A message is then displayed on the screen asking 'OK TO COPY FILE-LIST: N Y'. If you answer No (the default answer), the Shell returns to the file selection process. If you answer Yes, the copy proceeds according to the type of copy being used. Dual Drive or Two Unit Copy After you answer the 'OK TO COPY' question, the messages 'INSERT COPY DISK INTO DRIVE: X' and 'THEN PRESS SPACE' are displayed. After you do that, the message 'WANT TO FORMAT THE COPY DISK: N Y' is displayed. The default answer is No. If you answer Yes, the 'FORMAT A DISK' function begins at the point where you are asked to enter a new disk name for formatting. Whether you answer Yes or No to the formatting question, the Shell checks the available space on the copy disk against the total size of the selected file(s). If the copy disk can't hold all the files, a warning is displayed and you can press the STOP key to cancel the function or press the SPACE BAR to continue. NOTE: For any type of file copy, if the next file to be copied won't fit onto the copy disk, the following message is displayed: 'COPY DISK FULL - ANOTHER DISK: Y N'. If the answer is No (the default answer), the copy is terminated. If Yes, the function returns to the 'INSERT COPY DISK' message. Single Drive Copy After you answer the 'OK TO COPY' question, the following warning is displayed on the screen: 'PROGRAMS IN MEMORY WILL BE DESTROYED,' along with the instruction 'PRESS SPACE TO CONTINUE'. Press the F5 or STOP keys to cancel the function and retain any program in memory. You will alternately insert the original disk and the copy disk according to prompts on the screen. It takes from one to four disk swaps to complete the copy. The first time the copy disk is inserted, the 'WANT TO FORMAT THE COPY DISK: N Y' message is displayed. Again, whether the answer is Yes or No, the Shell checks the available space on the copy disk against the total size of the file(s) to be copied and alerts you if there isn't enough room on the copy disk. 4.9. DELETE FILES This function erases one or more files. Use the CRSR keys and SPACE BAR to select the file(s) from the file list displayed on the screen. After you've selected the file(s), press the F7 key and the following message is displayed: 'OK TO DELETE FILE-LIST: N Y'. If the answer is No (the default answer), the function returns to file selection. If the answer is Yes, the files are deleted. Press F5 to restart the file selection process from the beginning (canceling all previous selections). Press STOP to cancel the function. 4.10. RESTORE FILES This function restores one or more files that have been deleted. A file list of only deleted files is displayed on the screen and you again use the the CRSR keys and SPACE BAR to select the file(s) to be restored. Press F5 to 'un-select' a file. After you select a file, the Shell checks to see if it can be restored without corrupting other files. If not, the message 'CANNOT RESTORE FILE: file name' is displayed. If everything is OK, the file selection continues. As each file is selected, you are asked to 'CHOOSE FILE-TYPE: SEQ PRG USR'. Use the CRSR keys and SPACE BAR to choose. Relative files are automatically identified, so you needn't specify that type. Press F7 when you complete the file selection. The message 'OK TO RESTORE FILE-LIST: N Y' is displayed. If the answer is No (The default answer), the function returns to file selection. If the answer is Yes, the files are restored. 4.11. RENAME FILES The function changes the name of one or more files. Use the CRSR keys and SPACE BAR to select a file to rename. The message 'ENTER NEW NAME:' is displayed along with the original file name. You must now type in the new name or press F5 to return to file selection. Each new file name is checked to assure that it is unique. If it isn't, the message 'ERROR: FILE NAME NOT UNIQUE-RETRY' is displayed and the function returns to the 'ENTER NEW NAME:' message. After you complete file selection, press the F7 key and the message 'OK TO CHANGE FILE-LIST: N Y' is displayed. If the answer is No, you are returned to the file selection process. If the answer is Yes, the file names are changed. If you press the F5 key, the file selection process is restarted from the beginning. 4.12. REORDER DIRECTORY This function changes the order in which the file names appear in a diskette directory. After you select this function, you are asked if you 'WANT TO ALPHABETIZE DIRECTORY: N Y'. The default answer is No. If you answer Yes, the file names are automatically reordered alphabetically. If you choose to manually reorder the directory, select a file with the CRSR keys and SPACE BAR. Then use the CRSR keys to 'drag' the file name through the file list to its new location. Press the SPACE BAR to deposit the file name. After you press the F7 key to stop selecting files, the message 'OK TO RE-WRITE DIRECTORY: N Y' is displayed. If the answer is Yes, the reordered file list is written to the diskette directory. If the answer is No (the default answer), the file selection process is restarted at the 'WANT TO ALPHABETIZE: N Y' message, with all previous changes left intact. If you press the F5 key, the file selection process is restarted at the 'WANT TO ALPHABETIZE: N Y' message, with all previous changes canceled.