Ultimate Amiga

Network Boards => AMOS Factory => AMOS Language Discussion => Topic started by: Toolkitman on September 24, 2018, 08:46:53 AM

Title: How to compile an AMOS Application
Post by: Toolkitman on September 24, 2018, 08:46:53 AM
Dear Amigans,
I have made two small demo and two apps in AMOS, i would like to compile it to run freely from AMOS, i dont know if there is an Amiga program to make this and what kind of extension the file will have. If a nice person can help Thank you!
 :o
Title: Re: How to compile an AMOS Application
Post by: Volvo_0ne on September 24, 2018, 07:07:09 PM
Dear Amigans,
I have made two small demo and two apps in AMOS, i would like to compile it to run freely from AMOS, i dont know if there is an Amiga program to make this and what kind of extension the file will have. If a nice person can help Thank you!
 :o

Firstly, Which version of AMOS ?
Title: Re: How to compile an AMOS Application
Post by: Toolkitman on September 24, 2018, 07:51:31 PM
Hello,
AMOS PRO i think 2.0 the one downloaded from this forum few days ago.
Title: Re: How to compile an AMOS Application
Post by: SamuraiCrow on September 25, 2018, 10:02:14 AM
AmosPro 2.0 includes a compiler.
Title: Re: How to compile an AMOS Application
Post by: Toolkitman on September 25, 2018, 10:50:17 AM
where is it and how i use it? thanks
Title: Re: How to compile an AMOS Application
Post by: SamuraiCrow on September 25, 2018, 02:32:14 PM
The compiler shell is usually in the same directory as AmosPro.
Title: Re: How to compile an AMOS Application
Post by: adrazar on September 25, 2018, 11:30:37 PM
where is it and how i use it? thanks
Sounds a bit to me like you haven't installed it yet, because it's hard not to find when you've got it. It can be downloaded from here: https://www.ultimateamiga.co.uk/index.php?action=tpmod;dl=item380 (https://www.ultimateamiga.co.uk/index.php?action=tpmod;dl=item380)
Note the remark on how to install in the download description...(!)

(The v1.12 update must be installed first, you can find that one in the downloads section too.)
Title: Re: How to compile an AMOS Application
Post by: Toolkitman on September 26, 2018, 04:57:46 PM
I installed the Compiler from the files in the download section, and i compiled successfully an animation. I have a behaviour issue, and i had it sometimes before, when i load an amos program my mouse cursor go all way down and disappear from the screen, if i try to get it back it come back there. What is this problem?
Thank you for your help
Title: Re: How to compile an AMOS Application
Post by: Toolkitman on September 26, 2018, 11:54:13 PM
i have found that pressing the ctrl the mouse cursor come back to work, like if the keyboard has a button problem, it's an old a1200 keyboard but under linux seems working fine, with workbench 3.1 i have 3 issues pressing 2 i have "2p" pressing x it go to next line after writing x and ctrl sometimes make that mouse cursor crazy.
Title: Re: How to compile an AMOS Application
Post by: Toolkitman on October 04, 2018, 01:38:01 AM
If i try to open one of the compiled workbench application made by me in another fresh workbench os i get an error Information: cannot open AMOS.library (2.00 or over). Where can i find this library? Thank you
Title: Re: How to compile an AMOS Application
Post by: SamuraiCrow on October 04, 2018, 01:44:44 AM
It should be on your AmosPro boot disk in the libs subdirectory in root.  You may need to do "show all files" in Workbench 2 or better, otherwise use the CLI or another file utility to copy the file.
Title: Re: How to compile an AMOS Application
Post by: Toolkitman on October 04, 2018, 01:58:11 AM
Thank you found it an put on Libs folder in amiga 3.9 workbench, but now i have a File not Found error.
Title: Re: How to compile an AMOS Application
Post by: Toolkitman on October 04, 2018, 02:02:59 AM
It was a path destination problem the folder mast have the same path as in the programmed code i think.
Title: Re: How to compile an AMOS Application
Post by: Kaligon75 on March 19, 2019, 11:31:30 PM
I'm sorry to answer after so long time, I hope it can still be helpful. I discovered this simple method to create a bootable floppy disk for Amos programs:
1) format a floppy disk
2) compile your Amos program in CLI mode
3) create "S" folder in the empty floppy disk, move in folder and create a startup-sequence file with 'ed' command
4) in the editor type the name of the compiled Amos program file and save it
5) naturally copy the amos compiled file program in the floppy disk and copy also all the needful files to run the program (iff, abk, etc.)
6) from CLI window type "install df0:"
Finish !!! Now your floppy disk should start by itself !!!