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

<!--
Dumps provided by Peter Hanraets, thanks!
Serial number of his machine: 205243

MSX.org photos:
CPU: NEC D780C-1
PPI/PSG: Yamaha S3527 - ANSI
VDP: TMS9118NL
-->

  <info>
    <manufacturer>Sony</manufacturer>
    <code>HB-11</code>
    <release_year>1986</release_year>
    <description>The last Sony MSX1 released. "Hit Bit U". A 64kB MSX1 with a kanji ROM built in.</description>
    <type>MSX</type>
  </info>

  <CassettePort/>

  <devices>

    <Kanji id="Kanji ROM">
      <rom>
        <filename>hb-11_kanjifont.rom</filename>
        <sha1>6acaf2eeb57f65f7408235d5e07b7563229de799</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="8"/> <!-- S-3527 mirrors -->
      <keyboard_type>jp_ansi</keyboard_type>
      <has_keypad>false</has_keypad>
      <key_ghosting_sgc_protected>false</key_ghosting_sgc_protected> <!-- as checked by Peter -->
      <code_kana_locks>true</code_kana_locks>
      <graph_locks>false</graph_locks>
    </PPI>

    <VDP id="VDP">
      <version>TMS9118</version>
      <io base="0x98" num="2"/> <!-- mirroring unknown -->
    </VDP>

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

    <PrinterPort id="Printer Port">
      <io base="0x90" num="8" type="IO"/> <!-- S-3527 mirrors -->
      <status_readable_on_all_ports>true</status_readable_on_all_ports> <!-- S-3527 property -->
    </PrinterPort>

    <primary slot="0">
      <ROM id="MSX BIOS with BASIC ROM">
        <rom>
          <filename>hb-11_basic-bios1.rom</filename>
          <sha1>6716404cf248f92d672fa4c54c9c07f47990b011</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">
        <ROM id="Firmware 1">
          <rom>
            <filename>hb-11_firmware_1.rom</filename>
            <sha1>21baaf52bc5355417d810dd479679482bb9a45a0</sha1>
          </rom>
          <mem base="0x4000" size="0x8000"/>
        </ROM>
      </secondary>

      <secondary slot="1">
        <ROM id="Firmware 2">
          <rom>
            <filename>hb-11_firmware_2.rom</filename>
            <sha1>4ee80ca1645c1f3c01fd04c3ceb6f78d44fc13c0</sha1>
          </rom>
          <mem base="0x4000" size="0x8000"/>
        </ROM>
      </secondary>

      <secondary slot="2">
        <RAM id="Main RAM">
          <mem base="0x0000" size="0x10000"/>
          <initialContent encoding="gz-base64">eJxjYBhY8H+AAQAioH+B</initialContent> <!-- ((chr(0) * 128) + (chr(255) * 128)) -->
        </RAM>
      </secondary>

      <secondary slot="3">
        <ROM id="Firmware 3">
          <rom>
            <filename>hb-11_firmware_3.rom</filename>
            <sha1>8a827cf0cddce2c98c6c6cdd830e7791eb9a28cf</sha1>
          </rom>
          <mem base="0x4000" size="0x8000"/>
        </ROM>
      </secondary>

    </primary>

  </devices>

</msxconfig>
