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

  <info>
    <manufacturer>openMSX Team</manufacturer>
    <code>Boosted MSX2+ JP</code>
    <release_year>2011</release_year>
    <description>A super-charged Panasonic FS-A1WSX</description>
    <type>MSX2+</type>
  </info>

  <RenShaTurbo>
    <min_ints>47</min_ints>
    <max_ints>221</max_ints>
  </RenShaTurbo>

  <MapperReadBackBits>largest</MapperReadBackBits>

  <CassettePort/>

  <devices>

    <Kanji id="Kanji ROM">
      <rom>
        <filename>fs-a1wsx_kanjifont.rom</filename>
        <sha1>5aff2d9b6efc723bc395b0f96f0adfa83cc54a49</sha1>
      </rom>
      <io base="0xD8" num="2" type="O"/>
      <io base="0xD9" num="1" type="I"/>
      <io base="0xDA" num="2" type="O"/>
      <io base="0xDB" num="1" type="I"/>
    </Kanji>

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

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

    <PSG id="PSG">
      <type>YM2149</type>
      <keyboardlayout>JIS</keyboardlayout>
      <sound>
        <volume>21000</volume>
      </sound>
      <io base="0xA0" num="2" type="O"/>
      <io base="0xA2" num="1" type="I"/>
      <ignorePortDirections>true</ignorePortDirections> <!-- highest compatibility -->
    </PSG>

    <RTC id="Real time clock">
      <sramname>Boosted_MSX2+_JP.cmos</sramname>
      <io base="0xB4" num="2" type="O"/>
      <io base="0xB5" num="1" type="I"/>
    </RTC>

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

    <ResetStatusRegister id="Reset Status register">
      <inverted>true</inverted>
      <io base="0xF4" num="1"/>
    </ResetStatusRegister>

    <Matsushita id="Matsushita">
      <sramname>Boosted_MSX2+_JP_matsushita.sram</sramname>
      <device idref="VDP"/>
      <hasturbo>true</hasturbo>
    </Matsushita>

    <T9769 id="T9769">
      <subtype>C</subtype>
    </T9769>

    <MSX-AUDIO id="Generic MSX-Audio">
      <io base="0xC0" num="2"/>
      <io base="0x0A" num="1" type="O"/>
      <type>Philips</type>
      <sound>
        <volume>12000</volume>
        <balance>75</balance>
      </sound>
      <sampleram>256</sampleram>
    </MSX-AUDIO>

    <MusicModuleMIDI id="Generic MSX-Audio-MIDI">
      <io base="0x00" num="2" type="O"/>
      <io base="0x04" num="2" type="I"/>
    </MusicModuleMIDI>

    <MoonSound id="Sunrise MoonSound">
      <io base="0x7e" num="2"/>
      <io base="0xc4" num="4"/>
      <rom>
        <sha1>32760893ce06dbe3930627755ba065cc3d8ec6ca</sha1>
        <filename>yrw801.rom</filename>
      </rom>
      <sound>
        <volume>17000</volume>
      </sound>
      <sampleram>640</sampleram>
    </MoonSound>

    <V9990 id="Sunrise GFX9000">
      <io base="0x60" num="0x0f"/>
    </V9990>
    <Video9000 id="Video9000">
      <io base="0x6f" num="0x01"/>
      <device idref="VDP"/>
      <device idref="Sunrise GFX9000"/>
    </Video9000>

    <primary slot="0">

      <secondary slot="0">
        <ROM id="MSX BIOS with BASIC ROM">
          <rom>
            <filename>fs-a1wsx_basic-bios2p.rom</filename>
            <sha1>f4433752d3bf876bfefb363c749d4d2e08a218b6</sha1>
          </rom>
          <mem base="0x0000" size="0x8000"/>
        </ROM>
      </secondary>

      <secondary slot="1"/>

      <secondary slot="2">
        <MSX-MUSIC id="MSX Music">
          <rom>
            <filename>fs-a1wsx_fmbasic.rom</filename>
            <sha1>aad42ba4289b33d8eed225d42cea930b7fc5c228</sha1>
          </rom>
          <sound>
            <volume>9000</volume>
          </sound>
          <ym2413-core>NukeYKT</ym2413-core>
          <io base="0x7C" num="2" type="O"/>
          <mem base="0x4000" size="0x4000"/>
        </MSX-MUSIC>
        <ROM id="BASIC Compiler">
          <rom>
            <filename>phc-70fd2_basickun.rom</filename>
            <sha1>22b3191d865010264001b9d896186a9818478a6b</sha1>
          </rom>
          <mem base="0x8000" size="0x4000"/>
        </ROM>
      </secondary>

      <secondary slot="3"/>

    </primary>

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

    <primary slot="2">

      <secondary slot="0" external="true"/>

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

      <secondary slot="2">
        <MegaRam id="MegaRam">
          <io base="0x8e" num="1"/>
          <mem base="0x0000" size="0x10000"/>
          <size>512</size>
        </MegaRam>
      </secondary>

       <secondary slot="3">
        <SCCplus id="Konami SCC+ Cartridge with expanded RAM">
          <mem base="0x4000" size="0x8000"/>
          <subtype>expanded</subtype>
          <sound>
            <volume>13000</volume>
          </sound>
        </SCCplus>
      </secondary>

   </primary>

    <primary slot="3">

      <secondary slot="0">
        <MemoryMapper id="Main RAM">
          <size>2048</size>
          <mem base="0x0000" size="0x10000"/>
        </MemoryMapper>
      </secondary>

      <secondary slot="1">
        <ROM id="MSX Sub ROM">
          <rom>
            <filename>fs-a1wsx_msx2psub.rom</filename>
            <sha1>fe0254cbfc11405b79e7c86c7769bd6322b04995</sha1>
          </rom>
          <mem base="0x0000" size="0x4000"/>
        </ROM>
        <ROM id="MSX Kanji Driver with BASIC">
          <rom>
            <filename>fs-a1wsx_kanjibasic.rom</filename>
            <sha1>dcc3a67732aa01c4f2ee8d1ad886444a4dbafe06</sha1>
          </rom>
          <mem base="0x4000" size="0x8000"/>
        </ROM>
      </secondary>

      <secondary slot="2">
        <TC8566AF id="Memory Mapped FDC">
          <io_regs>7FF8</io_regs>
          <drives>2</drives>
          <rom>
            <filename>fs-a1wsx_disk.rom</filename>
            <sha1>7ed7c55e0359737ac5e68d38cb6903f9e5d7c2b6</sha1>
          </rom>
          <mem base="0x4000" size="0x8000"/>
        </TC8566AF>
      </secondary>

      <secondary slot="3">
        <ROM id="FS-A1WSX">
          <mappertype>PANASONIC</mappertype>
          <sramsize>16</sramsize>
          <sram-mirrored>true</sram-mirrored>
          <sramname>Boosted_MSX2+_JP.sram</sramname>
          <rom>
            <filename>fs-a1wsx_firmware.rom</filename>
            <sha1>3330d9b6b76e3c4ccb7cf252496ed15d08b95d3f</sha1>
          </rom>
          <mem base="0x0000" size="0x10000"/>
        </ROM>
      </secondary>

    </primary>

  </devices>

</msxconfig>
