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

  <info>
    <manufacturer>AVT</manufacturer>
    <code>DPC-200</code>
    <release_year>1985</release_year>
    <description>Daewoo's DPC-200 for the European market</description>
    <type>MSX</type>
    <region>eu</region>
  </info>

  <!-- 
       Info based on machine of Peter Hanraets with serial number L5EP00401
       4k/16k: NO
       address latch: NO
       clones: YES
       mirrored and mixed mode: YES
       Z80 scf: 01C529ED01D429FC (dunno)
       Z08 cpl: 3AFF12D7 (standard)
       Z80 out (c),0: 0 (MSX)
       PSG pin 6/7 quirk: C (YES)
       AY8910 PSG mask
  -->

  <CassettePort/>

  <devices>

    <PPI id="ppi">
      <sound>
        <volume>16000</volume>
      </sound>
      <io base="0xA8" num="4"/>
      <keyboard_type>int</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>TMS9129</version> <!-- Not 100% sure -->
      <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>avt_dpc-200_basic-bios1.rom</filename>
          <sha1>829c00c3114f25b3dae5157c0a238b52a3ac37db</sha1>
        </rom>
        <mem base="0x0000" size="0x8000"/>
      </ROM>
    </primary>

    <primary slot="1">
      <RAM id="Main RAM">
        <mem base="0x0000" size="0x10000"/>
        <initialContent encoding="gz-base64">eJxjYKAM/KcQAAAY2D/B</initialContent> <!-- 64x 00, 64x FF. There is also some randomness that's not emulated. -->
      </RAM>
    </primary>

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

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

  </devices>

</msxconfig>
