Created
June 4, 2020 23:39
-
-
Save Pinacolada64/283545c2ad62252c9732b51e23f10278 to your computer and use it in GitHub Desktop.
Bell from CCGMS terminal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{number:1} | |
{crunch:on} | |
for t8=1 to 5 | |
sys{sym:bell}:for d=1 to 400:next | |
next t8 | |
{asm} | |
bell: | |
ldx #$0f | |
stx $d418 ; volume | |
ldx #9 | |
stx $d413 | |
ldx #0 | |
stx $d414 | |
ldx #$40 | |
stx $d40f | |
ldx #0 | |
stx $d412 | |
ldx #$11 | |
stx $d412 | |
rts | |
{endasm} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment