Routines |
Prev: 58153 | Up: Map | Next: 58348 |
|
||||
PlayWaveSequence | 58323 | LD A,B | B-=H. | |
58324 | SUB H | |||
58325 | LD B,A | |||
58326 | CALL PlaySquareWave | Call PlaySquareWave. | ||
58329 | DEC C | Decrease C by one. | ||
58330 | JR NZ,PlayWaveSequence | If C is not zero, jump to PlayWaveSequence. | ||
PlayWaveSequence_0 | 58332 | CALL PlaySquareWave | Call PlaySquareWave. | |
58335 | DEC D | Decrease D by one. | ||
58336 | JR NZ,PlayWaveSequence_0 | If D is not zero, jump to PlayWaveSequence_0. | ||
PlayWaveSequence_1 | 58338 | LD A,B | B+=L. | |
58339 | ADD A,L | |||
58340 | LD B,A | |||
58341 | CALL PlaySquareWave | Call PlaySquareWave. | ||
58344 | DEC E | Decrease E by one. | ||
58345 | JR NZ,PlayWaveSequence_1 | If E is not zero, jump to PlayWaveSequence_1. | ||
58347 | RET | Return. |
Prev: 58153 | Up: Map | Next: 58348 |