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

  <info>
    <manufacturer>General</manufacturer>
    <code>Paxon PCT-55</code>
    <release_year>1984</release_year>
    <description>An MSX inside a TV with a separate keyboard.</description>
    <type>MSX</type>
    <region>jp</region>
  </info>

  <!-- Based on machine owned by Peter Hanraets, which serial 0003052

       TODO: ident.bas output... 
       Z80 scf: 
       Z80 cpl:
       Z80 out (c),0:
       PSG pin 6/7 quirk:
       PSGmask:

       mobo of popolon_ https://www.msx.org/forum/msx-talk/hardware/paxon-pct-55-repair-attempt?page=0 shows:
       PSG: GI AY-3-8910
       CPU: NEC D780C-1
       VDP: TMS9928ANL
       PPI: NEC D8255AC-5
       custom IC: GENERAL HD61J209F (for slot signals, RAS, BDIR, Paraplle port)
       Toshiba TMM23256AP ROM
       RAM: TMS4416-15NL
       printer port
       1 normal slot

       TODO: SWIOSCAN
  -->

  <CassettePort/>

  <devices>

    <PPI id="ppi">
      <sound>
        <volume>16000</volume>
      </sound>
      <io base="0xA8" num="4"/>
      <keyboard_type>jp_jis</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>
    </PPI>

    <VDP id="VDP">
      <version>TMS9928A</version>
      <saturation>100</saturation> <!-- TMS9x2x and RGB output -->
      <io base="0x98" num="2"/>
    </VDP>

    <PSG id="PSG">
      <type>AY8910</type>
      <keyboardlayout>jis</keyboardlayout>
      <sound>
        <volume>21000</volume>
      </sound>
      <io base="0xA0" num="4" type="IO"/>
      <ignorePortDirections>false</ignorePortDirections> <!-- not sure, but guess based on discrete PSG chip -->
    </PSG>

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

    <primary slot="0">
      <ROM id="MSX BIOS with BASIC ROM">
        <rom>
          <filename>pct-55_basic-bios1.rom</filename>
          <sha1>302afb5d8be26c758309ca3df611ae69cced2821</sha1>
        </rom>
        <mem base="0x0000" size="0x8000"/>
      </ROM>
      <RAM id="Main RAM">
        <mem base="0x8000" size="0x8000"/>
          <initialContent encoding="gz-base64">eJxjYBhY8H+AAQAioH+B</initialContent> <!-- ((chr(0) * 128) + (chr(255) * 128)) -->
      </RAM>
    </primary>

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

  </devices>

</msxconfig>
