How to make a compiled amos program self booting

Started by robertframpton, April 01, 2006, 05:21:46 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

robertframpton

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?

SamuraiCrow

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.

fxx

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)
A4000 [Apollo 040/40MHz]
2MB Chip, 128MB Fast
CyberVision 64 + Scandoubler
Ariadne II 10Mbit Ethernet
18GB Harddrive
52X CD-ROM