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

  <info>
    <manufacturer>Sony</manufacturer>
    <code>HB-701</code>
    <release_year>1984</release_year>
    <description>Luxurious machine with separate keyboard, built-in firmware and (not emulated) superimposing capabilities and S-Link interface.</description>
    <type>MSX</type>
    <region>jp</region>
  </info>

  <!-- Based on the Sony HB-701FD of Peter Hanraets, just leaving out the FDC -->

  <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> <!-- confirmed -->
      <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>TMS9928A</version>
      <saturation>100</saturation> <!-- TMS9x2x and RGB output -->
    </VDP>

    <PSG id="PSG">
      <!-- Peter checked, the sound output of the PSG is monaural -->
      <type>YM2149</type>
      <sound>
        <volume>21000</volume>
      </sound>
      <io base="0xA0" num="4" type="IO"/>
      <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">
      <ROM id="MSX BIOS with BASIC ROM">
        <rom>
          <sha1>302afb5d8be26c758309ca3df611ae69cced2821</sha1>
          <filename>hb-701_basic-bios1.rom</filename>
        </rom>
        <mem base="0x0000" size="0x8000"/>
      </ROM>
    </primary>

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

    <primary slot="2">

      <secondary slot="0">
        <RAM id="Main RAM">
          <mem base="0x0000" size="0x10000"/>
          <initialContent encoding="gz-base64">eJz7/58ywEAhAAAJyD/B</initialContent> <!-- ((chr(255)*64  + chr(0)* 64)).encode('zip').encode('base64'), as seen on Peter's HB-701FD machine -->
        </RAM>
      </secondary>

      <secondary slot="2">
        <ROM id="HB-701 Firmware">
          <rom>
            <sha1>2520e55987ea3084a5bfd75452dc6215b9a1aac4</sha1>
            <filename>hb-701_firmware.rom</filename>
          </rom>
          <mem base="0x4000" size="0x4000"/>
        </ROM>
      </secondary>

    </primary>

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

  </devices>

</msxconfig>
