Prev: 74DB Up: Map Next: 74EE
74E2: Reset Attribute Buffer
Used by the routines at CreateWindow, StartGame and CreateIntroductionIngredient.
Sets the border to black, and clears the attribute buffer by filling it with zero (black ink on a black paper).
ResetAttributes 74E2 XOR A Set the border to BLACK.
74E3 OUT ($FE),A
74E5 LD HL,$5800 Point HL at the start of the attribute buffer.
74E8 LD B,$5B Set the end of the attribute buffer (5B).
74EA LD C,$00 Set the byte to write to 00 (black).
74EC JR ResetCopier Jump to ResetCopier.
View the equivalent code in;
Prev: 74DB Up: Map Next: 74EE