41#define TOP_BOTTOM_LINES 0
45#define MAKE_COLOR(Red, Green, Blue) (0xff000000 | (((Red) & 0xff) << 16) | (((Green) & 0xff) << 8) | ((Blue) & 0xff))
64 Pixel[Col] = (0 != (FontPtr[
Line] &
Mask) ? FgColor : BgColor);
76 Intensity = (0 == (Attr & 0x08) ? 127 : 255);
79 (0 == (Attr & 0x04) ? 0 : (
Intensity << 16)) |
80 (0 == (Attr & 0x02) ? 0 : (
Intensity << 8)) |
110 ULONG BgColor, Dummy;
128 ULONG FgColor, BgColor;
138 ULONG FgColor, BgColor;
180 TRACE(
"i = %d, base_addr_low = 0x%p, MemoryMap->length_low = 0x%p\n",
i,
MemoryMap->base_addr_low,
MemoryMap->length_low);
187 TRACE(
"Video memory found\n");
191 ERR(
"Video memory not found!\n");
208 WARN(
"Could not detect framebuffer memory size, fallback to 4 MB\n");
259 TRACE(
"XboxVideoGetFontsFromFirmware(): UNIMPLEMENTED\n");
285 OffScreenBuffer += 2;
#define READ_REGISTER_ULONG(r)
BIOS_MEMORY_MAP MemoryMap[32]
#define DBG_DEFAULT_CHANNEL(ch)
enum tagVIDEODISPLAYMODE VIDEODISPLAYMODE
#define ATTR(cFore, cBack)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
static WORD Intensity(RGBQUAD clr)
#define MB_INFO_FLAG_MEMORY_MAP
struct memory_map memory_map_t
_In_ ULONG _In_ ULONG Offset
static VIDEODISPLAYMODE DisplayMode
unsigned long mmap_length
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
_In_ HFONT _Out_ PUINT Height
_In_ WDFCOLLECTION _In_ ULONG Index
VOID XboxVideoGetPaletteColor(UCHAR Color, UCHAR *Red, UCHAR *Green, UCHAR *Blue)
static VOID XboxVideoClearScreenColor(ULONG Color, BOOLEAN FullScreen)
VOID XboxVideoPutChar(int Ch, UCHAR Attr, unsigned X, unsigned Y)
static ULONG ScreenHeight
VOID XboxVideoPrepareForReactOS(VOID)
multiboot_info_t * MultibootInfoPtr
VOID XboxVideoSetTextCursorPosition(UCHAR X, UCHAR Y)
VOID XboxVideoSetPaletteColor(UCHAR Color, UCHAR Red, UCHAR Green, UCHAR Blue)
VOID XboxVideoCopyOffScreenBufferToVRAM(PVOID Buffer)
VOID XboxVideoGetDisplaySize(PULONG Width, PULONG Height, PULONG Depth)
ULONG XboxGetFramebufferSize(PVOID Offset)
ULONG XboxVideoGetBufferSize(VOID)
VOID XboxVideoScrollUp(VOID)
static VOID XboxVideoAttrToColors(UCHAR Attr, ULONG *FgColor, ULONG *BgColor)
VIDEODISPLAYMODE XboxVideoSetDisplayMode(char *DisplayMode, BOOLEAN Init)
VOID XboxVideoHideShowTextCursor(BOOLEAN Show)
UCHAR MachDefaultTextColor
BOOLEAN XboxVideoIsPaletteFixed(VOID)
#define MAKE_COLOR(Red, Green, Blue)
static ULONG BytesPerPixel
VOID XboxVideoClearScreen(UCHAR Attr)
static ULONG XboxVideoAttrToSingleColor(UCHAR Attr)
VOID XboxVideoGetFontsFromFirmware(PULONG RomFontPointers)
UCHAR NvGetCrtc(UCHAR Index)
static VOID XboxVideoOutputChar(UCHAR Char, unsigned X, unsigned Y, ULONG FgColor, ULONG BgColor)
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION _In_ ULONG _In_ SIZE_T _In_ ULONG _In_ USHORT Depth
NTKERNELAPI VOID NTAPI WRITE_REGISTER_UCHAR(IN PUCHAR Register, IN UCHAR Value)
NTKERNELAPI UCHAR NTAPI READ_REGISTER_UCHAR(IN PUCHAR Register)
#define NV2A_CRTC_FRAMEBUFFER_START
#define NV2A_RAMDAC_FP_VVALID_END
#define NV2A_CRTC_REGISTER_INDEX
#define NV2A_CRTC_REGISTER_VALUE
#define NV2A_RAMDAC_FP_HVALID_END