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

  <info>
    <manufacturer>Sanyo</manufacturer>
    <code>MPC-10/Wavy10mkII</code>
    <release_year>1984</release_year>
    <description>A basic Japanese MSX1 with 32kB RAM and light pen controller (not emulated), with Light Pen Graphic software included.</description>
    <type>MSX</type>
    <region>jp</region>
  </info>

  <!-- Thanks to Takamichi Suzukawa for the information 

       missing: light pen controller

       Z80 scf: 01C529ED01D429FC (dunno)
       Z80 cpl: 3AFF12D7 (standard)
       Z80 out (c), 0: 0 (MSX)
       PSG pin 6/7 quirk: C (YES)
       PSGmask: YM2149 like

       CPU: NEC D780C -1  8417X5
       VDP: TMS9918ANL
       PSG: GI SOUND AY-3-8910 8329 CDA TAIWAN
       PPI: NEC D8255AC-5
  -->

  <CassettePort/>

  <devices>

    <PPI id="ppi">
      <sound>
        <volume>16000</volume>
      </sound>
      <io base="0xA8" num="4"/>
      <keyboard_type>jp_ansi</keyboard_type>
      <has_keypad>false</has_keypad>
      <key_ghosting_sgc_protected>true</key_ghosting_sgc_protected>
      <code_kana_locks>true</code_kana_locks>
      <graph_locks>false</graph_locks>
    </PPI>

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

    <PSG id="PSG">
      <type>AY8910</type> <!-- but according to ident.bas PSGmask is YM2149 like -->
      <keyboardlayout>50on</keyboardlayout>
      <sound>
        <volume>21000</volume>
      </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>mpc-10mkii_basic-bios1.rom</filename>
          <sha1>302afb5d8be26c758309ca3df611ae69cced2821</sha1>
        </rom>
        <mem base="0x0000" size="0x8000"/>
      </ROM>
        <RAM id="Main RAM">
          <mem base="0x8000" size="0x8000"/>
          <initialContent encoding="hex">FF00</initialContent>
        </RAM>
    </primary>

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

    <!-- Note: this connector is actually a non-standard expansion connector on the back -->
    <primary external="true" slot="2"/>

    <primary slot="3">
      <ROM id="Light Pen Graphic ROM">
        <rom>
          <filename>mpc-10mkii_firmware.rom</filename>
          <sha1>c3a47480c9dd2235f40f9a53dab68e3c48adca01</sha1>
        </rom>
        <mem base="0x4000" size="0x4000"/>
      </ROM>
    </primary>

  </devices>

</msxconfig>
