Hi, i'm very sorry to exhume (blame google if the term is not correct) the topic, but I just searched on internet about the looping subject and I finally came across this interesting topic, after a ton of useless tries.
I just wanted to make a clarification (again blame google translate).
Is not needed to sepate the tracks of a song. Why? because the product of
midi2agb, id est the .S file, is essentially an assembly file, just like .ASM .
".byte" and such are directives, and in particular, "FINE" is an ".equ" directive, which turns out that
".byte FINE"
means "put the byte 'something that we human call fine for simplicity' at this location"
All this intricate stuff for what?
Just locate the comment (comments begin with @ ) which reports the name of a track, and put a label (things that end with : ) with a different name. Obviously, change the name after the GOTO.
now, the only problem is to interpret all that messed stuff of bytes, in order to figure out where you have to manually put your loop.
and nothing else, thanks for listening to me.
ah, and obviously MANY thanks to omega zero!