Hard disks provided by Amiga with your Amiga or as a hardware accessory are partitioned and preformatted so that you can start using your equipment right away. The necessary Amiga system software is already on the disk. Floppy disks with the system software are also provided should you need to re-install it. There is also an Install disk, which contains various hard disk specific utilities.
The examples in this book will assume that you have a hard disk with a boot partition named System: (containing Workbench and other Amiga software) and a partition called Work:, on which you keep your applications and their data.
In addition to working with the utilities provided with your Amiga, you will want to transfer applications from floppy disk to your hard disk. Running applications from the hard disk is much faster and more convenient than using floppy disks. Rather than inserting floppy disks each time you want to use a program, you can call up programs from the hard disk.
Most software can be installed on your hard disk, although some, particularly entertainment titles, cannot. Many applications provide an easy-to-use installation process. Read the manual that is supplied with a program carefully, as well as any ReadMe files on the disk. If a program includes installation directions, you should always follow them precisely.
In case you have a program without installation directions, this section demonstrates how to copy a generic program to your hard drive. In this example, we assume you are installing a program to the Work: partition. We recommend that you not create application drawers on the System: partition, but on Work: or some other partition. Keeping application software separate from AmigaDOS storage will make upgrading the system software easier.
You should create a new drawer for each application you install and name it accordingly:
If you are having trouble running a program from the hard disk, you may have to set up an ASSIGN statement for the software to run properly.
Usually, the indication that you need an ASSIGN statement comes in the form of a requester. For example, suppose you copied a program called WriteStuff from a disk of the same name into a drawer called WS in the Work: partition. When you try to run the software, a requester appears saying: Please insert volume WriteStuff in any drive.
This means that although you have already installed the program on your hard disk, the program itself is looking for the files it needs on the original disk (volume) on which it was distributed - in this example, the disk called WriteStuff. By using the ASSIGN statement, you will tell the system to look in the proper place on your hard disk to find the required files.
ASSIGN statements are AmigaDOS commands that are entered through the Shell. The following instructions will take you through the process of using ASSIGN statements.
The Shell is a window that you use to communicate with the Amiga via typed commands. In this case, you will use the Shell to enter the ASSIGN command in the User-startup file.
The User-startup file is a list of commands that tell the computer what to do when it boots up. You will need to put the ASSIGN statement into the User-startup file so that as soon as you boot your computer, your installed program will work.
The User-startup file is not on your disk as supplied; however, you will create the file the first time you follow this procedure.
If a requester similar to the previous example has appeared, select the Cancel gadget on the requester. The requester may appear again. Select Cancel each time it does.
This section demonstrates how to create an ASSIGN statement for a generic program on your hard drive. Refer to your Amiga manual for information on using the Shell.
To add an ASSIGN statement to your User-startup:
The Shell gives you a text "prompt" which ends in a ">". This is where you will type in an AmigaDOS command followed by a Return.
This command tells the Amiga that you ant to edit (create or make changes to) the User-startup file which is located in the directory called S:. ED tells the computer you will be using the text editor that is called ED. A text editor is a program that makes it possible to create and make changes in a text file.
You will notice that a new window will open. You are now using ED, and on the screen is the User-startup file. The first time you use it, it will be empty. This is where you will always enter your ASSIGN statements. If it is not empty, move the cursor so it is at the beginning of a blank line.
ASSIGN statements are set up as follow:
ASSIGN diskname: partition:drawer
In the previous example, you copied a program called WriteStuff to a drawer called WS in your Work partition.
You received a requester which said "Please insert volume WriteStuff into any drive." It is looking for the WriteStuff disk. In this case, your ASSIGN statement should read as follows:
Now that you have seen how to form an ASSIGN statement, you should have a better idea of what it does. You are "assigning" the name of the original software disk to the name of the drawer that now contains the program. Using the previous example, when you double-click on the program's icon, instead of the program looking for the volume WriteStuff (which is the original software disk), it will look in Work:WS (where Work: is the partition and WS is the name of the drawer).
The following example illustrates an ASSIGN statement if the software drawer is within another drawer. If you copied the same program into the WS drawer which is within a drawer called Projects, your ASSIGN statement would read:
ASSIGN WriteStuff: Work:Projects/WS
In order for the ASSIGN statement to work, you must make sure it is written properly. |
The following step tells you how to save the changes you have made to the User-startup file. (If you have made a mistake and want to exit the User-startup file without saving your changes: Type a Q and press Return. If a requester appears saying edits will be lost, type a Y. The ED window will close. Return to Step 2.)
You are returned to the Shell window.
To see if your ASSIGN statement worked, reboot your system (by pressing the Ctrl key simultaneously with both Amiga keys). Try opening the program from its icon on your hard disk. If you can use your software, you have created the ASSIGN properly.
If you created the ASSIGN improperly (such as typing in the wrong name of the software, partition or drawer) one or more of the following may happen:
If one (or more) of the drawers in the list exists in the new drawer, you must assign each to the corresponding device on your hard drive. The drawer most likely to be found in your new drawer is Fonts. Using the previous example, the following demonstrates ASSIGNing Fonts using the extended assign feature:
ASSIGN FONTS: Work:WS/Fonts ADD