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

  <info>
    <manufacturer>Mitsubishi</manufacturer>
    <code>ML-8000</code>
    <release_year>1983</release_year>
    <description>The first MSX machine on the market.</description>
    <type>MSX</type>
    <region>jp</region>
  </info>

  <!-- Based on machine owned by Peter Hanraets, which serial 0003052

       TODO: ident.bas output... 
       Z80 scf: 
       Z80 cpl:
       Z80 out (c),0:
       PSG pin 6/7 quirk:
       PSGmask:

       mobo on MSX.org shows:
       PSG: GI AY-3-8910
       CPU: NEC D780C-1
       VDP: has cooling plate
       PPI: Mitsbishi MDL8255AP-5
       printer port
       1 normal slot

       TODO: SWIOSCAN says: ID=135 found
  -->

  <CassettePort/>

  <devices>

    <PPI id="ppi">
      <sound>
        <volume>16000</volume>
      </sound>
      <io base="0xA8" num="4"/>
      <keyboard_type>jp_jis</keyboard_type>
      <has_keypad>false</has_keypad>
      <key_ghosting_sgc_protected>true</key_ghosting_sgc_protected>
      <code_kana_locks>true</code_kana_locks>
      <graph_locks>false</graph_locks>
    </PPI>

    <VDP id="VDP">
      <version>TMS9918A</version> <!-- TMS9918ANL MHS 8306 2840 PHILIPINES in Peter's machine -->
      <io base="0x98" num="2"/>
    </VDP>

    <PSG id="PSG">
      <type>AY8910</type>
      <keyboardlayout>jis</keyboardlayout>
      <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>ml-8000_basic-bios1.rom</filename>
          <sha1>302afb5d8be26c758309ca3df611ae69cced2821</sha1>
        </rom>
        <mem base="0x0000" size="0x8000"/>
      </ROM>
      <RAM id="Main RAM">
        <mem base="0x8000" size="0x8000"/>
          <initialContent encoding="gz-base64">eJxjYBhY8H+AAQAioH+B</initialContent> <!-- ((chr(0) * 128) + (chr(255) * 128)) -->
      </RAM>
    </primary>

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

  </devices>

</msxconfig>
