Acid2Test-hardware.xml 7.6 KB

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