So I need to write a little ASM code (C is out of question for this... unfortunately). I want:

project files

68020+ code

No problem with PASM. It understands 68020+ mnemonics and I can use Pure C's project files for making the output file.BUT... has anyone ever used the ORG directive?I need to write code located at $FA0000 (cartridge port) so I put an

at the beginning. What happens is that PureLinker runs amok! For about 200 lines of code it generates a 16MB .o file and then quits with out-of-memory error. If I remove the ORG directive it links fine. Anyone else encountered this issue?

Is there an assembler providing 68020+ mnemonics and has a makefile system around? I know that Devpac can generate 68020+ code but does it come with multiple-file project capability? I tries Turboassembler but it doesn't support what I want.I want to avoid stuffing all code in a single file.

Instead of using ORG, just tell the linker to link at text segment address $FA0000. Only culprit: it then creates a 38-byte long header instead of the usual GEMDOS program header that you have to remove afterwards.

BTW: does anybody know about that header? I've never seen it from any other tool. It starts with the magic $6024.