Routines |
Prev: E329 | Up: Map | Next: E3EC |
|
||||
PlayWaveSequence | E3D3 | LD A,B | B-=H. | |
E3D4 | SUB H | |||
E3D5 | LD B,A | |||
E3D6 | CALL PlaySquareWave | Call PlaySquareWave. | ||
E3D9 | DEC C | Decrease C by one. | ||
E3DA | JR NZ,PlayWaveSequence | If C is not zero, jump to PlayWaveSequence. | ||
PlayWaveSequence_0 | E3DC | CALL PlaySquareWave | Call PlaySquareWave. | |
E3DF | DEC D | Decrease D by one. | ||
E3E0 | JR NZ,PlayWaveSequence_0 | If D is not zero, jump to PlayWaveSequence_0. | ||
PlayWaveSequence_1 | E3E2 | LD A,B | B+=L. | |
E3E3 | ADD A,L | |||
E3E4 | LD B,A | |||
E3E5 | CALL PlaySquareWave | Call PlaySquareWave. | ||
E3E8 | DEC E | Decrease E by one. | ||
E3E9 | JR NZ,PlayWaveSequence_1 | If E is not zero, jump to PlayWaveSequence_1. | ||
E3EB | RET | Return. |
Prev: E329 | Up: Map | Next: E3EC |