Prev: CE60 Up: Map Next: CE73
CE68: Set every attribute to bright red on black
Used by the routines at GAME_ENDED and CLEAR_SCRN.
$42 is BRIGHT, black paper, red ink. The entry point FILL_ATTR sets every attribute to A: COLOUR_PANEL fills the screen with the room's ink, BRIGHT, on black, as a room is first shown. Knight Lore's clr_attribute_memory sets bright yellow; its fill_attr is the same.
Input
A (FILL_ATTR) the attribute
CLR_ATTRIBUTE_MEMORY CE68 LD A,$42
This entry point is used by the routine at COLOUR_PANEL.
FILL_ATTR CE6A LD E,A
CE6B LD HL,$5800
CE6E LD BC,$0300
CE71 JR CLR_BYTE
Prev: CE60 Up: Map Next: CE73