Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: How to make a compiled amos program self booting  (Read 5906 times)

0 Members and 1 Guest are viewing this topic.

robertframpton

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
How to make a compiled amos program self booting
« 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?
Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: How to make a compiled amos program self booting
« Reply #1 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.
Logged

fxx

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
    • http://viten.mine.nu:8080
Re: How to make a compiled amos program self booting
« Reply #2 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)
Logged
A4000 [Apollo 040/40MHz]
2MB Chip, 128MB Fast
CyberVision 64 + Scandoubler
Ariadne II 10Mbit Ethernet
18GB Harddrive
52X CD-ROM
Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022