Prev: 35902 Up: Map Next: 35948
35935: Unset Flash Text
Clear the FLASH bit of the three score label attributes at the screen position in HL.
Input
HL Pixel address co-ordinates
UnsetFlashText 35935 CALL AttributeAddress Call AttributeAddress.
35938 LD B,3 Set a letter counter in B for 3 loops.
UnsetFlashText_Loop 35940 LD A,(HL) Fetch the attribute byte.
35941 AND %01111111 Keep only bits 0-6 (i.e. everything except the flash bit).
35943 LD (HL),A Write the attribute byte back to *HL.
35944 INC HL Increment the attribute address pointer by one.
35945 DJNZ UnsetFlashText_Loop Decrease the counter by one and jump back to UnsetFlashText_Loop until it is zero.
35947 RET Return.
Prev: 35902 Up: Map Next: 35948