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

  <info>
    <manufacturer>Philips</manufacturer>
    <code>VG 8020/00</code>
    <release_year>1985</release_year>
    <description>First version of this basic European MSX1 with 64kB RAM. Very popular machine in the Netherlands.</description>
    <type>MSX</type>
    <region>eu</region>
  </info>

  <CassettePort/>

  <devices>

    <PPI id="ppi">
      <sound>
        <volume>16000</volume>
      </sound>
      <io base="0xA8" num="8"/>
      <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>TMS9929A</version>
      <io base="0x98" num="8"/> <!-- mirroring confirmed by l_oliveira -->
      <saturationPr>75</saturationPr>
      <saturationPb>50</saturationPb>
    </VDP>

    <PSG id="PSG">
      <type>YM2149</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>vg8020_basic-bios1.rom</filename>
          <sha1>829c00c3114f25b3dae5157c0a238b52a3ac37db</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">
         <mem base="0x0000" size="0x10000"/>
         <initialContent encoding="gz-base64">eJz7/5+B4f8IxgPvgoHFAJBx/wE=</initialContent> <!-- 64*FFFF0000 + 64*0000FFFF, as found on the machine of Peter Hanraets with serial FF05 532012109 -->
       </RAM>
    </primary>

  </devices>

</msxconfig>
