MentOS
0.8.0
The Mentoring Operating System
|
Structure that holds the information about a VGA mode. More...
Public Attributes | |
unsigned char | misc |
struct { | |
unsigned char reset | |
00h – | |
unsigned char clocking_mode | |
01h – | |
unsigned char map_mask | |
02h – | |
unsigned char character_map_select | |
03h – | |
unsigned char sequencer_memory_mode | |
04h – | |
} | sc |
The Sequencer Registers. | |
struct { | |
unsigned char horizontal_total | |
00h – | |
unsigned char end_horizontal_display | |
01h – | |
unsigned char start_horizontal_blanking | |
02h – | |
unsigned char end_horizontal_blanking | |
03h – | |
unsigned char start_horizontal_retrace | |
04h – | |
unsigned char end_horizontal_retrace | |
05h – | |
unsigned char vertical_total | |
06h – | |
unsigned char overflow | |
07h – | |
unsigned char preset_row_scan | |
08h – | |
unsigned char maximum_scan_line | |
09h – | |
unsigned char cursor_start | |
0Ah – | |
unsigned char cursor_end | |
0Bh – | |
unsigned char start_address_high | |
0Ch – | |
unsigned char start_address_low | |
0Dh – | |
unsigned char cursor_location_high | |
0Eh – | |
unsigned char cursor_location_low | |
0Fh – | |
unsigned char vertical_retrace_start | |
10h – | |
unsigned char vertical_retrace_end | |
11h – | |
unsigned char vertical_display_end | |
12h – | |
unsigned char offset | |
13h – | |
unsigned char underline_location | |
14h – | |
unsigned char start_vertical_blanking | |
15h – | |
unsigned char end_vertical_blanking | |
16h – | |
unsigned char crtc_mode_control | |
17h – | |
unsigned char line_compare | |
18h – | |
} | crtc |
CRT Controller (CRTC) Registers. | |
struct { | |
unsigned char set_reset | |
00h – | |
unsigned char enable_set_reset | |
01h – | |
unsigned char color_compare | |
02h – | |
unsigned char data_rotate | |
03h – | |
unsigned char read_map | |
04h – | |
unsigned char graphics_mode | |
05h – | |
unsigned char misc_graphics | |
06h – | |
unsigned char color_dont_care | |
07h – | |
unsigned char bit_mask | |
08h – | |
} | gc |
The Graphics Registers. | |
struct { | |
unsigned char internal_palette_registers [16] | |
00h-0Fh – | |
unsigned char attribute_mode_control | |
10h – | |
unsigned char overscan_color | |
11h – | |
unsigned char color_plane_enable | |
12h – | |
unsigned char horizontal_pixel_panning | |
13h – | |
unsigned char color_select | |
14h – | |
} | ac |
The Attribute Controller Registers. | |
Structure that holds the information about a VGA mode.
unsigned char vga_mode_t::misc |
00h –