gotBASIC.com

For all people interested in the continued usage and evolution of the BASIC programming language.

HomeVB 7+VB 1-6FBQB64QB45GW-BASICMicroRetro

AmigaBASIC

Amiga

AmigaBASIC is a BASIC language implementation for the earlier line of Amiga personal computers, designed and written by Microsoft. AmigaBASIC shipped with AmigaOS versions 1.1 to 1.3. It succeeded ABasiC, which was initially included in AmigaOS 1.0 (possibly even on some early 1.1 disks), and discontinued in AmigaOS version 2.0 onwards.

AmigaBASIC provided not only the common BASIC language, but also attempted to provide an easy-to-use API for the Amiga’s unique graphics and sound capabilities. OBJECT commands, for example, made it easy to create moving objects - sprites and bobs that could be drawn with an external drawing program, Object editor, that was supplied with AmigaBASIC.

Amiga BASIC

Patch?

Although it is officially not supported (possible?) to run AmigaBASIC on newer AmigaOS versions… it does appear there is a patch that allows this. According to the notes related to the patch

There is one bad instruction in AmigaBASIC which the 68000 in a standard Amiga seems to execute properly. A 68020 has trouble with this bad instruction and performs a Guru Meditation trap. This program will fix the bad instruction in AmigaBASIC.

Additionally, there also appears to be a tip written by Andreas Mixich (in an Amiga FAQ) about needing to…

' AmigaBASIC patch to let AmigaBASIC work on A1200 and other newer machines.
' Start at the beginning of AmigaBASIC or invoke AmigaBASIC with this program
 
OPEN "AMIGABasic" AS 1 LEN=1
FIELD #1,1 AS d$
i&=&HF3*256+&H87 : PRINT i&
GET #1,i& : a$=HEX$(ASC(d$))
PRINT a$
IF a$="79" THEN
  LSET d$=CHR$(&H78)
  PUT #1,i&
END IF
CLOSE 1

Found elsewhere was this which was credited to a Dr. Peter Kittel…

Can I run AmigaBasic on my A1200?

To run AmigaBasic on the A1200 and A4000 you need to follow these steps:

Utility: Convert to ASCII

To convert an AmigaBASIC binary formatted (tokenized) file to ASCII without using AmigaBASIC, check out ab2ascii-1.3.

Books

Samples

Blogs

Articles

Videos

Additional videos that are not BASIC specific, but could be helpful.

Alternative: ABasiC

Alternative: ACE

ACE is a freeware AmigaBASIC compiler which produces 68000 assembly source code. ACE runs under all versions of the operating system from Release 1.3, as do the executables it produces.

ACE supports a large subset of AmigaBASIC. It also provides a variety of commands, functions and features not found in AmigaBASIC.

Alternative: AMIBLITZ³

Alternative: AQB

Alternative: Cursor

Cursor is a free compiler available for AmigaBASIC. It also includes a simple editor which can control the compiler. Runs with Kickstart 1.2 or later with 512K RAM. Get it here.

Alternative: GFA BASIC

TBD

Alternative: HiSoft BASIC

TBD

Alternative: PureBasic 4.00

TBD

More

Hardware Emulation (FPGA)

Amiga 500

Additional