OXYGENHUB
◆ main openmsx / share / machines / Sanyo_PHC-77.xml
4.3 KiB · XML · last changed chore(): initial commit 1 month ago source blame history raw
e8555c89 Andy McCall 1
<?xml version="1.0" ?>
2
<!DOCTYPE msxconfig SYSTEM 'msxconfig2.dtd'>
3
<msxconfig>
4
5
  <info>
6
    <manufacturer>Sanyo</manufacturer>
7
    <code>PHC-77</code>
8
    <release_year>1987</release_year>
9
    <description>Foldable MSX2 with built-in printer (which is not emulated as such).</description>
10
    <type>MSX2</type>
11
    <region>jp</region>
12
  </info>
13
14
 <!-- 
15
    Built-in printer is NOT emulated as such.
16
    Based on dumps by Peter Hanraets on machine with serial number 781 04902
17
    Firmware switch not emulated yet, now always on 'enable'. When the switch
18
    is on disabled on the real machine, slot 2 is totally empty (0xFF). It
19
    seems to be connected to the /OE signal.
20
   -->
21
22
  <CassettePort/>
23
24
  <devices>
25
26
    <Kanji id="Kanji ROM">
27
      <rom>
28
        <filename>phc-77_kanjifont.rom</filename>
29
        <sha1>db03211b7db46899df41db2b1dfbec972109a967</sha1>
30
      </rom>
31
      <io base="0xD8" num="2" type="O"/>
32
      <io base="0xD9" num="1" type="I"/>
33
    </Kanji>
34
35
    <S1985 id="S1985"> <!-- includes 5 bits mapper-read-back, confirmed by Peter Hanraets -->
36
      <sramname>phc-77_s1985.sram</sramname>
37
    </S1985>
38
39
    <PPI id="ppi">
40
      <io base="0xA8" num="8"/> <!-- S-1985 mirrors -->
41
      <sound>
42
        <volume>16000</volume>
43
      </sound>
44
      <keyboard_type>jp_ansi</keyboard_type>
45
      <has_keypad>true</has_keypad>
46
      <key_ghosting_sgc_protected>true</key_ghosting_sgc_protected>
47
      <code_kana_locks>true</code_kana_locks>
48
      <graph_locks>false</graph_locks>
49
    </PPI>
50
51
    <VDP id="VDP">
52
      <version>V9938</version>
53
      <vram>128</vram>
54
      <io base="0x98" num="8" type="O"/> <!-- S-1985 mirrors -->
55
      <io base="0x98" num="8" type="I"/> <!-- S-1985 mirrors -->
56
    </VDP>
57
58
    <PSG id="PSG">
59
      <type>YM2149</type> <!-- in S-1985 MSX-ENGINE -->
60
      <keyboardlayout>50on</keyboardlayout>
61
      <sound>
62
        <volume>21000</volume>
63
      </sound>
64
      <io base="0xA0" num="8" type="IO"/> <!-- S-1985 mirrors -->
65
      <ignorePortDirections>true</ignorePortDirections> <!-- not sure, but guess based on use of Engine IC -->
66
    </PSG>
67
68
    <RTC id="Real time clock">
69
      <sramname>phc-77.cmos</sramname>
70
      <io base="0xB4" num="4" type="IO"/> <!-- S-1985 mirrors -->
71
    </RTC>
72
73
    <!-- It doesn't have a printer port but a built-in printer. But because that isn't emulated, we put in a printer port instead. -->
74
    <PrinterPort id="Printer Port">
75
      <io base="0x90" num="8" type="IO"/> <!-- S-1985 mirrors -->
76
      <bidirectional>true</bidirectional> <!-- S-1985 feature (but not used, nor implemented) -->
77
      <unused_bits>0x00</unused_bits>
78
    </PrinterPort>
79
80
    <primary slot="0">
81
      <ROM id="MSX BIOS with BASIC ROM">
82
        <rom>
83
          <filename>phc-77_basic-bios2.rom</filename>
84
          <sha1>4ce41fcc1a603411ec4e99556409c442078f0ecf</sha1>
85
        </rom>
86
        <mem base="0x0000" size="0x8000"/>
87
      </ROM>
88
    </primary>
89
90
    <primary external="true" slot="1"/>
91
92
    <primary slot="2">
93
      <ROM id="Japanese MSX-Write">
94
        <mem base="0x4000" size="0x8000"/>
95
        <rom>
96
          <sha1>4180544158a57c99162269e33e4f2c77c9fce84e</sha1>
97
          <filename>phc-77_japanese_msx-write.rom</filename>
98
        </rom>
99
        <mappertype>MSXWrite</mappertype>
100
        <sramname>phc-77_japanese_msx-write.sram</sramname>
101
      </ROM>
102
    </primary>
103
104
    <primary slot="3">
105
106
      <secondary slot="0">
107
        <WD2793 id="Memory Mapped FDC">
108
          <connectionstyle>Sanyo</connectionstyle>
109
          <drives>1</drives>
110
          <rom>
111
            <sha1>a427b0c9a344c87b587568ecca7fee0abbe72189</sha1>
112
            <filename>phc-77_disk.rom</filename>
113
          </rom>
114
          <mem base="0x4000" size="0x4000"/> <!-- no mirroring -->
115
          <rom_visibility base="0x4000" size="0x4000"/> <!-- ROM only visible in page 1 -->
116
        </WD2793>
117
        <ROM id="MSX Sub ROM">
118
          <rom>
119
            <filename>phc-77_msx2sub.rom</filename>
120
            <sha1>0fbd45ef3dd7bb82d4c31f1947884f411f1ca344</sha1>
121
          </rom>
122
          <mem base="0x0000" size="0x4000"/>
123
        </ROM>
124
      </secondary>
125
126
      <secondary external="true" slot="1"/>
127
128
      <secondary slot="2"/>
129
130
      <secondary slot="3">
131
        <RAM id="Main RAM">
132
          <mem base="0x0000" size="0x10000"/>
133
          <initialContent encoding="hex">FF00</initialContent>
134
        </RAM>
135
      </secondary>
136
137
    </primary>
138
139
  </devices>
140
141
</msxconfig>