Rev 5363 | Rev 7737 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3171 | hidnplayr | 1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
||
5363 | yogev_ezra | 3 | ;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;; |
3171 | hidnplayr | 4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
||
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
||
7 | |||
5070 | hidnplayr | 8 | format PE DLL native 0.05 |
9 | entry START |
||
3171 | hidnplayr | 10 | |
5070 | hidnplayr | 11 | DEBUG = 1 |
3171 | hidnplayr | 12 | |
5070 | hidnplayr | 13 | section '.flat' code readable writable executable |
14 | include '../proc32.inc' |
||
3766 | Serge | 15 | include '../struct.inc' |
5168 | hidnplayr | 16 | include '../pci.inc' |
5070 | hidnplayr | 17 | include '../macros.inc' |
5077 | clevermous | 18 | include '../peimport.inc' |
3171 | hidnplayr | 19 | |
20 | VID_INTEL = 0x8086 |
||
21 | VID_NVIDIA = 0x10DE |
||
22 | VID_VIA = 0x1106 |
||
23 | VID_SIS = 0x1039 |
||
24 | VID_FM801 = 0x1319 |
||
25 | VID_CREATIVE = 0x1102 |
||
26 | VID_ATI = 0x1002 |
||
27 | VID_AMD = 0x1022 |
||
28 | VID_ULI = 0x10B9 |
||
29 | VID_TERA = 0x6549 |
||
30 | VID_RDC = 0x17F3 |
||
31 | VID_VMWARE = 0x15AD |
||
32 | |||
33 | CTRL_ICH = 0x2415 |
||
34 | CTRL_ICH0 = 0x2425 |
||
35 | CTRL_ICH2 = 0x2435 |
||
36 | CTRL_ICH3 = 0x2445 |
||
37 | CTRL_ICH4 = 0x24C5 |
||
38 | CTRL_ICH5 = 0x24D5 |
||
39 | CTRL_ICH6 = 0x266E |
||
40 | CTRL_ICH7 = 0x27DE |
||
41 | |||
42 | CTRL_NFORCE = 0x01B1 |
||
43 | CTRL_NFORCE2 = 0x006A |
||
44 | CTRL_NFORCE3 = 0x00DA |
||
45 | CTRL_MCP04 = 0x003A |
||
46 | CTRL_CK804 = 0x0059 |
||
47 | CTRL_CK8 = 0x008A |
||
48 | CTRL_CK8S = 0x00EA |
||
49 | CTRL_MCP51 = 0x026B |
||
50 | |||
51 | CTRL_VT82C686 = 0x3058 |
||
52 | CTRL_VT8233_5 = 0x3059 |
||
53 | |||
54 | CTRL_SIS = 0x7012 |
||
55 | |||
56 | CTRL_FM801 = 0x0801 |
||
57 | |||
58 | CTRL_CT0200 = 0x0006 ; Dell OEM version (EMU10K1X) |
||
59 | |||
60 | CTRL_INTEL_SCH2 = 0x080a |
||
61 | CTRL_INTEL_HPT = 0x0c0c |
||
6299 | serge | 62 | CTRL_INTEL_0F04 = 0x0F04 |
3171 | hidnplayr | 63 | CTRL_INTEL_CPT = 0x1c20 |
64 | CTRL_INTEL_PGB = 0x1d20 |
||
65 | CTRL_INTEL_PPT1 = 0x1e20 |
||
6299 | serge | 66 | CTRL_INTEL_2284 = 0x2284 |
3171 | hidnplayr | 67 | CTRL_INTEL_82801F = 0x2668 |
68 | CTRL_INTEL_63XXESB = 0x269a |
||
69 | CTRL_INTEL_82801G = 0x27d8 |
||
70 | CTRL_INTEL_82801H = 0x284b |
||
71 | CTRL_INTEL_82801_UNK1 = 0x2911 |
||
72 | CTRL_INTEL_82801I = 0x293e |
||
73 | CTRL_INTEL_82801_UNK2 = 0x293f |
||
74 | CTRL_INTEL_82801JI = 0x3a3e |
||
75 | CTRL_INTEL_82801JD = 0x3a6e |
||
76 | CTRL_INTEL_PCH = 0x3b56 |
||
77 | CTRL_INTEL_PCH2 = 0x3b57 |
||
78 | CTRL_INTEL_SCH = 0x811b |
||
79 | CTRL_INTEL_LPT = 0x8c20 |
||
6299 | serge | 80 | CTRL_INTEL_8ca0 = 0x8cA0 |
81 | CTRL_INTEL_8d20 = 0x8d20 |
||
82 | CTRL_INTEL_8d21 = 0x8d21 |
||
83 | CTRL_INTEL_A1F0 = 0xA1F0 |
||
84 | CTRL_INTEL_A270 = 0xA270 |
||
85 | CTRL_INTEL_9C20 = 0x9c20 |
||
86 | CTRL_INTEL_9C21 = 0x9c21 |
||
87 | CTRL_INTEL_9CA0 = 0x9cA0 |
||
88 | CTRL_INTEL_A170 = 0xA170 |
||
89 | CTRL_INTEL_9D70 = 0x9D70 |
||
90 | CTRL_INTEL_5A98 = 0x5A98 |
||
3171 | hidnplayr | 91 | |
6299 | serge | 92 | |
3171 | hidnplayr | 93 | CTRL_NVIDIA_MCP51 = 0x026c |
94 | CTRL_NVIDIA_MCP55 = 0x0371 |
||
95 | CTRL_NVIDIA_MCP61_1 = 0x03e4 |
||
96 | CTRL_NVIDIA_MCP61_2 = 0x03f0 |
||
97 | CTRL_NVIDIA_MCP65_1 = 0x044a |
||
98 | CTRL_NVIDIA_MCP65_2 = 0x044b |
||
99 | CTRL_NVIDIA_MCP67_1 = 0x055c |
||
100 | CTRL_NVIDIA_MCP67_2 = 0x055d |
||
101 | CTRL_NVIDIA_MCP78_1 = 0x0774 |
||
102 | CTRL_NVIDIA_MCP78_2 = 0x0775 |
||
103 | CTRL_NVIDIA_MCP78_3 = 0x0776 |
||
104 | CTRL_NVIDIA_MCP78_4 = 0x0777 |
||
105 | CTRL_NVIDIA_MCP73_1 = 0x07fc |
||
106 | CTRL_NVIDIA_MCP73_2 = 0x07fd |
||
107 | CTRL_NVIDIA_MCP79_1 = 0x0ac0 |
||
108 | CTRL_NVIDIA_MCP79_2 = 0x0ac1 |
||
109 | CTRL_NVIDIA_MCP79_3 = 0x0ac2 |
||
110 | CTRL_NVIDIA_MCP79_4 = 0x0ac3 |
||
111 | CTRL_NVIDIA_0BE2 = 0x0be2 |
||
112 | CTRL_NVIDIA_0BE3 = 0x0be3 |
||
113 | CTRL_NVIDIA_0BE4 = 0x0be4 |
||
114 | CTRL_NVIDIA_GT100 = 0x0be5 |
||
115 | CTRL_NVIDIA_GT106 = 0x0be9 |
||
116 | CTRL_NVIDIA_GT108 = 0x0bea |
||
117 | CTRL_NVIDIA_GT104 = 0x0beb |
||
118 | CTRL_NVIDIA_GT116 = 0x0bee |
||
119 | CTRL_NVIDIA_MCP89_1 = 0x0d94 |
||
120 | CTRL_NVIDIA_MCP89_2 = 0x0d95 |
||
121 | CTRL_NVIDIA_MCP89_3 = 0x0d96 |
||
122 | CTRL_NVIDIA_MCP89_4 = 0x0d97 |
||
123 | CTRL_NVIDIA_GF119 = 0x0e08 |
||
124 | CTRL_NVIDIA_GF110_1 = 0x0e09 |
||
125 | CTRL_NVIDIA_GF110_2 = 0x0e0c |
||
126 | |||
127 | CTRL_ATI_SB450 = 0x437b |
||
128 | CTRL_ATI_SB600 = 0x4383 |
||
129 | |||
130 | CTRL_ATI_RS600 = 0x793b |
||
131 | CTRL_ATI_RS690 = 0x7919 |
||
132 | CTRL_ATI_RS780 = 0x960f |
||
133 | CTRL_ATI_RS_UNK1 = 0x970f |
||
134 | CTRL_ATI_R600 = 0xaa00 |
||
135 | CTRL_ATI_RV630 = 0xaa08 |
||
136 | CTRL_ATI_RV610 = 0xaa10 |
||
137 | CTRL_ATI_RV670 = 0xaa18 |
||
138 | CTRL_ATI_RV635 = 0xaa20 |
||
139 | CTRL_ATI_RV620 = 0xaa28 |
||
140 | CTRL_ATI_RV770 = 0xaa30 |
||
141 | CTRL_ATI_RV730 = 0xaa38 |
||
142 | CTRL_ATI_RV710 = 0xaa40 |
||
143 | CTRL_ATI_RV740 = 0xaa48 |
||
144 | |||
145 | CTRL_AMD_HUDSON = 0x780d |
||
146 | |||
147 | CTRL_VIA_VT82XX = 0x3288 |
||
148 | CTRL_VIA_VT61XX = 0x9140 |
||
149 | CTRL_VIA_VT71XX = 0x9170 |
||
150 | |||
151 | CTRL_SIS_966 = 0x7502 |
||
152 | |||
153 | CTRL_ULI_M5461 = 0x5461 |
||
154 | |||
155 | CTRL_CREATIVE_CA0110_IBG = 0x0009 |
||
156 | CTRL_CREATIVE_SOUND_CORE3D_1 = 0x0010 |
||
157 | CTRL_CREATIVE_SOUND_CORE3D_2 = 0x0012 |
||
158 | |||
159 | CTRL_TERA_UNK1 = 0x1200 |
||
160 | |||
161 | CTRL_RDC_R3010 = 0x3010 |
||
162 | |||
163 | CTRL_VMWARE_UNK1 = 0x1977 |
||
164 | |||
3765 | Serge | 165 | struct SRV |
166 | srv_name rb 16 ;ASCIIZ string |
||
167 | magic dd ? ;+0x10 ;'SRV ' |
||
168 | size dd ? ;+0x14 ;size of structure SRV |
||
169 | fd dd ? ;+0x18 ;next SRV descriptor |
||
170 | bk dd ? ;+0x1C ;prev SRV descriptor |
||
171 | base dd ? ;+0x20 ;service base address |
||
172 | entry dd ? ;+0x24 ;service START function |
||
173 | srv_proc dd ? ;+0x28 ;user mode service handler |
||
174 | srv_proc_ex dd ? ;+0x2C ;kernel mode service handler |
||
175 | ends |
||
176 | |||
177 | |||
5077 | clevermous | 178 | proc START c uses ebx esi edi, state:dword, cmdline:dword |
3171 | hidnplayr | 179 | |
5077 | clevermous | 180 | mov eax, [srv_entry] |
3171 | hidnplayr | 181 | cmp [state], 1 |
5077 | clevermous | 182 | jne .stop |
3171 | hidnplayr | 183 | |
184 | if DEBUG |
||
185 | mov esi, msgInit |
||
5070 | hidnplayr | 186 | invoke SysMsgBoardStr |
3171 | hidnplayr | 187 | end if |
188 | |||
5077 | clevermous | 189 | test eax, eax |
190 | jnz .done |
||
3171 | hidnplayr | 191 | call detect_controller |
192 | ret |
||
5077 | clevermous | 193 | .stop: |
194 | test eax, eax |
||
195 | jz .done |
||
196 | leave |
||
197 | jmp eax |
||
198 | .done: |
||
3171 | hidnplayr | 199 | xor eax, eax |
200 | ret |
||
201 | endp |
||
202 | |||
203 | proc service_proc stdcall, ioctl:dword |
||
204 | |||
205 | or eax, -1 |
||
206 | ret |
||
207 | endp |
||
208 | |||
209 | proc detect_controller |
||
210 | |||
5173 | hidnplayr | 211 | invoke GetPCIList |
212 | mov edx, eax |
||
3171 | hidnplayr | 213 | |
5173 | hidnplayr | 214 | .loop: |
215 | mov ecx, [eax + PCIDEV.vendor_device_id] |
||
3171 | hidnplayr | 216 | mov edi, devices |
217 | @@: |
||
218 | mov ebx, [edi] |
||
219 | test ebx, ebx |
||
220 | jz .next |
||
221 | |||
5173 | hidnplayr | 222 | cmp ecx, ebx |
3171 | hidnplayr | 223 | je .found |
224 | add edi, 8 |
||
5173 | hidnplayr | 225 | jmp @b |
5168 | hidnplayr | 226 | |
3171 | hidnplayr | 227 | .next: |
5173 | hidnplayr | 228 | mov eax, [eax + PCIDEV.fd] |
229 | cmp eax, edx |
||
230 | jne .loop |
||
5168 | hidnplayr | 231 | |
3171 | hidnplayr | 232 | if DEBUG |
5168 | hidnplayr | 233 | mov esi, msgFail |
234 | invoke SysMsgBoardStr |
||
235 | |||
3171 | hidnplayr | 236 | mov esi, msgLoading |
5070 | hidnplayr | 237 | invoke SysMsgBoardStr |
3171 | hidnplayr | 238 | |
5168 | hidnplayr | 239 | mov esi, sb16 |
5070 | hidnplayr | 240 | invoke SysMsgBoardStr |
3171 | hidnplayr | 241 | |
242 | mov esi, msgNewline |
||
5070 | hidnplayr | 243 | invoke SysMsgBoardStr |
3171 | hidnplayr | 244 | end if |
245 | |||
5168 | hidnplayr | 246 | invoke GetService, sb16 |
3765 | Serge | 247 | test eax, eax |
5168 | hidnplayr | 248 | jz .fail |
3171 | hidnplayr | 249 | |
3765 | Serge | 250 | mov edx, [eax+SRV.entry] |
251 | mov [srv_entry], edx |
||
3171 | hidnplayr | 252 | ret |
253 | |||
5168 | hidnplayr | 254 | .found: |
3171 | hidnplayr | 255 | if DEBUG |
5168 | hidnplayr | 256 | mov esi, msgLoading |
5070 | hidnplayr | 257 | invoke SysMsgBoardStr |
5168 | hidnplayr | 258 | |
259 | mov esi, dword[edi+4] |
||
260 | invoke SysMsgBoardStr |
||
261 | |||
262 | mov esi, msgNewline |
||
263 | invoke SysMsgBoardStr |
||
3171 | hidnplayr | 264 | end if |
265 | |||
5168 | hidnplayr | 266 | invoke GetService, dword[edi+4] |
267 | test eax, eax |
||
5234 | clevermous | 268 | jz .fail |
5168 | hidnplayr | 269 | |
270 | mov edx, [eax+SRV.entry] |
||
271 | mov [srv_entry], edx |
||
272 | ret |
||
273 | |||
274 | .fail: |
||
3171 | hidnplayr | 275 | xor eax, eax |
276 | ret |
||
277 | |||
278 | endp |
||
279 | |||
280 | align 4 |
||
3765 | Serge | 281 | devices dd (CTRL_ICH shl 16)+VID_INTEL, intelac97 |
282 | dd (CTRL_ICH0 shl 16)+VID_INTEL, intelac97 |
||
283 | dd (CTRL_ICH2 shl 16)+VID_INTEL, intelac97 |
||
284 | dd (CTRL_ICH3 shl 16)+VID_INTEL, intelac97 |
||
285 | dd (CTRL_ICH4 shl 16)+VID_INTEL, intelac97 |
||
286 | dd (CTRL_ICH5 shl 16)+VID_INTEL, intelac97 |
||
287 | dd (CTRL_ICH6 shl 16)+VID_INTEL, intelac97 |
||
288 | dd (CTRL_ICH7 shl 16)+VID_INTEL, intelac97 |
||
3171 | hidnplayr | 289 | |
3765 | Serge | 290 | dd (CTRL_NFORCE shl 16)+VID_NVIDIA, intelac97 |
291 | dd (CTRL_NFORCE2 shl 16)+VID_NVIDIA, intelac97 |
||
292 | dd (CTRL_NFORCE3 shl 16)+VID_NVIDIA, intelac97 |
||
293 | dd (CTRL_MCP04 shl 16)+VID_NVIDIA, intelac97 |
||
294 | dd (CTRL_CK804 shl 16)+VID_NVIDIA, intelac97 |
||
295 | dd (CTRL_CK8 shl 16)+VID_NVIDIA, intelac97 |
||
296 | dd (CTRL_CK8S shl 16)+VID_NVIDIA, intelac97 |
||
297 | dd (CTRL_MCP51 shl 16)+VID_NVIDIA, intelac97 |
||
3171 | hidnplayr | 298 | |
3765 | Serge | 299 | dd (CTRL_VT82C686 shl 16)+VID_VIA, vt823x |
300 | dd (CTRL_VT8233_5 shl 16)+VID_VIA, vt823x |
||
3171 | hidnplayr | 301 | |
3765 | Serge | 302 | dd (CTRL_SIS shl 16)+VID_SIS, sis |
3171 | hidnplayr | 303 | |
3765 | Serge | 304 | dd (CTRL_FM801 shl 16)+VID_FM801, fm801 |
3171 | hidnplayr | 305 | |
3765 | Serge | 306 | dd (0x5000 shl 16)+0x1274, ensoniq |
307 | dd (0x5880 shl 16)+0x1274, ensoniq |
||
3171 | hidnplayr | 308 | |
3765 | Serge | 309 | dd (CTRL_CT0200 shl 16)+VID_CREATIVE, emu10k1x |
6299 | serge | 310 | ; Intel HDA |
311 | dd (CTRL_INTEL_SCH2 shl 16)+VID_INTEL, intelhda |
||
312 | dd (CTRL_INTEL_HPT shl 16)+VID_INTEL, intelhda |
||
313 | dd (CTRL_INTEL_0F04 shl 16)+VID_INTEL, intelhda |
||
314 | dd (CTRL_INTEL_CPT shl 16)+VID_INTEL, intelhda |
||
315 | dd (CTRL_INTEL_PGB shl 16)+VID_INTEL, intelhda |
||
316 | dd (CTRL_INTEL_PPT1 shl 16)+VID_INTEL, intelhda |
||
317 | dd (CTRL_INTEL_2284 shl 16)+VID_INTEL, intelhda |
||
318 | dd (CTRL_INTEL_82801F shl 16)+VID_INTEL, intelhda |
||
319 | dd (CTRL_INTEL_63XXESB shl 16)+VID_INTEL, intelhda |
||
320 | dd (CTRL_INTEL_82801G shl 16)+VID_INTEL, intelhda |
||
321 | dd (CTRL_INTEL_82801H shl 16)+VID_INTEL, intelhda |
||
322 | dd (CTRL_INTEL_82801_UNK1 shl 16)+VID_INTEL, intelhda |
||
323 | dd (CTRL_INTEL_82801I shl 16)+VID_INTEL, intelhda |
||
324 | dd (CTRL_INTEL_82801_UNK2 shl 16)+VID_INTEL, intelhda |
||
325 | dd (CTRL_INTEL_82801JI shl 16)+VID_INTEL, intelhda |
||
326 | dd (CTRL_INTEL_82801JD shl 16)+VID_INTEL, intelhda |
||
327 | dd (CTRL_INTEL_PCH shl 16)+VID_INTEL, intelhda |
||
328 | dd (CTRL_INTEL_PCH2 shl 16)+VID_INTEL, intelhda |
||
329 | dd (CTRL_INTEL_SCH shl 16)+VID_INTEL, intelhda |
||
330 | dd (CTRL_INTEL_LPT shl 16)+VID_INTEL, intelhda |
||
331 | dd (CTRL_INTEL_8ca0 shl 16)+VID_INTEL, intelhda |
||
332 | dd (CTRL_INTEL_8d20 shl 16)+VID_INTEL, intelhda |
||
333 | dd (CTRL_INTEL_8d21 shl 16)+VID_INTEL, intelhda |
||
334 | dd (CTRL_INTEL_A1F0 shl 16)+VID_INTEL, intelhda |
||
335 | dd (CTRL_INTEL_A270 shl 16)+VID_INTEL, intelhda |
||
336 | dd (CTRL_INTEL_9C20 shl 16)+VID_INTEL, intelhda |
||
337 | dd (CTRL_INTEL_9C21 shl 16)+VID_INTEL, intelhda |
||
338 | dd (CTRL_INTEL_9CA0 shl 16)+VID_INTEL, intelhda |
||
339 | dd (CTRL_INTEL_A170 shl 16)+VID_INTEL, intelhda |
||
340 | dd (CTRL_INTEL_9D70 shl 16)+VID_INTEL, intelhda |
||
341 | dd (CTRL_INTEL_5A98 shl 16)+VID_INTEL, intelhda |
||
342 | |||
3171 | hidnplayr | 343 | ; Nvidia |
3765 | Serge | 344 | dd (CTRL_NVIDIA_MCP51 shl 16)+VID_NVIDIA, intelhda |
345 | dd (CTRL_NVIDIA_MCP55 shl 16)+VID_NVIDIA, intelhda |
||
346 | dd (CTRL_NVIDIA_MCP61_1 shl 16)+VID_NVIDIA, intelhda |
||
347 | dd (CTRL_NVIDIA_MCP61_2 shl 16)+VID_NVIDIA, intelhda |
||
348 | dd (CTRL_NVIDIA_MCP65_1 shl 16)+VID_NVIDIA, intelhda |
||
349 | dd (CTRL_NVIDIA_MCP65_2 shl 16)+VID_NVIDIA, intelhda |
||
350 | dd (CTRL_NVIDIA_MCP67_1 shl 16)+VID_NVIDIA, intelhda |
||
351 | dd (CTRL_NVIDIA_MCP67_2 shl 16)+VID_NVIDIA, intelhda |
||
352 | dd (CTRL_NVIDIA_MCP73_1 shl 16)+VID_NVIDIA, intelhda |
||
353 | dd (CTRL_NVIDIA_MCP73_2 shl 16)+VID_NVIDIA, intelhda |
||
354 | dd (CTRL_NVIDIA_MCP78_1 shl 16)+VID_NVIDIA, intelhda |
||
355 | dd (CTRL_NVIDIA_MCP78_2 shl 16)+VID_NVIDIA, intelhda |
||
356 | dd (CTRL_NVIDIA_MCP78_3 shl 16)+VID_NVIDIA, intelhda |
||
357 | dd (CTRL_NVIDIA_MCP78_4 shl 16)+VID_NVIDIA, intelhda |
||
358 | dd (CTRL_NVIDIA_MCP79_1 shl 16)+VID_NVIDIA, intelhda |
||
359 | dd (CTRL_NVIDIA_MCP79_2 shl 16)+VID_NVIDIA, intelhda |
||
360 | dd (CTRL_NVIDIA_MCP79_3 shl 16)+VID_NVIDIA, intelhda |
||
361 | dd (CTRL_NVIDIA_MCP79_4 shl 16)+VID_NVIDIA, intelhda |
||
362 | dd (CTRL_NVIDIA_0BE2 shl 16)+VID_NVIDIA, intelhda |
||
363 | dd (CTRL_NVIDIA_0BE3 shl 16)+VID_NVIDIA, intelhda |
||
364 | dd (CTRL_NVIDIA_0BE4 shl 16)+VID_NVIDIA, intelhda |
||
365 | dd (CTRL_NVIDIA_GT100 shl 16)+VID_NVIDIA, intelhda |
||
366 | dd (CTRL_NVIDIA_GT106 shl 16)+VID_NVIDIA, intelhda |
||
367 | dd (CTRL_NVIDIA_GT108 shl 16)+VID_NVIDIA, intelhda |
||
368 | dd (CTRL_NVIDIA_GT104 shl 16)+VID_NVIDIA, intelhda |
||
369 | dd (CTRL_NVIDIA_GT116 shl 16)+VID_NVIDIA, intelhda |
||
370 | dd (CTRL_NVIDIA_MCP89_1 shl 16)+VID_NVIDIA, intelhda |
||
371 | dd (CTRL_NVIDIA_MCP89_2 shl 16)+VID_NVIDIA, intelhda |
||
372 | dd (CTRL_NVIDIA_MCP89_3 shl 16)+VID_NVIDIA, intelhda |
||
373 | dd (CTRL_NVIDIA_MCP89_4 shl 16)+VID_NVIDIA, intelhda |
||
374 | dd (CTRL_NVIDIA_GF119 shl 16)+VID_NVIDIA, intelhda |
||
375 | dd (CTRL_NVIDIA_GF110_1 shl 16)+VID_NVIDIA, intelhda |
||
376 | dd (CTRL_NVIDIA_GF110_2 shl 16)+VID_NVIDIA, intelhda |
||
3171 | hidnplayr | 377 | ; ATI |
3765 | Serge | 378 | dd (CTRL_ATI_SB450 shl 16)+VID_ATI, intelhda |
379 | dd (CTRL_ATI_SB600 shl 16)+VID_ATI, intelhda |
||
380 | dd (CTRL_ATI_RS600 shl 16)+VID_ATI, intelhda |
||
381 | dd (CTRL_ATI_RS690 shl 16)+VID_ATI, intelhda |
||
382 | dd (CTRL_ATI_RS780 shl 16)+VID_ATI, intelhda |
||
383 | dd (CTRL_ATI_RS_UNK1 shl 16)+VID_ATI, intelhda |
||
384 | dd (CTRL_ATI_R600 shl 16)+VID_ATI, intelhda |
||
385 | dd (CTRL_ATI_RV610 shl 16)+VID_ATI, intelhda |
||
386 | dd (CTRL_ATI_RV620 shl 16)+VID_ATI, intelhda |
||
387 | dd (CTRL_ATI_RV630 shl 16)+VID_ATI, intelhda |
||
388 | dd (CTRL_ATI_RV635 shl 16)+VID_ATI, intelhda |
||
389 | dd (CTRL_ATI_RV670 shl 16)+VID_ATI, intelhda |
||
390 | dd (CTRL_ATI_RV710 shl 16)+VID_ATI, intelhda |
||
391 | dd (CTRL_ATI_RV730 shl 16)+VID_ATI, intelhda |
||
392 | dd (CTRL_ATI_RV740 shl 16)+VID_ATI, intelhda |
||
393 | dd (CTRL_ATI_RV770 shl 16)+VID_ATI, intelhda |
||
3171 | hidnplayr | 394 | ; AMD |
3765 | Serge | 395 | dd (CTRL_AMD_HUDSON shl 16)+VID_AMD, intelhda |
3171 | hidnplayr | 396 | ; VIA |
3765 | Serge | 397 | dd (CTRL_VIA_VT82XX shl 16)+VID_VIA, intelhda |
398 | dd (CTRL_VIA_VT61XX shl 16)+VID_VIA, intelhda |
||
399 | dd (CTRL_VIA_VT71XX shl 16)+VID_VIA, intelhda |
||
3171 | hidnplayr | 400 | ; SiS |
3765 | Serge | 401 | dd (CTRL_SIS_966 shl 16)+VID_SIS, intelhda |
3171 | hidnplayr | 402 | ; ULI |
3765 | Serge | 403 | dd (CTRL_ULI_M5461 shl 16)+VID_ULI, intelhda |
3171 | hidnplayr | 404 | ; Teradici |
3765 | Serge | 405 | dd (CTRL_TERA_UNK1 shl 16)+VID_ULI, intelhda |
3171 | hidnplayr | 406 | ; Creative |
3765 | Serge | 407 | dd (CTRL_CREATIVE_CA0110_IBG shl 16)+VID_CREATIVE, intelhda |
408 | dd (CTRL_CREATIVE_SOUND_CORE3D_1 shl 16)+VID_CREATIVE, intelhda |
||
409 | dd (CTRL_CREATIVE_SOUND_CORE3D_2 shl 16)+VID_CREATIVE, intelhda |
||
3171 | hidnplayr | 410 | ; RDC Semiconductor |
3765 | Serge | 411 | dd (CTRL_RDC_R3010 shl 16)+VID_RDC, intelhda |
3171 | hidnplayr | 412 | ; VMware |
3765 | Serge | 413 | dd (CTRL_VMWARE_UNK1 shl 16)+VID_VMWARE, intelhda |
3171 | hidnplayr | 414 | |
5070 | hidnplayr | 415 | dd 0 ; terminator |
3171 | hidnplayr | 416 | |
417 | |||
3765 | Serge | 418 | srv_entry dd 0 |
419 | |||
3171 | hidnplayr | 420 | intelac97 db 'INTELAC97', 0 |
421 | vt823x db 'VT823X', 0 |
||
422 | sis db 'SIS', 0 |
||
423 | fm801 db 'FM801', 0 |
||
424 | ensoniq db 'ENSONIQ', 0 |
||
425 | emu10k1x db 'EMU10K1X', 0 |
||
426 | intelhda db 'INTEL_HDA', 0 |
||
5168 | hidnplayr | 427 | sb16 db 'SB16', 0 |
3171 | hidnplayr | 428 | |
429 | msgInit db 'Detecting hardware...',13,10,0 |
||
5168 | hidnplayr | 430 | msgFail db 'No compatible PCI soundcard found!',13,10,0 |
3171 | hidnplayr | 431 | msgLoading db 'Loading ',0 |
432 | msgNewline db 13,10,0 |
||
433 | |||
5070 | hidnplayr | 434 | align 4 |
435 | data fixups |
||
5071 | hidnplayr | 436 | end data |