SuperDisk / hUGEDriver

An easy-to-use, fast, tracker-based, public domain sound driver for Game Boy homebrew

Home Page:https://nickfa.ro/index.php/HUGETracker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rgb2sdas Conflicting sdcc options

odrevet opened this issue · comments

When build the GBDK 4.1.0 example program I got the following error:

#Build the rom!
../../gbdk/bin/lcc -I../include -o output.gb gbdk_player_example.c hUGEDriver.obj.o sample_song.c
gbdk_player_example.c:
sample_song.c:
?ASlink-Warning-Conflicting sdcc options:
   "-msm83" in module "gbdk_player_example" and
   "-mgbz80" in module "hUGEDriver_obj".
make: *** [Makefile:10 : all] Erreur 1

This can be fix by changing the lien 593 of rgb2sdas.pas from

Writeln(F, 'O -mgbz80'); to Writeln(F, 'O -msm83');

This should also be fixed in #35 with rgb2sdas.py.