AllegroBASIC is a classical BASIC dialect which let you code your own little programs with emphasis on drawing graphics primitives. It uses the extremely powerful MY-BASIC interpreter provided by Wang Renxin. The source code can be found here: MY-BASIC on Github
As the name implies AllegroBASIC also uses the Allegro game development library. It is used in Version 4+ which is already an obsolete version. But don’t worry, I am porting AllegroBASIC to SDL2 at the moment which will be named RETROBASIC . It will be almost compatible, so you can “play” with AllegroBASIC in the meantime.
There are some limitations, to avoid numerous dependencies:
AllegroBASIC is available for Windows 32 bit and Linux 32 bit and Linux 64 bit operating systems. Windows should be version Vista or later.
On Linux you must install via your package manager the Allegro 4.4 runtime libraries.
sudo apt-get install liballegro4.4
If you notice some strange behaviour (e.g. the graphics windows does not close after the program has finished) you should execute the AllegroBASIC executable in Windows 7 compatibility mode. Click with your right mouse button on allegrobasic.exe and choose properties . See the screenshot how you can change the mode:
I recommend to read Wang’s excellent documentation on MY-BASIC .
Besides of that I implemented some graphical functions which are listed in the keywords.txt file.
Attention: Don’t use PRINT nor INPUT on Windows systems at the moment. Your program will crash.
Extract the archive into any directory. The default is AllegroBASIC . If you’ll use the editor start TinyIDE[.exe] . If allegrobasic[.exe] is in the same directory you can load a script and directly execute it. Apart from that you’ll have to point to the exectuable file via the options menu.