.BDRO13 JSR BDlab19 ; Increment the music data pointer in BDdataptr1(1 0) ; and fetch the next music data byte into A STA value1 ; Set value1 to the value of the byte we just fetched, ; which is used to set the voice control register for ; voice 1 in command <#1> JSR BDlab19 ; Increment the music data pointer in BDdataptr1(1 0) ; and fetch the next music data byte into A STA value2 ; Set value2 to the value of the byte we just fetched, ; which is used to set the voice control register for ; voice 2 in command <#2> JSR BDlab19 ; Increment the music data pointer in BDdataptr1(1 0) ; and fetch the next music data byte into A STA value3 ; Set value3 to the value of the byte we just fetched, ; which is used to set the voice control register for ; voice 3 in command <#3> JMP BDskip1 ; Jump to BDskip1 to process the next nibble of music ; dataName: BDRO13 [Show more] Type: Subroutine Category: Sound Summary: Process music command <#13 v1 v2 v3> to set value1, value2, value3 to the voice control register values for commands <#1> to <#3>Context: See this subroutine in context in the source code References: This subroutine is called as follows: * BDJMPTBH calls BDRO13 * BDJMPTBL calls BDRO13
[X]
Subroutine BDlab19 (category: Sound)
Increment the music data pointer in BDdataptr1(1 0) and fetch the next data byte into A
[X]
Variable value1 in workspace Music variables
Stores the voice control register for voice 1
[X]
Variable value2 in workspace Music variables
Stores the voice control register for voice 2
[X]
Variable value3 in workspace Music variables
Stores the voice control register for voice 3