Prev: 52163 Up: Map Next: 52225
52195: Set Border Attributes
Sets the colours of the panel at the bottom of the screen: black for the two columns at the sides of the window, and bright red for the window itself.
Colour the sides black, then the window bright red.
SetBorderAttributes 52195 XOR A Set A to 0.
52196 LD HL,23222 Point HL at 23222 (in the attribute buffer).
52199 LD BC,259 Set BC to 259.
52202 CALL FillWindow Call FillWindow.
52205 LD HL,23229 Point HL at 23229 (in the attribute buffer).
52208 LD BC,259 Set BC to 259.
52211 CALL FillWindow Call FillWindow.
52214 LD A,66 Set A to 66.
52216 LD HL,23191 Point HL at 23191 (in the attribute buffer).
52219 LD BC,1540 Set BC to 1540.
52222 JP FillWindow Jump to FillWindow.
View the equivalent code in;
Prev: 52163 Up: Map Next: 52225