| Chase H.Q. | Routines |
| Prev: EE40 | Up: Map | Next: EE6E |
|
Used by the routine at stop_the_tape_48k.
Clears the three self-modified operands that carry music state from frame to frame -- the drum-playing flag at pm_start_drums, the extra-delay byte at pm_zero_or_456 and the first-call flag at EEA2 -- then restarts the pattern list at music_patterns by jumping into next_pattern_at_addr.
|
||||
| reset_music | EE5E | XOR A | A = 0 | |
| EE5F | LD ($EF0E),A | Self modify 'LD A,x' @ pm_start_drums -- clear <drum is playing flag> | ||
| EE62 | LD ($EF01),A | Self modify 'LD A,x' @ pm_zero_or_456 -- in play_music_48k | ||
| EE65 | LD ($EEA3),A | Self modify 'LD A,x' @ EEA2 -- in play_music_48k | ||
| EE68 | LD HL,$F0FE | Load address of music patterns | ||
| EE6B | JP next_pattern_at_addr | Jump to next_pattern_at_addr | ||
| Prev: EE40 | Up: Map | Next: EE6E |