Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: motorollin on January 29, 2009, 08:31:32 PM

Title: Loading files in AmigaBasic
Post by: motorollin on January 29, 2009, 08:31:32 PM
I have downloaded an AmigaBasic programme and am trying to load it in to the AmigaBasic interpreter. When I enter the name of the file I get an error saying "File not found". It does this even if I give the full path to the file. Any ideas?

--
moto
Title: Re: Loading files in AmigaBasic
Post by: SamuraiCrow on January 29, 2009, 08:39:51 PM
I seem to recall that AmigaBasic is buggy but there is a utility with ACE Basic that will convert AmigaBasic source files to plain text so you can read them and try to compile them with ACE.
Title: Re: Loading files in AmigaBasic
Post by: zipper on January 29, 2009, 08:42:08 PM
On which system?
Title: Re: Loading files in AmigaBasic
Post by: motorollin on January 29, 2009, 09:02:23 PM
Thanks! The AmigaBasic programme is already in an ASCII file. I have just downloaded ACE Basic and tried to use it to compile the AmigaBasic programme, but it failed with loads of errors. Do you know if I need to do something to make it interpret the source as AmigaBasic? I did have a look in the manual, but couldn't see anything specific about this.

--
moto
Title: Re: Loading files in AmigaBasic
Post by: motorollin on January 29, 2009, 09:04:09 PM
@zipper
Amiga OS3.1 under UAE.

--
moto
Title: Re: Loading files in AmigaBasic
Post by: zipper on January 29, 2009, 09:10:19 PM
Amiga Basic doesn't work on KS2.+ IIRC - or was it 020 + processors?
Title: Re: Loading files in AmigaBasic
Post by: SamuraiCrow on January 29, 2009, 09:27:39 PM
It was both, AFAIK.  Try emulating a straight 68000 with Kickstart 1.3 and it should work.  ACE isn't 100% AmigaBasic compatible so getting stuff to compile sometimes takes some work.
Title: Re: Loading files in AmigaBasic
Post by: ferrellsl on January 29, 2009, 10:22:18 PM
You also have to run the NOFASTMEM utility for AmigaBASIC to run porperly.
Title: Re: Loading files in AmigaBasic
Post by: bloodline on January 29, 2009, 11:42:04 PM
AmigaBasic... Hassle... just rewrite it in C... :lol: ;-)

To run AmigaBasic, you'll need to set UAE up to be pretty much a stock 1.3 A500 :-(
Title: Re: Loading files in AmigaBasic
Post by: motorollin on February 03, 2009, 09:18:56 AM
Quote
SamuraiCrow wrote:
It was both, AFAIK.  Try emulating a straight 68000 with Kickstart 1.3 and it should work.

Ahh that worked. It runs now! I do get an error that it can't find graphics.library, which is weird since it seems to be resident. I removed the line which tries to load it but then certain functions of the app don't work :-(

--
moto
Title: Re: Loading files in AmigaBasic
Post by: motorollin on February 03, 2009, 09:19:36 AM
Quote
bloodline wrote:
AmigaBasic... Hassle... just rewrite it in C... :lol: ;-)

That would spoil the nostalgia :-)

--
moto
Title: Re: Loading files in AmigaBasic
Post by: bloodline on February 03, 2009, 12:58:09 PM
Quote

motorollin wrote:
Quote
bloodline wrote:
AmigaBasic... Hassle... just rewrite it in C... :lol: ;-)

That would spoil the nostalgia :-)

--
moto


Ok, recode it in C and compile it with SAS/C 6 :-D
Title: Re: Loading files in AmigaBasic
Post by: motorollin on February 03, 2009, 01:04:21 PM
Quote
bloodline wrote:
Ok, recode it in C and compile it with SAS/C 6 :-D

:lol: I might try...

Anyway, I got it working! For some reason it didn't like being opened in to AmigaBasic as loaded from the Extras 1.3 disk. When I ran it from the disk as it is supposed to be, it worked. Not sure what the difference is - perhaps a tooltype in the icon sets some paths or something.