Language…
7 users online: 1UPdudes, ASMagician Maks, DerKorkin, ocked, OThomas, Spicy Jalapeno, SuperRyan - Guests: 92 - Bots: 209
Users: 66,515 (2,381 active)
Latest user: iMLG

AddMusicK ASM oddity

I am having a strange thing going on with AMK.
I am trying to code in custom commands in the commands.asm file, adding a 11th entry in command $F4's dw table. So $F4 $0A. It works... but for some reason, the song also skips to the start of the "/" loop when my test song hits that command.

I even changed it to a one-line code as a test:
Code
SubC_A:
mov $51, #$FF
ret
The tempo does go up to max, but the song skips to the start of the loop.

Using commands listed in the hex references help files doesnt cause this, and still work as intended.
You need to restore x:

Code
SubC_A:
mov $51, #$FF
mov x, $46
ret