23 |
|
|
24 |
|
// Video driver control codes |
25 |
|
enum { |
26 |
– |
cscReset = 0, |
27 |
– |
cscKillIO = 1, |
26 |
|
cscSetMode = 2, |
27 |
|
cscSetEntries = 3, |
28 |
|
cscSetGamma = 4, |
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, |
139 |
|
vpPlaneBytes = 38 |
140 |
|
}; |
141 |
|
|
142 |
+ |
enum { // SPBlock struct |
143 |
+ |
spResult = 0, |
144 |
+ |
spPointer = 4, |
145 |
+ |
spSize = 8, |
146 |
+ |
spOffsetData = 12, |
147 |
+ |
spIOFileName = 16, |
148 |
+ |
spExecPBlk = 20, |
149 |
+ |
spParamData = 24, |
150 |
+ |
spMisc = 28, |
151 |
+ |
spReserved = 32, |
152 |
+ |
spIOReserved = 36, |
153 |
+ |
spRefNum = 38, |
154 |
+ |
spCategory = 40, |
155 |
+ |
spCType = 42, |
156 |
+ |
spDrvrSW = 44, |
157 |
+ |
spDrvrHW = 46, |
158 |
+ |
spTBMask = 48, |
159 |
+ |
spSlot = 49, |
160 |
+ |
spID = 50, |
161 |
+ |
spExtDev = 51, |
162 |
+ |
spHwDev = 52, |
163 |
+ |
spByteLanes = 53, |
164 |
+ |
spFlags = 54, |
165 |
+ |
spKey = 55, |
166 |
+ |
SIZEOF_SPBlock = 56 |
167 |
+ |
}; |
168 |
+ |
|
169 |
|
#endif |