Sound doesn’t work. You’re missing a call to
Then, if you want the user to be able to mute the sound and don’t want to add this functionality to the game itself, you can add a call to
At this point, the only thing you’re missing from just using begin() is the boot logo. Until you get to the point that you’re short on program space, why not just call
ard.begin()? If the user doesn’t want the ARDUBOY logo, they can disable it using the flag in system EEPROM.
With the above changes, you get some sound, even in the emulator, but it’s not working properly. You get a few notes then one continuous tone. It looks like there’s an error in the score.