-
Notifications
You must be signed in to change notification settings - Fork 80
Upgrade to rgbds 0.5.2, and use newer macro syntax #447
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
Conversation
This adds support for the newer macro syntax.
Fixes warnings on rgbds 0.6
6e12147
to
1dc84e9
Compare
This PR doesn't include the "unmapped chars" warning appearing in RGBDS 0.6 for now. The warning cause should probably be fixed - but for now, it can be worked around by disabled the warning using the command line : make ASFLAGS='--export-all -Wno-unmapped-char' |
Thanks for the credit :D I think the issue is that Link's Awakening uses direct ASCII characters for its text, and since they're unmapped in the source code, that's why rgbds keeps throwing those warnings for all the text files. |
Seems like the only way to fix the warning about the unmapped-char is to actually map or define each character from Link's Awakening manually.
That would solve the warning, all that'd be needed is to properly put the corresponding characters in order.
It all depends on which characters LA uses from ASCII. |
I guess that piece of code could go into src/constants/charmaps/main.asm I'm open to both ways: either defining all characters by hand, or using a macro with a comment like "; Explicitely define ASCII characters". |
Mmmm I tried adding all of the ASCII table to the charmaps EDIT:
Here you have the modified |
I found a hacky way to remove the warnings, I ended up including the charmaps files (with Now when compiling, it shouldn't throw any errors by using the files in this zip: I have included both the main.asm files for each language that were modified, as well as all the credits.asm files modified too. |
Alright, I'll first merge this PR, and then open another one for the charmaps. |
Fixes future macro warnings on the (yet unreleased) rgbds 0.6, by using the newer macro syntax. Credits to @ShadowOne333
This PR doesn't include the "unmapped chars" warning appearing in RGBDS 0.6 for now. The warning cause should probably be fixed - but for now, it can be worked around by disabled the warning using the command line :
make ASFLAGS='--export-all -Wno-unmapped-char'