The startup-sequence is a simple textfile. It contains a list of commands the AmigaDOS executes every time when booting with a bootable device (floppy disk, harddsik, cdrom etc…) which includes a startup-sequence.

AmigaDOS expects the startup-sequence in a folder called S, whereas this folder has to be in the root of the respective boot-device.
The startup-sequence is not mandatory, if there isn't any simply nothing will be executed on startup.
Every row in the startup-sequence can be a command. You can also do comments using the semicolon: Everything behind that semicolon will be ignored by the AmigaDOS.
The startup-sequence is similar to autoexec.bat under MS-DOS.

Take a look at this simple startup-sequence (row numbers are not included in original startup-sequence file of course):

01: ; This is a comment, it will be ignored
02: SetPatch QUIET ; This is a comment, too!
04: ; You are also able to use IF-Statements to do conditional branches
05: IF EXISTS Devs:Monitors/VGAonly
06:  Devs:Monitors/VGAonly
08: LoadWB

The above startup-sequence does the following:

  • 01: Ignores this line because it is a comment indicated by ';'
  • 02: Executes a command called "SetPatch" with the option "QUIET". The String behind this is ignored because it is a comment ';'
  • 03: Ignores blank line
  • 04: Ignores this line because it is a comment indicated by ';'
  • 05: Asks the AmigaDOS if a file called [{Devs:Monitors/VGAOnly}] exists, if yes goes to line 06, if no goes to line 07
  • 06: Executes a command called Devs:Monitors/VGAonly
  • 07: End of IF-Statement
  • 08: Executes a command called "LoadWB"

The startup-sequence is important to fileviruses because due the fact that every command which will be put in this file will be processed on startup the virus makes sure that it is started every time, too.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License