Routines |
Prev: E3D3 | Up: Map | Next: E3FD |
Used by the routine at E3D3.
|
||||||||
E3EC | LD A,$10 | Switch the speaker on. | ||||||
E3EE | OUT ($FE),A | |||||||
E3F0 | PUSH BC | Remember the pitch value. | ||||||
E3F1 | DJNZ $E3F1 | Wait a while with the speaker switched on, to generate part of a sound wave. | ||||||
E3F3 | POP BC | Restore the pitch value. | ||||||
E3F4 | LD A,$00 | Switch the speaker off. | ||||||
E3F6 | OUT ($FE),A | |||||||
E3F8 | PUSH BC | Remember the pitch value. | ||||||
E3F9 | DJNZ $E3F9 | Wait a while with the speaker switched on, to generate part of a sound wave. | ||||||
E3FB | POP BC | Restore the pitch value and return. | ||||||
E3FC | RET |
Prev: E3D3 | Up: Map | Next: E3FD |