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

  <info>
    <manufacturer>Sony</manufacturer>
    <code>HB-10P</code>
    <release_year>1986</release_year>
    <description>Basic European MSX1 with 64kB. Has a weird memory mirroring glitch.</description>
    <type>MSX</type>
    <region>eu</region>
  </info>

<!-- hap:
CPU: NEC D780C-1
PPI/PSG: Yamaha S3527 - ANSI
VDP: Toshiba T6950
crystal: 3.579545 and 22.168 near the VDP (PAL = 22.168/5=4.4336).. not synced
-->

  <CassettePort/>

  <devices>

    <PPI id="ppi">
      <sound>
        <volume>16000</volume>
      </sound>
      <io base="0xA8" num="8"/>  <!-- S-3527 mirrors, confirmed by hap -->
      <keyboard_type>gb</keyboard_type>
      <has_keypad>false</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>T6950PAL</version>
      <io base="0x98" num="8"/>  <!-- mirroring confirmed by hap -->
      <initialContent encoding="hex">FF00</initialContent>
    </VDP>

    <PSG id="PSG">
      <type>YM2149</type> <!-- not checked -->
      <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-10p_basic-bios1.rom</filename>
          <sha1>5e7c8eab238712d1e18b0219c0f4d4dae180420d</sha1>
        </rom>
        <mem base="0x0000" size="0x8000"/>
      </ROM>
      <!-- NOTE: page 3 actually mirrors page 3 of the RAM in slot 3!
           This also happens in older versions of the Sony HB-20P. -->
      <Mirror id="Main RAM mirror">
        <mem base="0xc000" size="0x4000"/>
        <ps>3</ps>
      </Mirror>
    </primary>

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

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

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

  </devices>

</msxconfig>
