![]() |
Routines |
| Prev: 64AA | Up: Map | Next: 64C9 |
| PlayStreamerSound | 64B8 | LD C,$08 | Set the wave counter in C to 08. | |
| PlayStreamerSound_Loop | 64BA | LD A,C | Fetch the wave counter. | |
| 64BB | RLCA | Rotate A left twice. | ||
| 64BC | RLCA | |||
| 64BD | XOR %00000111 | Flip bits 0-2. | ||
| 64BF | RLCA | Rotate A left twice. | ||
| 64C0 | RLCA | |||
| 64C1 | LD D,A | Set the duration of the wave in D. | ||
| 64C2 | CALL PlaySquareWave | Call PlaySquareWave. | ||
| 64C5 | DEC C | Decrease the wave counter by one. | ||
| 64C6 | JR NZ,PlayStreamerSound_Loop | Loop back to PlayStreamerSound_Loop until all of the waves have been played. | ||
| 64C8 | RET | Return. | ||
| Prev: 64AA | Up: Map | Next: 64C9 |