ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/include/video_defs.h
(Generate patch)

Comparing BasiliskII/src/include/video_defs.h (file contents):
Revision 1.6 by cebix, 2001-06-27T19:03:38Z vs.
Revision 1.9 by cebix, 2001-07-04T11:12:20Z

# Line 23 | Line 23
23  
24   // Video driver control codes
25   enum {
26        cscReset                                                = 0,
27        cscKillIO                                               = 1,
26          cscSetMode                                              = 2,
27          cscSetEntries                                   = 3,
28          cscSetGamma                                             = 4,
# Line 42 | Line 40 | enum {
40          cscSetPowerState                                = 25,
41          cscPrivateControlCall                   = 26,
42          cscSetMultiConnect                              = 27,
43 <        cscSetClutBehavior                              = 28,
46 <        cscUnusedCall = 127
43 >        cscSetClutBehavior                              = 28
44   };
45  
46   // Video driver status codes
47   enum {
48          cscGetMode                                              = 2,
49          cscGetEntries                                   = 3,
50 <        cscGetPageCnt                                   = 4,
51 <        cscGetPageBase                                  = 5,
50 >        cscGetPages                                             = 4,
51 >        cscGetBaseAddress                               = 5,
52          cscGetGray                                              = 6,
53          cscGetInterrupt                                 = 7,
54          cscGetGamma                                             = 8,
55          cscGetDefaultMode                               = 9,
56 <        cscGetCurMode                                   = 10,
56 >        cscGetCurrentMode                               = 10,
57          cscGetSync                                              = 11,
58          cscGetConnection                                = 12,
59          cscGetModeTiming                                = 13,
# Line 91 | Line 88 | enum { // VDSetEntry struct
88          csCount = 6
89   };
90  
91 + enum {  // VDGammaRecord
92 +        csGTable = 0
93 + };
94 +
95   enum {  // VDDisplayConnectInfo struct
96          csDisplayType = 0,
97          csConnectTaggedType = 2,
# Line 142 | Line 143 | enum { // VPBlock struct
143          vpPlaneBytes = 38
144   };
145  
146 + enum {  // SPBlock struct
147 +        spResult = 0,
148 +        spPointer = 4,
149 +        spSize = 8,
150 +        spOffsetData = 12,
151 +        spIOFileName = 16,
152 +        spExecPBlk = 20,
153 +        spParamData = 24,
154 +        spMisc = 28,
155 +        spReserved = 32,
156 +        spIOReserved = 36,
157 +        spRefNum = 38,
158 +        spCategory = 40,
159 +        spCType = 42,
160 +        spDrvrSW = 44,
161 +        spDrvrHW = 46,
162 +        spTBMask = 48,
163 +        spSlot = 49,
164 +        spID = 50,
165 +        spExtDev = 51,
166 +        spHwDev = 52,
167 +        spByteLanes = 53,
168 +        spFlags = 54,
169 +        spKey = 55,
170 +        SIZEOF_SPBlock = 56
171 + };
172 +
173 + enum {  // struct GammaTbl
174 +        gVersion = 0,
175 +        gType = 2,
176 +        gFormulaSize = 4,
177 +        gChanCnt = 6,
178 +        gDataCnt = 8,
179 +        gDataWidth = 10,
180 +        gFormulaData = 12, // variable size
181 +        SIZEOF_GammaTbl = 12
182 + };
183 +
184 + enum {  // struct VDMultiConnectInfo
185 +        csDisplayCountOrNumber = 0,
186 +        csConnectInfo = 4
187 + };
188 +
189   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines