<?xml version="1.0" ?>
<!-- $Id: hardwareconfig.xml 11320 2010-03-04 17:40:07Z m9710797 $ -->
<!DOCTYPE msxconfig SYSTEM 'msxconfig2.dtd'>
<msxconfig>

  <info>
    <manufacturer>Philips</manufacturer>
    <code>VG 8235</code>
    <release_year>1986</release_year>
    <description/>
    <type>MSX2</type>
  </info>

  <MapperReadBackBits>largest</MapperReadBackBits>

  <CassettePort/>

  <devices>

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

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

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

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

    <primary slot="0">
      <ROM id="MSX BIOS with BASIC ROM">
        <rom>
          <filename>roms/vg8235_basic-bios2.rom</filename>
          <sha1>5e1a4bd6826b29302a1eb88c340477e7cbd0b50a</sha1> <!-- confirmed on Luc's 8235/00 -->
        </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="MSX Sub ROM">
          <rom>
            <filename>roms/vg8235_msx2sub.rom</filename>
            <sha1>3288894e1be6af705871499b23c85732dbc40993</sha1> <!-- same as the 8230 (?)-->
            <sha1>e7905d16d2ccd57a013c122dc432106cd59ef52c</sha1> <!-- same as the 8245 (?)-->
	    <sha1>5c1f9c7fb655e43d38e5dd1fcc6b942b2ff68b02</sha1> <!-- from Luc, which is a 8235/20 -->
	    <sha1>c289dad246364e2dd716c457ca5eecf98e76c9ab</sha1> <!-- from Luc, which is a 8235/00 -->
          </rom>
          <mem base="0x0000" size="0x4000"/> <!-- Verified on real MSX: no mirroring at all! -->
        </ROM>
      </secondary>

      <secondary slot="1"/>

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

      <secondary slot="3">
        <WD2793 id="Memory Mapped FDC">
          <singlesided/>
          <drives>1</drives>
          <rom>
            <filename>roms/vg8235_disk.rom</filename>
	    <sha1>f283ad736a8f3b88ca3bd940e28adf27c12cbda1</sha1> <!-- marked NMS 2.2, from Luc's 8235/20 -->
            <sha1>8954e59aa79310c7b719ecf0cde1e82fb731dcd1</sha1> <!-- same as first one, but different FDC registers -->
            <sha1>383de340910981bc1e8a2acaec8663b020804ba1</sha1> <!-- same as first one, but different FDC registers, from Luc's 8235/00 -->
	    <sha1>849f93867ff7846b27f84d0be418569faf058ac2</sha1> <!-- also marked NMS 2.2, but 281 bytes different from the first one-->
          </rom>
          <mem base="0x4000" size="0x8000"/> <!-- Verified on real MSX: mirroring in page 2 -->
        </WD2793>
      </secondary>

    </primary>

  </devices>

</msxconfig>
