VirtualBox

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

Last change on this file since 55998 was 43115, checked in by vboxsync, 12 years ago

export to OSE

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