![]() |
Routines |
| Prev: 7217 | Up: Map | Next: 724C |
|
Used by the routine at update_special_beam.
Called by update_special_beam while its record's +$0E is not zero. D = 8 x (1 + the pass counter's low three bits), so 4 to 32 cycles, longer on some passes than others; each cycle's half period is (D XOR 7) + 1 as D counts down by two.
|
||||
| sound_flutter | 7234 | LD A,(pass_counter) | D = 8 x (pass AND 7, plus 1) | |
| 7237 | AND $07 | |||
| 7239 | INC A | |||
| 723A | ADD A,A | |||
| 723B | ADD A,A | |||
| 723C | ADD A,A | |||
| 723D | LD D,A | |||
| sound_flutter_0 | 723E | LD A,D | A cycle of (D XOR 7) + 1; D down by two until it reaches 0 | |
| 723F | XOR $07 | |||
| 7241 | INC A | |||
| 7242 | LD B,A | |||
| 7243 | CALL beep_cycle | |||
| 7246 | DEC D | |||
| 7247 | RET Z | |||
| 7248 | DEC D | |||
| 7249 | RET Z | |||
| 724A | JR sound_flutter_0 | |||
| Prev: 7217 | Up: Map | Next: 724C |