Prev: B1C2 Up: Map Next: B1E1
B1D6: Fill Large Window Attributes
Used by the routine at ClearLargeWindowWithAttributes.
Fills the attributes of the large window, which is 14 characters wide and 14 characters tall and starts at column 02 of row 02, with a single attribute. This is the play window plus the rows below it.
Input
A Attribute
FillLargeWindowAttributes B1D6 LD HL,$5842 Point HL at the top left attribute of the window.
B1D9 LD DE,$000C There are 0C attributes between the end of one window row and the start of the next.
B1DC LD BC,$1414 The window is 14 columns wide (B) and 14 rows tall (C).
B1DF JR FillAttributes_Row Fill the window using FillAttributes_Row.
Prev: B1C2 Up: Map Next: B1E1