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.
GB-Z80 assembly using ca65 is ready
Re: GB-Z80 assembly using ca65 is ready
Thank you!
(Mirrored for posterity.)
(Mirrored for posterity.)
- Attachments
-
- ca65-gb-z80-0.1.0.zip
- (10.33 KiB) Downloaded 337 times
Re: GB-Z80 assembly using ca65 is ready
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)
Last edited by Grumskiz on Tue Jan 28, 2014 11:09 pm, edited 1 time in total.
Re: GB-Z80 assembly using ca65 is ready
Yes. The idea is you'd be using tools you're already familiar with if you already use ca65 to write 6502 code.Grumskiz wrote:You use ca65 to create GB-Z80 code?
Re: GB-Z80 assembly using ca65 is ready
Sorry for the late message but good work on making this work with ca65! Will hopefully use it once I can find some time.