Hi folks,
Just reporting that I've created a tool chain for programming the DSP3210 on the AA3000+ motherboard:
Asm3210 v2.2 is out on Aminet and has a few bug fixes from earlier versions. It's a DSP3210 assembler plus a program to create an executable from the final object file (elf2exem68k).
Also out on Aminet as of this morning is gcc 3.2 for DSP3210.
I've spent a long time getting this working and now you can program in C, compile with gcc, assemble with asm3210, link to M68k source and construct an executable using elf2exem68k, all on a modern computer.
Why only gcc 3? I have tried gcc 4 and 6 but I get internal compiler errors when compiling which is related to register usage tracking deep within gcc. If anyone actually does anything interesting with gcc3 for the DSP, that would motivate me to look at this again. For now gcc 3 is as far as it goes.
How optimised is it? Fairly... but a compiler will never produce code as good as a human. Again, if I get motivated, I may looking at improving the optimisation.