Routines |
Prev: C122 | Up: Map | Next: C143 |
|
||||||||||
Flip speaker on (set bit 4).
|
||||||||||
Sounds_PlayWave | C136 | LD A,%00010000 | A=10 (speaker on = bit 4). | |||||||
C138 | OUT ($FE),A | |||||||||
Sounds_PlayWave_Loop | C13A | DJNZ Sounds_PlayWave_Loop | Decrease counter by one and loop back to Sounds_PlayWave_Loop until counter is zero. | |||||||
Flip speaker off (unset bit 4).
|
||||||||||
C13C | XOR A | Speaker off. | ||||||||
C13D | OUT ($FE),A | |||||||||
C13F | LD B,D | B=D. | ||||||||
PlayWave_Silence_Loop | C140 | DJNZ PlayWave_Silence_Loop | Decrease counter by one and loop back to PlayWave_Silence_Loop until counter is zero. | |||||||
C142 | RET | Return. |
Prev: C122 | Up: Map | Next: C143 |