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

  <info>
    <manufacturer>Yamaha</manufacturer>
    <code>YIS-503</code>
    <release_year>1984</release_year>
    <description>Home Personal Computer: like CX5F, but without sound module</description>
    <type>MSX</type>
  </info>

  <!-- 
  Confirmed by Peter Hanraets that this machine seems to be identical internally to the CX5F. Same ROMs are in place, same slot layout.
   -->

  <CassettePort/>

  <devices>

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

    <VDP id="VDP">
      <io base="0x98" num="4" type="O"/>
      <io base="0x98" num="2" type="I"/>
      <version>TMS99X8A</version>
    </VDP>

    <PSG id="PSG">
      <type>YM2149</type>
      <sound>
        <volume>21000</volume>
      </sound>
      <io base="0xA0" num="2" type="O"/>
      <io base="0xA2" num="1" type="I"/>
      <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">
      <RAM id="Main RAM">
        <mem base="0x8000" size="0x8000"/>
        <initialContent encoding="hex">FF00</initialContent>
      </RAM>
      <ROM id="MSX BIOS with BASIC ROM">
        <rom>
          <sha1>302afb5d8be26c758309ca3df611ae69cced2821</sha1>
          <filename>yis-503_basic-bios1.rom</filename>
        </rom>
        <mem base="0x0000" size="0x8000"/>
      </ROM>
    </primary>

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

    <!-- Note that this slot is not a standard MSX cartridgeslot, but a 50 pins
    male connector, carrying all MSX cartridgeslot signals. On a real machine
    you can use the Yamaha CA-01 Single Cartridge Adapter to change this slot
    into a normal MSX cartridge slot. As openMSX doesn't model these, consider
    this slot to have this adapter connected... -->
    <primary external="true" slot="2"/>

    <primary slot="3"/> <!-- module slot -->

  </devices>

</msxconfig>
