rem: memset((void *)sConsole.frame_buffer, sPalette8[background_color(attr)], sConsole.height * sConsole.bytes_per_row);
add: if (sConsole.depth >= 8) { memset((void *)sConsole.frame_buffer, sPalette8[background_color(attr)], sConsole.height * sConsole.bytes_per_row); } else {  memset((void *)sConsole.frame_buffer, 0xff, sConsole.height * sConsole.bytes_per_row); }
context: console_clear(uint8 attr){	switch (sConsole.bytes_per_pixel) {		case 1:			memset((void *)sConsole.frame_buffer, sPalette8[background_color(attr)],				sConsole.height * sConsole.bytes_per_row);			break;		default:		{			uint8 *base = (uint8 *)sConsole.frame_buffer;			uint8 *color = get_palette_entry(background_color(attr));			for (int32 y = 0; y < sConsole.height; y++) {				for (int32 x = 0; x < sConsole.width; x++) {					for (int32 i = 0; i < sConsole.bytes_per_pixel; i++) {						base[x * sConsole.bytes_per_pixel + i] = color[i];					}				}				base += sConsole.bytes_per_row;			}			break;		}	}	sConsole.cursor_x = -1;	sConsole.cursor_y = -1;}