|
|
1.1 root 1: /******************************************************************/
2: /* XGA Adapter C bindings */
3: /* For use in driving XGA coprocessor direct to the XGA Registers */
4: /******************************************************************/
5:
6: typedef struct XGARegisters { /* XGA CoProcessor Registers Overlay */
7: ULONG XGAPageDirBaseAddr; // 0x00
8: ULONG XGACurrVirtAddr; // 0x04
9: ULONG XGAReserve1; // 0x08
10: UCHAR XGAStateALen; // 0x0C
11: UCHAR XGAStateBLen; // 0x0D
12: USHORT XGAReserve2;
13: UCHAR XGAReserve3;
14: volatile UCHAR XGACoprocCntl; // 0x11
15: UCHAR XGAPixelMapIndex; // 0x12
16: UCHAR XGAReserve4;
17: volatile ULONG XGAPixMapBasePtr; // 0x14
18: USHORT XGAPixMapWidth; // 0x18
19: USHORT XGAPixMapHeight; // 0x1A
20: UCHAR XGAPixMapFormat; // 0x1C
21: UCHAR XGAReserve5;
22: USHORT XGAReserve6;
23: SHORT XGABresET; // 0x20
24: USHORT XGAReserve7;
25: SHORT XGABresK1; // 0x24
26: USHORT XGAReserve8;
27: SHORT XGABresK2; // 0x28
28: USHORT XGAReserve9;
29: ULONG XGADirSteps;
30: ULONG XGAReserve10;
31: ULONG XGAReserve11;
32: ULONG XGAReserve12;
33: ULONG XGAReserve13;
34: ULONG XGAReserve14;
35: ULONG XGAReserve15;
36: UCHAR XGAForeGrMix; // 0x48
37: UCHAR XGABackGrMix; // 0x49
38: UCHAR XGADestColCompCond; // 0x4A
39: UCHAR XGAReserve16;
40: ULONG XGADestColCompVal; // 0x4C
41: ULONG XGAPixelBitMask; // 0x50
42: ULONG XGACarryChainMask; // 0x54
43: ULONG XGAForeGrColorReg; // 0x58
44: ULONG XGABackGrColorReg; // 0x5C
45: USHORT XGAOpDim1; // 0x60
46: USHORT XGAOpDim2; // 0x62
47: ULONG XGAReserve17;
48: ULONG XGAReserve18;
49: USHORT XGAMaskMapOrgnX; // 0x6C
50: USHORT XGAMaskMapOrgnY; // 0x6E
51: USHORT XGASourceMapX; // 0x70
52: USHORT XGASourceMapY; // 0x72
53: USHORT XGAPatternMapX; // 0x74
54: USHORT XGAPatternMapY; // 0x76
55: USHORT XGADestMapX; // 0x78
56: USHORT XGADestMapY; // 0x7A
57: ULONG XGAPixelOp; // 0x7C
58:
59: } XGACPREGS, *PXGACPREGS;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.