<?xml version="1.0" ?>
<!DOCTYPE msxconfig SYSTEM 'msxconfig2.dtd'>
<msxconfig>

  <info>
    <manufacturer>Pioneer</manufacturer>
    <code>PX-7(UK)</code>
    <release_year>1984?</release_year>
    <description>UK version of the PX-7, with LaserDisc controller, stereo PSG and superimpose support (not emulated).</description>
    <type>MSX</type>
    <region>uk</region>
  </info>

  <CassettePort/>

  <devices>

    <PPI id="ppi">
      <sound>
        <volume>16000</volume>
      </sound>
      <io base="0xA8" num="4"/>
      <keyboard_type>gb</keyboard_type>
      <has_keypad>false</has_keypad>
      <key_ghosting_sgc_protected>true</key_ghosting_sgc_protected>
      <code_kana_locks>false</code_kana_locks>
      <graph_locks>false</graph_locks>
      <!-- there are three extra keys -->
      <!-- row 9, bit 0: super-impose -->
      <!-- row 9, bit 1: video -->
      <!-- row 9, bit 2: computer -->
    </PPI>

    <VDP id="VDP">
      <version>TMS9129</version>
      <io base="0x98" num="2"/>
    </VDP>

    <PSG id="PSG">
      <!-- volume of SCC sounds off on real hardware. How to measure? -->
      <sound>
        <volume>21000</volume>
        <balance channel="1">0</balance>
        <balance channel="2">-100</balance>
        <balance channel="3">100</balance>
      </sound>
      <io base="0xA0" num="4" type="IO"/>
      <ignorePortDirections>false</ignorePortDirections> <!-- not sure, but guess based on discrete PSG chip -->
    </PSG>

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

    <primary slot="0">
      <ROM id="MSX BIOS with BASIC ROM">
        <rom>
          <filename>px-7uk_basic-bios1.rom</filename>
          <sha1>8963fc041975f31dc2ab1019cfdd4967999de53e</sha1>
        </rom>
        <mem base="0x0000" size="0x8000"/>
      </ROM>
      <RAM id="Main RAM">
        <mem base="0x8000" size="0x8000"/>
      </RAM>
    </primary>

    <primary external="true" slot="1"/>

    <primary slot="2">
      <PioneerLDControl id="PBASIC">
        <!-- This is a PAL machine. The Pioneer LD-7000 will not work.
             Are there any laserdisc players which will work? -->
        <laserdisc>false</laserdisc>
        <rom>
          <filename>px-7uk_pbasic.rom</filename>
          <sha1>4f0102cdc27216fd9bcdb9663db728d2ccd8ca6d</sha1>
        </rom>
        <mem base="0x4000" size="0x4000"/>
        <device idref="ppi"/>
        <device idref="VDP"/>
      </PioneerLDControl>
    </primary>

    <primary external="true" slot="3"/>

  </devices>

</msxconfig>
