Skip to content
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

Update Makefile/source to be compatible with latest GBDK #9

Open
ghost opened this issue Dec 1, 2022 · 0 comments
Open

Update Makefile/source to be compatible with latest GBDK #9

ghost opened this issue Dec 1, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 1, 2022

While trying to build the source files using the latest version of GBDK (4.1.1 as of writing this), I get the following error:

"at 1: error 131: cannot generate code for target 'gbz80'"

By changing "-mgbz80" to "-msm83 -D__PORT_sm83", I am able to produce the ASM files, but I get the following warnings:

image

Running compile.sh then produces a ROM file which upon opening, causing the driver to crash/hang. I believe this is an issue with the Makefile and not the engine itself, as I have been able to compile the same MML file using pre-built ASM files that were generated from (what appears to be) another version of GBDK or SDCC. The ROM plays back the music as normal using these pre-built files.
asm-pre-built.zip

@ghost ghost changed the title Update Makefile to be compatible with latest GBDK Update Makefile/source to be compatible with latest GBDK Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants