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

  <info>
    <manufacturer>Fujitsu</manufacturer>
    <code>FM-X</code>
    <release_year>1983</release_year>
    <description>Fujitsu's one and only MSX computer. Can be connected to Fujitsu's FM-7 computer, which gives several special features, but all of that is not emulated.</description>
    <type>MSX</type>
  </info>

  <CassettePort/>

  <!-- Thanks to Werner Kai for all details!
       Type: MB25150  /  S13B-0700-B410
       Based on serial no. 684015674
       CPU: Zilog Z8400A PS
       PSG: GI AY-3-8910
       VDP: TMS9928ANL
       has an internal speaker
       can be connected to the (non-MSX) Fujitsu FM-7 via the 60 pin connector
       (with a special interface cartridge, which include a ROM with a
       MSX-BASIC extension), enabling to:
       - use 16kB additional memory from the FM-7
       - use the printer of the FM-7
       - use the RS-232C card of the FM-7
       - use the FM-7 as keyboard input
       - use the FM-7 as a monitor of the FM-X (view/modify contents of memory,
         setting breakpoints, etc.)
       Likewise, the FM-7 can use the FM-X to:
       - use the sprite function of the FM-X by connecting digital RGB in/out
       - use 3 extra PSG channels of the FM-X
       - use the joysticks connected to the FM-X

       The FM-7's video output can be connected to the digital RGB-in connector
       of the FM-X, so that the monitor on the FM-X can be used to view the
       FM-7's video output.

       All of this info from here:
       http://fururingo.cocolog-nifty.com/blog/2012/09/fm-xfm-7-1459.html
       http://ja.wikipedia.org/wiki/FM-X
  -->

  <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>false</key_ghosting_sgc_protected>
      <code_kana_locks>true</code_kana_locks>
      <graph_locks>false</graph_locks>
    </PPI>

    <VDP id="VDP">
      <version>TMS9928A</version>
      <io base="0x98" num="2"/>
      <3bitrgboutput/> <!-- This machine's RGB output is 3-bit RGB... REALLY! -->
    </VDP>

    <PSG id="PSG">
      <type>AY8910</type>
      <keyboardlayout>jis</keyboardlayout>
      <sound>
        <volume>21000</volume>
      </sound>
      <io base="0xA0" num="2" type="O"/>
      <io base="0xA2" num="1" type="I"/>
    </PSG>

    <primary slot="0">
      <RAM id="Main RAM">
        <mem base="0xC000" size="0x4000"/>
      </RAM>
      <ROM id="MSX BIOS with BASIC ROM">
        <rom>
          <filename>fm-x_basic-bios1.rom</filename>
          <sha1>302afb5d8be26c758309ca3df611ae69cced2821</sha1>
        </rom>
        <mem base="0x0000" size="0x8000"/>
      </ROM>
    </primary>

    <!-- <primary external="true" slot="1"/> this is a proprietary 60-pin port-->

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

    <primary slot="3"/>

  </devices>

</msxconfig>
