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

  <info>
    <manufacturer>Sanyo</manufacturer>
    <code>PHC-70FD</code>
    <release_year>1988</release_year>
    <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>phc-70fd_kanjifont.rom</filename>
        <sha1>84a645becec0a25d3ab7a909cde1b242699a8662</sha1>
      </rom>
      <io base="0xD8" num="2" type="O"/>
      <io base="0xD9" num="1" type="I"/>
    </Kanji>

    <PPI id="ppi">
      <sound>
        <volume>16000</volume>
      </sound>
      <io base="0xA8" num="4"/>
      <keyboard_type>jp_jis</keyboard_type>
      <has_keypad>true</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>V9958</version>
      <vram>128</vram>
      <io base="0x98" num="4" type="O"/>
      <io base="0x98" num="2" type="I"/>
    </VDP>

    <PSG id="PSG">
      <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> <!-- not sure, but guess based on use of Engine IC -->
    </PSG>

    <RTC id="Real time clock">
      <sramname>phc-70fd.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">
      <device idref="VDP"/>
      <hasturbo>false</hasturbo>
    </Matsushita>

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

    <primary slot="0">
      <ROM id="MSX BIOS with BASIC ROM">
        <rom>
          <filename>Sanyo_PHC-70FD.rom</filename>
          <sha1>b6f2ca2e8a18d6c7cd326cb8d1a1d7d747f23059</sha1> <!-- maskROM dump -->
          <window base="0x10000" size="0x8000"/>
        </rom>
        <rom>
          <filename>phc-70fd_basic-bios2p.rom</filename>
          <sha1>e90f80a61d94c617850c415e12ad70ac41e66bb7</sha1>
        </rom>
        <mem base="0x0000" size="0x8000"/>
      </ROM>
    </primary>

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

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

    <primary slot="3">

      <secondary slot="0">
        <MemoryMapper id="Main RAM">
          <initialContent encoding="hex">00FF</initialContent> <!-- as shown in araubi's machine -->
          <size>64</size>
          <mem base="0x0000" size="0x10000"/>
        </MemoryMapper>
      </secondary>

      <secondary slot="1">
        <ROM id="MSX Sub ROM">
          <rom>
            <filename>Sanyo_PHC-70FD.rom</filename>
            <sha1>b6f2ca2e8a18d6c7cd326cb8d1a1d7d747f23059</sha1> <!-- maskROM dump -->
            <window base="0x18000" size="0x4000"/>
          </rom>
          <rom>
            <filename>phc-70fd_msx2psub.rom</filename>
            <sha1>fe0254cbfc11405b79e7c86c7769bd6322b04995</sha1>
          </rom>
          <mem base="0x0000" size="0x4000"/>
        </ROM>
        <ROM id="MSX Kanji Driver with BASIC">
          <rom>
            <filename>Sanyo_PHC-70FD.rom</filename>
            <sha1>b6f2ca2e8a18d6c7cd326cb8d1a1d7d747f23059</sha1> <!-- maskROM dump -->
            <window base="0x08000" size="0x8000"/>
          </rom>
          <rom>
            <filename>phc-70fd_kanjibasic.rom</filename>
            <sha1>1ef3956f7f918873fb9b031339bba45d1e5e5878</sha1>
          </rom>
          <mem base="0x4000" size="0x8000"/>
        </ROM>
      </secondary>

      <secondary slot="2">
        <TC8566AF id="Memory Mapped FDC">
          <io_regs>7FF8</io_regs>
          <drives>1</drives>
          <rom>
            <filename>Sanyo_PHC-70FD.rom</filename>
            <sha1>b6f2ca2e8a18d6c7cd326cb8d1a1d7d747f23059</sha1> <!-- maskROM dump -->
            <window base="0x1C000" size="0x4000"/>
          </rom>
          <rom>
            <filename>phc-70fd_disk.rom</filename>
            <sha1>9efa744be8355675e7bfdd3976bbbfaf85d62e1d</sha1>
          </rom>
          <mem base="0x4000" size="0x8000"/>
        </TC8566AF>
      </secondary>

      <secondary slot="3">
        <MSX-MUSIC id="MSX Music">
          <rom>
            <filename>Sanyo_PHC-70FD.rom</filename>
            <sha1>b6f2ca2e8a18d6c7cd326cb8d1a1d7d747f23059</sha1> <!-- maskROM dump -->
            <window base="0x00000" size="0x4000"/>
          </rom>
          <rom>
            <filename>phc-70fd_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'n 2.0">
          <rom>
            <filename>Sanyo_PHC-70FD.rom</filename>
            <sha1>b6f2ca2e8a18d6c7cd326cb8d1a1d7d747f23059</sha1> <!-- maskROM dump -->
            <window base="0x04000" size="0x4000"/>
          </rom>
          <rom>
            <filename>phc-70fd_basickun.rom</filename>
            <sha1>22b3191d865010264001b9d896186a9818478a6b</sha1>
          </rom>
          <mem base="0x8000" size="0x4000"/>
        </ROM>
      </secondary>

    </primary>

  </devices>

</msxconfig>
