<?xml version="1.0" ?>
<!-- $Id: hardwareconfig.xml 7724 2008-03-30 20:53:15Z awulms $ -->
<!DOCTYPE msxconfig SYSTEM 'msxconfig2.dtd'>
<msxconfig>

  <info>
    <manufacturer>Daewoo</manufacturer>
    <code>CPC-400S</code>
    <release_year>1986</release_year>
    <description/>
    <type>MSX2</type>
  </info>

  <MapperReadBackBits>largest</MapperReadBackBits>

  <CassettePort/>

  <devices>

    <Kanji id="Hangul ROM">
      <rom>
        <filename>roms/cpc-400s_hangulfont.rom</filename>
        <sha1>30fff22e3e3d464993707488442721a5e56a9707</sha1>
      </rom>
      <io base="0xD8" num="2" type="O"/>
      <io base="0xD9" num="1" type="I"/>
    </Kanji>

    <S1985 id="S1985"/>

    <PPI id="ppi">
      <key_ghosting>true</key_ghosting>
      <sound>
        <volume>16000</volume>
      </sound>
      <io base="0xA8" num="4"/>
      <keyboard_type>kr</keyboard_type>
      <has_keypad>true</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>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-1985 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>cpc-400s.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">

      <secondary slot="0">
        <ROM id="MSX BIOS with BASIC ROM">
          <rom>
            <filename>roms/cpc-400s_basic-bios2.rom</filename>
            <sha1>affa3c5cd8db79a1450ad8a7f405a425b251653d</sha1>
          </rom>
          <mem base="0x0000" size="0x8000"/>
        </ROM>
      </secondary>

      <secondary slot="1">
        <ROM id="MSX Hangul Driver">
          <rom>
            <filename>roms/cpc-400s_hangul.rom</filename>
            <sha1>6a50295ea35e720ba6f4ba5616c3441128b384ed</sha1>
          </rom>
          <mem base="0x4000" size="0x8000"/>
        </ROM>
      </secondary>

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

      <secondary slot="3">
        <ROM id="MSX Sub ROM">
          <rom>
            <filename>roms/cpc-400s_msx2sub.rom</filename>
            <sha1>b6d3649a6647fa9f6bd61efc317485a20901128f</sha1>
          </rom>
          <mem base="0x0000" size="0x8000"/>
        </ROM>
      </secondary>

    </primary>

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

    <primary slot="2">
      <MB8877A id="Memory Mapped FDC">
        <broken_fdc_read>false</broken_fdc_read>
        <drives>1</drives>
        <rom>
          <filename>roms/cpc-400s_disk.rom</filename>
          <sha1>914f6ccb25d78621186001f2f5e2aaa2d628cd0c</sha1>
        </rom>
        <mem base="0x4000" size="0x8000"/>
      </MB8877A>
    </primary>

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

  </devices>

</msxconfig>
