Prev: C6E5 Up: Map Next: C71E
C6F0: Flash Life Image
This routine flashes the last life image eight times, and returns with lives being one less and the carry flag being set.
Flash_Life_Image C6F0 LD HL,($5B86) Decrease Lives by one.
C6F3 DEC (HL)
C6F4 LD B,$08 Sets B (the counter) to loop $08 times.
Flash_Life_Image_Loop C6F6 PUSH BC
C6F7 PUSH HL
C6F8 INC (HL) Increase Lives by one and call Draw_Lives_Images_Alias.
C6F9 CALL Draw_Lives_Images_Alias
C6FC LD B,$10 Interrupt driven halt loop.
Flash_Life_Image_Halt_Loop_01 C6FE HALT
C6FF DJNZ Flash_Life_Image_Halt_Loop_01
C701 POP HL
C702 PUSH HL
C703 DEC (HL) Decrease Lives by one and call Draw_Lives_Images_Alias.
C704 CALL Draw_Lives_Images_Alias
C707 POP HL
C708 LD B,$10 Interrupt driven halt loop.
Flash_Life_Image_Halt_Loop_02 C70A HALT
C70B DJNZ Flash_Life_Image_Halt_Loop_02
C70D POP BC Retrieves B (the counter) from the stack and loop back until finished.
C70E DJNZ Flash_Life_Image_Loop
C710 SCF Set the carry flag and return.
C711 RET
Prev: C6E5 Up: Map Next: C71E