Ultimate Amiga

Please login or register.

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

Author Topic: Compiling problems  (Read 3012 times)

0 Members and 1 Guest are viewing this topic.

Lonewolf10

  • AMOS Extensions Developer
  • AMOS Dev
  • A2000
  • *****
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 618
    • http://www.aliensrcooluk.com
Compiling problems
« 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

Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: Compiling problems
« Reply #1 on: December 20, 2009, 02:55:52 AM »

It won't even run without extension S.  Is that your extension?
Logged

Lonewolf10

  • AMOS Extensions Developer
  • AMOS Dev
  • A2000
  • *****
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 618
    • http://www.aliensrcooluk.com
Re: Compiling problems
« Reply #2 on: December 21, 2009, 04:33:33 PM »



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

Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: Compiling problems
« Reply #3 on: December 22, 2009, 04:21:03 PM »

Extension S commands appear on lines 116, 129, and 134.
Extension M commands appear on lines 164, 173, and 174.
Logged

Lonewolf10

  • AMOS Extensions Developer
  • AMOS Dev
  • A2000
  • *****
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 618
    • http://www.aliensrcooluk.com
Re: Compiling problems
« Reply #4 on: December 22, 2009, 05:27:48 PM »

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

Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: Compiling problems
« Reply #5 on: December 23, 2009, 03:51:37 AM »

You're welcome.  I'm glad you got it working.   :)
Logged
Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022