VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/7.0/xorg/BT.h@ 6202

Last change on this file since 6202 was 6202, checked in by vboxsync, 17 years ago

re-export x11

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1/* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/BT.h,v 1.2 1998/07/25 16:57:17 dawes Exp $ */
2
3#include "xf86RamDac.h"
4
5RamDacHelperRecPtr BTramdacProbe(ScrnInfoPtr pScrn, RamDacSupportedInfoRecPtr ramdacs);
6void BTramdacSave(ScrnInfoPtr pScrn, RamDacRecPtr RamDacRec, RamDacRegRecPtr RamDacRegRec);
7void BTramdacRestore(ScrnInfoPtr pScrn, RamDacRecPtr RamDacRec, RamDacRegRecPtr RamDacRegRec);
8void BTramdacSetBpp(ScrnInfoPtr pScrn, RamDacRegRecPtr RamDacRegRec);
9
10#define ATT20C504_RAMDAC (VENDOR_BT << 16) | 0x00
11#define ATT20C505_RAMDAC (VENDOR_BT << 16) | 0x01
12#define BT485_RAMDAC (VENDOR_BT << 16) | 0x02
13
14/*
15 * BT registers
16 */
17
18#define BT_WRITE_ADDR 0x00
19#define BT_RAMDAC_DATA 0x01
20#define BT_PIXEL_MASK 0x02
21#define BT_READ_ADDR 0x03
22#define BT_CURS_WR_ADDR 0x04
23#define BT_CURS_DATA 0x05
24#define BT_COMMAND_REG_0 0x06
25#define BT_CURS_RD_ADDR 0x07
26#define BT_COMMAND_REG_1 0x08
27#define BT_COMMAND_REG_2 0x09
28#define BT_STATUS_REG 0x0A
29#define BT_CURS_RAM_DATA 0x0B
30#define BT_CURS_X_LOW 0x0C
31#define BT_CURS_X_HIGH 0x0D
32#define BT_CURS_Y_LOW 0x0E
33#define BT_CURS_Y_HIGH 0x0F
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