2 * Copyright 2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
12 #define VGA_INPUT_STATUS_0 0x3c2
13 #define VGA_INPUT_STATUS_1 0x3da
15 // sequencer registers
16 #define VGA_SEQUENCER_INDEX 0x3c4
17 #define VGA_SEQUENCER_DATA 0x3c5
20 #define VGA_GRAPHICS_INDEX 0x3ce
21 #define VGA_GRAPHICS_DATA 0x3cf
24 #define VGA_CRTC_INDEX 0x3d4
25 #define VGA_CRTC_DATA 0x3d5
27 // attribute registers
28 #define VGA_ATTRIBUTE_READ 0x3c1
29 #define VGA_ATTRIBUTE_WRITE 0x3c0
32 #define VGA_COLOR_STATE 0x3c7
33 #define VGA_COLOR_READ_MODE 0x3c7
34 #define VGA_COLOR_WRITE_MODE 0x3c8
35 #define VGA_COLOR_DATA 0x3c9
36 #define VGA_COLOR_MASK 0x3c6