Prev: 26784 Up: Map Next: 26896
26880: Set PlayArea Attributes
Used by the routine at CreateWindow.
Input
B Count for width
C Count for height
HL Attribute address
AttributesPlayArea 26880 LD E,B E=B.
AttributesPlayArea_0 26881 LD B,E B=E.
26882 PUSH HL Stash HL on the stack.
AttributesPlayArea_1 26883 LD (HL),118 Write 118 to HL.
26885 INC HL Increment HL by one.
26886 DJNZ AttributesPlayArea_1 Decrease counter by one and loop back to AttributesPlayArea_1 until counter is zero.
26888 POP HL Restore HL from the stack.
26889 CALL 26896 Call 26896.
26892 DEC C Decrease C by one.
26893 JR NZ,AttributesPlayArea_0 Jump back to AttributesPlayArea_0 until C is zero.
26895 RET Return.
Prev: 26784 Up: Map Next: 26896