Routines |
Prev: 32577 | Up: Map | Next: 32623 |
Used by the routine at 32252.
|
||||
32602 | LD B,64 | Load B with 64 as we are changing the attribute of the filled area 64 times | ||
32604 | PUSH BC | Store BC (B = remaining number of attribute changes) | ||
32605 | HALT | Wait for interrupt | ||
32606 | LD A,(35948) | Load A with old fill attribute | ||
32609 | ADD A,8 | Add 8 to increment PAPER colour | ||
32611 | AND 120 | Ensure that attribute value is capped at 120 (white PAPER, BRIGHT) and mask out INK and FLASH bits | ||
32613 | LD (35948),A | Store updated attribute value | ||
32616 | CALL 35940 | Fill a region of attribute file with specified attribute | ||
32619 | POP BC | Restore BC (B = remaining number of attribute changes) | ||
32620 | DJNZ 32604 | Decrease B and loop back to 32604 if not zero | ||
32622 | RET | Return |
Prev: 32577 | Up: Map | Next: 32623 |