source: trunk/example/cardinfo.rc@ 5

Last change on this file since 5 was 2, checked in by ktk, 18 years ago

Initial import

File size: 5.7 KB
Line 
1RCDATA 11
2BEGIN
3 "6", /* Max number of adapters (2 chars) */
4 "mpu401.hlp", /* Helpfile name (19 chars) */
5 "\0", /* Adapter specific dll name (19 chars) */
6 "\0", /* Adapter specific dll entry point (39 chars)*/
7
8 /**** Data for CONFIG.SYS **/
9 "2", /* Number of CONFIG.SYS lines (1 char) */
10 "DEVICE=*PATH*\\MPU401.SYS *VAL**VAL**VAL**VAL**VAL**VAL**VAL**VAL**VAL*/O:LONGNAME /N:*PDD*",
11 "DEVICE=*PATH*\\VMPU401.SYS *PDD*",
12
13 /**** Data for INI File ****/
14 "2", /* Number of Drivers to Install (1 char) */
15 (maximum 6)
16 "MPU-401", /* Product name (39 chars) */
17 "2.0.0" /* Version of the adapter's software (5 chars)*/
18 "MPU401", /* PDD Name (6 chars) */
19 "MDM", /* MCD table name (19 chars) */
20 "\0" /* VSD table name (19 chars) */
21 -> Generic Information for InstallDrv etc.
22END
23
24RCDATA 12
25BEGIN
26 /**** SEQUENCER Driver ****/
27 "IBMSEQMPU401" /* Installname (17 chars) */
28 -> DrvInstallName
29 "8", /* Device type (3 chars) */
30 -> DrvDeviceType
31 "1", /* Device flag (3 chars) */
32 -> DrvDeviceFlag
33 "MIDIMCD", /* MCD driver name (19 chars) */
34 -> DrvMCDDriver
35 "AUDIOIF", /* VSD driver name (19 chars) */
36 -> DrvVSDDriver
37 "3", /* Share Type (3 chars) */
38 -> DrvShareType
39 "MPU-401SEQ", /* Resource name (17 chars) */
40 -> DrvResourceName
41 "1", /* # of Resource units (2 chars) */
42 -> DrvResourceUnits
43 "1", /* # of Resource classes (2 chars) */
44 -> DrvClassArray (Count)
45 "1", /* Resource classes (2 char each) */
46 -> DrvClassNumber (within DrvClassArray)
47
48 "0", /* # Valid resource class combos (2 chars) */
49 /* Valid resource class combos (2 chars each) */
50 '2'
51 '1', '2'
52 '2', '1' -> classes compatible?!?!
53 ClassComboArray[1][2] = 1;
54 ClassComboArray[2][1] = 1;
55
56 -> ???
57 "1", /* # of connectors (2 chars) */
58 -> For MciInstallConn
59 "1","IBMAMPMIXMPU401","1", /* Connectors (2 chars), (17 chars), (2 chars)*/
60 -> ConnType/ConnInstallTo/ConnIndexTo
61
62 "1", /* # of extensions (2 chars) */
63 "MID", /* Extension names (3 chars each) */
64 -> MciInstallExt (ExtArray)
65
66 "MIDI", /* Extended attribute (255 chars) */
67 -> EATYPES field
68
69 "MIDI", /* Alias Name (17 chars) */
70 -> MciInstallAlias (AliasString)
71
72 "CHANNELS=1111111111111111,MIDITYPE=General MIDI"
73 /* Device Parms (255 chars) */
74 -> MciInstallParm (ParmString)
75END
76
77RCDATA 13
78BEGIN
79 /**** AMPMIXER Driver *****/
80 "IBMAMPMIXMPU401" /* Installname (17 chars) */
81 -> DrvInstallName
82 "9", /* Device type (3 chars) */
83 -> DrvDeviceType
84 "2", /* Device flag (3 chars) */
85 -> DrvDeviceFlag
86 "AMPMXMCD", /* MCD driver name (19 chars) */
87 -> DrvMCDDriver
88 "AUDIOIF", /* VSD driver name (19 chars) */
89 -> DrvVSDDriver
90 "3", /* Share Type (3 chars) */
91 -> DrvShareType
92 "MPU-401AMPMIX", /* Resource name (17 chars) */
93 -> DrvResourceName
94 "1", /* # of Resource units (2 chars) */
95 -> DrvResourceUnits
96 "1", /* # of Resource classes (2 chars) */
97 -> DrvClassArray (Count)
98 "1", /* Resource classes (2 char each) */
99 -> DrvClassNumber (within DrvClassArray)
100
101 "0", /* # Valid resource class combos (2 chars) */
102 "2", /* # of connectors (2 chars) */
103 -> For MciInstallConn
104 "4", "\0", "0", /* Connectors (2 chars), (17 chars), (2 chars)*/
105 "14", "\0", "0",
106 -> ConnType/ConnInstallTo/ConnIndexTo
107
108 "0", /* # of extensions (2 chars) */
109 /* no extension names */ /* Extension names (3 chars each) */
110 -> MciInstallExt (ExtArray)
111
112 "\0", /* Extended attribute (255 chars) */
113
114 "\0", /* Alias Name (17 chars) */
115 -> MciInstallAlias (AliasString)
116
117 "TREBLE=50,BASS=50,PITCH=50,GAIN=70,BALANCE=50,VOL=100,INPUT=LINE,OUTPUT=SPEAKER,RESOURCEDLL=MPU401,RCID=9"
118 /* Device Parms (255 chars) */
119 -> MciInstallParm (ParmString)
120END
121
122
123YMSAMPMIXOPL3SA
1249
1252
126AMPMXMCD
127AUDIOIF
1283
129Opl3SaA
1302
1312
1321
1331
134
1352 <-- Class Combos?!
1361
1372
1382
1391
1405 <- Connector Count
1414
142
1430
144<
1459
146
1470
148<
1498
150
1510
152<
15310
154
1550
156<
1577
158
1590
160<
1610
162
163
164TREBLE=50,BASS=50,PITCH=50,GAIN=70,BALANCE=50,VOL=100,INPUT=LINE,OUTPUT=SPEAKER,RESOURCEDLL=OPL3SARC,RCID=95
Note: See TracBrowser for help on using the repository browser.