1 /* $NetBSD: rtmondefs.c,v 1.3 2002/01/26 13:40:59 aymeric Exp $ */
4 __KERNEL_RCSID(0, "$NetBSD$");
6 static struct MonDef monitor_defs
[] = {
8 HBS, HSS, HSE, HBE, HT, VBS, VSS, VSE, VBE, VT
9 Depth, PAL, TX, TY, XY, FX, FY, FontData, FLo, FHi*/
11 /* 80x50 (640x400) 31.5kHz 60Hz */
12 { 28322000, 16, 640, 400,
13 80, 91, 99, 110, 110, 401, 445, 504, 522, 522,
14 4, NCRStdPalette
, 80, 50, 4000, 8, 8, kernel_font_8x8
, 32, 255 },
16 /* 80x50 (640x400) 35.0kHz 72Hz */
17 { 63000000, 16, 640, 400,
18 80, 89, 98, 110, 110, 401, 411, 483, 483, 483,
19 4, NCRStdPalette
, 80, 50, 4000, 8, 8, kernel_font_8x8
, 32, 255 },
21 /* 80x50 (640x400) 37.1kHz 69Hz */
22 { 65000000, 16, 640, 400,
23 80, 88, 94, 107, 107, 401, 411, 530, 530, 530,
24 4, NCRStdPalette
, 80, 50, 4000, 8, 8, kernel_font_8x8
, 32, 255 },
26 /* 100x75 (800x600) 31.5kHz 50Hz */
27 { 80000000, 16, 800, 600,
28 100, 113, 148, 156, 156, 601, 602, 612, 628, 628,
29 4, NCRStdPalette
, 100, 75, 7500, 8, 8, kernel_font_8x8
, 32, 255 },
31 /* 100x75 (800x600) 35.0kHz 57Hz */
32 { 75000000, 16, 800, 600,
33 100, 110, 120, 132, 131, 601, 602, 603, 603, 603,
34 4, NCRStdPalette
, 100, 75, 7500, 8, 8, kernel_font_8x8
, 32, 255 },
36 /* 100x75 (800x600) 37.2kHz 60Hz */
37 { 80000000, 16, 800, 600,
38 100, 110, 121, 132, 132, 601, 603, 613, 613, 613,
39 4, NCRStdPalette
, 100, 75, 7500, 8, 8, kernel_font_8x8
, 32, 255 },
41 /* 100x75 (800x600) 57.1kHz 90Hz */
42 { 56644000, 16, 800, 600,
43 100, 106, 107, 122, 121, 601, 607, 617, 629, 629,
44 4, NCRStdPalette
, 100, 75, 7500, 8, 8, kernel_font_8x8
, 32, 255 },
46 /* 128x96 (1024x768) 31.5kHz 78Hz interlace */
47 { 80000000, 22, 1024, 768,
48 128, 134, 140, 156, 156, 385, 385, 386, 401, 401,
49 4, NCRStdPalette
, 128, 96, 12288, 8, 8, kernel_font_8x8
, 32, 255 },
51 /* 128x96 (1024x768) 35.0kHz 86Hz interlace */
52 { 90000000, 22, 1024, 768,
53 128, 135, 143, 158, 158, 385, 385, 386, 401, 401,
54 4, NCRStdPalette
, 128, 96, 12288, 8, 8, kernel_font_8x8
, 32, 255 },
56 /* 128x96 (1024x768) 38.1kHz 89Hz interlace */
57 { 50000000, 18, 1024, 768,
58 128, 135, 146, 162, 161, 385, 399, 400, 423, 423,
59 4, NCRStdPalette
, 128, 96, 12288, 8, 8, kernel_font_8x8
, 32, 255 },
61 /* 128x96 (1024x768) 57.0kHz 71Hz */
62 { 75000000, 16, 1024, 768,
63 128, 129, 141, 162, 162, 769, 770, 771, 798, 798,
64 4, NCRStdPalette
, 128, 96, 12288, 8, 8, kernel_font_8x8
, 32, 255 },
66 /* 128x96 (1024x768) 71.2kHz 85Hz */
67 { 90000000, 16, 1024, 768,
68 128, 136, 141, 156, 155, 769, 793, 806, 832, 832,
69 4, NCRStdPalette
, 128, 96, 12288, 8, 8, kernel_font_8x8
, 32, 255 },
71 /* 80x100 (640x800) 31.9kHz 75Hz interlace */
72 { 28322000, 18, 640, 800,
73 80, 81, 88, 109, 108, 401, 402, 409, 418, 418,
74 4, NCRStdPalette
, 80, 100, 8000, 8, 8, kernel_font_8x8
, 32, 255 },
76 /* 80x100 (640x800) 35.5kHz 84Hz interlace */
77 { 63000000, 22, 640, 800,
78 80, 81, 88, 109, 108, 401, 402, 409, 418, 418,
79 4, NCRStdPalette
, 80, 100, 8000, 8, 8, kernel_font_8x8
, 32, 255 },
81 /* 80x50 (640x400) 36.6kHz 87Hz */
82 { 65000000, 16, 640, 400,
83 80, 88, 95, 109, 108, 401, 402, 409, 418, 418,
84 4, NCRStdPalette
, 80, 50, 4000, 8, 8, kernel_font_8x8
, 32, 255 },
86 /* 96x64 (768x512) 36.9kHz 68Hz */
87 { 36000000, 16, 768, 512,
88 96, 103, 111, 120, 119, 513, 521, 529, 535, 535,
89 4, NCRStdPalette
, 96, 64, 6144, 8, 8, kernel_font_8x8
, 32, 255 },
91 /* 96x64 (768x512) 38.4kHz 71Hz */
92 { 75000000, 16, 768, 512,
93 96, 103, 111, 120, 119, 513, 521, 529, 535, 535,
94 4, NCRStdPalette
, 96, 64, 6144, 8, 8, kernel_font_8x8
, 32, 255 },
96 /* 96x64 (768x512) 41.0kHz 76Hz */
97 { 80000000, 16, 768, 512,
98 96, 103, 111, 120, 119, 513, 521, 529, 535, 535,
99 4, NCRStdPalette
, 96, 64, 6144, 8, 8, kernel_font_8x8
, 32, 255 },
101 /* 96x64 (768x512) 46.0kHz 85Hz */
102 { 44900000, 16, 768, 512,
103 96, 103, 110, 120, 119, 513, 522, 530, 535, 535,
104 4, NCRStdPalette
, 96, 64, 6144, 8, 8, kernel_font_8x8
, 32, 255 },
106 /* 96x64 (768x512) 46.1kHz 85Hz */
107 { 90000000, 16, 768, 512,
108 96, 103, 110, 120, 119, 513, 522, 530, 535, 535,
109 4, NCRStdPalette
, 96, 64, 6144, 8, 8, kernel_font_8x8
, 32, 255 },
111 /* 100x75 (800x600) 47.3kHz 75Hz */
112 { 50000000, 16, 800, 600,
113 100, 108, 116, 130, 129, 601, 602, 612, 628, 628,
114 4, NCRStdPalette
, 100, 75, 7500, 8, 8, kernel_font_8x8
, 32, 255 },
116 /* 100x75 (800x600) 53.6kHz 85Hz */
117 { 56644000, 16, 800, 600,
118 100, 109, 118, 130, 129, 601, 602, 612, 628, 628,
119 4, NCRStdPalette
, 100, 75, 7500, 8, 8, kernel_font_8x8
, 32, 255 },
121 /* 128x96 (1024x768) 48.5kHz 60Hz */
122 { 63000000, 16, 1024, 768,
123 128, 129, 139, 160, 160, 769, 774, 787, 805, 805,
124 4, NCRStdPalette
, 128, 96, 12288, 8, 8, kernel_font_8x8
, 32, 255 },
126 /* 128x96 (1024x768) 50.0kHz 61Hz */
127 { 65000000, 16, 1024, 768,
128 128, 129, 139, 160, 160, 769, 774, 787, 805, 805,
129 4, NCRStdPalette
, 128, 96, 12288, 8, 8, kernel_font_8x8
, 32, 255 },
131 /* 128x96 (1024x768) 55.4kHz 68Hz */
132 { 72000000, 16, 1024, 768,
133 128, 137, 147, 160, 160, 769, 785, 798, 805, 805,
134 4, NCRStdPalette
, 128, 96, 12288, 8, 8, kernel_font_8x8
, 32, 255 },
136 /* 128x96 (1024x768) 57.7kHz 71Hz */
137 { 75000000, 16, 1024, 768,
138 128, 128, 138, 160, 160, 769, 780, 793, 805, 805,
139 4, NCRStdPalette
, 128, 96, 12288, 8, 8, kernel_font_8x8
, 32, 255 },
141 /* 128x96 (1024x768) 61.5kHz 76Hz */
142 { 80000000, 16, 1024, 768,
143 128, 131, 141, 160, 160, 769, 780, 793, 805, 805,
144 4, NCRStdPalette
, 128, 96, 12288, 8, 8, kernel_font_8x8
, 32, 255 },
146 /* 128x96 (1024x768) 69.2kHz 85Hz */
147 { 90000000, 16, 1024, 768,
148 128, 138, 148, 160, 160, 769, 780, 793, 805, 805,
149 4, NCRStdPalette
, 128, 96, 12288, 8, 8, kernel_font_8x8
, 32, 255 },
151 /* 128x128 (1024x1024) 71.8kHz 66Hz ***EXCEEDS CHIP LIMIT!!!*** */
152 { 100000000, 16, 1024, 1024,
153 128, 129, 140, 172, 171, 1025, 1026, 1043, 1073, 1073,
154 4, NCRStdPalette
, 128, 128, 16384, 8, 8, kernel_font_8x8
, 32, 255 },
156 /* 128x128 (1024x1024) 79.0kHz 73Hz ***EXCEEDS CHIP LIMIT!!!*** */
157 { 110000000, 16, 1024, 1024,
158 128, 129, 140, 172, 171, 1025, 1026, 1043, 1073, 1073,
159 4, NCRStdPalette
, 128, 128, 16384, 8, 8, kernel_font_8x8
, 32, 255 },
161 /* 128x128 (1024x1024) 86.2kHz 80Hz ***EXCEEDS CHIP LIMIT!!!*** */
162 { 120000000, 16, 1024, 1024,
163 128, 129, 140, 172, 171, 1025, 1026, 1043, 1073, 1073,
164 4, NCRStdPalette
, 128, 128, 16384, 8, 8, kernel_font_8x8
, 32, 255 },
168 static const char *monitor_descr
[] = {
169 "80x50 (640x400) 31.5kHz 60Hz",
170 "80x50 (640x400) 35.0kHz 72Hz",
171 "80x50 (640x400) 37.1kHz 69Hz",
172 "100x75 (800x600) 31.5kHz 50Hz",
173 "100x75 (800x600) 35.0kHz 57Hz",
174 "100x75 (800x600) 37.2kHz 60Hz",
175 "100x75 (800x600) 57.1kHz 90Hz",
176 "128x96 (1024x768) 31.5kHz 78Hz interlace",
177 "128x96 (1024x768) 35.0kHz 86Hz interlace",
178 "128x96 (1024x768) 38.1kHz 89Hz interlace",
179 "128x96 (1024x768) 57.0kHz 71Hz",
180 "128x96 (1024x768) 71.2kHz 85Hz",
181 "80x100 (640x800) 31.9kHz 75Hz interlace",
182 "80x100 (640x800) 35.5kHz 84Hz interlace",
183 "80x50 (640x400) 36.6kHz 87Hz",
184 "96x64 (768x512) 36.9kHz 68Hz",
185 "96x64 (768x512) 38.4kHz 71Hz",
186 "96x64 (768x512) 41.0kHz 76Hz",
187 "96x64 (768x512) 46.0kHz 85Hz",
188 "96x64 (768x512) 46.1kHz 85Hz",
189 "100x75 (800x600) 47.3kHz 75Hz",
190 "100x75 (800x600) 53.6kHz 85Hz",
191 "128x96 (1024x768) 48.5kHz 60Hz",
192 "128x96 (1024x768) 50.0kHz 61Hz",
193 "128x96 (1024x768) 55.4kHz 68Hz",
194 "128x96 (1024x768) 57.7kHz 71Hz",
195 "128x96 (1024x768) 61.5kHz 76Hz",
196 "128x96 (1024x768) 69.2kHz 85Hz",
197 "128x128 (1024x1024) 71.8kHz 66Hz ***EXCEEDS CHIP LIMIT!!!***",
198 "128x128 (1024x1024) 79.0kHz 73Hz ***EXCEEDS CHIP LIMIT!!!***",
199 "128x128 (1024x1024) 86.2kHz 80Hz ***EXCEEDS CHIP LIMIT!!!***",