File: exampleconfigs.xml

package info (click to toggle)
openmsx 0.5.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,976 kB
  • ctags: 10,295
  • sloc: cpp: 63,525; xml: 37,105; sh: 1,403; python: 681; tcl: 207; makefile: 64
file content (282 lines) | stat: -rw-r--r-- 7,933 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
<?xml version="1.0"?>
<!-- $Id: exampleconfigs.xml,v 1.11 2004/10/02 14:14:40 m9710797 Exp $ -->
<!DOCTYPE msxconfig SYSTEM "msxconfig.dtd">
<msxconfig>

  <info>
    <menufacturer>openMSX team</menufacturer>
    <code>EC-050</code>
    <release_year>2004</release_year>
    <description>Example configurations</description>
    <type>MSX2</type>
  </info>

  <MapperType>Philips</MapperType>

  <RenShaTurbo>
    <min_ints>47</min_ints>
    <max_ints>221</max_ints>
  </RenShaTurbo>

  <devices>

<!--define slot structure (expanded slots and external slots) -->
    <primary slot="0">
      <some_device>...</some_device>
    </primary>
    <primary slot="1" external="true"/>
    <primary slot="2">
      <secondary slot="0" external-"true"/>
      <secondary slot="1" external-"true"/>
      <secondary slot="2" external-"true"/>
      <secondary slot="3" external-"true"/>
    </primary>
    <primary slot="3">
      <secondary slot="2">
        <some_device>...</some_device>
      </secondary>
    </primary>
  
<!-- 8kb RAM at address 0xE000-0xFFFF in slot 3-2 -->
  <primary slot="3">
    <secondary slot="2">
      <RAM id="myram1">
        <mem base="0x0000" size="0x10000"/>
        <slow_drain_on_reset>true</slow_drain_on_reset>
        <size>8</size>
        <base>56</base>
      </RAM>
    </secondary>
  </primary>

<!-- BIOS + BASIC ROM in unexpanded slot 0.
     ROM is patched for alternative tape support -->
  <primary slot="0">
    <Rom id="biosrom">
      <mem base="0x0000" size="0x8000"/>
      <rom>
        <sha1>123456789b91a7dea3ff75f3fde76b8af22c4a3a</sha1>
        <filename>MSX.ROM</filename>
        <patchcode>MSXTapePatch</patchcode>
        <patch addr="0x00E1" val="0xED"/>
        <patch addr="0x00E2" val="0xFE"/>
        <patch addr="0x00E3" val="0xC9"/>
        <patch addr="0x00E4" val="0xED"/>
        <patch addr="0x00E5" val="0xFE"/>
        <patch addr="0x00E6" val="0xC9"/>
        <patch addr="0x00E7" val="0xED"/>
        <patch addr="0x00E8" val="0xFE"/>
        <patch addr="0x00E9" val="0xC9"/>
        <patch addr="0x00EA" val="0xED"/>
        <patch addr="0x00EB" val="0xFE"/>
        <patch addr="0x00EC" val="0xC9"/>
        <patch addr="0x00ED" val="0xED"/>
        <patch addr="0x00EE" val="0xFE"/>
        <patch addr="0x00EF" val="0xC9"/>
        <patch addr="0x00F0" val="0xED"/>
        <patch addr="0x00F1" val="0xFE"/>
        <patch addr="0x00F2" val="0xC9"/>
        <patch addr="0x00F3" val="0xED"/>
        <patch addr="0x00F4" val="0xFE"/>
        <patch addr="0x00F5" val="0xC9"/>
      </rom>
    </ROM>
  </primary>

<!-- FDC controller in slot 3-3 with one physical disk drive -->
  <primary slot="3">
    <secondary slot="3">
      <WD2793 id="Memory Mapped FDC">
        <mem base="0x4000" size="0x8000"/>
        <rom>
          <sha1>123456789b91a7dea3ff75f3fde76b8a98765432</sha1>
          <filename>nms8250-disk.rom</filename>
        </rom>
        <brokenFDCread>false</brokenFDCread> 
        <drives>1</drive>
      </WD2793>
    </secondary>
  </primary>

  <PPI id="ppi">
    <io base="0xA8" num="4"/>
    <sound>
      <volume>16000</volume>
      <mode>mono</mode>
    </sound>
    <key_ghosting>true</key_ghosting>
  </PPI>

  <VDP id="VDP">
    <io base="0x98" num="4" type="O"/>
    <io base="0x98" num="2" type="I"/>
    <version>TMS99X8A</version>
  </VDP>

  <E6Timer id="Turbo-R timer">
    <io base="0xE6" num="2"/>
  </E6Timer>

  <PSG id="psg">
    <io base="0xA0" num="2" type="O"/>
    <io base="0xA2" num="1" type="I"/>
    <sound>
      <volume>21000</volume>
    </sound>
    <keyboardlayout>JIS</keyboardlayout>
  </PSG>
  
  <Kanji id="Kanji ROM">
    <io base="0xD8" num="4"/>
    <rom>
      <sha1>5aff2d9b6efc723bc395b0f96f0adfa83cc54a49</sha1>
      <filename>KANJI.ROM</filename>
    </rom>
  </Kanji>

  <RTC id="Real time clock">
    <io base="0xB4" num="2" type="O"/>
    <io base="0xB5" num="1" type="I"/>
    <sramname>RTC.SAVE</sramname>
  </RTC>
                      
<!-- 2MB memory mapper that can be inserted in any slot (expanded or not),
     usefull for extensions -->
  <primary slot="any">
    <secondary slot="any">
      <MemoryMapper id="mymapper1">
        <mem base="0x0000" size="0x10000"/>
        <slow_drain_on_reset>false</slow_drain_on_reset>
        <size>2048</size>
      </MemoryMapper>
    </secondary>
  </primary>

<!-- SCCPlus cartridge, starts with a preloaded NEMESIS2 -->
  <primary slot="any">
    <secondary slot="any">
      <SCCplus id="SCC+ Cartridge">
        <mem base="0x4000" size="0x8000"/>
        <filename>NEMESIS2.ROM</filename>
        <sound>
          <volume>13000</volume>
          <mode>mono</mode>
        </sound>
        <!-- possible subtypes "Snatcher" "SD-Snatcher" "mirrored" "expanded" -->
        <subtype>expanded</subtype>
      </SCCplus>
    </secondary>
  </primary>

<!-- a rom with explicitly specified mappertype.
     Note that Synthesizer also works from the command line, thanks to romdb.xml -->
  <primary slot="any">
    <secondary slot="any">
      <ROM id="KonamiSynthesizer">
        <mem base="0x4000" size="0x8000"/>
        <rom>
          <filename>Synthesizer.rom</filename>
          <mappertype>SYNTHESIZER</mappertype>
        </rom>
        <sound>
          <volume>13000</volume>
          <mode>mono</mode>
        </sound>
      </ROM>
    </secondary>
  </primary>

<!-- For an FM-PAC config, check out the share/extensions/fmpac dir -->
  <primary slot="any">
    <secondary slot="any">
      <FMPAC id="FM PAC">
        <io base="0x7C" num="2" type="O"/>
        <mem base="0x4000" size="0x4000"/>
        <rom>
          <sha1>9d789166e3caf28e4742fe933d962e99618c633d</sha1>
          <filename>FMPAC.ROM</filename>
        </rom>
        <sound>
          <volume>13000</volume>
          <mode>mono</mode>
        </sound>
        <sramname>FMPAC.PAC</sramname>
      </FMPAC>
    </secondary>
  </primary>

  <primary slot="any">
    <secondary slot="any">
      <MSX-MUSIC id="MSX Music">
        <io base="0x7C" num="2" type="O"/>
        <mem base="0x4000" size="0x4000"/>
        <rom>
          <sha1>9d789166e3caf28e4742fe933d962e99618c633d</sha1>
          <filename>FMPAC.ROM</filename>
        </rom>
        <sound>
          <volume>13000</volume>
          <mode>mono</mode>
        </sound>
      </MSX-MUSIC>
    </secondary>
  </primary>

<!-- For an MSX Audio config, check out the share/extensions/audio dir -->
  <MSX-AUDIO id="Generic MSX-Audio">
    <io base="0xC0" num="2"/>
    <sound>
      <volume>12000</volume>
      <mode>mono</mode>
    </sound>
    <sampleram>256</sampleram>
  </MSX-AUDIO>
  <MusicModuleMIDI id="Generic MSX-Audio-MIDI">
    <io base="0x00" num="2" type="O"/>
    <io base="0x04" num="2" type="I"/>
  </MusicModuleMIDI>
                                          
<!-- MSX-MIDI device, as can be found in the Turbo-R. Dummy for now. -->
  <MSX-MIDI id="MSX-Midi">
    <io base="0xE8" num="8"/>
  </MSX-MIDI>

  <PrinterPort id="Printer Port">
    <io base="0x90" num="2"/>
  </PrinterPort>

  <CassettePort/>

<!-- For an SCC config, check out the share/extensions/scc dir -->
  <primary slot="any">
    <secondary slot="any">
      <ROM id="Empty SCC Cartridge">
        <mem base="0x4000" size="0x8000"/>
        <sound>
          <volume>11500</volume>
          <mode>mono</mode>
        </sound>
        <rom>
          <mappertype>SCC</mappertype>
        </rom>
      </ROM>
    </secondary>
  </primary>
  
<!-- See the configuration of the National FS-4600 in share/machines
     "Switched IO devices (IO region 0x40-0x4F)" don't need an <io> tag -->
  <Kanji12 id="Kanji ROM 12x12">
    <rom>
      <filename>KANJI12.ROM</filename>
    </rom>
  </Kanji12>

<!-- A debug device to be controlled from the msx -->
  <DebugDevice id="Debug Device">
    <io base="0x2F" num="2" type="O"/>
    <filename>stdout</filename>
  </DebugDevice>

  </devices>

</msxconfig>