1 #ifndef GRAPHICS_MODEID_H
2 #define GRAPHICS_MODEID_H
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
8 Desc: Display mode definitions
12 #ifndef GRAPHICS_DISPLAYINFO_H
13 # include <graphics/displayinfo.h>
16 /* Standard Monitors */
18 #define DEFAULT_MONITOR_ID 0x00000000
19 #define NTSC_MONITOR_ID 0x00011000
20 #define PAL_MONITOR_ID 0x00021000
23 LowResolution (LORES): 0x00000000
24 Interlaced (LACE): 0x00000004 (Bit 2)
25 ScanDoubled (SDBL): 0x00000008 (Bit 3)
26 Super (SUPER): 0x00008020 (Bit 5 | HIRES)
27 DoublePlayField2 (DPF2): 0x00000440 (Bit 6 | DPF)
28 ExtraHalfBrite (EHB): 0x00000080 (Bit 7)
29 DoublePlayField (DPF): 0x00000400 (Bit 10)
30 Hold and Modify (HAM): 0x00000800 (Bit 11)
31 HighResolution (HIRES): 0x00008000 (Bit 15)
33 #define LORES_KEY 0x00000000
34 #define LORESLACE_KEY 0x00000004
35 #define LORESSDBL_KEY 0x00000008
36 #define EXTRAHALFBRITE_KEY 0x00000080
37 #define EXTRAHALFBRITELACE_KEY 0x00000084
38 #define LORESEHBSDBL_KEY 0x00000088
39 #define LORESDPF_KEY 0x00000400
40 #define LORESLACEDPF_KEY 0x00000404
41 #define LORESDPF2_KEY 0x00000440
42 #define LORESLACEDPF2_KEY 0x00000444
43 #define HAM_KEY 0x00000800
44 #define HAMLACE_KEY 0x00000804
45 #define LORESHAMSDBL_KEY 0x00000808
46 #define HIRES_KEY 0x00008000
47 #define HIRESLACE_KEY 0x00008004
48 #define SUPER_KEY 0x00008020
49 #define SUPERLACE_KEY 0x00008024
50 #define HIRESEHB_KEY 0x00008080
51 #define HIRESEHBLACE_KEY 0x00008084
52 #define SUPEREHB_KEY 0x000080A0
53 #define SUPEREHBLACE_KEY 0x000080A4
54 #define HIRESDPF_KEY 0x00008400
55 #define HIRESLACEDPF_KEY 0x00008404
56 #define SUPERDPF_KEY 0x00008420
57 #define SUPERLACEDPF_KEY 0x00008424
58 #define HIRESDPF2_KEY 0x00008440
59 #define HIRESLACEDPF2_KEY 0x00008444
60 #define SUPERDPF2_KEY 0x00008460
61 #define SUPERLACEDPF2_KEY 0x00008464
62 #define HIRESHAM_KEY 0x00008800
63 #define HIRESHAMLACE_KEY 0x00008804
64 #define HIRESHAMSDBL_KEY 0x00008808
65 #define SUPERHAM_KEY 0x00008820
66 #define SUPERHAMLACE_KEY 0x00008824
70 #define VGA_MONITOR_ID 0x00031000
72 ExtraLowResolution (EXTRALORES): 0x00000000
73 ScanDoubled (SDBL): 0x00000000
74 Interlaced (LACE): 0x00000001 (Bit 0)
75 Not ScanDoubled: 0x00000004 (Bit 2)
76 Productivity (PRODUCT): 0x00008020 (Bit 5 | LORES)
77 DoublePlayField2 (DPF2): 0x00000440 (Bit 6 | DPF)
78 HalfBrite (HB): 0x00000080 (Bit 7)
79 DoublePlayField (DPF): 0x00000400 (Bit 10)
80 Hold and Modify (HAM): 0x00000800 (Bit 11)
81 LowResolution (LORES): 0x00008000 (Bit 15)
85 #define VGAEXTRAHALFBRITE_KEY 0x00031084
86 #define VGAEXTRAHALFBRITELACE_KEY 0x00031085
87 #define VGAHAM_KEY 0x00031804
88 #define VGAHAMLACE_KEY 0x00031805
90 #define VGAEXTRALORESDBL_KEY 0x00031000
91 #define VGAEXTRALORES_KEY 0x00031004
92 #define VGAEXTRALORESLACE_KEY 0x00031005
93 #define VGAEXTRALORESEHBDBL_KEY 0x00031080
94 #define VGAEXTRALORESHB_KEY 0x00031084
95 #define VGAEXTRALORESHBLACE_KEY 0x00031085
96 #define VGAEXTRALORESDPF_KEY 0x00031404
97 #define VGAEXTRALORESLACEDPF_KEY 0x00031405
98 #define VGAEXTRALORESDPF2_KEY 0x00031444
99 #define VGAEXTRALORESLACEDPF2_KEY 0x00031445
100 #define VGAEXTRALORESHAMDBL_KEY 0x00031800
101 #define VGAEXTRALORESHAM_KEY 0x00031804
102 #define VGAEXTRALORESHAMLACE_KEY 0x00031805
103 #define VGALORESDBL_KEY 0x00039000
104 #define VGALORES_KEY 0x00039004
105 #define VGALORESLACE_KEY 0x00039005
106 #define VGAPRODUCTDBL_KEY 0x00039020
107 #define VGAPRODUCT_KEY 0x00039024
108 #define VGAPRODUCTLACE_KEY 0x00039025
109 #define VGALORESEHBDBL_KEY 0x00039080
110 #define VGALORESHB_KEY 0x00039084
111 #define VGALORESHBLACE_KEY 0x00039085
112 #define VGAPRODUCTEHBDBL_KEY 0x000390A0
113 #define VGAEHB_KEY 0x000390A4
114 #define VGAEHBLACE_KEY 0x000390A5
115 #define VGALORESDPF_KEY 0x00039404
116 #define VGALORESLACEDPF_KEY 0x00039405
117 #define VGAPRODUCTDPF_KEY 0x00039424
118 #define VGAPRODUCTLACEDPF_KEY 0x00039425
119 #define VGALORESDPF2_KEY 0x00039444
120 #define VGALORESLACEDPF2_KEY 0x00039445
121 #define VGAPRODUCTDPF2_KEY 0x00039464
122 #define VGAPRODUCTLACEDPF2_KEY 0x00039465
123 #define VGALORESHAMDBL_KEY 0x00039800
124 #define VGALORESHAM_KEY 0x00039804
125 #define VGALORESHAMLACE_KEY 0x00039805
126 #define VGAPRODUCTHAMDBL_KEY 0x00039820
127 #define VGAPRODUCTHAM_KEY 0x00039824
128 #define VGAPRODUCTHAMLACE_KEY 0x00039825
132 #define A2024_MONITOR_ID 0x00041000
134 #define A2024TENHERTZ_KEY 0x00041000
135 #define A2024FIFTEENHERTZ_KEY 0x00049000
137 /* Euro 36 Monitors */
139 #define EURO36_MONITOR_ID 0x00071000
141 /* Euro 72 Monitors */
143 #define EURO72_MONITOR_ID 0x00061000
145 ExtraLowResolution (EXTRALORES): 0x00000000
146 ScanDoubled (DBL): 0x00000000
147 Interlaced (LACE): 0x00000001 (Bit 0)
148 Not ScanDoubled: 0x00000004 (Bit 2)
149 Productivity (PRODUCT): 0x00008020 (Bit 5 | LORES)
150 DoublePlayField2 (DPF2): 0x00000440 (Bit 6 | DPF)
151 ExtraHalfBright (EHB): 0x00000080 (Bit 7)
152 DoublePlayField (DPF): 0x00000400 (Bit 10)
153 Hold and Modify (HAM): 0x00000800 (Bit 11)
154 LowResolution (LORES): 0x00008000 (Bit 15)
158 #define EURO72EXTRAHALFBRITE_KEY 0x00061084
159 #define EURO72EXTRAHALFBRITELACE_KEY 0x00061085
160 #define EURO72HAM_KEY 0x00061804
161 #define EURO72HAMLACE_KEY 0x00061805
163 #define EURO72EXTRALORESDBL_KEY 0x00061000
164 #define EURO72EXTRALORES_KEY 0x00061004
165 #define EURO72EXTRALORESLACE_KEY 0x00061005
166 #define EURO72EXTRALORESEHBDBL_KEY 0x00061080
167 #define EURO72EXTRALORESEHB_KEY 0x00061084
168 #define EURO72EXTRALORESEHBLACE_KEY 0x00061085
169 #define EURO72EXTRALORESDPF_KEY 0x00061404
170 #define EURO72EXTRALORESLACEDPF_KEY 0x00061405
171 #define EURO72EXTRALORESDPF2_KEY 0x00061444
172 #define EURO72EXTRALORESLACEDPF2_KEY 0x00061445
173 #define EURO72EXTRALORESHAMDBL_KEY 0x00061800
174 #define EURO72EXTRALORESHAM_KEY 0x00061804
175 #define EURO72EXTRALORESHAMLACE_KEY 0x00061805
176 #define EURO71LORESDBL_KEY 0x00069000
177 #define EURO72LORES_KEY 0x00069004
178 #define EURO72LORESLACE_KEY 0x00069005
179 #define EURO72PRODUCTDBL_KEY 0x00069020
180 #define EURO72PRODUCT_KEY 0x00069024
181 #define EURO72PRODUCTLACE_KEY 0x00069025
182 #define EURO72LORESEHBDBL_KEY 0x00069080
183 #define EURO72LORESEHB_KEY 0x00069084
184 #define EURO72LORESEHBLACE_KEY 0x00069085
185 #define EURO72PRODUCTEHBDBL_KEY 0x000690A0
186 #define EURO72EHB_KEY 0x000690A4
187 #define EURO72EHBLACE_KEY 0x000690A5
188 #define EURO72LORESDPF_KEY 0x00069404
189 #define EURO72LORESLACEDPF_KEY 0x00069405
190 #define EURO72PRODUCTDPF_KEY 0x00069424
191 #define EURO72PRODUCTLACEDPF_KEY 0x00069425
192 #define EURO72LORESDPF2_KEY 0x00069444
193 #define EURO72LORESLACEDPF2_KEY 0x00069445
194 #define EURO72PRODUCTDPF2_KEY 0x00069464
195 #define EURO72PRODUCTLACEDPF2_KEY 0x00069465
196 #define EURO72LORESHAMDBL_KEY 0x00069800
197 #define EURO72LORESHAM_KEY 0x00069804
198 #define EURO72LORESHAMLACE_KEY 0x00069805
199 #define EURO72PRODUCTHAMDBL_KEY 0x00069820
200 #define EURO72PRODUCTHAM_KEY 0x00069824
201 #define EURO72PRODUCTHAMLACE_KEY 0x00069825
203 /* Super72 Monitors */
205 #define SUPER72_MONITOR_ID 0x00081000
207 #define SUPER72LORESDBL_KEY 0x00081008
208 #define SUPER72LORESEHBDBL_KEY 0x00081088
209 #define SUPER72LORESHAMDBL_KEY 0x00081808
210 #define SUPER72HIRESDBL_KEY 0x00089008
211 #define SUPER72SUPERDBL_KEY 0x00089028
212 #define SUPER72HIRESEHBDBL_KEY 0x00089088
213 #define SUPER72SUPEREHBDBL_KEY 0x000890A8
214 #define SUPER72HIRESHAMDBL_KEY 0x00089808
215 #define SUPER72SUPERHAMDBL_KEY 0x00089828
217 /* DBLNTSC Monitors */
219 #define DBLNTSC_MONITOR_ID 0x00091000
221 #define DBLNTSCLORES_KEY 0x00091000
222 #define DBLNTSCLORESFF_KEY 0x00091004
223 #define DBLNTSCLORESLACE_KEY 0x00091005
224 #define DBLNTSCLORESEHB_KEY 0x00091080
225 #define DBLNTSCLORESEHBFF_KEY 0x00091084
226 #define DBLNTSCLORESEHBLACE_KEY 0x00091085
227 #define DBLNTSCEXTRALORES_KEY 0x00091200
228 #define DBLNTSCEXTRALORESFF_KEY 0x00091204
229 #define DBLNTSCEXTRALORESLACE_KEY 0x00091205
230 #define DBLNTSCEXTRALORESEHB_KEY 0x00091280
231 #define DBLNTSCEXTRALORESEHBFF_KEY 0x00091284
232 #define DBLNTSCEXTRALORESEHBLACE_KEY 0x00091285
233 #define DBLNTSCLORESDPF_KEY 0x00091400
234 #define DBLNTSCLORESDPFFF_KEY 0x00091404
235 #define DBLNTSCLORESDPFLACE_KEY 0x00091405
236 #define DBLNTSCLORESDPF2_KEY 0x00091440
237 #define DBLNTSCLORESDPF2FF_KEY 0x00091444
238 #define DBLNTSCLORESDPF2LACE_KEY 0x00091445
239 #define DBLNTSCEXTRALORESDPF_KEY 0x00091600
240 #define DBLNTSCEXTRALORESDPFFF_KEY 0x00091604
241 #define DBLNTSCEXTRALORESDPFLACE_KEY 0x00091605
242 #define DBLNTSCEXTRALORESDPF2_KEY 0x00091640
243 #define DBLNTSCEXTRALORESDPF2FF_KEY 0x00091644
244 #define DBLNTSCEXTRALORESDPF2LACE_KEY 0x00091645
245 #define DBLNTSCLORESHAM_KEY 0x00091800
246 #define DBLNTSCLORESHAMFF_KEY 0x00091804
247 #define DBLNTSCLORESHAMLACE_KEY 0x00091805
248 #define DBLNTSCEXTRALORESHAM_KEY 0x00091A00
249 #define DBLNTSCEXTRALORESHAMFF_KEY 0x00091A04
250 #define DBLNTSCEXTRALORESHAMLACE_KEY 0x00091A05
251 #define DBLNTSCHIRES_KEY 0x00099000
252 #define DBLNTSCHIRESFF_KEY 0x00099004
253 #define DBLNTSCHIRESLACE_KEY 0x00099005
254 #define DBLNTSCHIRESEHB_KEY 0x00099080
255 #define DBLNTSCHIRESEHBFF_KEY 0x00099084
256 #define DBLNTSCHIRESEHBLACE_KEY 0x00099085
257 #define DBLNTSCHIRESDPF_KEY 0x00099400
258 #define DBLNTSCHIRESDPFFF_KEY 0x00099404
259 #define DBLNTSCHIRESDPFLACE_KEY 0x00099405
260 #define DBLNTSCHIRESDPF2_KEY 0x00099440
261 #define DBLNTSCHIRESDPF2FF_KEY 0x00099444
262 #define DBLNTSCHIRESDPF2LACE_KEY 0x00099445
263 #define DBLNTSCHIRESHAM_KEY 0x00099800
264 #define DBLNTSCHIRESHAMFF_KEY 0x00099804
265 #define DBLNTSCHIRESHAMLACE_KEY 0x00099805
267 /* DBLPAL Monitors */
269 #define DBLPAL_MONITOR_ID 0x000A1000
271 #define DBLPALLORES_KEY 0x000A1000
272 #define DBLPALLORESFF_KEY 0x000A1004
273 #define DBLPALLORESLACE_KEY 0x000A1005
274 #define DBLPALLORESEHB_KEY 0x000A1080
275 #define DBLPALLORESEHBFF_KEY 0x000A1084
276 #define DBLPALLORESEHBLACE_KEY 0x000A1085
277 #define DBLPALEXTRALORES_KEY 0x000A1200
278 #define DBLPALEXTRALORESFF_KEY 0x000A1204
279 #define DBLPALEXTRALORESLACE_KEY 0x000A1205
280 #define DBLPALEXTRALORESEHB_KEY 0x000A1280
281 #define DBLPALEXTRALORESEHBFF_KEY 0x000A1284
282 #define DBLPALEXTRALORESEHBLACE_KEY 0x000A1285
283 #define DBLPALLORESDPF_KEY 0x000A1400
284 #define DBLPALLORESDPFFF_KEY 0x000A1404
285 #define DBLPALLORESDPFLACE_KEY 0x000A1405
286 #define DBLPALLORESDPF2_KEY 0x000A1440
287 #define DBLPALLORESDPF2FF_KEY 0x000A1444
288 #define DBLPALLORESDPF2LACE_KEY 0x000A1445
289 #define DBLPALEXTRALORESDPF_KEY 0x000A1600
290 #define DBLPALEXTRALORESDPFFF_KEY 0x000A1604
291 #define DBLPALEXTRALORESDPFLACE_KEY 0x000A1605
292 #define DBLPALEXTRALORESDPF2_KEY 0x000A1640
293 #define DBLPALEXTRALORESDPF2FF_KEY 0x000A1644
294 #define DBLPALEXTRALORESDPF2LACE_KEY 0x000A1645
295 #define DBLPALLORESHAM_KEY 0x000A1800
296 #define DBLPALLORESHAMFF_KEY 0x000A1804
297 #define DBLPALLORESHAMLACE_KEY 0x000A1805
298 #define DBLPALEXTRALORESHAM_KEY 0x000A1A00
299 #define DBLPALEXTRALORESHAMFF_KEY 0x000A1A04
300 #define DBLPALEXTRALORESHAMLACE_KEY 0x000A1A05
301 #define DBLPALHIRES_KEY 0x000A9000
302 #define DBLPALHIRESFF_KEY 0x000A9004
303 #define DBLPALHIRESLACE_KEY 0x000A9005
304 #define DBLPALHIRESEHB_KEY 0x000A9080
305 #define DBLPALHIRESEHBFF_KEY 0x000A9084
306 #define DBLPALHIRESEHBLACE_KEY 0x000A9085
307 #define DBLPALHIRESDPF_KEY 0x000A9400
308 #define DBLPALHIRESDPFFF_KEY 0x000A9404
309 #define DBLPALHIRESDPFLACE_KEY 0x000A9405
310 #define DBLPALHIRESDPF2_KEY 0x000A9440
311 #define DBLPALHIRESDPF2FF_KEY 0x000A9444
312 #define DBLPALHIRESDPF2LACE_KEY 0x000A9445
313 #define DBLPALHIRESHAM_KEY 0x000A9800
314 #define DBLPALHIRESHAMFF_KEY 0x000A9804
315 #define DBLPALHIRESHAMLACE_KEY 0x000A9805
320 #define PROTO_MONITOR_ID 0x00051000
322 #define INVALID_ID ~0
324 #define MONITOR_ID_MASK 0xFFFF1000
329 #define BIDTAG_DIPFMustHave 0x80000001
330 #define BIDTAG_DIPFMustNotHave 0x80000002
331 #define BIDTAG_ViewPort 0x80000003
332 #define BIDTAG_NominalWidth 0x80000004
333 #define BIDTAG_NominalHeight 0x80000005
334 #define BIDTAG_DesiredWidth 0x80000006
335 #define BIDTAG_DesiredHeight 0x80000007
336 #define BIDTAG_Depth 0x80000008
337 #define BIDTAG_MonitorID 0x80000009
338 #define BIDTAG_SourceID 0x8000000A
339 #define BIDTAG_RedBits 0x8000000B
340 #define BIDTAG_BlueBits 0x8000000C
341 #define BIDTAG_GreenBits 0x8000000D
343 #endif /* GRAPHICS_MODEID_H */