GB-Z80 assembly using ca65 is ready

Discussion of programming and development for the original Game Boy and Game Boy Color.
Post Reply
User avatar
blargg
Posts: 3715
Joined: Mon Sep 27, 2004 8:33 am
Location: Central Texas, USA
Contact:

GB-Z80 assembly using ca65 is ready

Post by blargg »

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.
User avatar
B00daW
Posts: 586
Joined: Thu Jan 03, 2008 1:48 pm

Re: GB-Z80 assembly using ca65 is ready

Post by B00daW »

Thank you!

(Mirrored for posterity.)
Attachments
ca65-gb-z80-0.1.0.zip
(10.33 KiB) Downloaded 337 times
User avatar
Grumskiz
Posts: 79
Joined: Sat Mar 26, 2011 1:06 pm
Location: Germany

Re: GB-Z80 assembly using ca65 is ready

Post by Grumskiz »

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.
User avatar
tokumaru
Posts: 12427
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Re: GB-Z80 assembly using ca65 is ready

Post by tokumaru »

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.
User avatar
Banshaku
Posts: 2417
Joined: Tue Jun 24, 2008 8:38 pm
Location: Japan
Contact:

Re: GB-Z80 assembly using ca65 is ready

Post by Banshaku »

Sorry for the late message but good work on making this work with ca65! Will hopefully use it once I can find some time.
Post Reply