13-70
Disk Mode
Creating a Startup File
Creating a Startup File
You can create a macro file that will be automatically loaded when you power up your K2661.
This file, called the startup file, or boot macro, can be on a SmartMedia card or on a disk at any
SCSI ID. See the section on macros for background information.
The steps needed to create a Startup file are:
First, create a macro file called BOOT.MAC in the root directory of the disk that you will use as
the Startup disk. Specify in the macro the exact ordering of files that you would like to have
loaded into the K2661 when powered on. When you save the macro file, just name the file
BOOT, and the K2661 will add the .MAC extension.
Second, set the Startup parameter on the Disk-mode page to be the Disk ID of the Startup disk.
So, if your BOOT.MAC file was on a SmartMedia card, set the Startup parameter to SMedia and
make sure that you have the correct SmartMedia card in the drive when you next turn the K2661
on.
When the K2661 is powered on, it will display the following message (after the introductory
VAST logo):
||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||
About|to|load|startup|file...|||||||||||
||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||Cancel
The K2661 looks for a file BOOT.MAC in the root directory on the disk specified by the Startup
parameter. If the file is not found, or the disk cannot be accessed, you will get an error message.
The Startup load can be bypassed in the first few seconds after the K2661 is turned on, by
pressing the Cancel button.
If BOOT.MAC is found by the K2661, it will begin to load the macro file as if you had loaded it
explicitly from the Load function in Disk mode. When the macro has completed, you will see the
following:
||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||
Macro|BOOT.MAC|completed...|||||||||||||
||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||
The K2661 will go directly to Program mode afterwards.
Deleting Banks in a Startup File
You may want the Startup file to clear out one or all banks in the K2661 before loading files. This
could help overcome the problem of having “silent” copies of programs in your RAM that
depend on samples that are no longer there (because they disappeared the last time the K2661’s
power was turned off). The following trick will allow a macro entry to essentially function as a
Delete Bank or Delete Everything command: