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

  <info>
    <manufacturer>Pioneer</manufacturer>
    <code>PX-7</code>
    <release_year>1984?</release_year>
    <description/>
    <type>MSX</type>
  </info>

  <!--
  From: http://usbsecretbase.michikusa.jp/px-7_v60/px-7_pcb.html
  CPU: NEC D780C -1
  PSG: YM2149F
  VDP: TMS9928ANL (TMS9918 with RGB output)
  PPI: NEC D8255AC-2
  -->

  <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>true</key_ghosting_sgc_protected>
      <code_kana_locks>true</code_kana_locks>
      <graph_locks>false</graph_locks>
      <!-- there are three extra keys -->
      <!-- row 9, bit 0: super-impose -->
      <!-- row 9, bit 1: video -->
      <!-- row 9, bit 2: computer -->
    </PPI>

    <VDP id="VDP">
      <version>TMS9928A</version>
      <io base="0x98" num="2"/>
    </VDP>

    <PSG id="PSG">
      <!-- volume of SCC sounds off on real hardware. How to measure? -->
      <sound>
        <volume>21000</volume>
        <balance channel="1">0</balance>
        <balance channel="2">-100</balance>
        <balance channel="3">100</balance>
      </sound>
      <io base="0xA0" num="2" type="O"/>
      <io base="0xA2" num="1" type="I"/>
    </PSG>

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

    <primary slot="0">
      <ROM id="MSX BIOS with BASIC ROM">
        <rom>
          <filename>px-7_basic-bios1.rom</filename>
          <sha1>302afb5d8be26c758309ca3df611ae69cced2821</sha1>
        </rom>
        <mem base="0x0000" size="0x8000"/>
      </ROM>
      <RAM id="Main RAM">
        <mem base="0x8000" size="0x8000"/>
      </RAM>
    </primary>

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

    <primary slot="2">
      <PioneerLDControl id="PBASIC">
        <rom>
          <filename>px-7_pbasic.rom</filename>
          <sha1>665d805f96616e1037f1823050657b7849899283</sha1>
        </rom>
        <mem base="0x4000" size="0x4000"/>
	<device idref="ppi"/>
	<device idref="VDP"/>
      </PioneerLDControl>
    </primary>

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

  </devices>

</msxconfig>
