Post #3514317
2026-07-01 15:45 UTC
:blobfoxthinking: On the Sega Genesis/Mega Drive, most assembly stuff regarding the Sonic games use either the AS Macro Assembler or ROM hacks of ASM68K... I wonder how cursed it would be to get GNU Assembler working with them...
Replies (1)
-
@techokami@woof.tech 2026-07-01 17:51
Like, AFAIK, GAS does support m68k as a target. But I'm not familiar with GAS' flavor of syntax, and I don't know how much will violently break. Like, do we get macros like in AS? Also, does GAS support Z80? ASM68K doesn't, which makes the sound driver a pain in the ass, as it has to be either a binary blob, require another assembler, or a ROM hack of ASM68K to add Z80 support like Hivebrain did a few years ago. AS natively supports Z80 so it can assemble everything itself.