i am start to do this... and stop after 5 min of work
not clear many things. i am write a big post with my whining... and questions about original code. but then delete all of it. this code too dificult. my old wrong code play fine, but i have problem with pauses counting. it is not clear how to count that pauses from original code. probably it is one very small timer with a two counters. one is constant Timer B and it rule by slides bend and follow commands. second is BPM. next wrong item - i am take original patterns and fill them into big array, then play array, not patterns itself.
but now main quesion is: all of this time i am finish converter midi 2 deflemask. result of that work still making me smile over all my face. then we decide to make converter from midi to RRR audio driver (it have some name that driver, but i dont remember
so RRR audio driver is fine - Rock n Roll Racing). next, on base of that converting we make deflemask to RRR. then it comes problem, as always they comes to me: slides. deflemask have a tonns of effects. RRR have only part of them. i have not idea how to make autorecount all effects from deflemask to RRR - that is why i want to use this RRR player. concept of that programm is:
it load text asm file, then you scroll at that moment, which one is interest you and write bend and follow commands by manualy and hear what happen. it will no need to build rom every time, as it now happen. it will be fix that problem with deflemask's effects converting.
but then comes second - big problem
size! it have less than 3kb size for all song. driver have some tricks - it cut original tracks to patters, that can repeat. my converter cant to do this. so my question is - have you an any idea how to make search and compare procedure?
i have a text:
Code: Select all
command 1
command 2
command 4
command 8
command 2
command 1
command 8
command 2
command 1
command 8
command 2
command 1
command 1
command 2
command 4
command 8
command 2
command 1
how to teach programm do from that to some kind of this:
Code: Select all
command 1
command 2
command 4
pattern1: -repeat 3 times
command 8
command 2
command 1
endpattern1:
command 1
command 2
command 4
call pattern1
i mean search same plaсes?