Go to the source code of this file.
◆ VGALOGPALETTE
◆ bInit256ColorPalette()
Definition at line 226 of file palette.c.
230 ULONG ulReturnedDataLength;
253 pScreenClutData[cColors].
Red = ppdev->
pPal[cColors].
peRed >>
259 pScreenClutData[cColors].
Unused = 0;
266 if (EngDeviceIoControl(ppdev->
hDriver,
272 &ulReturnedDataLength))
274 DISPDBG((0,
"Failed bEnablePalette"));
279 DISPDBG((5,
"Passed bEnablePalette"));
union VIDEO_CLUT::@3125 LookupTable[1]
struct VIDEO_CLUT * PVIDEO_CLUT
struct _VIDEO_CLUTDATA * PVIDEO_CLUTDATA
#define IOCTL_VIDEO_SET_COLOR_REGISTERS
Referenced by DrvEnableSurface().
◆ bInitDefaultPalette()
Definition at line 107 of file palette.c.
124 RIP(
"DISP bInitDefaultPalette() failed EngAllocMem\n");
132 jRed = jGre = jBlu = 0;
134 for (ulLoop = 0; ulLoop < 256; ulLoop++)
152 for (ulLoop = 0; ulLoop < 10; ulLoop++)
183 RIP(
"DISP bInitDefaultPalette failed EngCreatePalette\n");
209 RIP(
"DISP bInitDefaultPalette failed EngCreatePalette\n");
HPALETTE APIENTRY EngCreatePalette(ULONG iMode, ULONG cColors, ULONG *pulColors, ULONG flRed, ULONG flGreen, ULONG flBlue)
const PALETTEENTRY BASEPALETTE[20]
PALETTEENTRY palPalEntry[16]
void * EngAllocMem(int zero, unsigned long size, int tag=0)
const VGALOGPALETTE logPalVGA
struct tagPALETTEENTRY * PPALETTEENTRY
◆ bInitPaletteInfo()
Definition at line 67 of file palette.c.
BOOL NTAPI bInitDefaultPalette(PPDEV ppdev, DEVINFO *pDevInfo)
Referenced by DrvEnablePDEV().
◆ DrvSetPalette()
Definition at line 291 of file palette.c.
305 ppdev = (
PDEV*) dhpdev;
318 (
ULONG*) pScreenClutData))
320 DISPDBG((0,
"DrvSetPalette failed PALOBJ_cGetColors\n"));
336 pScreenClutData[cColors].
Unused = 0;
343 pScreenClutData[cColors].
Unused = 0;
351 if (EngDeviceIoControl(ppdev->
hDriver,
359 DISPDBG((0,
"DrvSetPalette failed EngDeviceIoControl\n"));
union VIDEO_CLUT::@3125 LookupTable[1]
#define UNREFERENCED_PARAMETER(P)
struct VIDEO_CLUT * PVIDEO_CLUT
ULONG APIENTRY PALOBJ_cGetColors(PALOBJ *PalObj, ULONG Start, ULONG Colors, ULONG *PaletteEntry)
struct _VIDEO_CLUTDATA * PVIDEO_CLUTDATA
#define IOCTL_VIDEO_SET_COLOR_REGISTERS
◆ vDisablePalette()
◆ logPalVGA
Initial value:=
{
0x400,
16,
{
{ 0, 0, 0, 0 },
{ 0x80,0, 0, 0 },
{ 0, 0x80,0, 0 },
{ 0x80,0x80,0, 0 },
{ 0, 0, 0x80,0 },
{ 0x80,0, 0x80,0 },
{ 0, 0x80,0x80,0 },
{ 0x80,0x80,0x80,0 },
{ 0xC0,0xC0,0xC0,0 },
{ 0xFF,0, 0, 0 },
{ 0, 0xFF,0, 0 },
{ 0xFF,0xFF,0, 0 },
{ 0, 0, 0xFF,0 },
{ 0xFF,0, 0xFF,0 },
{ 0, 0xFF,0xFF,0 },
{ 0xFF,0xFF,0xFF,0 }
}
}
Definition at line 29 of file palette.c.
Referenced by bInitDefaultPalette().