Prev: 63982 Up: Map Next: 64106
64090: Fill Attributes
Used by the routines at JumpTable_FillAttributes and Draw_Actor.
Fills attributes starting at HL.
Input
A Attribute to write
HL Attribute-file address
B Height
C Width
Fill_Attributes 64090 PUSH BC Stash BC and HL and copy the width into B.
64091 PUSH HL
64092 LD B,C
Fill_Attributes_Target 64093 LD (HL),A Write A across this attribute row.
64094 INC HL
64095 DJNZ Fill_Attributes_Target
64097 POP HL Move HL down one attribute row and loop back to Fill_Attributes.
64098 LD DE,32
64101 ADD HL,DE
64102 POP BC
64103 DJNZ Fill_Attributes
64105 RET Return.
Prev: 63982 Up: Map Next: 64106