[VGA/VGA_NEW]
[reactos.git] / reactos / win32ss / drivers / miniport / vga / vgavideo.h
1
2 #define VGA_NORMAL 0
3 #define VGA_AND 8
4 #define VGA_OR 16
5 #define VGA_XOR 24
6
7 #define MISC (PUCHAR)0x3c2
8 #define SEQ (PUCHAR)0x3c4
9 #define SEQDATA (PUCHAR)0x3c5
10 #define CRTC (PUCHAR)0x3d4
11 #define CRTCDATA (PUCHAR)0x3d5
12 #define GRAPHICS (PUCHAR)0x3ce
13 #define GRAPHICSDATA (PUCHAR)0x3cf
14 #define ATTRIB (PUCHAR)0x3c0
15 #define ATTRIBREAD (PUCHAR)0x3c1
16 #define STATUS (PUCHAR)0x3da
17 #define PELMASK (PUCHAR)0x3c6
18 #define PELINDEX (PUCHAR)0x3c8
19 #define PELDATA (PUCHAR)0x3c9
20 #define FEATURE (PUCHAR)0x3da
21
22 typedef struct _VGA_REGISTERS
23 {
24 UCHAR CRT[24];
25 UCHAR Attribute[21];
26 UCHAR Graphics[9];
27 UCHAR Sequencer[5];
28 UCHAR Misc;
29 } VGA_REGISTERS, *PVGA_REGISTERS;