Prev: 49252 Up: Map Next: 49323
49271: Sounds: Play Queue
Used by the routine at StartGame.
Sounds_PlayQueue 49271 LD IY,(46995) IY=*46995.
49275 LD A,(23672) A=*FRAMES.
49278 LD (47079),A Write A to *47079.
49281 EI Enable interrupts.
49282 IM 1 Interrupt mode 1.
49284 LD A,(23773) Call 38730 if *23773 is not zero.
49287 AND A
49288 CALL NZ,38730
49291 LD IX,49336 IX=Sounds_Queue.
49295 LD B,5 B=5 (counter).
Sounds_PlayQueue_Loop 49297 PUSH BC Stash BC on the stack.
49298 LD A,(IX+0) Call Sounds_PlaySound if *IX+0 is not zero.
49301 AND A
49302 CALL NZ,Sounds_PlaySound
49305 LD BC,7 BC=0007.
49308 ADD IX,BC IX+=BC.
49310 POP BC Restore BC from the stack.
49311 DJNZ Sounds_PlayQueue_Loop Decrease counter by one and loop back to Sounds_PlayQueue_Loop until counter is zero.
49313 LD A,(23672) B=*FRAMES.
49316 LD B,A
49317 LD A,(47079) A=*47079.
49320 CP B Compare A with B.
49321 DI Disable interrupts.
49322 RET Return.
Prev: 49252 Up: Map Next: 49323