OXYGENHUB
◆ main openmsx / share / machines / Toshiba_HX-34.xml
5.0 KiB · XML · last changed chore(): initial commit 1 month ago source blame history raw
1
<?xml version="1.0" ?>
2
<!DOCTYPE msxconfig SYSTEM 'msxconfig2.dtd'>
3
<msxconfig>
4
5
  <info>
6
    <manufacturer>Toshiba</manufacturer>
7
    <code>HX-34</code>
8
    <release_year>1985</release_year>
9
    <description>MSX2 with built in disk drive and word processor.</description>
10
    <type>MSX2</type>
11
    <region>jp</region>
12
  </info>
13
14
  <!-- based on information provided by Werner Kai's HX-33 machine with serial 100158
15
       CPU: Sharp LH0080A Z80A-CPU-D
16
       PSG: Yamaha YM2149F
17
       There seem to be engine-like chips on the mobo:
18
       - TCX-2001
19
       - TCX-2002
20
       PPI: could be the TCX-1009?
21
       There is 2kB SRAM on the mobo.
22
23
       Reverse engineering by Arjen Zeilemaker and GuvyeR800/BiFi:
24
       0x7FFF in slot 3-3 is a control register:
25
       - bit 7: COPY button status (0 is pressed), button is located left of
26
                the STOP button on the keyboard
27
       - bit 5/6: switch ROM/SRAM in page 2
28
       - bit 0/1: ROM segment select in page 2 (4 16kB pages)
29
       the rest of page 1 is the RS-232C ROM
30
       -->
31
32
  <CassettePort/>
33
34
  <devices>
35
36
    <Kanji id="Kanji ROM">
37
      <rom>
38
        <filename>hx-34_kanjifont.rom</filename>
39
        <sha1>db03211b7db46899df41db2b1dfbec972109a967</sha1>
40
      </rom>
41
      <io base="0xD8" num="2" type="O"/>
42
      <io base="0xD9" num="1" type="I"/>
43
    </Kanji>
44
45
    <PPI id="ppi">
46
      <io base="0xA8" num="4"/>
47
      <sound>
48
        <volume>16000</volume>
49
      </sound>
50
      <keyboard_type>jp_jis</keyboard_type>
51
      <has_keypad>true</has_keypad>
52
      <key_ghosting_sgc_protected>false</key_ghosting_sgc_protected>
53
      <code_kana_locks>true</code_kana_locks>
54
      <graph_locks>false</graph_locks>
55
    </PPI>
56
57
    <VDP id="VDP">
58
      <version>V9938</version>
59
      <vram>128</vram>
60
      <io base="0x98" num="4" type="O"/>
61
      <io base="0x98" num="2" type="I"/>
62
    </VDP>
63
64
    <PSG id="PSG">
65
      <type>YM2149</type>
66
      <keyboardlayout>JIS</keyboardlayout>
67
      <sound>
68
        <volume>21000</volume>
69
        <balance channel="1">0</balance>
70
        <balance channel="2">100</balance> <!-- According to Werner Kai's HX-21 -->
71
        <balance channel="3">-100</balance><!-- According to Werner Kai's HX-21 -->
72
      </sound>
73
      <io base="0xA0" num="4" type="IO"/>
74
      <ignorePortDirections>false</ignorePortDirections> <!-- not sure, but guess based on discrete PSG chip -->
75
    </PSG>
76
77
    <RTC id="Real time clock">
78
      <sramname>hx-34.cmos</sramname>
79
      <io base="0xB4" num="2" type="O"/>
80
      <io base="0xB5" num="1" type="I"/>
81
    </RTC>
82
83
    <PrinterPort id="Printer Port">
84
      <io base="0x90" num="2"/>
85
    </PrinterPort>
86
87
    <MSX-RS232 id="RS-232">
88
      <io base="0x80" num="8"/>
89
      <toshiba_rs232c_switch>true</toshiba_rs232c_switch>
90
    </MSX-RS232>
91
92
    <primary slot="0">
93
      <ROM id="MSX BIOS with BASIC ROM">
94
        <rom>
95
         <sha1>5e057526fe39d79e88e7ff1ce02ed669bd38929e</sha1>
96
         <filename>HX34_IC7.BIN</filename>
97
         <window base="0x0000" size="0x8000"/>
98
        </rom>
99
        <mem base="0x0000" size="0x8000"/>
100
      </ROM>
101
    </primary>
102
103
    <primary external="true" slot="1"/> <!-- top slot -->
104
105
    <primary external="true" slot="2"/> <!-- back slot -->
106
107
    <primary slot="3">
108
109
      <secondary slot="0">
110
        <MemoryMapper id="Main RAM">
111
          <mem base="0x0000" size="0x10000"/>
112
          <initialContent encoding="gz-base64">eJxjYPj/n2EE44F3wcBiAJBx/wE=</initialContent> <!-- (((chr(0)*2 + chr(255)*2)*64) + ((chr(255)*2 + chr(0)*2)*64)) based on Werner's HX-33, see HX-33 config -->
113
          <size>64</size>
114
        </MemoryMapper>
115
      </secondary>
116
117
      <secondary slot="1">
118
        <ROM id="MSX Sub ROM">
119
          <rom>
120
           <sha1>5e057526fe39d79e88e7ff1ce02ed669bd38929e</sha1>
121
           <filename>HX34_IC7.BIN</filename>
122
           <window base="0x8000" size="0x4000"/>
123
          </rom>
124
          <mem base="0x0000" size="0x4000"/>
125
        </ROM>
126
      </secondary>
127
128
      <secondary slot="2">
129
        <WD2793 id="DiskROM/FDC">
130
          <connectionstyle>Toshiba</connectionstyle>
131
          <mem base="0x4000" size="0x4000"/> <!-- No mirroring at all. TODO: confirm -->
132
          <rom>
133
            <sha1>c88ef953b21370cbaef5e82575d093d6f9047ec6</sha1> <!-- marked asTSDFDD00210Aug85 -->
134
            <filename>hx-34_disk.rom</filename>
135
          </rom>
136
          <drives>1</drives>
137
        </WD2793>
138
      </secondary>
139
140
      <secondary slot="3">
141
        <ToshibaTCX-200x id="Toshiba TCX-2001/2002">
142
          <rom id="rs232">
143
           <sha1>5e057526fe39d79e88e7ff1ce02ed669bd38929e</sha1>
144
           <filename>HX34_IC7.BIN</filename>
145
           <window base="0xC000" size="0x4000"/>
146
          </rom>
147
          <rom id="wordpro">
148
           <sha1>5e057526fe39d79e88e7ff1ce02ed669bd38929e</sha1>
149
           <filename>HX34_IC7.BIN</filename>
150
           <window base="0x10000" size="0x10000"/>
151
          </rom>
152
          <mem base="0x4000" size="0x8000"/>
153
          <sramname>hx-34_tcx-200x.sram</sramname>
154
          <initialContent encoding="hex">00</initialContent>
155
        </ToshibaTCX-200x>
156
      </secondary>
157
158
    </primary>
159
160
  </devices>
161
162
</msxconfig>