Re:Amiga Systems Programming in 2023
by zozbot234 on Tuesday September 05, 2023 @09:19AM
(#37391236)
The best way to develop systems software for the Amiga will probably be cross-development from a more modern platform and programming language. LLVM is getting m68k support which ought to make this feasible in the future, including some recent feature updates https://m680x0.github.io/blog/2023/05/may-updates.html . Though some basic pieces are still missing, such as support for the Hunk format in the LLVM linker.
Re:Amiga Systems Programming in 2023
by MarcusE1W on Tuesday September 05, 2023 @09:43AM
(#37391526)
I used to do some systems programming with then M2 Amiga Modula-2 compiler.
They had a complete mapping to the systems libraries and I suppose for the general learning experience M2 is more pleasant than C, although that works as well, of course.
There was quite a lot of M2 public domain software at that time on the Amiga so that it should be possible to find good examples.
That said, system programming on the Amiga is for good or bad much closer to the hardware than e.g Linux, so prepare to see a lot of guru meditations along the way when you have slightly mishandled a pointer or a data type, and there are a lot of pointers ;-)
Great fun though.
I think the thing that would hold you back on an un-expanded A500 would be choice of programming language; a C compiler is probably just too heavyweight to use on a basic machine, particularly if you don't have a hard drive fitted. Assembler would be OK, although possibly a little too low-level. Something like AMOS would fit the bill perfectly though: Would run find on older systems and very quick to create something that would hold the attention like a game or demo. Although that's not really "systems programming" as such.