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

  <!-- Info as provided by alshamaa's machine with Korean serial 9900901018
       (Bawareth serial number is on a sticker, and not clear.)
       CPU: GS Z8400 PS Z80A CPU
       VDP: not visible due to cooler, but see ident.bas below
       Engine: DW64MX1
       PSG: AY-3-8910A
       
       ident.bas says:
       V9938/58: NO, 4k/16k effect? NO, address latch: NO, sprites clones:
       YES, mirrored mode: YES, mode 3 mixed mode: YES, z80 scf:
       01C2529ED01D429FC, Z80 cpl: 3AFF112D7, out (c),0: 0, pin 6/7 quirk: YES, PSG
       mask: AY8910
       -->

  <info>
    <manufacturer>Bawareth Ent. for Trade/Daewoo</manufacturer>
    <code>Perfect MSX1</code>
    <release_year>1986/1987</release_year>
    <description>A Daewoo CPC-200 based Arabic MSX.</description>
    <type>MSX</type>
  </info>

  <CassettePort/>

  <devices>

    <PPI id="ppi">
      <sound>
        <volume>16000</volume>
      </sound>
      <io base="0xA8" num="4"/>
      <keyboard_type>int</keyboard_type> <!-- it is actually Arabic... -->
      <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="2"/>
    </VDP>

    <PSG id="PSG">
      <type>AY8910</type>
      <sound>
        <volume>21000</volume>
      </sound>
      <io base="0xA0" num="2" type="O"/>
      <io base="0xA2" num="1" type="I"/>
      <ignorePortDirections>true</ignorePortDirections> <!-- not sure, but guess based on use of Engine IC -->
    </PSG>

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

    <primary slot="0">
      <secondary slot="0">
        <ROM id="MSX BIOS with BASIC ROM">
          <rom>
            <filename>perfect_msx1_basic-bios1.rom</filename>
            <sha1>e998f0c441f4f1800ef44e42cd1659150206cf79</sha1>
          </rom>
          <mem base="0x0000" size="0x8000"/>
        </ROM>
      </secondary>
      <secondary slot="1">
        <ROM id="Arabic ROM">
          <rom>
            <filename>perfect_msx1_arabic.rom</filename> <!-- label: CPC-200BW V 1.0 -->
            <sha1>29a9169b605b5881e4a15fcfd65209a4e8679285</sha1>
          </rom>
          <mem base="0x4000" size="0x8000"/>
        </ROM>
      </secondary>
      <secondary slot="2">
        <RAM id="Main RAM">
          <mem base="0x0000" size="0x10000"/>
        </RAM>
      </secondary>
    </primary>

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

    <primary external="true" slot="2"/> <!-- Note: is actually an expansion slot, not a cartridge slot -->

  </devices>

</msxconfig>
