![]() |
Routines |
| Prev: F9EE | Up: Map | Next: FA6A |
|
Used by the routines at JumpTable_FillAttributes and Draw_Actor.
Fills attributes starting at HL.
|
||||||||||||||
| Fill_Attributes | FA5A | PUSH BC | Stash BC and HL and copy the width into B. | |||||||||||
| FA5B | PUSH HL | |||||||||||||
| FA5C | LD B,C | |||||||||||||
| Fill_Attributes_Target | FA5D | LD (HL),A | Write A across this attribute row. | |||||||||||
| FA5E | INC HL | |||||||||||||
| FA5F | DJNZ Fill_Attributes_Target | |||||||||||||
| FA61 | POP HL | Move HL down one attribute row and loop back to Fill_Attributes. | ||||||||||||
| FA62 | LD DE,$0020 | |||||||||||||
| FA65 | ADD HL,DE | |||||||||||||
| FA66 | POP BC | |||||||||||||
| FA67 | DJNZ Fill_Attributes | |||||||||||||
| FA69 | RET | Return. | ||||||||||||
| Prev: F9EE | Up: Map | Next: FA6A |