The normal boot sequence can be used to run anything that you want loaded
before the desktop is started, such as:
* modules that define extra VDU modes
* obey files that define aliases, paths, set the library, etc.
* a BBC font file, replacing the system font
* sprite files to load replacements for Wimp sprites
* toolsprite files, for customized window borders
* some utilities that must be loaded before the desktop starts, e.g.
ToEdit, Larger
* obey files that set the Wimp$Path variable, to make the Wimp load
non-standard templates
The desktop sequence usually contains:
* applications that you want "seen" by the filer, e.g. !System,
!Fonts, !Paint or !ArcFS. That way the Wimp knows where to find modules
or fonts, and what to do when you double-click a Sprite or Archive file.
* applications that you want running after startup, because you use
them a lot: a backdrop program (!Menon, !PlaceIt, etc.) or your
favourite text editor.
* directories that you want to have opened, because they contain
files or applications that you are working on.
In the scheme above, the desktop boot sequence was called DeskBoot. In fact,
this file can have any name you choose, but it must be located in the same
directory.
Using the program
-----------------
The program is started by double-clicking on its icon in a filer window.
First it tries to read the existing boot sequences, from the disk it is
stored on. After that, the application installs itself on the icon bar.
Clicking with the Select button on the icon opens two windows, containing
the boot sequences. Clicking with Adjust closes them again.
Pressing the Menu button over the icon bar icon brings up the main menu.
Apart from the usual "Info" and "Quit", the main menu has three items:
Re-read files To read the boot sequences again, e.g. after you have
changed the file names, or messed up the sequences a bit.
File names Leads to a submenu-window in which you can view and edit
the file names of the sequences. The first name is that
of the boot directory itself, the second is the leafname
of the desktop sequence (the leafname of the first
sequence must be "!Run").
Save all Saves both sequences.
Loading the boot sequences
--------------------------
Two ways to load the contents of the boot sequences have already been
mentioned (at program startup, and with "Re-read files" from the menu).
A third way is to drop the icon of the directory $.!Boot on the icon bar
icon. This can be useful if MakeBoot is not run from the same disc as the
boot disc.
Editing the boot sequences
--------------------------
The sequence windows show the boot sequences. Each sequence consists of a
list of items (files, applications or directories). The window shows each
item as an icon with a leafname. To the right of this, you can see the
action, shown in red. This action is the command that is executed on the
item when the sequence is run.
Inside a sequence window, you have the following possibilities to edit:
* To add a new item to a sequence: drag a file or application from a Filer
window to the !MakeBoot sequence window. The new item is inserted into the
sequence; a default action is attached to the item (it depends on the type
of the item which action that is)
* To change the order of the items in the sequence: drag the item to the new
position. It is moved to just before the item that the mouse pointer was on
when you dropped it.
* To move an item to the other sequence: drag it to the other window
* To change the action that is attached to an item: click on the action with
Select or Adjust.
* You can "deactivate" an item. A deactivated item is shown in grey. Deactivated items are saved with the rest of the sequence, but they are not run: they are commented out (with a "|") in the file. This can be handy when you are experimenting with the contents of a sequence. Items are deactivated by clicking on their name with Adjust, or from the menu.
Clicking the Menu button above a sequence window brings up a menu with a
couple of choices:
Item ⇨ Inactive Toggles the "deactivated" setting for the item (see
above)
Item ⇨ Arguments ⇨ A writable submenu where you can enter the
command-line arguments that are attached to the item.
Item ⇨ Open parent Opens a Filer window on the parent directory, in
which the item is located.
Item ⇨ Change to root Changes the name of a directory to "$". This option
is needed if you want a Filer_OpenDir on the root
directory: there is no icon of the root directory that
can be be dragged to the window! In that case, drag
another directory in the sequence, and choose this
option.
Item ⇨ Delete Removes the item from the sequence.
Sequence info ⇨ Gives some info about this sequence.
Save sequence Saves this sequence to disc.
To !Boot
--------
Archimedes users with some experience probably know how to make their
machine run a boot sequence, but for those who don't, here is how to get it
done.
1) Create a directory called !Boot in the root directory of your harddisc.
2) Press F12, to go to the command line and enter the following commands:
*Configure Boot
(this tells your computer to boot from disc; the default is
NoBoot)
*Opt 4 2
(selects the boot action: the !Boot application will be run)
Before entering the last command, you should make sure that the
current directory is somewhere on the harddisc.
3) Depending on what kind of hardisc you have, you may need to set