![]() |
Routines |
| Prev: 25770 | Up: Map | Next: 25801 |
| PlayStreamerSound | 25784 | LD C,8 | Set the wave counter in C to 8. | |
| PlayStreamerSound_Loop | 25786 | LD A,C | Fetch the wave counter. | |
| 25787 | RLCA | Rotate A left twice. | ||
| 25788 | RLCA | |||
| 25789 | XOR %00000111 | Flip bits 0-2. | ||
| 25791 | RLCA | Rotate A left twice. | ||
| 25792 | RLCA | |||
| 25793 | LD D,A | Set the duration of the wave in D. | ||
| 25794 | CALL PlaySquareWave | Call PlaySquareWave. | ||
| 25797 | DEC C | Decrease the wave counter by one. | ||
| 25798 | JR NZ,PlayStreamerSound_Loop | Loop back to PlayStreamerSound_Loop until all of the waves have been played. | ||
| 25800 | RET | Return. | ||
| Prev: 25770 | Up: Map | Next: 25801 |