Prev: 84B4 Up: Map Next: 84D8
84BB: Reset Attribute Buffer
Used by the routine at CreateWindow.
ResetAttributes 84BB XOR A Set the border to black.
84BC OUT ($FE),A
84BE LD HL,$5800 HL=attribute buffer.
84C1 LD B,$5B B=5B (i.e. finish once we reach the end of the attribute buffer).
84C3 LD C,$43 C=43 (value to write).
84C5 CALL ResetCopier Call ResetCopier.
84C8 LD HL,$5800
84CB LD DE,$001F
84CE LD BC,$1800
ResetAttributes_0 84D1 LD (HL),C
84D2 ADD HL,DE
84D3 LD (HL),C
84D4 INC HL
84D5 DJNZ ResetAttributes_0
84D7 RET Return.
View the equivalent code in;
Prev: 84B4 Up: Map Next: 84D8