Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: melott on February 08, 2003, 02:17:56 AM

Title: AmigaBasic
Post by: melott on February 08, 2003, 02:17:56 AM
Hello....
 I know this is going to sound silly when all these
 newer and better languages are available but
 I would like to run AmigaBasic. I want to learn and
 I have a book I bought many years ago on AmigaBasic. This book will take an IDIOT (me) and
lead him by the hand through the process. I have
several other programing languages but
AmigaBasic seems the easiest to start with.
The problem is it doesn't seem to run on my A3000.
 I've setup a seperate boot drive on my HD and installed Dos 1.3.
I'm wondering IF it will run on an A3000???
It seems to run but I can't load or save a file.
I don't think the prg.file will run eather.
I've went through the usual things, assigning &
pathing and such.
It doesn't even run when I try strictly from floppy.
Does anyone know how to make it run on an A3000??
I'm sure it ran on my A500.
Any help out there??

Mel Ott :-?
Title: Re: AmigaBasic
Post by: iamaboringperson on February 08, 2003, 02:28:58 AM
Quote
The problem is it doesn't seem to run on my A3000.
LOL!
people say that program was crap - because it was CRAP!

throw that book away and find another basic
like blitz basic

or even better, grow up, be a man and use C, C++, or assembler!
or just about anything else for that matter!

im sorry, but you just cant run amiga basic on the A3000, unless your using UAE!
speaking of emulation, try an ibm-pc emulator & run QBASIC, there almost the same
 :-)
Title: Re: AmigaBasic
Post by: teo on February 08, 2003, 02:58:22 AM
Try using hisoft basic. It came out on a coverdisk at one point (i think i have a copy of it if you need, email me) but the coverdisk is crippled, i think it will only compile a certain number of lines (thousands???) but is still way cool for starting out and you can create some pretty sweet mini apps with it.

The code is (i think) 100% compatible with amigabasic, however the biggest advantage is that instead of runing the programs interpreted, it will compile them to binaries, so it runs heaps faster and you can make standalone executables with it. Muchos good.

However it is BASIC in the end, and you should not concetrate too hard on it, If you want an easy programming language to move to, try java. Its a very well formed and wisely constructed language, and a good stepping stone to c++ etc.

Personally i would LOVE to see a new language, with the syntax of java but compiles to binaries like c++ and no, a jit compiler for java it not what im talking about. Perhaps some precompiler that converts the java source to c++ files??? it so crazy, it just might work!
Title: Re: AmigaBasic
Post by: Sidewinder on February 08, 2003, 04:30:27 AM
Hello Melott.

I would venture to guess that AmigaBASIC will not work on your A3000.  There are a couple of reasons for this:

1.  AmigaBASIC was designed for use with Kickstart 1.x ROMS only so, unless you have the ability to switch to 1.x ROMS via hardware or software, many of the file requesters and things will not work properly.  The A3000s came with 2.x ROMS and these can usually only be changed by installing additional hardware.

2.  AmigaBASIC was designed to work with a 68000 processor only.  There were some changes made to the 68020 and 68030 processors found in later Amigas (A3000 and newer) that make AmigaBASIC crash.  The problem has something to do with storing additional information in unused areas of processor registers or some such non-sense.

Your only real solutions are to either buy an old A500 with OS1.3 or use an emulator such as Amiga Forever or WinUAE to emulate the 68000 processor and the 1.x ROMS.

There are also some patches available on Aminet (http://wuarchive.wustl.edu/~aminet/) that you can try to use to patch the AmigaBASIC executable to overcome the 68000 only problem.  However, you will still need the 1.x ROMS.

There are also some AmigaBASIC compilers on Aminet (http://wuarchive.wustl.edu/~aminet/) .  These may work on newer OS revisions.  It's worth a look anyway.

AmigaBASIC may be old and buggy, but it is still a good language to learn from.  If you have a good AmigaBASIC book there is no reason you shouldn't be able to use it.  If you have any other questions feel free to ask me.
Title: Re: AmigaBasic
Post by: on February 08, 2003, 05:21:28 AM
I suggest that you look into Python. It really is a good language to start out on.
Title: Re: AmigaBasic
Post by: Desmon on February 08, 2003, 06:03:45 AM
AmigaBasic (c)Microsoft! (do I need to say any more?) won't run with Fast memory enabled. Try the NoFastMem on your 1.3 disks.
Title: Re: AmigaBasic
Post by: analogkid on February 08, 2003, 07:59:06 AM
there are 2 good compilers in Aminet, which use the AmigaBASIC-logic.

1. The ACE paket. It has several extensions to AmigaBASIC (usage of OS 2.x Features) and it allows System-Programming via Include-Files.

2. Cursor. It's practically nothing more than an AmigaBASIC Compiler. Try it and see if it works for you.

IMHO there's nothing against learning programming with AmigaBASIC. That what it was famous in the good old (sniff) Amiga-Days.

I can recommend ARexx as well. There are many good tutorials and programming examples in Aminet.
Title: Re: AmigaBasic
Post by: Dagon on February 08, 2003, 09:27:54 AM
M$Basic sucks :-P Try Amos which is very easy or Blitz which is OS-friendly (or am I wrong?) and faster.

Nice programming language is also Arexx, you can make also GUI programs with RxMUI (http://us.aminet.net/util/rexx/rxmui.lha)

for serious programming I`ll recommend to you C++.
Guys will AmigaOS 4.0 have a C++ API? This would be very neat. (http://amiga.org/images/subject/icon6.gif)
Title: Re: AmigaBasic
Post by: Lo on February 08, 2003, 10:56:01 AM
AmigaBasic is not 32 bit "pure", another fine example of brillant programming by microsoft, like the 640K "limit".
Title: Re: AmigaBasic
Post by: peroxidechicken on February 08, 2003, 11:38:51 AM
AmigaBASIC may have a problem on 32 bit processors but it worked fine on my old A2000 with 3.1 rom.  If you've got a fast enough pc or mac to run UAE then it's probably the easiest way for you to get started with that book of yours.  

(Don't listen to detractors!  Amiga basic is as good a learning tool as any) :-)
Title: Re: AmigaBasic
Post by: Atheist on February 08, 2003, 12:48:45 PM
I don't know how good it works on machines after the 68000 (you have a 68030 CPU), but Amos Professional and the compiler, are GREAT. Easy to use, and you can even use machine language (very complicated).

It is very similar to Amiga Basic, but MUCH faster and WAY more stable.

When you write your code with Amos Prfessional, you can compile it, which means, you make 1 file, which you can give to someone else and it will work on their computer, by itself. If you have pictures, animations, or sound, they are separate files, which need to be given as well. They can be in the same, or other directories, it depends how YOU want it to work. When you compile a program, the person you give it to, has no idea what instructions you used to make it work (it also speeds it up, as much as 10 times). There are ways of examining your code, but 1 in 1000 programmers know how to.

The best news for you is, ITS FREE. The genius programmer Francois Lionet gave it away as freeware. It was for sale at 1 time (I think it became free around 1995), and has a 400+ page manual available, some stores on the net still have them (used) available. Get it, learn it, make some games, hehe.

Get it at http://www.back2roots.org/Tools/Dev/

Get Amos Professional 1.0   6 disks
the version 1.2 update
and the version 2.0 update (this one comes with the compiler)
Be careful to not get the regular compiler.

Aminet has 1000's of programs for it.

I don't know if Amos 3D is of any use, you should give it a try, available from the same location and free.

Only flaw, not able to access AGA graphics, although, some people tried to enhance it to do so, but I don't know how successful they were.

Get it, and find out why AMIGA is the greatest computer EVER!

Amiga! "The fun dispenser!!!", Jim, Mission Hill.
Title: Re: AmigaBasic
Post by: ple3003 on February 08, 2003, 01:45:24 PM
I would go for Amos, but blitz basic isn't that bad either. I can assure you that Amos is a dream to use  compared to AmigaBasic. Trust me.
Title: Re: AmigaBasic
Post by: alx on February 08, 2003, 01:52:36 PM
Don't even think of using AmigaBasic - it really is a dead-end route.  Since all BASIC compillers use pretty much the same syntaxes, just pick up AMOS or Blitz.  I was always an AMOS person, but I've heard that it isn't as system friendly Blitz.

Blitz is being developed as commercial s/w for the PC, but go to www.blitz-2000.co.uk (http://www.blitz-2000.co.uk/) and you will find an updated version of Blitz 2, called AmiBlitz2 .

Another alternative is PureBasic (http://www.purebasic.com/), very similar to Blitz.  It has support for PPC, and other OSes (Linux, Windows).  It's not free though, but you can get a great demo.

AMOS, as Atheist said, is released for free.  There are a few people developing AMOS-like languages - have a look in Sourceforge if you are interested.

Blitz would probably be more OS4 compatible, but that's just my guess.
Title: Re: AmigaBasic
Post by: on February 08, 2003, 02:49:51 PM
Go to www,truebasic.com and get your free version of TrueBasic by the inventors of the basic programming language that should run on your AmigaOne under linux.  Their student books for learning basic are great.

If you are lucky you might have the older version they produced for the Amiga when it was in its prime.  My same source code with graphics runs on Amiga, Linux and PC without change.  It is very structured and quick to learn.  My version of Amiga TrueBasic runs on all Amiga's.
Title: Re: AmigaBasic
Post by: on February 08, 2003, 02:52:25 PM
Correction - The free linux version does not include the graphics.
Title: Re: AmigaBasic
Post by: iamaboringperson on February 08, 2003, 08:54:22 PM
dont listen to people who tell you to get AMOS!

it doesnt support multitasking very well
no intuition screens
no RTG
no intuition windows
very limited

blitz basic is much better! you can make your programs look about as proffesional as C programs

most of the book you have should be ok for any kind of basic
Title: Re: AmigaBasic
Post by: melott on February 11, 2003, 03:20:50 PM
I thank all the people who responded with
advice. I have a (in my opinion) good reason
for starting with AmigaBasic. True, its crap,
but there are lots of books on it and they give
good detailed explanations on how and why
things are done the way they are. For someone
of just average inteligence that is a big plus.
Once I understand the concepts I'll move on to
something better. AmiBlitz is free on aminet.

And yes AmigaBasic does run on an A3000.
It took a little fiddling, but it does run.
If anyone is interested, Email me and I'll let
you know what it took to make it run.

Mel Ott
 ;-)
Title: Re: AmigaBasic
Post by: odin on February 11, 2003, 03:35:28 PM
Good on ya! So when can we expect your port of OpenOffice? :crazy:
Title: Re: AmigaBasic
Post by: Darrin on February 11, 2003, 05:33:00 PM
Am I the only person that owns "GFA Basic 3.0" for the Amiga?  No-one ever seems to mention it...

Just wondering... ;-)
Title: Re: AmigaBasic
Post by: MarkTime on February 11, 2003, 05:49:48 PM
I know everyone has already responded, but if I were a complete newbie starting out, I would choose REBOL to learn.

It's just as much not 'C' or any language that you really need to learn if you want to do this for a living, but its FREE, its current, its cross platform, its done up by Amiga legend Carl Sassenrath, and finally....whew, its what you want, a well documented easy to learn language for begginners.

In my humble opinion, while I see your valid points for Amiga Basic (printed books! yes!...I agree that is good)...

in the end Rebol is better because it has an active user community now....
Title: Re: AmigaBasic
Post by: Tafka on February 11, 2003, 06:11:02 PM
Wasn't Amiga Basic created by HiSoft, not Microsoft?
Title: Re: AmigaBasic
Post by: Atheist on February 11, 2003, 07:26:42 PM
Don't waste your time with the original AmigaBasic by microsoft.

Get some Amos programs, look at the SOURCE code, then look at the source code of some Blitz basic programs. They have to be programs that are at least 200 lines long. Then try to read them. My arguement is, it's easier to understand Amos, but the others are right about Blitz being more OS friendly (ie, access to the AOS GUI).

Amiga! I can't wait to have some 800MHz FUN!
Title: Re: AmigaBasic
Post by: Desolator on February 11, 2003, 09:06:02 PM
I would like to recommend BlitzBasic for the PC platform too for those that want to try out different development tools. While it's not an Amiga program it's one of the few software packages for the PC that actually feels like Amiga. (probably because it's done by ex-Amigans) Great GUI, nice tutorials..an overall great product. The support for it is excellent too. I'd say it's Amos for the PC.

(a VERY good thing to buy to kids by the way so you folks that want your kids to start programming, get this. :)

oh, now I got to install Amos again on my A1200.. was a while ago. (got the original box. That's a neat size for a package. ;)
Title: Re: AmigaBasic
Post by: melott on February 11, 2003, 09:20:54 PM
OK OK....
I'll explain myself again..
I  OWN .. (nothing pirated) AmigaBasic, Blitz,
AmiBlitz, Amos Pro& Amos 3D, GFA basic,
SAS C, Dice C and a ML assembler.
I have all the manuals.
The reason I wanted to start with AmigaBasic
is because the manuals are the easest to
understand. Everyone had to start at the begining.
I have looked through all these manuals and
The origonal AmigaBasic manual explains things
better than any of the others. And when you are
starting from scratch its a big difference.
Maybe there are some people who can pick up
a book on "C" , read it and say "sure..piece of cake"
but I'm NOT one of them.
SO I choose to start with the easiest , best
documented one "AmigaBasic". Any or all these
others will come after I finish AmigaBasic tutorial.
It just make sense to me to do it that way.

Mel Ott

 :-D
Title: Re: AmigaBasic
Post by: Desolator on February 11, 2003, 09:23:43 PM
That's exactly what I did. :) But I chose Easy Amos instead of AmigaBasic, and later Amos.
Title: Re: AmigaBasic
Post by: Atheist on February 11, 2003, 09:37:07 PM
Hi Melott,

Come back in 2 or 3 months and tell us if you like programming, or gave up in utter frustration.

Amiga needs more coders, and it's loads of fun, too!

They call it "Amos, the Creator" and they're not kidding!!

This applies to any language you use, of course (well not ms Amigabasic, anyhow).

Amiga! Used by control phreaks, the world over.
Title: Re: AmigaBasic
Post by: teo on February 12, 2003, 12:36:47 AM
Quote
The reason I wanted to start with AmigaBasic
is because the manuals are the easest to
understand


In which case, i would still recommend HisoftBasic, its the exact same language, but more compatilble and much faster to execute, along with other benefits. Using it will allow you to skip to step of worrying how to install and run the muchos buggy Microsoft Amiga Basic...