Prev: 45506 Up: Map Next: 45537
45526: Fill Large Window Attributes
Used by the routine at ClearLargeWindowWithAttributes.
Fills the attributes of the large window, which is 20 characters wide and 20 characters tall and starts at column 2 of row 2, with a single attribute. This is the play window plus the rows below it.
Input
A Attribute
FillLargeWindowAttributes 45526 LD HL,22594 Point HL at the top left attribute of the window.
45529 LD DE,12 There are 12 attributes between the end of one window row and the start of the next.
45532 LD BC,5140 The window is 20 columns wide (B) and 20 rows tall (C).
45535 JR FillAttributes_Row Fill the window using FillAttributes_Row.
Prev: 45506 Up: Map Next: 45537