| ← B77C | Map | B78F → |
B787: Play one run of shorter and shorter periods
|
Emits a run of square-wave cycles through the sound primitive. The period shortens by one each cycle.
|
|||||||||
|
|||||||||
| play_pitch_sweep | B787 | CALL sound_blip | |||||||
|
Each pass plays one cycle at the current period, then steps the period down and counts the cycle off.
|
|||||||||
| B78A | DEC D | Raise the pitch one step and count this cycle off. | |||||||
| B78B | DEC C | ||||||||
| B78C | JR NZ,play_pitch_sweep | ||||||||
| B78E | RET | ||||||||
| ← B77C | Map | B78F → |
