valid_mode.h revision dfe64dd3
1/* Copyright (C) 2003-2006 by XGI Technology, Taiwan. 2 * 3 * All Rights Reserved. 4 * 5 * Permission is hereby granted, free of charge, to any person obtaining 6 * a copy of this software and associated documentation files (the 7 * "Software"), to deal in the Software without restriction, including 8 * without limitation on the rights to use, copy, modify, merge, 9 * publish, distribute, sublicense, and/or sell copies of the Software, 10 * and to permit persons to whom the Software is furnished to do so, 11 * subject to the following conditions: 12 * 13 * The above copyright notice and this permission notice (including the 14 * next paragraph) shall be included in all copies or substantial 15 * portions of the Software. 16 * 17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 18 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 20 * NON-INFRINGEMENT. IN NO EVENT SHALL XGI AND/OR 21 * ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 22 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 24 * DEALINGS IN THE SOFTWARE. 25 */ 26 27#ifndef _ValidMode_h 28 29#define _ValidMode_h 30 31typedef struct _SupportMode 32{ 33 int HDisplay; 34 int VDisplay; 35 int Clock; 36} SupportMode; 37 38SupportMode *XgiMode; 39 40SupportMode XG20_Mode[]= { 41{640, 480, 25175}, 42{640, 480, 31500}, 43{640, 480, 36000}, 44{640, 480, 44900}, 45{640, 480, 56250}, 46{800, 600, 40000}, 47{800, 600, 50000}, 48{800, 600, 49500}, 49{800, 600, 56300}, 50{800, 600, 75800}, 51{800, 600, 84800}, 52{800, 600, 109175}, 53{1024, 768, 65000}, 54{1024, 768, 75000}, 55{1024, 768, 78750}, 56{1024, 768, 94500}, 57{1024, 768, 104998}, 58{1024, 768, 132258}, 59{1024, 768, 192069}, 60{1152, 864, 80350}, 61{1152, 864, 108000}, 62{1280, 960, 108000}, 63{1280, 960, 125999}, 64{1280, 960, 148500}, 65{1280, 960, 178992}, 66{1280, 960, 217325}, 67{1280, 1024, 108000}, 68{1280, 1024, 135000}, 69{1280, 1024, 157500}, 70{1280, 1024, 190960}, 71{1280, 1024, 233793}, 72/* {1440, 900, 106470}, *//* Jong@09292009; 1440x900@60 */ 73{1600, 1200, 162000}, 74{1600, 1200, 175500}, 75{1600, 1200, 189000}, 76{1600, 1200, 202500}, 77{1600, 1200, 229500}, 78/* {1680, 1050, 147140}, *//* Jong@09292009; 1680x1050@60 */ 79{0, 0, 0} 80}; 81 82 83SupportMode XGI_Mode[]= { 84{640, 400, 25175}, 85{640, 480, 25200}, {640, 480, 31500}, {640, 480, 36000}, {640, 480, 44900}, {640, 480, 56250}, {640, 480, 67765}, {640, 480, 86600}, 86{800, 600, 36000}, {800, 600, 40000}, {800, 600, 50000}, {800, 600, 49500}, {800, 600, 56300}, {800, 600, 75800}, {800, 600, 84800}, {800, 600, 109175}, 87{1024, 768, 44900}, {1024, 768, 65000}, {1024, 768, 75000}, {1024, 768, 78800}, {1024, 768, 94500}, {1024, 768, 104998}, {1024, 768, 132258}, {1024, 768, 192069}, 88{1152, 864, 80350}, {1152, 864, 108000}, 89{1280, 960, 108000}, {1280, 960, 120839}, {1280, 960, 125999}, {1280, 960, 148500}, {1280, 960, 178992}, 90{1280, 960, 217325}, {1280, 960, 299505}, 91{1280, 1024, 78750}, {1280, 1024, 108000}, {1280, 1024, 135000}, {1280, 1024, 157500}, {1280, 1024, 190960}, 92{1280, 1024, 233793}, {1280, 1024, 322273}, 93{1600, 1200, 162000}, {1600, 1200, 175500}, {1600, 1200, 189000}, {1600, 1200, 202500}, {1600, 1200, 229500}, 94{1600, 1200, 269655}, {1600, 1200, 323586}, 95{1920, 1440, 234000}, {1920, 1440, 252699}, {1920, 1440, 272041}, {1920, 1440, 297000}, {1920, 1440, 330615}, 96{1920, 1440, 388631}, 97{2048, 1536, 265728}, {2048, 1536, 286359}, {2048, 1536, 309789}, {2048, 1536, 332177}, {2048, 1536, 375847}, 98{800, 480, 39770}, {800, 480, 49500}, {800, 480, 56250}, 99{1024, 576, 65000}, {1024, 576, 78750}, {1024, 576, 94500}, 100{1280, 720, 108200}, {1280, 720, 135500}, {1280, 720, 157500}, 101{720, 480, 28322}, 102{720, 576, 36000}, 103{856, 480, 36000}, 104{1280, 768, 80000}, 105{1400, 1050, 126260}, 106 107{800, 450, 27740}, 108{0, 0, 0} 109}; 110 111#endif 112/* {108000, 1280, 960}, */ 113/* {80350, 1152, 864}, {108000, 1152, 864}, */ 114