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

 <!--
    Aucnet NIA-2001 Network Intelligence/Access Terminal
    Not marketed as an MSX machine, but it was a machine used exclusively
    for auctioning cars. It appears to be a hidden MSX turbo R!
    
    Not emulated or unknown:
    - superimpose (not supported by openMSX)
    - modem (there seems to be more than a simple RS-232C, but that is still
      unknown
    - keyboard details (original keyboard was not available)
    - Printer Port is actually non-MSX standard, so perhaps should be removed
      or changed

    Details and discussion here:
    http://www.msx.org/forum/msx-talk/hardware/unknown-model-msx-turbor-modem-and-serial

    Photos of mobo and test software here:
    https://goo.gl/photos/TKMPTU7bTqtwPPoz8

    The machine doesn't have any FDC or disk drive.

    -->

  <info>
    <manufacturer>Aucnet</manufacturer>
    <code>NIA-2001</code>
    <release_year>1992</release_year>
    <description>Network Intelligence/Access Terminal. A machine used exclusively for auctioning cars, which happens to be a hidden MSXturboR! Not all of its features are emulated.</description>
    <type>MSXturboR</type>
    <region>jp</region>
  </info>

  <MapperReadBackBits>5</MapperReadBackBits>

  <PanasonicRom id="Firmware ROM">
    <rom>
      <sha1>d51eb5bdce84c23d3279b99e282ba1605f2bb80b</sha1>
      <filename>nia-2001_firmware.rom</filename>
    </rom>
  </PanasonicRom>

  <devices>

    <Kanji id="Kanji ROM">
      <rom>
        <filename>nia-2001_kanjifont.rom</filename>
        <sha1>db03211b7db46899df41db2b1dfbec972109a967</sha1>
      </rom>
      <io base="0xD8" num="2" type="O"/>
      <io base="0xD9" num="1" type="I"/>
      <io base="0xDA" num="2" type="O"/>
      <io base="0xDB" num="1" type="I"/>
    </Kanji>

    <S1990 id="S1990">
      <io base="0xE4" num="2"/>
    </S1990>

    <T9769 id="T9769">
      <subtype>C</subtype>
    </T9769>

    <PPI id="ppi">
      <sound>
        <volume>16000</volume>
      </sound>
      <io base="0xA8" num="4"/>
      <keyboard_type>jp_jis</keyboard_type>
      <has_keypad>true</has_keypad>
      <has_yesno_keys>true</has_yesno_keys>
      <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>V9958</version>
      <vram>128</vram>
      <io base="0x98" num="4" type="O"/> <!-- No mirroring of VDP ports -->
      <io base="0x98" num="2" type="I"/>
      <ignorePortDirections>true</ignorePortDirections> <!-- not sure, but guess based on use of Engine IC -->
    </VDP>

    <PSG id="PSG">
      <keyboardlayout>JIS</keyboardlayout>
      <sound>
        <volume>21000</volume>
      </sound>
      <io base="0xA0" num="4" type="IO"/>
    </PSG>

    <RTC id="Real time clock">
      <sramname>nia-2001.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>

    <E6Timer id="Turbo-R timer">
      <io base="0xE6" num="2"/>
    </E6Timer>

    <ResetStatusRegister id="Reset Status register">
      <inverted>false</inverted>
      <io base="0xF4" num="1"/>
    </ResetStatusRegister>

    <TurboRPause id="TurboRPause">
      <io base="0xA7" num="1"/>
    </TurboRPause>

    <TurboRPCM id="PCM">
      <sound>
        <volume>0</volume> <!-- nothing is heard, but hardware is there, so probably output is unconnected -->
      </sound>
      <io base="0xA4" num="2"/>
    </TurboRPCM>

    <primary slot="0">

      <secondary slot="0">
        <ROM id="MSX BIOS with BASIC ROM">
          <mappertype>DRAM</mappertype>
          <rom>
            <firstblock>40</firstblock>
            <lastblock>43</lastblock>
          </rom>
          <mem base="0x0000" size="0x8000"/>
        </ROM>
      </secondary>

      <secondary slot="1"/>

      <secondary slot="2">
        <MSX-MUSIC id="MSX Music">
          <rom>
            <firstblock>62</firstblock>
            <lastblock>63</lastblock>
          </rom>
          <sound>
            <volume>9000</volume>
          </sound>
          <ym2413-core>NukeYKT</ym2413-core>
          <io base="0x7C" num="2" type="O"/>
          <mem base="0x4000" size="0x4000"/>
        </MSX-MUSIC>
      </secondary>

      <secondary slot="3">
        <MSX-RS232 id="NIA-2001 RS-232C">
          <io base="0x80" num="8"/>
          <rom>
            <firstblock>36</firstblock>
            <lastblock>37</lastblock>
          </rom>
          <mem base="0x4000" size="0x4000"/>
        </MSX-RS232>
      </secondary>

    </primary>

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

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

    <primary slot="3">

      <secondary slot="0">
        <PanasonicRAM id="Main RAM">
          <size>512</size>
          <mem base="0x0000" size="0x10000"/>
        </PanasonicRAM>
      </secondary>

      <secondary slot="1">
        <ROM id="MSX Sub ROM">
          <mappertype>DRAM</mappertype>
          <rom>
            <firstblock>56</firstblock>
            <lastblock>57</lastblock>
          </rom>
          <mem base="0x0000" size="0x4000"/>
        </ROM>
        <ROM id="MSX Kanji Driver with BASIC 1">
          <mappertype>DRAM</mappertype>
          <rom>
            <firstblock>58</firstblock>
            <lastblock>61</lastblock>
          </rom>
          <mem base="0x4000" size="0x8000"/>
        </ROM>
      </secondary>

      <secondary slot="2">
        <ROM id="MSX-DOS 2.30">
          <mappertype>MSXDOS2</mappertype>
          <rom>
            <firstblock>48</firstblock>
            <lastblock>55</lastblock>
          </rom>
          <mem base="0x0000" size="0xC000"/>
        </ROM>
      </secondary>

      <secondary slot="3">
        <ROM id="NIA-2001">
          <mappertype>PANASONIC</mappertype>
          <sramsize>32</sramsize>
          <sram-mirrored>false</sram-mirrored>
          <sramname>nia-2001.sram</sramname>
          <rom>
            <firstblock>0</firstblock>
            <lastblock>255</lastblock>
          </rom>
          <mem base="0x0000" size="0x10000"/>
          <device idref="Main RAM"/>
        </ROM>
      </secondary>

    </primary>

  </devices>

</msxconfig>
