GB-Z80 assembly using ca65 is ready

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
GB-Z80 assembly using ca65 is ready
by on (#122249)
I've got my GB-Z80 macros working well now, and they assemble my old wla code cleanly, save for having to convert - and + labels. These macros support the many variations of some instructions. Tested with ca65-2.13.3.

ca65-gb-z80-0.1.0.zip

Includes some demo programs that build as GB ROMs, an instruction syntax list, and a full instruction test.
Re: GB-Z80 assembly using ca65 is ready
by on (#122831)
Thank you!

(Mirrored for posterity.)
Re: GB-Z80 assembly using ca65 is ready
by on (#124577)
Interesting! Am I understanding correctly? You use ca65 to create GB-Z80 code? Or do you use it to convert GB-Z80 code to 6502 code? (the latter doesn't really make sense to me, since I can't imagine that code actually functioning as it should, but maybe I am just not getting the idea)
Re: GB-Z80 assembly using ca65 is ready
by on (#124581)
Grumskiz wrote:
You use ca65 to create GB-Z80 code?

Yes. The idea is you'd be using tools you're already familiar with if you already use ca65 to write 6502 code.
Re: GB-Z80 assembly using ca65 is ready
by on (#124613)
Sorry for the late message but good work on making this work with ca65! Will hopefully use it once I can find some time.