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
audio_macros.asm: Add "Assertions" #270
Conversation
Assembly will fail if set_envelope_duty, notelen, or note comes across an invalid argument.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat
Although it makes the build fail with this message:
|
The noise channel's values are different from the others and there isn't really a way to check for that unless there's a separate macro that performs a different "assertion." The best thing to do without that is to fail if |
Apparently RGBASM has ASSERT.
Merged. Thanks! |
Assembly will fail if
set_envelope_duty
,notelen
, ornote
comes across an invalid argument.