![]() |
Routines |
| Prev: B8FF | Up: Map | Next: B922 |
|
Play PlaySquareWave, invert the pitch, and repeat D times.
|
||||||||||
|
Play PlaySquareWave, invert the pitch, and repeat D times.
|
||||||||||
| PlayInvertedTone | B918 | CALL PlaySquareWave | Call PlaySquareWave. | |||||||
| B91B | LD A,C | A=C. | ||||||||
| B91C | CPL | Flip the bits. | ||||||||
| B91D | LD C,A | C=A. | ||||||||
| B91E | DEC D | Decrease D by one. | ||||||||
| B91F | JR NZ,PlayInvertedTone | Jump to PlayInvertedTone until D is zero. | ||||||||
| B921 | RET | Return. | ||||||||
| Prev: B8FF | Up: Map | Next: B922 |