![]() |
Routines |
| Prev: 976E | Up: Map | Next: 97D2 |
|
Used by the routine at 9470.
|
||||
| 97AB | XOR A | Reset temporal buffer at A22C | ||
| 97AC | LD ($A22C),A | |||
| 97AF | CALL $D36F | Reset channel volumes of the AY-3-8912 | ||
| 97B2 | LD DE,$C350 | Set DE to count 50.000 loops | ||
| 97B5 | DEC DE | Decrement counter | ||
| 97B6 | LD A,D | Counter is 0? | ||
| 97B7 | OR E | |||
| 97B8 | RET Z | Return if so | ||
| 97B9 | LD B,$1E | Wait some time | ||
| 97BB | DJNZ $97BB | |||
| 97BD | CALL $A61F | Check for FIRE key press | ||
| 97C0 | JP NZ,$97B5 | Jump back if not pressed | ||
| 97C3 | CALL $A61F | Check for FIRE key press | ||
| 97C6 | JP Z,$97C3 | Jump back until FIRE key not pressed | ||
| 97C9 | CALL $D346 | Reset sound data buffer | ||
| 97CC | LD A,$01 | Set $01 to temporal buffer at A22C meaning fire pressed | ||
| 97CE | LD ($A22C),A | |||
| 97D1 | RET | |||
| Prev: 976E | Up: Map | Next: 97D2 |