mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +00:00
c424146e2c
svn path=/branches/cmake-bringup/; revision=48236
29 lines
747 B
C
29 lines
747 B
C
|
|
#define VGA_NORMAL 0
|
|
#define VGA_AND 8
|
|
#define VGA_OR 16
|
|
#define VGA_XOR 24
|
|
|
|
#define MISC (PUCHAR)0x3c2
|
|
#define SEQ (PUCHAR)0x3c4
|
|
#define SEQDATA (PUCHAR)0x3c5
|
|
#define CRTC (PUCHAR)0x3d4
|
|
#define CRTCDATA (PUCHAR)0x3d5
|
|
#define GRAPHICS (PUCHAR)0x3ce
|
|
#define GRAPHICSDATA (PUCHAR)0x3cf
|
|
#define ATTRIB (PUCHAR)0x3c0
|
|
#define ATTRIBREAD (PUCHAR)0x3c1
|
|
#define STATUS (PUCHAR)0x3da
|
|
#define PELMASK (PUCHAR)0x3c6
|
|
#define PELINDEX (PUCHAR)0x3c8
|
|
#define PELDATA (PUCHAR)0x3c9
|
|
#define FEATURE (PUCHAR)0x3da
|
|
|
|
typedef struct _VGA_REGISTERS
|
|
{
|
|
UCHAR CRT[24];
|
|
UCHAR Attribute[21];
|
|
UCHAR Graphics[9];
|
|
UCHAR Sequencer[5];
|
|
UCHAR Misc;
|
|
} VGA_REGISTERS, *PVGA_REGISTERS;
|