Routines |
Prev: 49530 | Up: Map | Next: 49576 |
|
||||
49548 | LD A,24 | A=24. | ||
49550 | LD L,1 | L=1. | ||
49552 | EX AF,AF' | Exchange the AF register with the shadow AF register. | ||
49553 | LD DE,511 | DE=0511. | ||
49556 | PUSH DE | Stash DE on the stack. | ||
49557 | CALL Sounds_PlaySquareWave_Loop | Call Sounds_PlaySquareWave_Loop. | ||
49560 | POP DE | Restore DE from the stack. | ||
49561 | LD A,E | E-=L. | ||
49562 | SUB L | |||
49563 | LD E,A | |||
49564 | JR NC,49556 | Jump to 49556 if the result is non-negative. | ||
49566 | LD A,4 | L+=4. | ||
49568 | ADD A,L | |||
49569 | LD L,A | |||
49570 | EX AF,AF' | Exchange the AF register with the shadow AF register. | ||
49571 | DEC A | Decrease A by one. | ||
49572 | JR NZ,49552 | Jump to 49552 if A is not zero. | ||
49574 | DI | Disable interrupts. | ||
49575 | RET | Return. |
Prev: 49530 | Up: Map | Next: 49576 |