OXYGENHUB
◆ main openmsx / share / machines / Acid2Test-hardware.xml
7.6 KiB · XML · last changed chore(): initial commit 1 month ago source blame history raw
1
<?xml version="1.0" ?>
2
<!DOCTYPE msxconfig SYSTEM 'msxconfig2.dtd'>
3
<msxconfig>
4
5
  <info>
6
    <manufacturer>FRS</manufacturer>
7
    <code>Acid2Test-hardware</code>
8
    <release_year>2013</release_year>
9
    <description>Acid2Test v0.5, "unusual hardware in usual slot layout"
10
11
This is certainly the hardest of all tests. It's aimed to detect illegal
12
direct hardware access.
13
14
The MSX Technical Handbook, pg-336 clearly states that programs should not handle the hardware directly and the only direct I/O allowed is to the VDP, by using the ports indicated on addresses 0006h and 0007h of the BIOS. Pg-42 of this same book, on "Notes on I/O Address Assignments", mentions the reason: "Although I/O addresses are defined above, the software must not access those devices directly using the above ports. All I/O accesses must be done using BIOS calls, in order to make the software independent of hardware differences. MSX manufacturers may change some of the hardware from the standard MSX system and maintain software compatibility by rewriting BIOS. The hardware differences would thus be transparent to the software."
15
16
Remark: because of technical restrictions on openMSX, the MemoryMapper I/O ports
17
and the expanded-slot register cannot have their addresses changed. This means that this version of the AcidTest2 will not yet be able to test if those two devices are being correctly handled.
18
19
For more info, see http://frs.badcoffee.info/MSXAcidTests.html
20
</description>
21
22
    <type>MSX2+</type>
23
    <region>jp</region>
24
  </info>
25
26
<!--
27
==Changelog==
28
- v0.1: Initial version
29
- v0.2: Several improvements
30
- v0.5: Added MSX-Audio, and MSX-Music/MSX-Audio are now on left channel/right channel respectively, in moonblaster stereo configuration. This helps to programmer to quickly detect which chip is being used.
31
-->
32
33
  <MapperReadBackBits>largest</MapperReadBackBits>
34
35
  <CassettePort/>
36
37
  <devices>
38
39
    <PPI id="ppi">
40
      <sound>
41
        <volume>16000</volume>
42
      </sound>
43
      <io base="0x28" num="4"/>
44
      <keyboard_type>jp_jis</keyboard_type>
45
      <has_keypad>true</has_keypad>
46
      <key_ghosting_sgc_protected>false</key_ghosting_sgc_protected>
47
      <code_kana_locks>true</code_kana_locks>
48
      <graph_locks>false</graph_locks>
49
    </PPI>
50
51
    <VDP id="VDP">
52
      <version>V9958</version>
53
      <vram>128</vram>
54
      <io base="0x88" num="4" type="O"/>
55
      <io base="0x18" num="2" type="I"/>
56
    </VDP>
57
58
    <PSG id="PSG">
59
      <keyboardlayout>JIS</keyboardlayout>
60
      <sound>
61
        <volume>21000</volume>
62
      </sound>
63
      <io base="0x20" num="4" type="IO"/>
64
    </PSG>
65
66
    <RTC id="Real time clock">
67
      <sramname>Acid2Test-hardware.cmos</sramname>
68
      <io base="0x34" num="2" type="O"/>
69
      <io base="0x35" num="1" type="I"/>
70
    </RTC>
71
72
    <PrinterPort id="Printer Port">
73
      <io base="0x10" num="2"/>
74
    </PrinterPort>
75
76
    <F4Device id="F4Device">
77
      <inverted>true</inverted>
78
      <io base="0xF4" num="1"/>
79
    </F4Device>
80
81
    <primary slot="0">
82
      <secondary slot="0">
83
        <ROM id="MSX BIOS with BASIC ROM">
84
          <rom>
85
            <filename>phc-70fd2_basic-bios2p.rom</filename>
86
            <sha1>e90f80a61d94c617850c415e12ad70ac41e66bb7</sha1>
87
            <patches>
88
              <ips>acid-tests/Acid2Test_basic-bios2p.vdp.ips</ips>
89
              <ips>acid-tests/Acid2Test_basic-bios2p.psg.ips</ips>
90
              <ips>acid-tests/Acid2Test_basic-bios2p.ppi.ips</ips>
91
              <ips>acid-tests/Acid2Test_basic-bios2p.lpt.ips</ips>
92
            </patches>
93
          </rom>
94
          <mem base="0x0000" size="0x8000"/>
95
        </ROM>
96
      </secondary>
97
98
      <secondary slot="2">
99
100
        <MSX-AUDIO id="MSX-Audio">
101
          <io base="0x50" num="2"/>
102
          <type>Toshiba</type>
103
          <sound>
104
            <volume>12000</volume>
105
            <balance>75</balance>
106
          </sound>
107
          <sampleram>256</sampleram>
108
        </MSX-AUDIO>
109
110
        <ROM id="MSX-Audio BIOS">
111
          <mem base="0x0000" size="0x3000"/>
112
          <mem base="0x4000" size="0x3000"/>
113
          <mem base="0x8000" size="0x3000"/>
114
          <mem base="0xC000" size="0x3000"/>
115
          <mappertype>Normal0000</mappertype>
116
          <rom>
117
            <filename>Generic_msxaudio.rom</filename>
118
            <sha1>7f115ff923a1cc0d1944cf280168add946fde854</sha1>  <!-- MSX-Audio BIOS v1.0 -->
119
            <patches>
120
              <ips>acid-tests/Acid2Test_msxaudio.ppi.ips</ips>
121
              <ips>acid-tests/Acid2Test_msxaudio.psg.ips</ips>
122
              <ips>acid-tests/Acid2Test_msxaudio.opl1.ips</ips>
123
            </patches>
124
          </rom>
125
        </ROM>
126
        <RAM id="MSX-Audio BIOS WorkRAM">
127
          <mem base="0x3000" size="0x1000"/>
128
          <mem base="0x7000" size="0x1000"/>
129
          <size>0x1000</size>
130
        </RAM>
131
      </secondary>
132
133
      <secondary slot="3">
134
        <ROM id="MSX-DOS2">
135
          <mem base="0x4000" size="0x08000"/>
136
          <rom>
137
            <filename>Generic_msxdos22.rom</filename>
138
            <sha1>c36c9e0f96738a340381e23b4f97245388801a46</sha1>
139
            <patches>
140
              <ips>acid-tests/Acid2Test_msxdos22.ppi.ips</ips>
141
              <ips>acid-tests/Acid2Test_msxdos22.rtc.ips</ips>
142
            </patches>
143
          </rom>
144
          <mappertype>MSXDOS2</mappertype>
145
        </ROM>
146
147
      </secondary>
148
149
    </primary>
150
151
    <primary external="true" slot="1"/>
152
153
    <primary external="true" slot="2"/>
154
155
    <primary slot="3">
156
157
      <secondary slot="0">
158
        <MemoryMapper id="Main RAM">
159
          <size>1024</size>
160
          <mem base="0x0000" size="0x10000"/>
161
          <io base="0xBC" num="4"/>
162
        </MemoryMapper>
163
      </secondary>
164
165
      <secondary slot="1">
166
        <!-- This slot contains both the SubROM and the MSX-Music BIOS -->
167
        <MSX-MUSIC id="MSX-Music">
168
169
          <rom> <!-- From original EPROM dump -->
170
            <filename>2+FM cks-B414h.ROM</filename>
171
            <sha1>c5bfa85f7315fb11928b27a721a908c93b7d3fbf</sha1>
172
            <window base="0x0000" size="0x8000"/>
173
            <patches>
174
              <ips>acid-tests/Acid2Test_msx2psub-fmbasic.vdp.ips</ips>
175
              <ips>acid-tests/Acid2Test_msx2psub-fmbasic.psg.ips</ips>
176
              <ips>acid-tests/Acid2Test_msx2psub-fmbasic.opll.ips</ips>
177
              <ips>acid-tests/Acid2Test_msx2psub-fmbasic.ppi.ips</ips>
178
              <ips>acid-tests/Acid2Test_msx2psub-fmbasic.rtc.ips</ips>
179
            </patches>
180
          </rom>
181
          <rom>
182
            <filename>ExpertTurbo_msx2psub-fmbasic.rom</filename>
183
            <sha1>ca79a8cc7714a5d48d2e567a2d4d7ba3fe587825</sha1>
184
            <patches>
185
              <ips>acid-tests/Acid2Test_msx2psub-fmbasic.vdp.ips</ips>
186
              <ips>acid-tests/Acid2Test_msx2psub-fmbasic.psg.ips</ips>
187
              <ips>acid-tests/Acid2Test_msx2psub-fmbasic.opll.ips</ips>
188
              <ips>acid-tests/Acid2Test_msx2psub-fmbasic.ppi.ips</ips>
189
              <ips>acid-tests/Acid2Test_msx2psub-fmbasic.rtc.ips</ips>
190
            </patches>
191
          </rom>
192
          <sound>
193
            <volume>12000</volume>
194
            <balance>-75</balance>
195
          </sound>
196
          <ym2413-core>NukeYKT</ym2413-core>
197
          <io base="0x1C" num="2" type="O"/>
198
          <mem base="0x0000" size="0x8000"/>
199
        </MSX-MUSIC>
200
      </secondary>
201
202
      <secondary slot="2">
203
        <TC8566AF id="Memory Mapped FDC">
204
          <drives>2</drives>
205
          <rom>
206
            <filename>phc-70fd2_disk.rom</filename>
207
            <sha1>9efa744be8355675e7bfdd3976bbbfaf85d62e1d</sha1>
208
            <patches>
209
              <ips>acid-tests/Acid2Test_disk.ppi.ips</ips>
210
              <ips>acid-tests/Acid2Test_disk.rtc.ips</ips>
211
            </patches>
212
          </rom>
213
          <mem base="0x4000" size="0x8000"/>
214
        </TC8566AF>
215
      </secondary>
216
217
    </primary>
218
219
  </devices>
220
221
</msxconfig>