Prev: 33972 Up: Map Next: 34008
33979: Reset Attribute Buffer
Used by the routine at CreateWindow.
ResetAttributes 33979 XOR A Set the border to black.
33980 OUT (254),A
33982 LD HL,22528 HL=attribute buffer.
33985 LD B,91 B=91 (i.e. finish once we reach the end of the attribute buffer).
33987 LD C,67 C=67 (value to write).
33989 CALL ResetCopier Call ResetCopier.
33992 LD HL,22528
33995 LD DE,31
33998 LD BC,6144
ResetAttributes_0 34001 LD (HL),C
34002 ADD HL,DE
34003 LD (HL),C
34004 INC HL
34005 DJNZ ResetAttributes_0
34007 RET Return.
View the equivalent code in;
Prev: 33972 Up: Map Next: 34008