Ultimate Amiga

Network Boards => AMOS Language Discussion => AMOS Factory => AMOS Forum => Topic started by: robertframpton on April 01, 2006, 05:21:46 PM

Title: How to make a compiled amos program self booting
Post by: robertframpton on April 01, 2006, 05:21:46 PM
I have written a program in AMOS Professional which I have compiled and copied onto a floppy disk.
  How do you make the disk self booting so that the program will load from the disk after resetting the Amiga?
Title: Re: How to make a compiled amos program self booting
Post by: SamuraiCrow on April 01, 2006, 05:48:06 PM
Put your program in a drawer named C in the root directory of the disk, put the needed libraries in the LIBS drawer in the root directory of the disk, make a drawer named S in the root directory of the disk, create a text file with ED or some other text editor and enter the name of your compiled program on the first line.  Name the text file you created "startup-sequence" and save it in the S directory.
Title: Re: How to make a compiled amos program self booting
Post by: fxx on April 10, 2006, 08:12:46 AM
don't forget to add a bootblock to the disk, it's done with the command "install df0:" (df0: should obviously be replaced by the drive the disk is actually in)