-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gameboy Color Support #17
Comments
Ok, here comes something awesome. I thought I was stuck here and would need to go back to gbdk / lcc... Luckily, with a bit of more googling I stumbled upon this post: http://gbdev.gg8.se/forums/viewtopic.php?id=463 @DonaldHays, as part of his work on his game, build a great, much more versatile tool for the linking part... conveniently for me, in node :)
I'd highly recommend you two to catch up on how to get this in a the default tool for gbdk-n.. or, at the very least, add a note to the README.md. Anyway, I'm most delighted. Thanks folks! |
Indeed I did make that tool! I've also gone into some detail about it on this very repository on issue #5 at #5 (comment) . Notably, while it works, and I have banking working on it, banking support has a serious asterisk, in that it depends on behavior in SDCC that's consistent in my experience, but unspecified, and so may change at any time. If you don't need banking, I think the tool works perfectly fine. If you do need banking, then I think you need to understand the unspecified behavior risk before using it, and I think that qualification makes it difficult to recommend the tool for the general case. (I have lately been doing some experiments with writing a full linker for SDCC to Game Boy, which would replace this tool, and not rely on unspecified behavior. It's a larger project than IHX2GB, but it would be an easier recommendation for a default tool). |
|
Lddc supports setting the
-Wl-yp0x143=0x80
flag to set things as Gameboy Color compatible. Is there an equivalent way for doing this with gbdk-n / sdcc?The text was updated successfully, but these errors were encountered: