ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/include/video_defs.h
Revision: 1.3
Committed: 2000-08-20T14:08:44Z (24 years, 3 months ago) by jlachmann
Content type: text/plain
Branch: MAIN
Changes since 1.2: +8 -0 lines
Log Message:
added MacsBug Support -jl-

File Contents

# User Rev Content
1 cebix 1.1 /*
2     * video_defs.h - Definitions for MacOS video drivers
3     *
4 cebix 1.2 * Basilisk II (C) 1997-2000 Christian Bauer
5 cebix 1.1 *
6     * This program is free software; you can redistribute it and/or modify
7     * it under the terms of the GNU General Public License as published by
8     * the Free Software Foundation; either version 2 of the License, or
9     * (at your option) any later version.
10     *
11     * This program is distributed in the hope that it will be useful,
12     * but WITHOUT ANY WARRANTY; without even the implied warranty of
13     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14     * GNU General Public License for more details.
15     *
16     * You should have received a copy of the GNU General Public License
17     * along with this program; if not, write to the Free Software
18     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19     */
20    
21     #ifndef VIDEO_DEFS_H
22     #define VIDEO_DEFS_H
23    
24     // Video driver control codes
25     enum {
26     cscReset = 0,
27     cscKillIO,
28     cscSetMode,
29     cscSetEntries,
30     cscSetGamma,
31     cscGrayPage,
32     cscSetGray,
33     cscSetInterrupt,
34     cscDirectSetEntries,
35     cscSetDefaultMode,
36     cscSwitchMode,
37     cscSetSync,
38     cscSavePreferredConfiguration = 16,
39     cscSetHardwareCursor = 22,
40     cscDrawHardwareCursor,
41     cscSetConvolution,
42     cscSetPowerState,
43     cscPrivateControlCall,
44     cscSetMultiConnect,
45     cscSetClutBehavior,
46     cscUnusedCall = 127
47     };
48    
49     // Video driver status codes
50     enum {
51     cscGetMode = 2,
52     cscGetEntries,
53     cscGetPageCnt,
54     cscGetPageBase,
55     cscGetGray,
56     cscGetInterrupt,
57     cscGetGamma,
58     cscGetDefaultMode,
59     cscGetCurMode,
60     cscGetSync,
61     cscGetConnection,
62     cscGetModeTiming,
63     cscGetModeBaseAddress,
64     cscGetScanProc,
65     cscGetPreferredConfiguration,
66     cscGetNextResolution,
67     cscGetVideoParameters,
68     cscGetGammaInfoList = 20,
69     cscRetrieveGammaTable,
70     cscSupportsHardwareCursor,
71     cscGetHardwareCursorDrawState,
72     cscGetConvolution,
73     cscGetPowerState,
74     cscPrivateStatusCall,
75     cscGetDDCBlock,
76     cscGetMultiConnect,
77     cscGetClutBehavior
78     };
79    
80     enum { // VDSwitchInfo struct
81     csMode = 0,
82     csData = 2,
83     csPage = 6,
84     csBaseAddr = 8,
85     csReserved = 12
86     };
87    
88     enum { // VDSetEntry struct
89     csTable = 0,
90     csStart = 4,
91     csCount = 6
92     };
93    
94     enum { // VDDisplayConnectInfo struct
95     csDisplayType = 0,
96     csConnectTaggedType = 2,
97     csConnectTaggedData = 3,
98     csConnectFlags = 4,
99     csDisplayComponent = 8,
100     csConnectReserved = 12
101     };
102    
103     enum { // VDTimingInfo struct
104     csTimingMode = 0,
105     csTimingReserved = 4,
106     csTimingFormat = 8,
107     csTimingData = 12,
108     csTimingFlags = 16
109     };
110    
111 jlachmann 1.3 enum { // VDPageInfo struct
112     csPageMode = 0,
113     csPageData = 2,
114     csPagePage = 6,
115     csPageBaseAddr = 8
116    
117     };
118    
119 cebix 1.1 #endif