<?xml version="1.0" ?>
<!-- $Id: hardwareconfig.xml,v 1.1 2003/03/24 22:27:44 m9710797 Exp $ -->
<!DOCTYPE msxconfig SYSTEM 'msxconfig2.dtd'>
<msxconfig>

  <info>
    <manufacturer>Yamaha</manufacturer>
    <code>YIS-805/128R2</code> <!-- this is on the back plate -->
    <release_year>1986</release_year>
    <description>Russian MSX2 for use in classroom network (as teacher).</description>
    <type>MSX2</type>
  </info>

  <MapperReadBackBits>largest</MapperReadBackBits>

  <CassettePort/>

  <devices>

    <S1985 id="S1985"/>

    <primary slot="0">
      <ROM id="MSX BIOS with BASIC ROM">
        <mem base="0x0000" size="0x8000"/>
        <rom>
          <sha1>0f851ee7a1cf79819f61cc89e9948ee72a413802</sha1>
          <filename>roms/yis805-128r2_basic-bios2.rom</filename>
        </rom>
      </ROM>
    </primary>

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

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

    <primary slot="3">

      <secondary slot="0">
        <ROM id="Painter">
          <mem base="0x0000" size="0x10000"/>
          <rom>
            <sha1>7fd2a28c4fdaeb140f3c8c8fb90271b1472c97b9</sha1>
            <filename>roms/yis805-128r2_painter.rom</filename>
          </rom>
        </ROM>
      </secondary>

      <secondary slot="1">
        <ROM id="MSX Sub ROM">
          <mem base="0x0000" size="0x4000"/>
          <rom>
            <sha1>03bf6d2ac86f5c9ab618e155442787c700f99fed</sha1>
            <filename>roms/yis805-128r2_msx2sub.rom</filename>
          </rom>
        </ROM>

        <MB8877A id="Memory Mapped FDC">
          <mem base="0x4000" size="0x8000"/>
          <broken_fdc_read>false</broken_fdc_read>
          <rom>
            <sha1>3a481c7b7e4f0406a55952bc5b9f8cf9d699376c</sha1>
            <filename>roms/yis805-128r2_disk.rom</filename>
          </rom>
          <drives>2</drives>
        </MB8877A>
      </secondary>

      <secondary slot="2">
        <MemoryMapper id="Main RAM">
          <mem base="0x0000" size="0x10000"/>
          <size>128</size>
        </MemoryMapper>
      </secondary>

<!-- not working, because of missing network chip YM3802 emulation in openMSX
      <secondary slot="3">
        <ROM id="NetROM">
          <mem base="0x4000" size="0x8000"/>
          <rom>
            <sha1>307a7be064442feb4ab2e1a2bc971b138c1a1169</sha1>
            <sha1>e8fd2bbc1bdab12c73a0fec178a190f9063547bb</sha1> < ! - - based on Stanislav's dump with the last 2kB (of RAM) zeroed - - >
            <filename>roms/yis805-128r2_net_2.rom</filename>
          </rom>
        </ROM>
      </secondary>
-->

    </primary>

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

    <PSG id="PSG">
      <type>YM2149</type> <!-- in S-1985 MSX-ENGINE -->
      <io base="0xA0" num="2" type="O"/>
      <io base="0xA2" num="1" type="I"/>
      <sound>
        <volume>21000</volume>
      </sound>
    </PSG>

    <RTC id="Real time clock">
      <io base="0xB4" num="2" type="O"/>
      <io base="0xB5" num="1" type="I"/>
      <sramname>yis805-128r2.cmos</sramname>
    </RTC>

    <PrinterPort id="Printer Port">
      <io base="0x90" num="2"/>
    </PrinterPort>

  </devices>

</msxconfig>
