Home | Info | Community | Development | myReactOS | Contact Us
[static]
Definition at line 43 of file xboxvideo.c.
Referenced by XboxVideoPutChar().
{ PUCHAR FontPtr; PULONG Pixel; UCHAR Mask; unsigned Line; unsigned Col; FontPtr = XboxFont8x16 + Char * 16; Pixel = (PULONG) ((char *) FrameBuffer + (Y * CHAR_HEIGHT + TOP_BOTTOM_LINES) * Delta + X * CHAR_WIDTH * BytesPerPixel); for (Line = 0; Line < CHAR_HEIGHT; Line++) { Mask = 0x80; for (Col = 0; Col < CHAR_WIDTH; Col++) { Pixel[Col] = (0 != (FontPtr[Line] & Mask) ? FgColor : BgColor); Mask = Mask >> 1; } Pixel = (PULONG) ((char *) Pixel + Delta); } }