Ultimate Amiga
Network Boards => AMOS Language Discussion => AMOS Factory => AMOS Professional Forum => Topic started by: Lonewolf10 on December 19, 2009, 10:57:54 PM
-
Hi,
I'm having problems compiling a program - AMOS DEMO (attached).
I'm trying to see what it looks like when compiled, but the compiled program crashes when I try to run it. At first I thought it was to do with my own extension, so I removed that from the AMOS setup before compiling. Still no joy :(
This is the first time (I think) that I have tried using procedures in a program. Could that be it?
Regards,
Lonewolf10
-
It won't even run without extension S. Is that your extension?
-
It won't even run without extension S. Is that your extension?
No, my extension goes in slot 24 (Extension Y). Extension S is slot 19, which is currently setup for MusiCRAFT. The only other extension that I have that uses that slot is the JD-K3 extension. Can you give me the line number(s) that it is on? That may be the route of the problem - not all extensions compile successfully (including mine, at present!), but can work flawlessly within the editor.
Regards,
Lonewolf10
-
Extension S commands appear on lines 116, 129, and 134.
Extension M commands appear on lines 164, 173, and 174.
-
Extension S commands appear on lines 116, 129, and 134.
Extension M commands appear on lines 164, 173, and 174.
Extension M commands are Blit Clear (line 164) and F Draw (lines 173+174).
Extension S commands are Wb Prefs (line 116) and Set Wb Prefs (lines 129+134).
However I found the problem tonight. Somehow the banks were corrupted slightly. I took the banks out and reloaded in the data and all works fine when compiled now.
Thanks for your help anyway.
Regards,
Lonewolf10
-
You're welcome. I'm glad you got it working. :)