Prev: 68A0 Up: Map Next: 6910
6900: Set PlayArea Attributes
Used by the routine at CreateWindow.
Input
B Count for width
C Count for height
HL Attribute address
AttributesPlayArea 6900 LD E,B E=B.
AttributesPlayArea_0 6901 LD B,E B=E.
6902 PUSH HL Stash HL on the stack.
AttributesPlayArea_1 6903 LD (HL),$76 Write 76 to HL.
6905 INC HL Increment HL by one.
6906 DJNZ AttributesPlayArea_1 Decrease counter by one and loop back to AttributesPlayArea_1 until counter is zero.
6908 POP HL Restore HL from the stack.
6909 CALL $6910 Call 6910.
690C DEC C Decrease C by one.
690D JR NZ,AttributesPlayArea_0 Jump back to AttributesPlayArea_0 until C is zero.
690F RET Return.
Prev: 68A0 Up: Map Next: 6910