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

  <info>
    <manufacturer>Sanyo</manufacturer>
    <code>MPC-64</code>
    <release_year>1985</release_year>
    <description>MSX1 with 64kB RAM for the German market.</description>
    <type>MSX</type>
    <region>de</region>
  </info>

<!-- 
 Based on information by Pakoto see https://www.msx.org/forum/msx-talk/emulation/dumpingreverse-engineering-msx-models-thread?page=31 - machine with serial 55403072

 Pakoto's machine shows:
 - TMS9929ANL VDP (IC132)
 - NEC D780C -1 CPU (IC116)
 - NEC D8255AC-2 PPI (IC117)
 - GI AY-3-8910A PSG (IC104)
 - VRAM: 8x NEC D416C-2 (IC140-IC143, IC133-IC136)
 - ROM Sanyo HN6 13256P (IC111)
 - one empty ROM socket marked ROM2 (IC112)
 - one big IC marked Sanyo VLC9007 (gate array?), IC128, mobo marking is MB64H120
 - RAM: 8x Sanyo HM4864P-2 (IC144-IC150)
 - LVA510 PAL encoder
 - Mobo type: EB1201 A UFO544 HT5VB

 Notes:
 - page 2 and 3 in slot 0 show 0xB0 bytes. This is not emulated.
-->

  <CassettePort/>

  <devices>

    <PPI id="ppi">
      <sound>
        <volume>16000</volume>
      </sound>
      <io base="0xA8" num="4"/>
      <keyboard_type>de</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>
    </PPI>

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

    <PSG id="PSG">
      <type>AY8910</type>
      <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-64_basic-bios1.rom</filename>
          <sha1>38a645febd0e0fe86d594f27c2d14be995acc730</sha1>
        </rom>
        <mem base="0x0000" size="0x8000"/>
      </ROM>
    </primary>

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

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

    <primary slot="3">
      <RAM id="Main RAM">
        <initialContent encoding="gz-base64">eJz7/5+B4f8IxgPvgoHFAJBx/wE=</initialContent><!-- FFFF0000 (64x) + 00FFFF (64x); also has some bit noise, but that is not emulated. -->
        <mem base="0x0000" size="0x10000"/>
      </RAM>
    </primary>

  </devices>

</msxconfig>
