Coding for classic 68k Amigas in C99 and Assembler
I uploaded some examples for oldschool demo scene effects, written in C99 and Assembler (vasm), targeted at classic Amiga A1200 and up.
Requierements: Amiga OS 3.0 and Kickstart 3.0.
For better handling of reusable code, I am writing a framework called "lwmf" - lightweight media framework.
Performance-critical parts are done in assembly, like memory clearing, setting pixels etc.
Used compiler:
vbcc 0.9g
http://sun.hasenbraten.de/vbcc/
vbcc is still under development (last version is from 2019) and works pretty well and is simple to use. vbcc is available on nearly all platforms and perfect for cross-compiling.
You´ll find a complete development environment for Windows under "Development".
Extract "vbcc.zip" to "C:\vbcc" (or whatever you want use) and set the Windows environment variable "VBCC" to the chosen path. Also, add "C:\vbcc" and "C:\vbcc\bin" to the PATH-Variable! Copy "cygwin1.dll" from "Development" to "C:\Windows"
You´re done!
All you need to test your programs is an editor or IDE (I prefer Visual Studio Code, https://code.visualstudio.com/), an emulator like WinUAE (https://www.winuae.net/), with a set up Amiga OS installation. Or transfer your programs to a "real" Amiga via CF Card, Network etc.
I test my code on:
- a real Amiga 1200 with an iComp ACA1221 accelerator card and Amiga OS 3.1.4
- a "stock" 14MHz A1200 in WinUAE and Amiga OS 3.1.4