![]() |
Routines |
Prev: 63501 | Up: Map | Next: 63573 |
Used by the routine at Controller_AnimalSounds.
|
||||
SoundHandler_BirdSound | 63543 | LD A,(65160) | A=*InterruptCounter. | |
63546 | AND %00001111 | Keep only bits 0-3. | ||
63548 | JP NZ,AnimalSounds_HouseKeeping | Jump to AnimalSounds_HouseKeeping if the result is not zero. | ||
63551 | PUSH BC | Stash BC and DE on the stack. | ||
63552 | PUSH DE | |||
63553 | LD DE,10 | DE=0010. | ||
63556 | LD BC,10 | BC=0010. | ||
63559 | CALL PlayWave1 | Call PlayWave1. | ||
63562 | POP DE | Restore DE, BC, AF and AF from the stack. | ||
63563 | POP BC | |||
63564 | POP AF | |||
63565 | POP AF | |||
63566 | CALL 56 | Call MASK_INT. | ||
63569 | POP IY | Restore IY from the stack. | ||
63571 | EI | Enable interrupts. | ||
63572 | RET | Return. |
Prev: 63501 | Up: Map | Next: 63573 |