ReactOS 0.4.15-dev-7961-gdcf9eb0
bootvid.c File Reference
#include "precomp.h"
#include <drivers/xbox/xgpu.h>
#include <debug.h>
Include dependency graph for bootvid.c:

Go to the source code of this file.

Functions

static UCHAR NvGetCrtc (ULONG Base, UCHAR Index)
 
static UCHAR NvGetBytesPerPixel (ULONG Base, ULONG ScreenWidth)
 
static VOID ApplyPalette (VOID)
 
BOOLEAN NTAPI VidInitialize (_In_ BOOLEAN SetMode)
 
VOID NTAPI VidCleanUp (VOID)
 
VOID NTAPI VidResetDisplay (_In_ BOOLEAN HalReset)
 
VOID InitPaletteWithTable (_In_ PULONG Table, _In_ ULONG Count)
 
VOID PrepareForSetPixel (VOID)
 
VOID SetPixel (_In_ ULONG Left, _In_ ULONG Top, _In_ UCHAR Color)
 
VOID PreserveRow (_In_ ULONG CurrentTop, _In_ ULONG TopDelta, _In_ BOOLEAN Restore)
 
VOID DoScroll (_In_ ULONG Scroll)
 
VOID DisplayCharacter (_In_ CHAR Character, _In_ ULONG Left, _In_ ULONG Top, _In_ ULONG TextColor, _In_ ULONG BackColor)
 
VOID NTAPI VidSolidColorFill (_In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Right, _In_ ULONG Bottom, _In_ UCHAR Color)
 
VOID NTAPI VidScreenToBufferBlt (_Out_writes_bytes_(Delta *Height) PUCHAR Buffer, _In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Width, _In_ ULONG Height, _In_ ULONG Delta)
 

Variables

static ULONG_PTR FrameBufferStart = 0
 
static ULONG FrameBufferWidth
 
static ULONG FrameBufferHeight
 
static ULONG PanH
 
static ULONG PanV
 
static UCHAR BytesPerPixel
 
static RGBQUAD CachedPalette [BV_MAX_COLORS]
 
static PUCHAR BackBuffer = NULL
 

Function Documentation

◆ ApplyPalette()

static VOID ApplyPalette ( VOID  )
static

Definition at line 55 of file bootvid.c.

56{
58 ULONG x, y;
59
60 /* Top panning */
61 for (x = 0; x < PanV * FrameBufferWidth; x++)
62 {
63 *Frame++ = CachedPalette[0];
64 }
65
66 /* Left panning */
67 for (y = 0; y < SCREEN_HEIGHT; y++)
68 {
69 Frame = (PULONG)(FrameBufferStart + FB_OFFSET(-PanH, y));
70
71 for (x = 0; x < PanH; x++)
72 {
73 *Frame++ = CachedPalette[0];
74 }
75 }
76
77 /* Screen redraw */
78 PUCHAR Back = BackBuffer;
79 for (y = 0; y < SCREEN_HEIGHT; y++)
80 {
81 Frame = (PULONG)(FrameBufferStart + FB_OFFSET(0, y));
82
83 for (x = 0; x < SCREEN_WIDTH; x++)
84 {
85 *Frame++ = CachedPalette[*Back++];
86 }
87 }
88
89 /* Right panning */
90 for (y = 0; y < SCREEN_HEIGHT; y++)
91 {
93
94 for (x = 0; x < PanH; x++)
95 {
96 *Frame++ = CachedPalette[0];
97 }
98 }
99
100 /* Bottom panning */
102 for (x = 0; x < PanV * FrameBufferWidth; x++)
103 {
104 *Frame++ = CachedPalette[0];
105 }
106}
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
static ULONG PanV
Definition: bootvid.c:18
static ULONG FrameBufferWidth
Definition: bootvid.c:18
static RGBQUAD CachedPalette[BV_MAX_COLORS]
Definition: bootvid.c:20
static ULONG_PTR FrameBufferStart
Definition: bootvid.c:17
static ULONG PanH
Definition: bootvid.c:18
static PUCHAR BackBuffer
Definition: bootvid.c:21
#define FB_OFFSET(x, y)
Definition: pc98.h:17
#define SCREEN_WIDTH
Definition: pc98video.c:27
#define SCREEN_HEIGHT
Definition: pc98video.c:28
uint32_t * PULONG
Definition: typedefs.h:59
unsigned char * PUCHAR
Definition: typedefs.h:53
uint32_t ULONG
Definition: typedefs.h:59

Referenced by InitPaletteWithTable().

◆ DisplayCharacter()

VOID DisplayCharacter ( _In_ CHAR  Character,
_In_ ULONG  Left,
_In_ ULONG  Top,
_In_ ULONG  TextColor,
_In_ ULONG  BackColor 
)

Definition at line 349 of file bootvid.c.

355{
356 /* Get the font and pixel pointer */
357 PUCHAR FontChar = GetFontPtr(Character);
358
359 /* Loop each pixel height */
360 for (ULONG y = Top; y < Top + BOOTCHAR_HEIGHT; y++, FontChar += FONT_PTR_DELTA)
361 {
362 /* Loop each pixel width */
363 ULONG x = Left;
364
365 for (UCHAR bit = 1 << (BOOTCHAR_WIDTH - 1); bit > 0; bit >>= 1, x++)
366 {
367 /* Check if we should draw this pixel */
368 if (*FontChar & bit)
369 {
370 /* We do, use the given Text Color */
371 SetPixel(x, y, (UCHAR)TextColor);
372 }
373 else if (BackColor < BV_COLOR_NONE)
374 {
375 /*
376 * This is a background pixel. We're drawing it
377 * unless it's transparent.
378 */
379 SetPixel(x, y, (UCHAR)BackColor);
380 }
381 }
382 }
383}
FORCEINLINE VOID SetPixel(_In_ ULONG Left, _In_ ULONG Top, _In_ UCHAR Color)
Definition: arm.h:55
static LPHIST_ENTRY Top
Definition: history.c:53
#define GetFontPtr(_Char)
Definition: precomp.h:83
#define FONT_PTR_DELTA
Definition: precomp.h:84
#define BOOTCHAR_HEIGHT
Definition: precomp.h:36
#define BOOTCHAR_WIDTH
Definition: precomp.h:37
#define BV_COLOR_NONE
Definition: display.h:31
unsigned char UCHAR
Definition: xmlstorage.h:181

Referenced by VidDisplayString(), and VidDisplayStringXY().

◆ DoScroll()

VOID DoScroll ( _In_ ULONG  Scroll)

Definition at line 321 of file bootvid.c.

323{
324 ULONG RowSize = VidpScrollRegion[2] - VidpScrollRegion[0] + 1;
325
326 /* Calculate the position in memory for the row */
327 PUCHAR OldPosition = BackBuffer + BB_OFFSET(VidpScrollRegion[0], VidpScrollRegion[1] + Scroll);
329
330 /* Start loop */
331 for (ULONG Top = VidpScrollRegion[1]; Top <= VidpScrollRegion[3]; ++Top)
332 {
333 ULONG i;
334
335 /* Scroll the row */
336 RtlCopyMemory(NewPosition, OldPosition, RowSize);
337
339
340 for (i = 0; i < RowSize; ++i)
341 Frame[i] = CachedPalette[NewPosition[i]];
342
343 OldPosition += SCREEN_WIDTH;
344 NewPosition += SCREEN_WIDTH;
345 }
346}
ULONG VidpScrollRegion[4]
Definition: common.c:19
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
Definition: glfuncs.h:248
#define RtlCopyMemory(Destination, Source, Length)
Definition: typedefs.h:263
#define BB_OFFSET(x, y)
Definition: xbox.h:15

Referenced by VidDisplayString().

◆ InitPaletteWithTable()

VOID InitPaletteWithTable ( _In_ PULONG  Table,
_In_ ULONG  Count 
)

Definition at line 242 of file bootvid.c.

245{
247
248 for (ULONG i = 0; i < Count; i++, Entry++)
249 {
250 CachedPalette[i] = *Entry | 0xFF000000;
251 }
252 ApplyPalette();
253}
ASMGENDATA Table[]
Definition: genincdata.c:61
static VOID ApplyPalette(VOID)
Definition: bootvid.c:55
int Count
Definition: noreturn.cpp:7
base of all file and directory entries
Definition: entries.h:83

Referenced by VidBitBlt().

◆ NvGetBytesPerPixel()

static UCHAR NvGetBytesPerPixel ( ULONG  Base,
ULONG  ScreenWidth 
)
static

Definition at line 35 of file bootvid.c.

38{
39 /* Get BPP directly from NV2A CRTC (magic constants are from Cromwell) */
40 UCHAR BytesPerPixel = 8 * (((NvGetCrtc(Base, 0x19) & 0xE0) << 3) | (NvGetCrtc(Base, 0x13) & 0xFF)) / ScreenWidth;
41
42 if (BytesPerPixel == 4)
43 {
44 ASSERT((NvGetCrtc(Base, 0x28) & 0xF) == BytesPerPixel - 1);
45 }
46 else
47 {
48 ASSERT((NvGetCrtc(Base, 0x28) & 0xF) == BytesPerPixel);
49 }
50
51 return BytesPerPixel;
52}
static UCHAR NvGetCrtc(ULONG Base, UCHAR Index)
Definition: bootvid.c:26
static UCHAR BytesPerPixel
Definition: bootvid.c:19
#define ASSERT(a)
Definition: mode.c:44
_In_opt_ ULONG Base
Definition: rtlfuncs.h:2439
static ULONG ScreenWidth
Definition: pcvideo.c:114

Referenced by VidInitialize().

◆ NvGetCrtc()

static UCHAR NvGetCrtc ( ULONG  Base,
UCHAR  Index 
)
static

Definition at line 26 of file bootvid.c.

29{
32}
_In_ WDFCOLLECTION _In_ ULONG Index
NTKERNELAPI VOID NTAPI WRITE_REGISTER_UCHAR(IN PUCHAR Register, IN UCHAR Value)
NTKERNELAPI UCHAR NTAPI READ_REGISTER_UCHAR(IN PUCHAR Register)
#define NV2A_CRTC_REGISTER_INDEX
Definition: xgpu.h:22
#define NV2A_CRTC_REGISTER_VALUE
Definition: xgpu.h:23

Referenced by NvGetBytesPerPixel().

◆ PrepareForSetPixel()

VOID PrepareForSetPixel ( VOID  )

Definition at line 256 of file bootvid.c.

257{
258 /* Nothing to prepare */
259 NOTHING;
260}
#define NOTHING
Definition: input_list.c:10

Referenced by BitBlt(), and RleBitBlt().

◆ PreserveRow()

VOID PreserveRow ( _In_ ULONG  CurrentTop,
_In_ ULONG  TopDelta,
_In_ BOOLEAN  Restore 
)

Definition at line 276 of file bootvid.c.

280{
281 PUCHAR NewPosition, OldPosition;
282
283 /* Calculate the position in memory for the row */
284 if (Restore)
285 {
286 /* Restore the row by copying back the contents saved off-screen */
287 NewPosition = BackBuffer + BB_OFFSET(0, CurrentTop);
288 OldPosition = BackBuffer + BB_OFFSET(0, SCREEN_HEIGHT);
289 }
290 else
291 {
292 /* Preserve the row by saving its contents off-screen */
293 NewPosition = BackBuffer + BB_OFFSET(0, SCREEN_HEIGHT);
294 OldPosition = BackBuffer + BB_OFFSET(0, CurrentTop);
295 }
296
297 /* Set the count and loop every pixel of backbuffer */
298 ULONG Count = TopDelta * SCREEN_WIDTH;
299
300 RtlCopyMemory(NewPosition, OldPosition, Count);
301
302 if (Restore)
303 {
304 NewPosition = BackBuffer + BB_OFFSET(0, CurrentTop);
305
306 /* Set the count and loop every pixel of framebuffer */
307 for (ULONG y = 0; y < TopDelta; y++)
308 {
309 PULONG Frame = (PULONG)(FrameBufferStart + FB_OFFSET(0, CurrentTop + y));
310
312 while (Count--)
313 {
314 *Frame++ = CachedPalette[*NewPosition++];
315 }
316 }
317 }
318}

Referenced by VidDisplayString().

◆ SetPixel()

VOID SetPixel ( _In_ ULONG  Left,
_In_ ULONG  Top,
_In_ UCHAR  Color 
)

Definition at line 263 of file bootvid.c.

267{
268 PUCHAR Back = BackBuffer + BB_OFFSET(Left, Top);
269 PULONG Frame = (PULONG)(FrameBufferStart + FB_OFFSET(Left, Top));
270
271 *Back = Color;
272 *Frame = CachedPalette[Color];
273}

◆ VidCleanUp()

VOID NTAPI VidCleanUp ( VOID  )

Definition at line 216 of file bootvid.c.

217{
218 /* Just fill the screen black */
220}
VOID NTAPI VidSolidColorFill(_In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Right, _In_ ULONG Bottom, _In_ UCHAR Color)
Definition: bootvid.c:261
#define BV_COLOR_BLACK
Definition: display.h:15

◆ VidInitialize()

BOOLEAN NTAPI VidInitialize ( _In_ BOOLEAN  SetMode)

Definition at line 112 of file bootvid.c.

114{
116
117 /* FIXME: Add platform check */
118 /* 1. Access PCI device 1:0:0 */
119 /* 2. Check if device ID is 10DE:02A0 */
120
121 /* FIXME: Get device MMIO ranges from PCI */
122 PHYSICAL_ADDRESS PhysControlStart = {.QuadPart = 0xFD000000};
123 PHYSICAL_ADDRESS PhysFrameBufferStart = {.QuadPart = 0xF0000000};
124 ULONG ControlLength = 16 * 1024 * 1024;
125
126 ULONG_PTR ControlStart = (ULONG_PTR)MmMapIoSpace(PhysControlStart, ControlLength, MmNonCached);
127 if (!ControlStart)
128 {
129 DPRINT1("Out of memory!\n");
130 return FALSE;
131 }
132
136
137 FrameBuffer &= 0x0FFFFFFF;
138 if (FrameBuffer != 0x3C00000 && FrameBuffer != 0x7C00000)
139 {
140 /* Check framebuffer address (high 4 MB of either 64 or 128 MB RAM) */
141 DPRINT1("Non-standard framebuffer address 0x%p\n", FrameBuffer);
142 }
143 /* Verify that framebuffer address is page-aligned */
145
147 {
148 DPRINT1("Unsupported screen resolution!\n");
149 goto cleanup;
150 }
151
153 ASSERT(BytesPerPixel >= 1 && BytesPerPixel <= 4);
154
155 if (BytesPerPixel != 4)
156 {
157 DPRINT1("Unsupported BytesPerPixel = %d\n", BytesPerPixel);
158 goto cleanup;
159 }
160
161 /* Calculate panning values */
164
165 /* Verify that screen fits framebuffer size */
167
168 /* FIXME: obtain fb size from firmware somehow (Cromwell reserves high 4 MB of RAM) */
170 {
171 DPRINT1("Current screen resolution exceeds video memory bounds!\n");
172 goto cleanup;
173 }
174
175 /*
176 * Reserve off-screen area for the backbuffer that contains 8-bit indexed
177 * color screen image, plus preserved row data.
178 */
179 ULONG BackBufferSize = SCREEN_WIDTH * (SCREEN_HEIGHT + BOOTCHAR_HEIGHT + 1);
180
181 /* Make sure there is enough video memory for backbuffer */
182 if (NV2A_VIDEO_MEMORY_SIZE - FrameBufferSize < BackBufferSize)
183 {
184 DPRINT1("Out of memory!\n");
185 goto cleanup;
186 }
187
188 /* Return the address back to GPU memory mapped I/O */
189 PhysFrameBufferStart.QuadPart += FrameBuffer;
191 if (!FrameBufferStart)
192 {
193 DPRINT1("Out of memory!\n");
194 goto cleanup;
195 }
196
197 Result = TRUE;
198
199 /* Place backbuffer in the hidden part of framebuffer */
201
202 /* Now check if we have to set the mode */
203 if (SetMode)
205
206cleanup:
207 if (ControlStart)
208 MmUnmapIoSpace((PVOID)ControlStart, ControlLength);
209
210 /* Video is ready */
211 return Result;
212}
unsigned char BOOLEAN
#define READ_REGISTER_ULONG(r)
Definition: arm.h:26
#define DPRINT1
Definition: precomp.h:8
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
static void cleanup(void)
Definition: main.c:1335
#define ULONG_PTR
Definition: config.h:101
#define PAGE_SIZE
Definition: env_spec_w32.h:49
VOID NTAPI VidResetDisplay(_In_ BOOLEAN HalReset)
Definition: bootvid.c:395
ULONG_PTR FrameBuffer
Definition: bootvid.c:15
static UCHAR NvGetBytesPerPixel(ULONG Base, ULONG ScreenWidth)
Definition: bootvid.c:35
static ULONG FrameBufferHeight
Definition: bootvid.c:18
VOID NTAPI MmUnmapIoSpace(IN PVOID BaseAddress, IN SIZE_T NumberOfBytes)
Definition: iosup.c:193
PVOID NTAPI MmMapIoSpace(IN PHYSICAL_ADDRESS PhysicalAddress, IN SIZE_T NumberOfBytes, IN MEMORY_CACHING_TYPE CacheType)
Definition: iosup.c:47
ULONG FrameBufferSize
Definition: xboxvideo.c:29
uint32_t ULONG_PTR
Definition: typedefs.h:65
LONGLONG QuadPart
Definition: typedefs.h:114
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
Definition: wsk.h:409
@ MmNonCached
Definition: mmtypes.h:129
#define NV2A_VIDEO_MEMORY_SIZE
Definition: xgpu.h:16
#define NV2A_CRTC_FRAMEBUFFER_START
Definition: xgpu.h:21
#define NV2A_RAMDAC_FP_VVALID_END
Definition: xgpu.h:26
#define NV2A_RAMDAC_FP_HVALID_END
Definition: xgpu.h:25

◆ VidResetDisplay()

VOID NTAPI VidResetDisplay ( _In_ BOOLEAN  HalReset)

Definition at line 224 of file bootvid.c.

226{
227 /* Clear the current position */
228 VidpCurrentX = 0;
229 VidpCurrentY = 0;
230
231 /* Clear the screen with HAL if we were asked to */
232 if (HalReset)
234
235 /* Re-initialize the palette and fill the screen black */
239}
ULONG VidpCurrentY
Definition: common.c:17
ULONG VidpCurrentX
Definition: common.c:16
#define InitializePalette()
Definition: precomp.h:77
#define HalResetDisplay
Definition: halfuncs.h:45
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262

◆ VidScreenToBufferBlt()

VOID NTAPI VidScreenToBufferBlt ( _Out_writes_bytes_(Delta *Height) PUCHAR  Buffer,
_In_ ULONG  Left,
_In_ ULONG  Top,
_In_ ULONG  Width,
_In_ ULONG  Height,
_In_ ULONG  Delta 
)

Definition at line 411 of file bootvid.c.

418{
419 /* Clear the destination buffer */
421
422 /* Start the outer Y height loop */
423 for (ULONG y = 0; y < Height; y++)
424 {
425 /* Set current scanline */
426 PUCHAR Back = BackBuffer + BB_OFFSET(Left, Top + y);
427 PUCHAR Buf = Buffer + y * Delta;
428
429 /* Start the X inner loop */
430 for (ULONG x = 0; x < Width; x += sizeof(USHORT))
431 {
432 /* Read the current value */
433 *Buf = (*Back++ & 0xF) << 4;
434 *Buf |= *Back++ & 0xF;
435 Buf++;
436 }
437 }
438}
Definition: bufpool.h:45
unsigned short USHORT
Definition: pedump.c:61
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
Definition: font.h:89
_In_ HFONT _Out_ PUINT Height
Definition: font.h:88
static ULONG Delta
Definition: xboxvideo.c:33

◆ VidSolidColorFill()

VOID NTAPI VidSolidColorFill ( _In_ ULONG  Left,
_In_ ULONG  Top,
_In_ ULONG  Right,
_In_ ULONG  Bottom,
_In_ UCHAR  Color 
)

Definition at line 387 of file bootvid.c.

393{
394 while (Top <= Bottom)
395 {
396 PUCHAR Back = BackBuffer + BB_OFFSET(Left, Top);
397 PULONG Frame = (PULONG)(FrameBufferStart + FB_OFFSET(Left, Top));
398 ULONG L = Left;
399
400 while (L++ <= Right)
401 {
402 *Back++ = Color;
403 *Frame++ = CachedPalette[Color];
404 }
405 Top++;
406 }
407}
static LPHIST_ENTRY Bottom
Definition: history.c:54
#define L(x)
Definition: ntvdm.h:50

Variable Documentation

◆ BackBuffer

◆ BytesPerPixel

UCHAR BytesPerPixel
static

Definition at line 19 of file bootvid.c.

Referenced by NvGetBytesPerPixel(), and VidInitialize().

◆ CachedPalette

RGBQUAD CachedPalette[BV_MAX_COLORS]
static

◆ FrameBufferHeight

ULONG FrameBufferHeight
static

Definition at line 18 of file bootvid.c.

Referenced by VidInitialize().

◆ FrameBufferStart

ULONG_PTR FrameBufferStart = 0
static

◆ FrameBufferWidth

ULONG FrameBufferWidth
static

Definition at line 18 of file bootvid.c.

Referenced by ApplyPalette(), and VidInitialize().

◆ PanH

ULONG PanH
static

Definition at line 18 of file bootvid.c.

Referenced by ApplyPalette(), and VidInitialize().

◆ PanV

ULONG PanV
static

Definition at line 18 of file bootvid.c.

Referenced by ApplyPalette(), and VidInitialize().