Prev: 31577 Up: Map Next: 31626
31612: FillAttrColumn
Used by the routines at 31417, 32816, 34859, 34882, 35228 and 35638.
Paint a 10-cell-wide attribute block — C rows of attribute A starting at HL (stride 22 = 32-10 to the next row). Used to colour the menu rows.
31612 LD DE,22 row stride remainder (32 - 10)
31615 LD B,10 10 attribute cells per row
31617 LD (HL),A
31618 INC HL
31619 DJNZ 31617
31621 ADD HL,DE next row
31622 DEC C
31623 JR NZ,31615
31625 RET
Prev: 31577 Up: Map Next: 31626