My bottom screen is flickering, how to fix it?
I am using the following void to set a background color to the buffer:
void test(u8* screen, int color)
{
int width = (screen == TOP_SCREEN) ? SCREEN_WIDTH_TOP : SCREEN_WIDTH_BOT;
for (int i = 0; i < (width * SCREEN_HEIGHT); i++) {...