Learning 6502 Assembly on the Apple II, the easy way - Ep. 7: Sound Generation

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ม.ค. 2025

ความคิดเห็น • 3

  • @sandyd6602
    @sandyd6602 9 วันที่ผ่านมา

    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

    • @TacianoPerez
      @TacianoPerez  6 วันที่ผ่านมา +1

      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.

    • @sandyd6602
      @sandyd6602 5 วันที่ผ่านมา

      Thank you my friend. That makes much sense 😊