VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/BIOS/vgadefs.h@ 86899

Last change on this file since 86899 was 76565, checked in by vboxsync, 6 years ago

Devices: Use VBOX_INCLUDED_SRC_ as header guard prefix with scm.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
Line 
1
2#ifndef VBOX_INCLUDED_SRC_Graphics_BIOS_vgadefs_h
3#define VBOX_INCLUDED_SRC_Graphics_BIOS_vgadefs_h
4#ifndef RT_WITHOUT_PRAGMA_ONCE
5# pragma once
6#endif
7
8/*
9 *
10 * BIOS Memory
11 *
12 */
13#define BIOSMEM_SEG 0x40
14
15#define BIOSMEM_INITIAL_MODE 0x10
16#define BIOSMEM_CURRENT_MODE 0x49
17#define BIOSMEM_NB_COLS 0x4A
18#define BIOSMEM_PAGE_SIZE 0x4C
19#define BIOSMEM_CURRENT_START 0x4E
20#define BIOSMEM_CURSOR_POS 0x50
21#define BIOSMEM_CURSOR_TYPE 0x60
22#define BIOSMEM_CURRENT_PAGE 0x62
23#define BIOSMEM_CRTC_ADDRESS 0x63
24#define BIOSMEM_CURRENT_MSR 0x65
25#define BIOSMEM_CURRENT_PAL 0x66
26#define BIOSMEM_NB_ROWS 0x84
27#define BIOSMEM_CHAR_HEIGHT 0x85
28#define BIOSMEM_VIDEO_CTL 0x87
29#define BIOSMEM_SWITCHES 0x88
30#define BIOSMEM_MODESET_CTL 0x89
31#define BIOSMEM_DCC_INDEX 0x8A
32#define BIOSMEM_VS_POINTER 0xA8
33#define BIOSMEM_VBE_FLAG 0xB9
34#define BIOSMEM_VBE_MODE 0xBA
35
36
37/*
38 *
39 * VGA registers
40 *
41 */
42#define VGAREG_ACTL_ADDRESS 0x3c0
43#define VGAREG_ACTL_WRITE_DATA 0x3c0
44#define VGAREG_ACTL_READ_DATA 0x3c1
45
46#define VGAREG_INPUT_STATUS 0x3c2
47#define VGAREG_WRITE_MISC_OUTPUT 0x3c2
48#define VGAREG_VIDEO_ENABLE 0x3c3
49#define VGAREG_SEQU_ADDRESS 0x3c4
50#define VGAREG_SEQU_DATA 0x3c5
51
52#define VGAREG_PEL_MASK 0x3c6
53#define VGAREG_DAC_STATE 0x3c7
54#define VGAREG_DAC_READ_ADDRESS 0x3c7
55#define VGAREG_DAC_WRITE_ADDRESS 0x3c8
56#define VGAREG_DAC_DATA 0x3c9
57
58#define VGAREG_READ_FEATURE_CTL 0x3ca
59#define VGAREG_READ_MISC_OUTPUT 0x3cc
60
61#define VGAREG_GRDC_ADDRESS 0x3ce
62#define VGAREG_GRDC_DATA 0x3cf
63
64#define VGAREG_MDA_CRTC_ADDRESS 0x3b4
65#define VGAREG_MDA_CRTC_DATA 0x3b5
66#define VGAREG_VGA_CRTC_ADDRESS 0x3d4
67#define VGAREG_VGA_CRTC_DATA 0x3d5
68
69#define VGAREG_MDA_WRITE_FEATURE_CTL 0x3ba
70#define VGAREG_VGA_WRITE_FEATURE_CTL 0x3da
71#define VGAREG_ACTL_RESET 0x3da
72
73#define VGAREG_MDA_MODECTL 0x3b8
74#define VGAREG_CGA_MODECTL 0x3d8
75#define VGAREG_CGA_PALETTE 0x3d9
76
77#endif /* !VBOX_INCLUDED_SRC_Graphics_BIOS_vgadefs_h */
78
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette