ReactOS 0.4.17-dev-1321-g5c122a9
pc98.h File Reference
#include <ioaccess.h>
Include dependency graph for pc98.h:

Go to the source code of this file.

Macros

#define FB_OFFSET(x, y)   ((y) * SCREEN_WIDTH + (x))
 
#define InitializePalette
 
#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 15 of file pc98.h.

◆ InitializePalette

#define InitializePalette

Definition at line 26 of file pc98.h.

◆ PrepareForSetPixel

#define PrepareForSetPixel ( )

Definition at line 27 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 31 of file pc98.h.

35{
36 PUCHAR PixelPosition = (PUCHAR)(FrameBuffer + FB_OFFSET(Left, Top));
37
38 *PixelPosition = Color;
39}
static LPHIST_ENTRY Top
Definition: history.c:53
#define FB_OFFSET(x, y)
Definition: pc98.h:15
ULONG_PTR FrameBuffer
Definition: xboxvideo.c:29
unsigned char * PUCHAR
Definition: typedefs.h:53

Variable Documentation

◆ FrameBuffer

ULONG_PTR FrameBuffer
extern

Definition at line 29 of file xboxvideo.c.

Referenced by SetPixel(), and XboxVideoInit().