BlitzMax on Commodore OS Vision v2
BlitzMax is a strongly-typed, garbage-collected, open-source programming language with built-in support for advanced 2D graphics, sound, unicode and is ideally suited to making all kinds of apps and games. BlitzMax was discontinued several years ago by Blitz Research, but it was open sourced and is now freely available.
BlitzMax primarily targets the main three desktop platforms - Windows, Linux and macOS - but also supports building native binaries for Android, iOS, Raspberry Pi and NX (Switch homebrew).
Back in the day, the Commodore Amiga was the initial platform for the BlitzBasic programming language. BlitzMax is a newer version and has continued its development since those early days of BlitzBasic on the Commodore Amiga.
Creating a Command Line or Terminal app is as simple as:
Print "Hello, World"
And creating a Graphics app is almost as simple with the following code:
SuperStrict
Graphics 640,480
Repeat
DrawText "Hello, Commodore OS Vision World!", 200,150
DrawText "Click Mouse to exit" , 200 , 200
Flip
Until WaitMouse()
Setting up BlitzMax on Commodore OS Vision 2 was fairly straight-forward. Browse to https://blitzmax.org/downloads/. Then scroll down and find the Linux x64 listing and click on the link to download the compressed file.
Once the file is downloaded, open the compressed file in the Downloads folder with the Archive Manager. Extract the file to the default BlitzMax folder. Note it is important to ensure the extracted folder name matches as when running the executable is dependent upon the folder name (including case sensitivity).
After the files are extracted, browse to the newly created BlitzMax folder, and double click on the MaxIDE file. You'll be prompted to build the documentation, so click Yes/Ok to do so.
You can learn the language and find a language reference on the Blitzmax.org website. Those who used BlitzBasic on the Commodore Amiga will find many commands familiar and find many new, modern commands as well.
This is a great tool for revisiting nostalgia feelings from the days of using the Commodore Amiga as well as using an updated BlitzBasic programming language to create modern applications on a modern Operating System.
Happy computing!
Comments
Post a Comment