Amiga.org

Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: evil_nerd on May 01, 2004, 02:12:47 PM

Title: Is Amiga BASIC any good?
Post by: evil_nerd on May 01, 2004, 02:12:47 PM
Hello,

I've got an Amiga 500 that now works, and I have a book on Amiga BASIC and a disk with Amiga BASIC. Is this any good???
Title: Re: Is Amiga BASIC any good?
Post by: Kronos on May 01, 2004, 02:15:10 PM
Lets see:

It is >15 years old.
It breaks ALL rules bout coding for Amiga
It doesn't use most of the Amiga-specifics
.
.
.
.
.IT WAS MADE BY MICROSOFT !!!!

Nuff said  :-P
Title: Re: Is Amiga BASIC any good?
Post by: seer on May 01, 2004, 02:16:20 PM
That's M$ Basic... Whadaya think ?

I guess it's okay to begin with, but it's old, dated and has been the day it was released..


[edit]
Kronos types to fast
[/edit]
Title: Re: Is Amiga BASIC any good?
Post by: Karlos on May 01, 2004, 02:16:39 PM
Amiga Basic? Is that the Microsoft version?

I suppose it depends on what you want to do with it. Never cared for Basic languages much, but I do remember Blitz Basic being quite handy at times.
Title: Re: Is Amiga BASIC any good?
Post by: lorddef on May 01, 2004, 02:16:45 PM
depends what you want to do with it. For reasonably simple stuff it should be fine, although for more complex stuff it will be inadequate.  I think there was blitz basic which was actually quite powerfull and had blitter functions and all that.

With amiga programming I really know {bleep}, just what I've heard from other folks, perhaps someone can expand on that.  Oneday when I have the time I will have a look at doing a bit of amiga c++.
Title: Re: Is Amiga BASIC any good?
Post by: Mikkihii on May 01, 2004, 02:30:37 PM
NO!! Not even for beginners.
Try BlitzBasic or Amos.
Title: Re: Is Amiga BASIC any good?
Post by: evil_nerd on May 01, 2004, 02:31:07 PM
IF ITS MICRO$OFT, I REFUSE TO USE IT
Title: Re: Is Amiga BASIC any good?
Post by: ChaosLord on May 01, 2004, 03:35:16 PM
Quote

I've got an Amiga 500 that now works, and I have a book on Amiga BASIC and a disk with Amiga BASIC. Is this any good???


No.

The following BASICs for Amiga are each 20x better or more:
True BASIC
Metacomco BASIC
A/C 97
HiSoft BASIC
AMOS
Ace BASIC
Blitz BASIC
COMAL
Basic V
GFA BASIC
bywater BASIC
Pure BASIC
Title: Re: Is Amiga BASIC any good?
Post by: Kronos on May 01, 2004, 04:00:06 PM
@ChaosLord

Dunno bout the others, but would you please scrap GFA-Basic from that list ?

That one is even worse than AmigaBasic  :-x
Title: Re: Is Amiga BASIC any good?
Post by: melott on May 01, 2004, 04:15:55 PM
@Evil_Nerd

Hay.. don't pay to much attention to what they say
about AmigaBasic. Yes its true it is MicroSoft basic
ported to Amiga and yes its Crap.

BUT for a beginner to learn on its good. Most of the
other basics are much harder to get started on, and
ACE basic 'IS' AmigaBasic with alot of improvements.

If you want to learn and start with AmigaBasic then
thats fine... you'll know when its time to move on
to AmiBlitz or Amos.
Title: Re: Is Amiga BASIC any good?
Post by: that_punk_guy on May 01, 2004, 04:37:13 PM
Quote

evil_nerd wrote:
IF ITS MICRO$OFT, I REFUSE TO USE IT


Yeeouch, no need to shout. ;-)

AmigaBASIC would have been a great learning language if the example programs were commented and documented properly. There's a ton of interesting stuff dealing with ILBMs and things, but as soon as you get to the meat of the program there's no explanation at all as to what it's doing. Shame.

There was a BASIC compiler called Cursor freely available, which was compatible with AmigaBASIC. I used to write stuff for that before I inevitably got bored of its limitations.
Title: Re: Is Amiga BASIC any good?
Post by: TheMagicM on May 01, 2004, 05:04:11 PM
Yes get rid of GFA!! I rented it, tried it out, and it sucked.  AmigaBASIC is ok.. but do try Blitz
Title: Re: Is Amiga BASIC any good?
Post by: Im>bE on May 01, 2004, 05:49:59 PM

My prefered Basic language
is Amiblitz2, the amiga sequel to Blitz Basic 2.

Blitz Basic 2 is good,
but Amiblitz2:

-Is 10 times more stable than Blitz2
 (Never or rarely crash)
-compiles code 8 times faster than Blitz2
-Has an optional optimizer
 that makes progs go 2-5 times faster
 than blitz2 compiled progs.
-Is free and opensource
-Is still supported
-Is 6 times more userfriendly than blitz2
-Has (acid) command guides included
 in the amiblitz2 archive on aminet


If you wanna code in basic on amiga,
then I HIGHLY reccomend amiblitz2.

It might be troublesome to get it working
on an a500 without hd or extra ram tho,
so the disk version of blitz2 by Acid
might be a better start.
Title: Re: Is Amiga BASIC any good?
Post by: Lo on May 01, 2004, 06:00:53 PM
The worst thing about AmigaBasic is not M$, its the fact that it is not 32 bit "pure".
Title: Re: Is Amiga BASIC any good?
Post by: Amiga1200PPC on May 01, 2004, 06:09:18 PM
It crashes, if you have more than 8 MB of RAM, because M$ is too damn stupid and is misusing the address bits.
Title: Re: Is Amiga BASIC any good?
Post by: HopperJF on May 01, 2004, 06:19:14 PM
Quote
Is Amiga BASIC any good?


It's made by Micro$oft, so what do you think?
Title: Re: Is Amiga BASIC any good?
Post by: melott on May 01, 2004, 06:33:35 PM
@Wishmaster

AmigaBasic 'WILL NOT' run in fast ram.
You have to run 'NoFastMem' to run it then its
quite stable.

I used to run it on my A3k with 80 megs ram with
no problems.

I agree AmiBlitz or Amos is a much better language
but for him to start on a minimum system like an
unexpanded A500, I say go with AmigaBasic.

ACE basic (AmigaBasic w/Compiler & Extras) has a compiler
and many extra libs.
The main problem I found with AmigaBasic is the
basic editor/interpreter, its real crap.
Title: Re: Is Amiga BASIC any good?
Post by: bloodline on May 01, 2004, 06:39:59 PM
Quote

that_punk_guy wrote:
Quote

evil_nerd wrote:
IF ITS MICRO$OFT, I REFUSE TO USE IT


Yeeouch, no need to shout. ;-)

AmigaBASIC would have been a great learning language if the example programs were commented and documented properly. There's a ton of interesting stuff dealing with ILBMs and things, but as soon as you get to the meat of the program there's no explanation at all as to what it's doing. Shame.
 


AmigaBASIC breaks every Amiga Programming rule... the worst thing is that it has no WaitEvent function, and the AmigaBASIC manual actually details Busy Loops!!! Basicly, if you write an AmigaBASIC program you fcuk with the amiga's multitasking and you have no access to the Amiga Hardware.

In a word: Pointless
Title: Re: Is Amiga BASIC any good?
Post by: melott on May 01, 2004, 06:55:26 PM
@Bloodline

I don't think he intends to rewrite AROS with it :-D

Just a place to start, and that is the point.
Title: Re: Is Amiga BASIC any good?
Post by: bloodline on May 01, 2004, 06:58:51 PM
Quote

melott wrote:
@Bloodline

I don't think he intends to rewrite AROS with it :-D

Just a place to start, and that is the point.


:lol:

Well the best place to start is Blitz Basic IMHO. It allows system friendly code, and allows AGA hardware bashing. If he just wants to hit the OCS hardware then AMOS it is.
Title: Re: Is Amiga BASIC any good?
Post by: Kronos on May 01, 2004, 06:59:30 PM
@melott

Actually it just won't run when RAM is installed beyond the 1st 16MB of address-space. Had no problem running it on an A2000 with 3MB.

It will get nasty if you got anything better than 68EC20, cos of it's stupid 24bit-addressing.
Title: Re: Is Amiga BASIC any good?
Post by: evil_nerd on May 01, 2004, 07:15:16 PM
I think I'm going to use Blitz Basic 2 then :-)

By the way, my Amiga 500 has 9Mb ram (so that will be 512Kb Chip, 512Kb Slow and 8Mb Fast) but I have not yet encountered problems running AmigaBASIC ;-)
Title: Re: Is Amiga BASIC any good?
Post by: melott on May 01, 2004, 07:27:13 PM
@Kronos

I have a couple of books that I've had for (many) years
and it states that AmigaBasic won't run in fast ram.

It was said that the people at Commodore were a little
peaved because AppleBasic, which is the same basic ported
to Apple ran in fast ram. It was rummored there was a
patch wrote for AmigaBasic to make it run in fast ram.
I couldn't find a copy of it or even confirm that the
patch actually exists.

Anyway I tried to run it in fast ram on my A3k but
always crashed. As long as I ran NoFastMem first it
ran fine.
I have run it on my A3k with A WarpEngine 040 @40 mhz.
It will also run in an 800 x 600 screen but the book
examples don't work correctly.
After all is said and done AmigaBasic is 'Crap' but a
good place to start IMHO.
Title: Re: Is Amiga BASIC any good?
Post by: Kronos on May 01, 2004, 07:40:47 PM
@melott

Amiga-trivia-question No. 51224:
Where does the onboard fast-ram of an A3000/4000 sit in in it's address-space ?

Hint, the 1st byte of that address is != 0  :-P
Title: Re: Is Amiga BASIC any good?
Post by: Doobrey on May 01, 2004, 08:47:45 PM
Quote

Im>bE wrote:

I HIGHLY reccomend amiblitz2.

It might be troublesome to get it working
on an a500 without hd or extra ram tho,


Yup, the latest updates of AmiBlitz needs an FPU to run.
But I`d choose Blitz/AmiBlitz over MS Basic anyday.
Title: Re: Is Amiga BASIC any good?
Post by: melott on May 01, 2004, 09:57:59 PM
@Kronos

You got me there :-)  I really don't know.
You're probably right ( I wouldn't know even if you were
wrong)
I was able to get AmigaBasic to run on my A3k and I
enjoyed playing around with for awhile.
I never tried to write anything useful with it, that
wasn't my goal. I had no real programing experience
and it was the easiest to start with.
At the time I had Blitz 2.1, AMOS and SAS C.
The learning curve is much higher on any of those as
compared to AmigaBasic, the choice was easy to make.
Title: Re: Is Amiga BASIC any good?
Post by: Markus_Bieler on May 01, 2004, 10:39:34 PM
Quote
It crashes, if you have more than 8 MB of RAM, because M$ is too damn stupid and is misusing the address bits.


Well at that time someone said 640KB should be enough :laugh:

But I recommend ace-basic to start with. Its Amiga-Basic compatible and it runs up to OS3.9 and CPU68060

(I'll still have to try it on the pegII)

Markus
Title: Re: Is Amiga BASIC any good?
Post by: Waccoon on May 01, 2004, 11:13:01 PM
I keep confusing AmigaBasic with ABasic.  They both sucked.  MS Basic is just too damn slow and crashes like crazy.  The only good thing about ABasic is that someone made a really good Monopoly game with it, but you still need ReloKick1.3 to run it.

If you want to learn programming, you're better off with Java for coding and PHP for scripting on the PC.  If you really want to work on the Amiga, AMOS is great for graphics, but lousy for data, and the IDE will drive you nuts sometimes, especially when it corrupts your code for no reason.  It's easy to use and a lot of fun, though.  I never gave BlitzBasic a shot on the Amiga, but I own the PC version, and I think it's pretty good.  The IDE is reasonable, and it empasizes time-based programming, which is a must if you want to evolve to a true system-level language later on, like C++ or Java.

Most Basic languages get you into really nasty habits, so you'll have to un-learn everything, anyway.  I went from AMOS to C, and boy did I learn a lot in the transition.  C makes so much more sense than AMOS if you want to do more than move sprites around.  If only there was an IDE and interpreter for C that granted you a bit more slack.  AMOS is still pretty good, though, because unlike many other Basics, it enforces variable scope, doesn't require line numbers (UGH!), and the IDE allows you to collapse procedures, which is a great substitute for having to #include everything.  I wish more IDEs did that!  Blitz doesn't support procedure collapsing, but it does make a shortcut list of all your functions, which makes browsing the code a breeze.

Me, I like PHP and HTML.  Well, I don't REALLY like them, but they're still better than most.  Perl is a nightmare.  Stay well clear of it if you know what's good for you!   :-)

Quote
By the way, my Amiga 500 has 9Mb ram (so that will be 512Kb Chip, 512Kb Slow and 8Mb Fast) but I have not yet encountered problems running AmigaBASIC

Maybe it only crashes if it USES fast RAM.  Best not try to mustitask with it, then.  ;-)