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

  <info>
    <manufacturer>Philips</manufacturer>
    <code>VG 8020/20</code>
    <release_year>?</release_year>
    <description/>
    <type>MSX</type>
  </info>

<!---
Note sure if we can compare, but the Philips VG8020/40 with
serial JM00 745032706 (see http://bilgisayarlarim.com/Philips/VG-8020)
contains:
- S3527 MSX-ENGINE
- Zilog Z0840004PSC Z80 CPU
- TMS9129NL VDP
-->

  <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>
      <io base="0x98" num="8"/> <!-- S-3527 mirrors -->
      <saturationPr>75</saturationPr>
      <saturationPb>50</saturationPb>
    </VDP>

    <PSG id="PSG">
      <type>YM2149</type> <!-- in S-3527 MSX-ENGINE -->
      <sound>
        <volume>21000</volume>
      </sound>
      <io base="0xA0" num="2" type="O"/>
      <io base="0xA2" num="1" type="I"/>
      <ignorePortDirections>true</ignorePortDirections> <!-- Confirmed by p_gimeno on a VG 8020/40 -->
    </PSG>

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

    <primary slot="0">
      <ROM id="MSX BIOS with BASIC ROM">
        <rom>
          <filename>vg8020-20_basic-bios1.rom</filename>
          <sha1>e998f0c441f4f1800ef44e42cd1659150206cf79</sha1>
        </rom>
        <mem base="0x0000" size="0x8000"/>
      </ROM>
    </primary>

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

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

    <primary slot="3">

      <secondary slot="0"/>

      <secondary slot="1"/>

      <secondary slot="2">
        <RAM id="Main RAM">
          <initialContent encoding="hex">00FF</initialContent> <!-- At least on thegeps his machine -->
          <mem base="0x0000" size="0x10000"/>
        </RAM>
      </secondary>

      <secondary slot="3"/>

    </primary>

  </devices>

</msxconfig>
