Welcome, Guest. Please login or register.

Author Topic: Gfa basic  (Read 4564 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline AmigaBrunoTopic starter

Gfa basic
« on: June 30, 2013, 01:12:36 PM »
I recently bought a copy of GFA BASIC V3.5 for the Amiga, which was a manual and one floppy disk. The date on the manual is 1990, but it says it was first printed then, so this may be a reprint. A section at the back lists all the new commands for version 3.5 instead of incorporating them into the main part of the manual. I had never used GFA BASIC before this year, probably because it first appeared on the Atari ST. I used AmigaBASIC and AMOS. I probably assumed that any programs written in GFA BASIC would look like ST programs, but I was wrong. I enjoyed the example programs, which include HAM graphics and sprites. Any programs I've seen so far written in this language look like Amiga programs with Intuition style windows and screens and can be multitasking, unlike the Atari ST. Unfortunately, AMOS bypasses the Amiga Workbench. This may be OK for games, but any other programs written in it don't look like Amiga programs.

I feel I'm really making progress with GFA BASIC, although I've never got that far with C or 68K Assembler!

Unfortunately, although the manual is quite thick it doesn't go into all that much detail for each command. There are over 300 commands! I've been looking for more documentation, but haven't found much. I'm watching some books about it on eBay Germany in German, which I speak. I've found some books on eBay UK about the Atari ST version, which I hear is almost identical, apart from GEM specific commands. GFA BASIC now seems to be abandonware, but has an unofficial home site and is still maintained with a version for Windows 7! I've also read that X11 BASIC for Linux is very similar to GFA BASIC.

Some annoying features are that the example program called pogosprites, featuring hot air balloons, usually refuses to run, bringing up the error that it's too long. This is on an Amiga A500 Plus with 3Mb RAM. I'm not sure how I've managed to run it a few times. I'm also getting tired of the editor colours of black text on a grey background. I'd really like to change this, but there doesn't seem to be any option to do this. Perhaps someone has got a program which would change the registers or RAM locations that set these colours. I also wonder if it's possible to somehow use AGA graphics. The manual says it's possible to use the library functions, which it lists, but doesn't go into much detail about how to do this.

Can anyone tell me where I can find some more documentation, apart from the sources mentioned above?
« Last Edit: June 30, 2013, 01:17:21 PM by AmigaBruno »
 

Offline AmigaBrunoTopic starter

Re: Gfa basic
« Reply #1 on: June 30, 2013, 09:30:59 PM »
Quote from: ChaosLord;739335
I recently went on a quest to find the ultimate programming language for Amiga.

There is no reason why anyone needs to buy BASIC for the Amiga.  The 2 best  most modern, most advanced versions of BASIC are freely downloadable from Aminet.

Pure Basic was actively developed and supported for Amiga until just a few years ago.

Blitz Basic (now called AmiBlitz) is still actively developed and supported.  If it has a problem you write an email to the coder and he fixes it.

They can both use AGA.  But you need an AGA Amiga to do AGA stuff.  An A500 can never ever run programs that use AGA.


I have not yet figured out which of these is better.  They are both really awesome.  Neither is perfect.  But they are better than GFA Basic.

AmiBlitz is Amiga only.
Pure Basic is for Amiga and Linux and Mac and Windoze.
http://en.wikipedia.org/wiki/PureBasic

OK, thanks for that! Actually getting these onto my Amiga isn't straightforward, due to problems with my ADF transfer kit, though.

I recently bought an A1200, so that's why I was asking about doing AGA graphics using GFA BASIC. I've also been wondering if it's somehow possible to fit AGA chips to an Amiga A500 Plus. If no one has ever done it, then it's probably impossible.

I hope I can find lots of examples for Pure BASIC and AmiBlitz!
 

Offline AmigaBrunoTopic starter

Re: Gfa basic
« Reply #2 on: June 30, 2013, 10:07:16 PM »
Quote from: Pakrat;739371
My next door neighbor, Lonny Pursell, is probably the world authority on all things GFA-BASIC, his GFA page is mostly about the ST version, but he more than anyone else would probably be able to answer any questions you have about GFA-Basic. His GFA page is : userpages.bright.net/~gfabasic/ He's messed with the Amiga version briefly via emulation, and has commented on how much of a direct port it is from the ST version, complete with most or all the bugs. ^^

I'd already seen that site, but it seemed like there wasn't much there and some of it seems to be ST specific, because it mentions GEM and parts of GEM, although I'm not sure I remember all the terms. Can you point out specific parts of that site which are relevant to all versions of GFA BASIC?