== 概要 ==
315-5295SYSTEM24SYSTEM C2SYSTEM18などに使われているLSI。I/O制御などを行っているものと見られる。外部I/O用接続コネクタやFM音源、JAMMAのポートなどが繋がっている。

== 仕様 ==

SYSTEM24に実装されている315-5296

SYSTEMC2に実装されている315-5296

  • 315-5296 (NEC)
  • 100ピンQFP

Old News (12/20)

I was able to get quite a lot of work done with the Sega System 18 hardware.
Here are general descriptions of two custom chips, and then some specifics about the hardware itself.

I/O chip (315-5296)

The I/O chip has 8 bidirectional I/O ports, three output pins, and provides an chip select and clock output for interfacing with another device like a sound chip.
It has an 8-bit data bus and 64 internal locations, used as follows:

   $00-$07 : Port A through H data input/output registers (r/w).
   $08-$0B : Protection ID registers. (read only, returns ASCII text 'SEGA')
   $0C-$0F : Control registers (r/w).
   $10-$1F : Unused.
   $20-$3F : Unused. (/FMCS area)

For the unused areas, reading returns the prefetch value and writes do nothing.
Accessing $20-$3F makes the /FMCS pin of the  I/O chip go low, so another device like a [[YM2151]] could be mapped there and respond to reads/writes.

Register $0E controls the output state of the CNT2-0 pins:

   D7 : ?
   D6 : ?
   D5 : ?
   D4 : ?
   D3 : ?
   D2 : CNT2 (1= high, 0= low)
   D1 : CNT1 (1= high, 0= low)
   D0 : CNT0 (1= high, 0= low)

Register $0F controls the direction of the I/O ports:

   D7 : Port H direction (1= output, 0= input)
   D6 : Port G direction (1= output, 0= input)
   D5 : Port F direction (1= output, 0= input)
   D4 : Port E direction (1= output, 0= input)
   D3 : Port D direction (1= output, 0= input)
   D2 : Port C direction (1= output, 0= input)
   D1 : Port B direction (1= output, 0= input)
   D0 : Port A direction (1= output, 0= input)

Other information

   * Registers $0C,$0D are read-only mirrors of $0E,$0F. Writes do nothing.
   * Data written to registers $0E,$0F can be read back from $0C,$0D,$0E,$0F.
   * If a port is configured as an input, you can still write to it to set the output state of the pins, which will be used once the port is set to be an output later.
   * If a port is configured as an output, reading it returns the last value written to it.
   * After reset, all ports are inputs and registers $0E,$0F are zero.
   * The chip has a clock output which is the same as the input clock divided by 4. 

== 315-5296のピンアサイン ==
SYSTEM 24の場合。他のシステムでは割当てが違う可能性あり。

 以下はSYSTEM 24の場合。他のシステムでは割当てが違う可能性あり。また、実際のポートグループ番号や割当て順、レジスタとの対応、順序などは調べてません。他の人の資料とも比較、検証をしていません。
端子番号 端子名称(仮名称) I/O 端子機能
1 P0_3 I/O GPIO PORT0-3
2 P0_4 I/O GPIO PORT0-4
3 P0_5 I/O GPIO PORT0-5
4 P0_6 I/O GPIO PORT0-6
5 P0_7 I/O GPIO PORT0-7
6 VSS - 0V
7 P1_0 I/O GPIO PORT1-0
8 P1_1 I/O GPIO PORT1-1
9 P1_2 I/O GPIO PORT1-2
10 P1_3 I/O GPIO PORT1-3
11 P1_4 I/O GPIO PORT1-4
12 P1_5 I/O GPIO PORT1-5
13 P1_6 I/O GPIO PORT1-6
14 P1_7 I/O GPIO PORT1-7
15 VSS - 0V
16 VCC - +5V電源入力
17 P2_0 I/O GPIO PORT2-0
18 P2_1 I/O GPIO PORT2-1
19 P2_2 I/O GPIO PORT2-2
20 P2_3 I/O GPIO PORT2-3
21 P2_4 I/O GPIO PORT2-4
22 P2_5 I/O GPIO PORT2-5
23 P2_6 I/O GPIO PORT2-6
24 P2_7 I/O GPIO PORT2-7
25 VSS - 0V
26 P3_7 I/O GPIO PORT3-7
27 P3_6 I/O GPIO PORT3-6
28 P3_5 I/O GPIO PORT3-5
29 P3_4 I/O GPIO PORT3-4
30 P3_3 I/O GPIO PORT3-3
31 P3_2 I/O GPIO PORT3-2
32 P3_1 I/O GPIO PORT3-1
33 P3_0 I/O GPIO PORT3-0
34 P3_8 I/O GPIO PORT3-8
35 P4_0 I/O GPIO PORT4-0
36 P4_1 I/O GPIO PORT4-1
37 P4_2 I/O GPIO PORT4-2
38 P4_3 I/O GPIO PORT4-3
39 P4_4 I/O GPIO PORT4-4
40 VSS - 0V
41 VCC - +5V電源入力
42 P4_5 I/O GPIO PORT4-5
43 P4_6 I/O GPIO PORT4-6
44 P4_7 I/O GPIO PORT4-7
45 P5_0 I/O GPIO PORT5-0
46 P5_1 I/O GPIO PORT5-1
47 P5_2 I/O GPIO PORT5-2
48 P5_3 I/O GPIO PORT5-3
49 P5_4 I/O GPIO PORT5-4
50 P5_5 I/O GPIO PORT5-5
51 P5_6 I/O GPIO PORT5-6
52 P5_7 I/O GPIO PORT5-7
53 P6_0 I/O GPIO PORT6-0
54 P6_1 I/O GPIO PORT6-1
55 P6_2 I/O GPIO PORT6-2
56 VSS - 0V
57 P6_3 I/O GPIO PORT6-3
58 P6_4 I/O GPIO PORT6-4
59 P6_5 I/O GPIO PORT6-5
60 P6_6 I/O GPIO PORT6-6
61 P6_7 I/O GPIO PORT6-7
62 A7 I? ADDRESS BUS A7
I/O系、メインメモリ系(FM音源、外付けROMボード、I/Oコネクタほか)
63 ? I IC67-63番ピンに接続
64 ? O FM音源RESET#信号出力
I/O系、メインメモリ系(FM音源、外付けROMボード、I/Oコネクタほか)
65 VDD - +5V電源入力
66 VSS - 0V
67 D7 I/O DATA BUS D7
I/O系、メインメモリ系(FM音源、外付けROMボード、I/Oコネクタほか)
68 D6 I/O DATA BUS D6
I/O系、メインメモリ系(FM音源、外付けROMボード、I/Oコネクタほか)
69 D5 I/O DATA BUS D5
I/O系、メインメモリ系(FM音源、外付けROMボード、I/Oコネクタほか)
70 D4 I/O DATA BUS D4
I/O系、メインメモリ系(FM音源、外付けROMボード、I/Oコネクタほか)
71 D3 I/O DATA BUS D3
I/O系、メインメモリ系(FM音源、外付けROMボード、I/Oコネクタほか)
72 D2 I/O DATA BUS D2
I/O系、メインメモリ系(FM音源、外付けROMボード、I/Oコネクタほか)
73 D1 I/O DATA BUS D1
I/O系、メインメモリ系(FM音源、外付けROMボード、I/Oコネクタほか)
74 D0 I/O DATA BUS D0
I/O系、メインメモリ系(FM音源、外付けROMボード、I/Oコネクタほか)
75 VSS - 0V
76 RESETIN# I RESET信号入力
77 A4 I? ADDRESS BUS A4
I/O系、メインメモリ系(FM音源、外付けROMボード、I/Oコネクタほか)
78 A3 I? ADDRESS BUS A3
I/O系、メインメモリ系(FM音源、外付けROMボード、I/Oコネクタほか)
79 A2 I? ADDRESS BUS A2
I/O系、メインメモリ系(FM音源、外付けROMボード、I/Oコネクタほか)
80 A1 I? ADDRESS BUS A1
I/O系、メインメモリ系(FM音源、外付けROMボード、I/Oコネクタほか)
81 A0 I? ADDRESS BUS A0
I/O系、メインメモリ系(FM音源、外付けROMボード、I/Oコネクタほか)
82 OE# O OE#信号出力
I/O系、メインメモリ系(FM音源、外付けROMボード、I/Oコネクタほか)
83 WE# O WE#信号出力
I/O系、メインメモリ系(FM音源、外付けROMボード、I/Oコネクタほか)
84 ? ? IC67-64番ピンに接続
85 CLKIN I 16MHzクロック入力
86 FM_CS# O FM音源 CS#信号出力
87 FM_CLKM O FM音源 CLK Mクロック信号出力
88 P7_7 I/O GPIO PORT7-7
89 P7_6 I/O GPIO PORT7-6
90 VSS - 0V
91 VDD - +5V電源入力
92 P7_5 I/O GPIO PORT7-5
93 P7_4 I/O GPIO PORT7-4
94 P7_3 I/O GPIO PORT7-3
95 P7_2 I/O GPIO PORT7-2
96 P7_1 I/O GPIO PORT7-1
97 P7_0 I/O GPIO PORT7-0
98 P0_0 I/O GPIO PORT0-0
99 P0_1 I/O GPIO PORT0-1
100 P0_2 I/O GPIO PORT0-2

== リンク ==

== 外部リンク ==


最終更新:2019年11月12日 00:35