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

  <info>
    <manufacturer>Sony</manufacturer>
    <code>HB-F700P</code>
    <release_year>1986</release_year>
    <description>European MSX2 with a lot of RAM (256kB) and double sided disk drive.</description>
    <type>MSX2</type>
    <region>eu</region>
  </info>

  <CassettePort/>

  <devices>

    <S1985 id="S1985"> <!-- includes 5 bits mapper-read-back, confirmed by Manuel on HB-F700D-->
      <sramname>hb-f700p_s1985.sram</sramname>
    </S1985>

    <PPI id="ppi">
      <sound>
        <volume>16000</volume>
      </sound>
      <io base="0xA8" num="8"/> <!-- S-1985 mirrors -->
      <keyboard_type>int</keyboard_type>
      <has_keypad>true</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>V9938</version>
      <vram>128</vram>
      <io base="0x98" num="8" type="O"/> <!-- S-1985 mirrors -->
      <io base="0x98" num="8" type="I"/> <!-- S-1985 mirrors -->
    </VDP>

    <PSG id="PSG">
      <type>YM2149</type> <!-- in S-1985 MSX-ENGINE -->
      <sound>
        <volume>21000</volume>
      </sound>
      <io base="0xA0" num="8" type="IO"/> <!-- S-1985 mirrors -->
      <ignorePortDirections>true</ignorePortDirections> <!-- not sure, but guess based on use of Engine IC -->
    </PSG>

    <RTC id="Real time clock">
      <sramname>hb-f700p.cmos</sramname>
      <io base="0xB4" num="4" type="IO"/> <!-- S-1985 mirrors -->
    </RTC>

    <PrinterPort id="Printer Port">
      <io base="0x90" num="8" type="IO"/> <!-- S-1985 mirrors -->
      <bidirectional>true</bidirectional> <!-- S-1985 feature (but not used, nor implemented) -->
      <unused_bits>0x00</unused_bits>
    </PrinterPort>

    <primary slot="0">

      <secondary slot="0">
        <ROM id="MSX BIOS with BASIC ROM">
          <rom>
            <filename>hb-f700p_basic-bios2.rom</filename>
            <sha1>0de3c802057560560a03d7965fcc4cff69f8575c</sha1> <!-- Verified on Meits' machine -->
          </rom>
        <mem base="0x0000" size="0x8000"/>
        </ROM>
      </secondary>

      </primary>

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

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

      <primary slot="3">

        <secondary slot="0">
          <ROM id="MSX Sub ROM">
          <rom>
             <filename>hb-f700p_msx2sub.rom</filename>
             <sha1>24624c5fa3a8069b1d865cdea8a029f15c1955ea</sha1> <!-- On Meits' machine -->
             <sha1>3288894e1be6af705871499b23c85732dbc40993</sha1> <!-- According to team blueMSX -->
           </rom>
           <mem base="0x0000" size="0x4000"/>
         </ROM>
         <WD2793 id="Memory Mapped FDC">
          <connectionstyle>Sony</connectionstyle>
          <motor_off_timeout_ms>4000</motor_off_timeout_ms>
          <drives>1</drives>
          <rom>
            <filename>hb-f700p_disk.rom</filename>
            <sha1>3376cf9dd2b1ac9b41bf6bf6598b33136e86f9d5</sha1> <!-- According to team blueMSX, confirmed by Peter Hanraets -->
            <sha1>7dcd434d9a244e23afd212d3fea4c3bf3fe2a300</sha1> <!-- This is a fast diskROM, which is also in Meits' machine, certainly not original -->
          </rom>
          <mem base="0x4000" size="0x8000"/>
        </WD2793>
      </secondary>

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

    </primary>

  </devices>

</msxconfig>
