ReactOS 0.4.16-dev-2104-gb84fa49
pc98.h File Reference

Go to the source code of this file.

Macros

#define FB_OFFSET(x, y)   ((y) * SCREEN_WIDTH + (x))
 
#define PrepareForSetPixel()
 

Functions

VOID InitPaletteWithTable (_In_reads_(Count) const ULONG *Table, _In_ ULONG Count)
 
FORCEINLINE VOID SetPixel (_In_ ULONG Left, _In_ ULONG Top, _In_ UCHAR Color)
 

Variables

ULONG_PTR FrameBuffer
 

Macro Definition Documentation

◆ FB_OFFSET

#define FB_OFFSET (   x,
  y 
)    ((y) * SCREEN_WIDTH + (x))

Definition at line 12 of file pc98.h.

◆ PrepareForSetPixel

#define PrepareForSetPixel ( )

Definition at line 23 of file pc98.h.

Function Documentation

◆ InitPaletteWithTable()

VOID InitPaletteWithTable ( _In_reads_(Count) const ULONG Table,
_In_ ULONG  Count 
)

Definition at line 220 of file bootvid.c.

223{
225}
#define UNIMPLEMENTED
Definition: ntoskrnl.c:15

◆ SetPixel()

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

Definition at line 27 of file pc98.h.

31{
32 PUCHAR PixelPosition = (PUCHAR)(FrameBuffer + FB_OFFSET(Left, Top));
33
34 WRITE_REGISTER_UCHAR(PixelPosition, Color);
35}
static LPHIST_ENTRY Top
Definition: history.c:53
#define FB_OFFSET(x, y)
Definition: pc98.h:12
ULONG_PTR FrameBuffer
Definition: xboxvideo.c:29
unsigned char * PUCHAR
Definition: typedefs.h:53
NTKERNELAPI VOID NTAPI WRITE_REGISTER_UCHAR(IN PUCHAR Register, IN UCHAR Value)

Variable Documentation

◆ FrameBuffer