Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 310 of file video.c.
Referenced by LlbFwVideoClearScreen(), and LlbStartup().
{ ULONG ScreenSize, p; ULONG BackColor; PUSHORT VideoBuffer; /* Get frame buffer and reset cursor position */ VideoBuffer = LlbHwGetFrameBuffer(); ScreenCursor = 0; /* Backcolor on this machine */ if (OsLoader) { /* Black */ BackColor = 0; } else { /* Deep blue */ #ifdef BLUE_SCREEN BackColor = LlbHwVideoCreateColor(14, 0, 82); #else BackColor = LlbHwVideoCreateColor(0, 0, 0); #endif BackColor = (BackColor << 16) | BackColor; } /* Screen size on this machine */ ScreenSize = LlbHwGetScreenWidth() * LlbHwGetScreenHeight(); /* Clear the screen with the given color */ for (p = 0; p < ScreenSize * 2; p += 4) { *(PULONG)((PCHAR)VideoBuffer + p) = BackColor; } }