Hi Taciano, what is the value contained in the memory address $06? is it 255 by default and it decrements to zero via the loop? i dont see where $06 memory address is initialised with a value somewhere. thanks
Hi Sandy, good to hear from you. In this case, the original value of $06 doesn't matter much. Whatever it is, it gets decremented one by one and when it reaches zero it flips to 255. The loop creates a descending pitch. Different values in $06 will change the starting point, but our ears can't spot any difference.
Hi Taciano, what is the value contained in the memory address $06? is it 255 by default and it decrements to zero via the loop? i dont see where $06 memory address is initialised with a value somewhere. thanks
Hi Sandy, good to hear from you. In this case, the original value of $06 doesn't matter much. Whatever it is, it gets decremented one by one and when it reaches zero it flips to 255. The loop creates a descending pitch. Different values in $06 will change the starting point, but our ears can't spot any difference.
Thank you my friend. That makes much sense 😊