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

  <info>
    <manufacturer>Philips</manufacturer>
    <code>VG 8235/00</code>
    <release_year>1986</release_year>
    <description>Update on the VG 8230, now with 128kB RAM.</description>
    <type>MSX2</type>
    <region>eu</region>
  </info>

<!-- Info from the 8235/20 with serial FF00 632042694
see http://bilgisayarlarim.com/Philips/VG-8235
- S3527 MSX-ENGINE
- TI TMS2793NL FDC
- Kyocera M60003A gate array
- Zilog Z8400APS Z80 CPU
- LVA510 RF encoder

ROM dumps verified with Luc's machine and and with Peter Hanraets his machines
with serial FF02 621010083 and FF02 611010683
-->

  <MapperReadBackBits>largest</MapperReadBackBits>

  <CassettePort/>

  <devices>

    <PPI id="ppi">
      <has_keypad>false</has_keypad>
      <sound>
        <volume>16000</volume>
      </sound>
      <io base="0xA8" num="8"/> <!-- S-3527 mirrors -->
      <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="8" type="O"/> <!-- S-3527 mirrors -->
      <io base="0x98" num="8" type="I"/> <!-- S-3527 mirrors -->
    </VDP>

    <PSG id="PSG">
      <type>YM2149</type> <!-- in S-3527 MSX-ENGINE -->
      <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>

    <RTC id="Real time clock">
      <sramname>vg_8235-00.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="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>vg8235-00_basic-bios2.rom</filename>
          <sha1>5e1a4bd6826b29302a1eb88c340477e7cbd0b50a</sha1> <!-- confirmed on Luc's and Peter'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>vg8235-00_msx2sub.rom</filename>
	    <sha1>c289dad246364e2dd716c457ca5eecf98e76c9ab</sha1> <!-- from Luc and Peter, 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>
          <initialContent encoding="gz-base64">eNpj+M8wouEI9z4DAJBx/wE=</initialContent> <!-- (chr(0) + chr(255)) * 128 + (chr(255)+ chr(0)) * 128), also seen is 128x 00 and then 128x FF -->
          <mem base="0x0000" size="0x10000"/>
        </MemoryMapper>
      </secondary>

      <secondary slot="3">
        <WD2793 id="Memory Mapped FDC">
          <connectionstyle>Philips</connectionstyle>
          <singlesided/>
          <drives>1</drives>
          <rom>
            <filename>vg8235-00_disk.rom</filename>
            <sha1>7ce255ab63ba79f81d8b83d66f1108062d0b61f1</sha1> <!-- marked NMS 2.2, from Peter's 8235/00-->
            <sha1>959060445e92eb980ddd9df3ef9cfefcae2de1d0</sha1> <!-- marked NMS 2.2, from Luc's 8235/20 and 8235/00-->
            <sha1>95265cc2c5e6a2f334a99ef7042d5bdf2f877ec9</sha1> <!-- also marked NMS 2.2, but different from the first one (even after cleaning FDC regs -->
          </rom>
          <mem base="0x4000" size="0x8000"/> <!-- Verified on real MSX: mirroring in page 2 -->
        </WD2793>
      </secondary>

    </primary>

  </devices>

</msxconfig>
