Prev: A485 Up: Map Next: A4A0
A48B: Sound $A0, one frame of it
The third of the sound handlers, alongside SOUND_CAUGHT and SOUND_NEW_ROOM. It takes its pitch from a table at SWEEP_PITCHES rather than computing it, so its sweep is a shape someone chose rather than an arithmetic accident.
SOUND_EATING A48B DEC (IX+$01)
A48E JP M,END_SOUND
A491 LD C,(IX+$01)
A494 LD B,$00
A496 LD HL,SWEEP_PITCHES
A499 ADD HL,BC
A49A LD B,(HL)
A49B LD C,$08
A49D JP BEEP_BC
Prev: A485 Up: Map Next: A4A0