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

<!--
  Data provided by Peter Hanraets on machine with serial 09013702

  IDENT says: dvik says VDP is V9938/58: NO
              TMS99xx/TMS9xxx/TMS9xxx
              screen 2 mirrored mode: YES
              mode 3 mixed mode: YES
              Z80 scf: 01E529ED01F429FC (dunno)
              z80 cpl: 3AFF12D7 (standard)
              Z80 out (c), 0: 0 (MSX)
              PSG pin 6/7 quirk: C (YES)
              PSGmask; AY8910-like
-->

  <info>
    <manufacturer>Victor</manufacturer>
    <code>HC-7</code>
    <release_year>1985</release_year>
    <description>First original MSX created by Victor, with 64kB RAM and superimpose features (not emulated) and built in software.</description>
    <type>MSX</type>
    <region>jp</region>
  </info>

  <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>
      <code_kana_locks>true</code_kana_locks>
      <graph_locks>false</graph_locks>
    </PPI>

    <VDP id="VDP">
      <version>TMS9918A</version>
      <saturation>100</saturation> <!-- TMS9x1x and RGB output -->
      <io base="0x98" num="2"/>
    </VDP>

    <PSG id="PSG">
      <type>AY8910</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>
          <filename>hc-7_basic-bios1.rom</filename>
          <sha1>302afb5d8be26c758309ca3df611ae69cced2821</sha1>
        </rom>
        <mem base="0x0000" size="0x8000"/>
      </ROM>
      <ROM id="HC-7 Firmware">
        <rom>
          <filename>hc-7_firmware.rom</filename>
          <sha1>e211534064ea6f436f2e7458ded35c398f17b761</sha1>
        </rom>
        <mem base="0x8000" size="0x4000"/>
      </ROM>
    </primary>

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

    <primary slot="2">
      <RAM id="Main RAM">
        <mem base="0x0000" size="0x10000"/>
        <!-- RAM pattern is like 16x 0x00, 16x 0xFF, etc. But there's a lot of noise on this pattern, which is not emulated here -->
        <initialContent encoding="gz-base64">eJxjYEAF/9EAAIeYD/E=</initialContent>
      </RAM>
    </primary>

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

  </devices>

</msxconfig>
