61 unsigned char internal_palette_registers[16];
90 .clocking_mode = 0x00,
92 .character_map_select = 0x00,
93 .sequencer_memory_mode = 0x02,
97 .horizontal_total = 0x5F,
98 .end_horizontal_display = 0x4F,
99 .start_horizontal_blanking = 0x50,
100 .end_horizontal_blanking = 0x82,
101 .start_horizontal_retrace = 0x55,
102 .end_horizontal_retrace = 0x81,
103 .vertical_total = 0xBF,
105 .preset_row_scan = 0x00,
106 .maximum_scan_line = 0x4F,
107 .cursor_start = 0x0D,
109 .start_address_high = 0x00,
110 .start_address_low = 0x00,
111 .cursor_location_high = 0x00,
112 .cursor_location_low = 0x50,
113 .vertical_retrace_start = 0x9C,
114 .vertical_retrace_end = 0x0E,
115 .vertical_display_end = 0x8F,
117 .underline_location = 0x1F,
118 .start_vertical_blanking = 0x96,
119 .end_vertical_blanking = 0xB9,
120 .crtc_mode_control = 0xA3,
121 .line_compare = 0xFF,
125 .enable_set_reset = 0x00,
126 .color_compare = 0x00,
129 .graphics_mode = 0x10,
130 .misc_graphics = 0x0E,
131 .color_dont_care = 0x00,
135 .internal_palette_registers = {
153 .attribute_mode_control = 0x0C,
154 .overscan_color = 0x00,
155 .color_plane_enable = 0x0F,
156 .horizontal_pixel_panning = 0x08,
157 .color_select = 0x00,
181 .clocking_mode = 0x01,
183 .character_map_select = 0x00,
184 .sequencer_memory_mode = 0x06,
188 .horizontal_total = 0x5F,
189 .end_horizontal_display = 0x4F,
190 .start_horizontal_blanking = 0x50,
191 .end_horizontal_blanking = 0x82,
192 .start_horizontal_retrace = 0x54,
193 .end_horizontal_retrace = 0x80,
194 .vertical_total = 0xBF,
196 .preset_row_scan = 0x00,
197 .maximum_scan_line = 0x41,
198 .cursor_start = 0x00,
200 .start_address_high = 0x00,
201 .start_address_low = 0x00,
202 .cursor_location_high = 0x00,
203 .cursor_location_low = 0x00,
204 .vertical_retrace_start = 0x9C,
205 .vertical_retrace_end = 0xE3,
206 .vertical_display_end = 0x8F,
208 .underline_location = 0x40,
209 .start_vertical_blanking = 0x96,
210 .end_vertical_blanking = 0xB9,
211 .crtc_mode_control = 0xA3,
212 .line_compare = 0xFF,
216 .enable_set_reset = 0x00,
217 .color_compare = 0x00,
220 .graphics_mode = 0x40,
221 .misc_graphics = 0x05,
222 .color_dont_care = 0x0F,
226 .internal_palette_registers = {
244 .attribute_mode_control = 0x41,
245 .overscan_color = 0x00,
246 .color_plane_enable = 0x0F,
247 .horizontal_pixel_panning = 0x00,
248 .color_select = 0x00,
272 .clocking_mode = 0x01,
274 .character_map_select = 0x00,
275 .sequencer_memory_mode = 0x06,
279 .horizontal_total = 0x5F,
280 .end_horizontal_display = 0x4F,
281 .start_horizontal_blanking = 0x50,
282 .end_horizontal_blanking = 0x82,
283 .start_horizontal_retrace = 0x54,
284 .end_horizontal_retrace = 0x80,
285 .vertical_total = 0x0B,
287 .preset_row_scan = 0x00,
288 .maximum_scan_line = 0x40,
289 .cursor_start = 0x00,
291 .start_address_high = 0x00,
292 .start_address_low = 0x00,
293 .cursor_location_high = 0x00,
294 .cursor_location_low = 0x00,
295 .vertical_retrace_start = 0xEA,
296 .vertical_retrace_end = 0x0C,
297 .vertical_display_end = 0xDF,
299 .underline_location = 0x00,
300 .start_vertical_blanking = 0xE7,
301 .end_vertical_blanking = 0x04,
302 .crtc_mode_control = 0xE3,
303 .line_compare = 0xFF,
307 .enable_set_reset = 0x00,
308 .color_compare = 0x00,
311 .graphics_mode = 0x00,
312 .misc_graphics = 0x05,
313 .color_dont_care = 0x0F,
317 .internal_palette_registers = {
335 .attribute_mode_control = 0x01,
336 .overscan_color = 0x00,
337 .color_plane_enable = 0x0F,
338 .horizontal_pixel_panning = 0x00,
339 .color_select = 0x00,
363 .clocking_mode = 0x01,
365 .character_map_select = 0x00,
366 .sequencer_memory_mode = 0x06,
370 .horizontal_total = 0x6B,
371 .end_horizontal_display = 0x59,
372 .start_horizontal_blanking = 0x5A,
373 .end_horizontal_blanking = 0x82,
374 .start_horizontal_retrace = 0x60,
375 .end_horizontal_retrace = 0x8D,
376 .vertical_total = 0x0B,
378 .preset_row_scan = 0x00,
379 .maximum_scan_line = 0x40,
380 .cursor_start = 0x06,
382 .start_address_high = 0x00,
383 .start_address_low = 0x00,
384 .cursor_location_high = 0x00,
385 .cursor_location_low = 0x00,
386 .vertical_retrace_start = 0xEA,
387 .vertical_retrace_end = 0x0C,
388 .vertical_display_end = 0xDF,
390 .underline_location = 0x08,
391 .start_vertical_blanking = 0xE8,
392 .end_vertical_blanking = 0x05,
393 .crtc_mode_control = 0xE3,
394 .line_compare = 0xFF,
398 .enable_set_reset = 0x00,
399 .color_compare = 0x00,
402 .graphics_mode = 0x00,
403 .misc_graphics = 0x05,
404 .color_dont_care = 0x0F,
408 .internal_palette_registers = {
426 .attribute_mode_control = 0x01,
427 .overscan_color = 0x00,
428 .color_plane_enable = 0x0F,
429 .horizontal_pixel_panning = 0x00,
430 .color_select = 0x00,
Structure that holds the information about a VGA mode.
Definition: vga_mode.h:9
unsigned char maximum_scan_line
09h –
Definition: vga_mode.h:30
unsigned char misc
Definition: vga_mode.h:10
unsigned char read_map
04h –
Definition: vga_mode.h:53
unsigned char end_horizontal_display
01h –
Definition: vga_mode.h:22
unsigned char end_vertical_blanking
16h –
Definition: vga_mode.h:43
unsigned char cursor_end
0Bh –
Definition: vga_mode.h:32
unsigned char misc_graphics
06h –
Definition: vga_mode.h:55
unsigned char vertical_retrace_end
11h –
Definition: vga_mode.h:38
unsigned char start_vertical_blanking
15h –
Definition: vga_mode.h:42
unsigned char graphics_mode
05h –
Definition: vga_mode.h:54
unsigned char start_address_high
0Ch –
Definition: vga_mode.h:33
unsigned char end_horizontal_retrace
05h –
Definition: vga_mode.h:26
unsigned char vertical_total
06h –
Definition: vga_mode.h:27
unsigned char color_compare
02h –
Definition: vga_mode.h:51
unsigned char crtc_mode_control
17h –
Definition: vga_mode.h:44
unsigned char cursor_start
0Ah –
Definition: vga_mode.h:31
unsigned char start_horizontal_blanking
02h –
Definition: vga_mode.h:23
unsigned char bit_mask
08h –
Definition: vga_mode.h:57
unsigned char offset
13h –
Definition: vga_mode.h:40
unsigned char start_horizontal_retrace
04h –
Definition: vga_mode.h:25
unsigned char clocking_mode
01h –
Definition: vga_mode.h:14
unsigned char color_dont_care
07h –
Definition: vga_mode.h:56
unsigned char cursor_location_high
0Eh –
Definition: vga_mode.h:35
unsigned char vertical_retrace_start
10h –
Definition: vga_mode.h:37
unsigned char preset_row_scan
08h –
Definition: vga_mode.h:29
unsigned char vertical_display_end
12h –
Definition: vga_mode.h:39
unsigned char color_plane_enable
12h –
Definition: vga_mode.h:64
unsigned char cursor_location_low
0Fh –
Definition: vga_mode.h:36
unsigned char data_rotate
03h –
Definition: vga_mode.h:52
unsigned char reset
00h –
Definition: vga_mode.h:13
unsigned char horizontal_pixel_panning
13h –
Definition: vga_mode.h:65
unsigned char overscan_color
11h –
Definition: vga_mode.h:63
unsigned char character_map_select
03h –
Definition: vga_mode.h:16
unsigned char end_horizontal_blanking
03h –
Definition: vga_mode.h:24
unsigned char attribute_mode_control
10h –
Definition: vga_mode.h:62
unsigned char horizontal_total
00h –
Definition: vga_mode.h:21
unsigned char enable_set_reset
01h –
Definition: vga_mode.h:50
unsigned char color_select
14h –
Definition: vga_mode.h:66
unsigned char underline_location
14h –
Definition: vga_mode.h:41
unsigned char line_compare
18h –
Definition: vga_mode.h:45
unsigned char set_reset
00h –
Definition: vga_mode.h:49
unsigned char overflow
07h –
Definition: vga_mode.h:28
unsigned char map_mask
02h –
Definition: vga_mode.h:15
unsigned char start_address_low
0Dh –
Definition: vga_mode.h:34
unsigned char sequencer_memory_mode
04h –
Definition: vga_mode.h:17
vga_mode_t _mode_80_25_text
Size 80x25, 16 colors.
Definition: vga_mode.h:71
vga_mode_t _mode_320_200_256
Size 320x200, 256 colors.
Definition: vga_mode.h:162
vga_mode_t _mode_720_480_16
Size 720x480, 16 colors.
Definition: vga_mode.h:344
vga_mode_t _mode_640_480_16
Size 640x480, 16 colors.
Definition: vga_mode.h:253