Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3849035B2 - Input / output control device for pachinko machines - Google Patents
[go: Go Back, main page]

JP3849035B2 - Input / output control device for pachinko machines - Google Patents

Input / output control device for pachinko machines Download PDF

Info

Publication number
JP3849035B2
JP3849035B2 JP04558996A JP4558996A JP3849035B2 JP 3849035 B2 JP3849035 B2 JP 3849035B2 JP 04558996 A JP04558996 A JP 04558996A JP 4558996 A JP4558996 A JP 4558996A JP 3849035 B2 JP3849035 B2 JP 3849035B2
Authority
JP
Japan
Prior art keywords
input
port
output
setting
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP04558996A
Other languages
Japanese (ja)
Other versions
JPH09215837A (en
Inventor
高明 市原
薫 川村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Daiichi Co Ltd
Original Assignee
Daiichi Shokai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Daiichi Shokai Co Ltd filed Critical Daiichi Shokai Co Ltd
Priority to JP04558996A priority Critical patent/JP3849035B2/en
Publication of JPH09215837A publication Critical patent/JPH09215837A/en
Application granted granted Critical
Publication of JP3849035B2 publication Critical patent/JP3849035B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、パチンコ機における制御装置であって、入出力インタフェースに関するものである。
【0002】
【従来の技術】
パチンコ機においては、パチンコ機に配備された各駆動要素や各検出手段を駆動制御する中央処理装置(以下、CPUという)、パチンコ遊技に関する制御プログラムを格納したROM及び各制御処理に必要な各種データの読み出しや書き込みを行うためのRAMを備えた制御装置が配備されている。そして、CPUが各駆動要素に対する駆動信号の出力や各検出手段からの検出信号の入力を円滑かつ同期的に行うためにプログラム可能な入出力インタフェース(以下、PPIという)がCPUに接続され、CPUは、入出力インタフェースを介して各検出手段からの検出信号の入力を行い、各駆動要素に対する駆動信号の出力を行っている。
【0003】
図3は、従来のPPI1aの外観を示す平面図である。PPI1aには、計40個のピンが設けられている。D0〜D7は、データバスに接続される。RESETには、リセット信号が入力される。CSはチップセレクト端子である。RDは、リード信号入力端子である。WRは、ライト信号入力端子である。A0,A1は、ポート選択のための入力端子である。Vcc端子は、PPI1aの作動電圧5Vが印加され、GND端子は、0Vのグランドである。PA0〜PA7は、第1ポートであり、PB0〜PB7は第2ポートであり、PC0〜PC7は、第3ポートである。
【0004】
図4は、PPI1aの要部ブロック図である。D7〜D0は、CPUのデータバスと接続される双方向バスであり、データバスバッファ2を通ってPPI1aの8ビット内部データバスにつながっている。D7〜D0は、イニシャライズ時のコントロールデータの書き込み、さらにその後で行われる入出力ポートとCPUデータバスとのデータの受け渡しに使用される。
【0005】
制御ロジック3は、データ、コントロールワード(イニシャライズ用のデータ)の転送を行う部分であり、CPUのアドレスバス出力(A0,A1,CS)、コントロールバス出力(RD,WR)およびリセット(RESET)の各信号を受け、PPI1a内部の2つのコントロールグループに命令する。
【0006】
CSは、チップセレクト端子であって、入力がローレベルであるときにPPI1aが選択され、CPUとのやり取りが可能となり、ハイレベルであるときには、データバスはハイインピーダンス状態となり、CPUから切り離された状態となる。このときには、出力ポートには前に出力したデータが保持されている。また、複数のI/Oポートを使用する時には、CS端子にアドレスデコーダより選択信号を与える。
【0007】
RDは、リード信号入力端子であって、入力がローレベルであるときに、PPI1aのポートに入力されているデータをCPUに転送する。CPUのRD信号によってコントロールされ、CPUと接続する場合、CPUがIN,OUT命令を実行する時に出力されるIORQ(I/Oリクエスト)信号と組み合わせて作られた信号を与える。
【0008】
WRは、ライト信号入力端子であって、入力がローレベルであるときに、CPUからPPI1aに対して、データあるいはコントロールワードが書き込まれる。RD入力と同様にCPUと接続する場合には、IORQ(I/Oリクエスト)信号と組み合わせて作られた信号を与える。
【0009】
A0,A1は、ポート選択入力のための端子であって、第1ポート、第2ポート、第3ポートおよびコマンドレジスタの選択に使用され、通常は、CPUのアドレスバス下位2ビットに接続される。CS入力と合わせてPPIの各ポート及びコマンドレジスタのアドレスが決定する。この関係を表1に示す。
【0010】
【表1】
RESET端子は、PPI1aをリセットする入力端子であり、電源投入時にパワーオンリセットをかける。
【0011】
グループA制御4及びグループB制御5は、制御ロジックからの命令に応じて、内部データバスのコントロールワードを受け取り、各ポートに対して命令を出す。実際には、コマンドレジスタ6にコントロールワードを書き込むことによって各ポートの機能が決定される。なお、コマンドレジスタ6は、書き込みのみ可能であって読み出しは禁止されている。
【0012】
第1ポートPA7〜PA0の8つのデータビットは、それぞれ出力時のラッチ、入力時のラッチおよびバッファあるいは双方向バスとして動作する。第2ポートPB7〜PB0の8つのデータビットは、第1ポートと同様、それぞれ出力時のラッチ、入力時のラッチおよびバッファとして動作するが、双方向性動作は行わない。
【0013】
第3ポートPC7〜PC0は、出力時ラッチ、入力時バッファとして動作する。第3ポートPC7〜PC0は第1ポートPA7〜PA0及び第2ポートPB7〜PB0とは機能が異なり、モード0においては、出力時はラッチ、入力時はバッファとして動作し、かつ上位4ビットPC7〜PC4と下位4ビットPC3〜PC0に分けて入力または出力ポートに指定することができる。さらに、第1ポート、第2ポート用コントロール信号としても使用される。
【0014】
また、第3ポートPC7〜PC0が出力ポートに指定されているとき、CPUからのコントロールワードによって8ビットのうちの任意の1ビットをセット(ハイレベル)あるいはリセット(ローレベル)することができ、このビットセット及びビットリセットの実行方法は、モードセット(イニシャライズ)の場合と同様であるが、コントロールワードが異なる。この機能は、モード1、モード2の時のINTE(インタラプトイネーブルフラグ)のセットリセットにも使用される。
【0015】
PPI1aの動作には、モード0、モード1及びモード2の3つがある。モード0は、PPI1aの各ポート(第1ポート、第2ポート、第3ポートの上位4ビット及び第3ポートの下位4ビット)を単純に入力ポートあるいは出力ポートとして使用する。モード1は、外部機器の状態を知って確認しながらデータの入出力を行うモードである。第1ポートと第2ポートをデータの入出力に使用し、第3ポートはそれぞれのコントロール信号に使用する。モード2は、第1ポートのみに使用可能であり、8ビット双方向性バスポートとして動作する。
【0016】
PP1aのモード設定は、表1に示すように、A1端子及びA0端子を共に“1”にしてデータを書き込むことにより行う。A1端子及びA0端子は、通常は、CPUのアドレスバス下位2ビットに接続されているので、ソフトウェア的にはある特定番地に対するライト命令で行われる。
【0017】
モード設定を行う時には、書き込むコントロールワードのビット7の値を1にし、実際のモード設定のためのデータは、ビット6〜ビット0の7つのビットによって行う(図5参照)。なお、コントロールワードのビット7を値0とした書き込みでは、モード1やモード2で第3ポートPC7〜PC0が制御信号になるとき、これらの信号のセット/リセットを行う(図6参照)。
【0018】
また、ポートに対するデータの読み書きは、表1に示すように、PPI1aのA1端子及びA0端子の組み合わせにより、制御データと同様に行う。
【0019】
以上のように構成されているPPI1aにおいて、パチンコ機においてはモード0による使用頻度が最も高く、CPU側の入出力ポート切換設定用のプログラムにより、PPI1a側のコマンドレジスタに書き込むコントロールワードを切り換えて行っている。なお、モード0設定用のコントロールワードを表2に示す。表2において、出力は出力ポートを示し、入力は、入力ポートを示す。
【0020】
【表2】
ところで、CPU側においては、入出力ポート切換設定用のプログラムは、CPUにリセット信号が入力される毎に実行されており、入出力ポート切換設定用のプログラムの処理において、まず全てのポートを入力ポートに設定し直し、その後に出力ポートを順次設定している。このため、CPUにリセット信号が入力される毎に、PPI1aに対して入出力ポートの設定が周期的に行われることとなるが、PPI1aは、静電ノイズ耐圧が大変弱く、コントロールワードが静電ノイズのために書き変わるという問題が発生することがあった。
【0021】
【発明が解決しようとする課題】
本発明の目的は、CPUによってコントロールワードをPPIのコマンドレジスタに書き込むことを行わず、代りに、各ポート群毎にハード的に設定信号を与えることにより各ポート群の入出力の設定を行うことができるパチンコ機における入出力制御装置を提供することにある。
【0022】
【課題を解決するための手段】
本発明のパチンコ機の入出力制御装置は、上記課題を解決するために、入力ポート及び出力ポートのいずれかに設定が可能である複数のポート群を備えた入出力制御装置において、
前記入出力制御装置には、複数のポート群を各々入力ポート及び出力ポートのいずれかに設定するための設定信号を入力する入出力設定用端子が設けられ、
前記入出力設定用端子に対して個別に、プルアップされたハイレベル信号、またはプルダウンされたローレベル信号のいずれかである前記設定信号を設定するデコーダを前記入 出力制御装置に外付けで設け、
前記入出力制御装置の動作は、入出力ポート切換設定用のプログラムによるコントロールワードの使用に代えて、ハード的に与えられる前記設定信号により固定的に決定されることを特徴とする。
【0023】
デコーダは、パチンコ機の入出力制御装置に設けられた複数のポート群の各々を入力ポート及び出力ポートのいずれかに設定する入出力設定用端子に、設定信号を個別に与える。設定信号は、プルアップされたハイレベル信号またはプルダウンされたローレベル信号のいずれかであり、複数のポート群の各々の入出力設定用端子に常時入力される。CPUの処理により周期的にCPUからデータ出力されたコントロールワードをPPIのコマンドレジスタに書き込むことは行わずに、各ポート群毎にデコーダからハード的に設定信号を常時与えることにより、各ポート群の入出力の設定を行うため、静電ノイズのためにコントロールワードが書き変わるという現象が回避でき、ポート群の入出力の誤設定に起因したパチンコ機の誤動作が有効に防止できる。
【0024】
【発明の実施の形態】
以下、本発明の実施の形態を図面を参照して説明する。図1は、本発明の実施の形態に係わるパチンコ機の入出力装置の外観を示す平面図である。入出力装置(以下、PPIという)1は、図3に示す従来の入出力装置1aが有している各端子、即ち、RD、CS、GND、A0、A1、Vcc、WR、RESET、D7〜D0及び入力ポート及び出力ポートのいずれかに設定が可能である4つのポート群PA7〜PA0、PB7〜PB0、PC7〜PC4及びPC3〜PC0を備えるほかに、4つのポート群PA7〜PA0、PB7〜PB0、PC7〜PC4及びPC3〜PC0の各々に対して、各ポート群を入力ポート及び出力ポートのいずれかに設定するための入出力設定用端子CD1〜CD4が付設されている。
【0025】
CD1は、第1ポートPA7〜PA0に対する入出力設定用端子であり、CD2は、第2ポートPB7〜PB0に対する入出力設定用端子であり、CD3は、第3ポートPC7〜PC0のうちの上位の4ビットで構成されるPC7〜PC4に対する入出力設定用端子であり、CD4は、第3ポートPC7〜PC0のうちの下位の4ビットで構成されるPC3〜PC0に対する入出力設定用端子である。
【0026】
図3に示す従来の入出力装置1aと同様に、RD端子は、リード信号入力端子であって、入力がローレベルであるときに、PPI1のポートに入力されているデータをCPU(図示を省略)に転送する。CPUのRD信号によってコントロールされ、CPUと接続する場合、CPUがIN,OUT命令を実行する時に出力されるIORQ(I/Oリクエスト)信号と組み合わせて作られた信号を与える。
【0027】
WR端子は、ライト信号入力端子であって、入力がローレベルであるときに、CPUからPPI1に対して、データあるいはコントロールワードが書き込まれる。RD入力と同様にCPUと接続する場合には、IORQ(I/Oリクエスト)信号と組み合わせて作られた信号を与える。
【0028】
CS端子は、チップセレクト端子であり、入力がローレベルであるときにPPI1が選択され、CPUとのやり取りが可能となり、ハイレベルであるときには、データバスはハイインピーダンス状態となり、CPUから切り離された状態となる。このときには、出力ポートには前に出力したデータが保持されている。また、複数のI/Oポートを使用する時には、CS端子にアドレスデコーダより選択信号を与える。
【0029】
Vcc端子は、PPI1の作動電圧5Vが印加され、GND端子は、0Vのグランドである。
【0030】
D7〜D0端子は、データバスに接続される双方向バスであり、データバスバッファ2を通ってPPI1の8ビット内部データバスにつながっている。D7〜D0は、イニシャライズ時のコントロールデータの書き込み、さらにその後で行われる入出力ポートとCPUデータバスとのデータの受け渡しに使用される。RESETには、PPI1をリセットする入力端子であり、電源投入時にパワーオンリセットをかける。
【0031】
A0端子及びA1端子は、ポート選択のための入力端子であり、第1ポートPA7〜PA0、第2ポートPB7〜PB0、第3ポートの上位PC7〜PC4および第3ポートの下位PC3〜PC0の選択に使用され、通常は、CPUのアドレスバス下位2ビットに接続される。CS入力と合わせてPPI1の各ポートのアドレスが決定する。この関係を表3に示す。
【0032】
【表3】
また、ポートに対するデータの読み書きは、表3に示すように、PPI1のA1端子及びA0端子の組み合わせにより、制御データと同様に行う。
【0033】
図2は、実施の形態におけるPPI1の要部ブロック図である。図1に示される4つのポート群、即ち、第1ポートPA7〜PA0、第2ポートPB7〜PB0、第3ポートの上位PC7〜PC4および第3ポートの下位PC3〜PC0の各々に対して、各ポート群を入力ポート及び出力ポートのいずれかに設定するための各入出力設定用端子CD1〜CD4に対して、それぞれ入力ポート及び出力ポートのポート設定信号を個別に与えるポート設定用デコーダ7が外付けで設けられている。
【0034】
PPI1の動作は、ポート設定用デコーダ7から出力される入力ポート及び出力ポートのポート設定信号A〜Dにより固定的に決定され、PPI1の各ポート(第1ポートPA7〜PA0、第2ポートPB7〜PB0、第3ポートの上位4ビットPC7〜PC4及び第3ポートの下位4ビットPC3〜PC0)を単純に入力ポートあるいは出力ポートとして使用する。
【0035】
ポート設定信号A〜Dは、プルアップされたハイレベル信号またはプルダウンされたローレベル信号のいずれかであり、4つのポート群の各々の入出力設定用端子CD1〜CD4に常時入力される。なお、ポート設定用信号がハイレベルである場合には、ポートが入力に設定され、ポート設定用信号がローレベルである場合には、ポートが出力に設定される。
【0036】
例えば、第1ポートPA7〜PA0を入力ポート、第2ポートPB7〜PB0を出力ポート、第3ポートの上位4ビットPC7〜PC4を出力ポート、第3ポートの下位4ビットPC3〜PC0を入力ポートとして使用する場合のポート設定用デコーダ7のポート設定信号は、ポート設定信号Aをハイレベル、ポート設定信号Bをローレベル、ポート設定信号Cをローレベル及びポート設定信号Dをハイレベルとすることにより実現される。
【0037】
このように、PPI1の4つのポート群、即ち、第1ポートPA7〜PA0、第2ポートPB7〜PB0、第3ポートの上位4ビットPC7〜PC4、第3ポートの下位4ビットPC3〜PC0の各々に対する入力ポート及び出力ポートのいずれかの設定は、CPUにより周期的にCPUからデータ出力されたコントロールワードをPPIのコマンドレジスタに書き込むことは行わないで、各ポート群毎にポート設定用デコーダ7からハード的にポート設定信号A〜Dを常時与えることにより、各ポート群の入出力の設定を行うため、静電ノイズのためにコントロールワードが書き変わるという現象が回避でき、ポート群の入出力の誤設定に起因したパチンコ機の誤動作が有効に防止できる。
【0038】
また、CPUとPPI1との間でハンドシェイク相互通信が認められなくともよいという効果を奏する。
【0039】
【発明の効果】
本発明のパチンコ機の入出力制御装置は、複数のポート群の各々に対して、各ポート群を入力ポート及び出力ポートのいずれかに設定するための入出力設定用端子をそれぞれ設け、各入出力設定用端子に対してそれぞれ入力ポート及び出力ポートの設定信号を個別に与えるデコーダを外付けで設けたことにより、複数のポート群の各々に対する入力ポート及び出力ポートのいずれかの設定は、CPUにより周期的にCPUからデータ出力されたコントロールワードをPPIのコマンドレジスタに書き込むことは行わないで、各ポート群毎にデコーダからハード的にポート設定信号を常時与えることにより、各ポート群の入出力の設定を行うため、静電ノイズのためにコントロールワードが書き変わるという現象が回避でき、ポート群の入出力の誤設定に起因したパチンコ機の誤動作が有効に防止できる。
【0040】
また、CPUとPPIとの間でハンドシェイク相互通信が認められなくともよいという効果を奏する。
【図面の簡単な説明】
【図1】本発明の実施の形態に係わるパチンコ機の入出力制御装置の外観を示す平面図
【図2】実施の形態における入出力制御装置の要部ブロック図
【図3】従来のパチンコ機の入出力制御装置の外観を示す平面図
【図4】従来の入出力制御装置の要部ブロック図
【図5】従来の入出力制御装置に対するモード設定用のコントロールデータの構成を示す図
【図6】従来の入出力制御装置に対するビット・セット/リセット用のコントロールデータの構成を示す図
【符号の説明】
1 入出力制御装置
2 データバスバッファ
3 制御ロジック
4 グループA制御
5 グループB制御
6 コマンドレジスタ
7 ポート設定用デコーダ
PA7〜PA0 第1ポート
PB7〜PB0 第2ポート
PC7〜PC0 第3ポート
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a control device in a pachinko machine and relates to an input / output interface.
[0002]
[Prior art]
In a pachinko machine, a central processing unit (hereinafter referred to as a CPU) that drives and controls each driving element and each detecting means arranged in the pachinko machine, a ROM that stores a control program related to a pachinko game, and various data necessary for each control process A control device having a RAM for performing reading and writing is provided. A programmable input / output interface (hereinafter referred to as PPI) is connected to the CPU so that the CPU can smoothly and synchronously output drive signals to the drive elements and input detection signals from the detection means. Inputs a detection signal from each detection means via an input / output interface, and outputs a drive signal to each drive element.
[0003]
FIG. 3 is a plan view showing the appearance of a conventional PPI 1a. The PPI 1a is provided with a total of 40 pins. D0 to D7 are connected to the data bus. A reset signal is input to RESET. CS is a chip select terminal. RD is a read signal input terminal. WR is a write signal input terminal. A0 and A1 are input terminals for port selection. The operating voltage 5V of PPI 1a is applied to the Vcc terminal, and the GND terminal is the ground of 0V. PA0 to PA7 are first ports, PB0 to PB7 are second ports, and PC0 to PC7 are third ports.
[0004]
FIG. 4 is a principal block diagram of the PPI 1a. D7 to D0 are bidirectional buses connected to the data bus of the CPU, and are connected to the 8-bit internal data bus of the PPI 1a through the data bus buffer 2. D7 to D0 are used for writing control data at the time of initialization, and for transferring data between the input / output port and the CPU data bus.
[0005]
The control logic 3 is a part for transferring data and control words (data for initialization), and includes the CPU address bus output (A0, A1, CS), control bus output (RD, WR), and reset (RESET). Each signal is received and two control groups inside the PPI 1a are commanded.
[0006]
CS is a chip select terminal, and PPI 1a is selected when the input is at a low level, and exchange with the CPU is possible. When the input is at a high level, the data bus is in a high impedance state and is disconnected from the CPU. It becomes a state. At this time, the previously output data is held in the output port. When a plurality of I / O ports are used, a selection signal is given to the CS terminal from the address decoder.
[0007]
The RD is a read signal input terminal, and transfers data input to the port of the PPI 1a to the CPU when the input is at a low level. When controlled by the RD signal of the CPU and connected to the CPU, a signal generated in combination with an IORQ (I / O request) signal output when the CPU executes the IN and OUT instructions is given.
[0008]
WR is a write signal input terminal, and when the input is at a low level, data or a control word is written from the CPU to the PPI 1a. When connecting to the CPU in the same manner as the RD input, a signal made in combination with an IORQ (I / O request) signal is given.
[0009]
A0 and A1 are terminals for port selection input, and are used to select the first port, the second port, the third port and the command register, and are normally connected to the lower 2 bits of the CPU address bus. . Together with the CS input, each PPI port and command register address are determined. This relationship is shown in Table 1.
[0010]
[Table 1]
The RESET terminal is an input terminal for resetting the PPI 1a, and performs a power-on reset when the power is turned on.
[0011]
The group A control 4 and the group B control 5 receive the control word of the internal data bus in response to a command from the control logic, and issue a command to each port. Actually, the function of each port is determined by writing a control word in the command register 6. Note that the command register 6 is only writable and reading is prohibited.
[0012]
The eight data bits of the first ports PA7 to PA0 operate as latches at output, latches and buffers at input, or bidirectional buses, respectively. The eight data bits of the second ports PB7 to PB0 operate as a latch at the time of output, a latch at the time of input, and a buffer, respectively, as in the first port, but do not perform a bidirectional operation.
[0013]
The third ports PC7 to PC0 operate as an output latch and an input buffer. The third ports PC7 to PC0 have functions different from those of the first ports PA7 to PA0 and the second ports PB7 to PB0. In mode 0, the third ports PC7 to PC0 operate as a latch at the time of output and operate as a buffer at the time of input. PC4 and lower 4 bits PC3 to PC0 can be divided and designated as input or output ports. Further, it is also used as a control signal for the first port and the second port.
[0014]
When the third ports PC7 to PC0 are designated as output ports, any one of the 8 bits can be set (high level) or reset (low level) by a control word from the CPU. The execution method of this bit set and bit reset is the same as that in the case of mode set (initialization), but the control word is different. This function is also used for setting and resetting INTE (interrupt enable flag) in mode 1 and mode 2.
[0015]
There are three modes of operation of the PPI 1a: mode 0, mode 1 and mode 2. In mode 0, each port (first port, second port, upper 4 bits of the third port and lower 4 bits of the third port) of the PPI 1a is simply used as an input port or an output port. Mode 1 is a mode for inputting and outputting data while knowing and checking the state of the external device. The first port and the second port are used for data input / output, and the third port is used for each control signal. Mode 2 can only be used for the first port and operates as an 8-bit bidirectional bus port.
[0016]
As shown in Table 1, the mode setting of PP I 1a is performed by writing data with both the A1 terminal and the A0 terminal set to “1”. Since the A1 terminal and the A0 terminal are normally connected to the lower two bits of the address bus of the CPU, they are executed by a write command for a specific address in terms of software.
[0017]
When mode setting is performed, the value of bit 7 of the control word to be written is set to 1, and data for actual mode setting is performed by seven bits of bit 6 to bit 0 (see FIG. 5). In writing with bit 7 of the control word set to 0, when the third ports PC7 to PC0 become control signals in mode 1 or mode 2, these signals are set / reset (see FIG. 6).
[0018]
Further, as shown in Table 1, data reading / writing with respect to the port is performed in the same manner as the control data by combining the A1 terminal and the A0 terminal of the PPI 1a.
[0019]
In the PPI 1a configured as described above, the frequency of use in mode 0 is the highest in pachinko machines, and the control word to be written to the command register on the PPI 1a side is switched by the CPU side input / output port switching setting program. ing. Table 2 shows control words for setting mode 0. In Table 2, the output indicates an output port, and the input indicates an input port.
[0020]
[Table 2]
On the CPU side, the input / output port switching setting program is executed every time a reset signal is input to the CPU. In the processing of the input / output port switching setting program, all ports are first input. The port is set again, and then the output port is set sequentially. For this reason, every time a reset signal is input to the CPU, the input / output ports are periodically set to the PPI 1a. However, the PPI 1a has a very low electrostatic noise withstand voltage, and the control word is static. The problem of rewriting due to noise sometimes occurred.
[0021]
[Problems to be solved by the invention]
An object of the present invention is not to write a control word to the command register of the PPI by the CPU, but instead to set input / output of each port group by giving a setting signal to each port group in hardware. It is to provide an input / output control device for a pachinko machine capable of performing the above.
[0022]
[Means for Solving the Problems]
An input / output control device for a pachinko machine according to the present invention is an input / output control device including a plurality of port groups that can be set to either an input port or an output port in order to solve the above problem.
The input / output control device is provided with an input / output setting terminal for inputting a setting signal for setting each of the plurality of port groups to either an input port or an output port,
Separately for the input and output setting pin, provided with an external decoder for setting the setting signal is either pulled-up high-level signal or pulldown processed low-level signal, the entering-output controller ,
The operation of the input / output control device is fixedly determined by the setting signal given in hardware, instead of using a control word by a program for input / output port switching setting.
[0023]
The decoder individually gives a setting signal to an input / output setting terminal that sets each of a plurality of port groups provided in the input / output control device of the pachinko machine as either an input port or an output port. The setting signal is either a pulled up high level signal or a pulled down low level signal, and is always input to the input / output setting terminals of each of the plurality of port groups. The control word periodically output from the CPU by the processing of the CPU is not written to the command register of the PPI, but a setting signal is always given in hardware from the decoder for each port group. Since the input / output setting is performed, the phenomenon that the control word is rewritten due to electrostatic noise can be avoided, and the malfunction of the pachinko machine due to the incorrect input / output setting of the port group can be effectively prevented.
[0024]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a plan view showing an external appearance of an input / output device of a pachinko machine according to an embodiment of the present invention. The input / output device (hereinafter referred to as PPI) 1 has terminals of the conventional input / output device 1a shown in FIG. 3, that is, RD, CS, GND, A0, A1, Vcc, WR, RESET, D7˜ In addition to the four port groups PA7 to PA0, PB7 to PB0, PC7 to PC4, and PC3 to PC0 that can be set to D0 and any of the input and output ports, four port groups PA7 to PA0, PB7 to Input / output setting terminals CD1 to CD4 for setting each port group as either an input port or an output port are attached to each of PB0, PC7 to PC4, and PC3 to PC0.
[0025]
CD1 is an input / output setting terminal for the first ports PA7 to PA0, CD2 is an input / output setting terminal for the second ports PB7 to PB0, and CD3 is a higher rank of the third ports PC7 to PC0. An input / output setting terminal for PC7 to PC4 composed of 4 bits, and CD4 is an input / output setting terminal for PC3 to PC0 composed of lower 4 bits of the third ports PC7 to PC0.
[0026]
As in the conventional input / output device 1a shown in FIG. 3, the RD terminal is a read signal input terminal, and when the input is at a low level, the data input to the port of the PPI 1 is omitted from the CPU (not shown). ). When controlled by the RD signal of the CPU and connected to the CPU, a signal generated in combination with an IORQ (I / O request) signal output when the CPU executes the IN and OUT instructions is given.
[0027]
The WR terminal is a write signal input terminal, and when the input is at a low level, data or a control word is written from the CPU to PPI1. When connecting to the CPU in the same manner as the RD input, a signal made in combination with an IORQ (I / O request) signal is given.
[0028]
The CS terminal is a chip select terminal, and when the input is at a low level, PPI1 is selected and can communicate with the CPU. When the input is at a high level, the data bus is in a high impedance state and is disconnected from the CPU. It becomes a state. At this time, the previously output data is held in the output port. When a plurality of I / O ports are used, a selection signal is given to the CS terminal from the address decoder.
[0029]
The operating voltage 5V of PPI1 is applied to the Vcc terminal, and the GND terminal is the ground of 0V.
[0030]
The D7 to D0 terminals are bidirectional buses connected to the data bus, and are connected to the 8-bit internal data bus of PPI1 through the data bus buffer 2. D7 to D0 are used for writing control data at the time of initialization, and for transferring data between the input / output port and the CPU data bus. RESET is an input terminal for resetting PPI1, and performs a power-on reset when the power is turned on.
[0031]
The A0 terminal and the A1 terminal are input terminals for port selection, and the first port PA7 to PA0, the second port PB7 to PB0, the upper PC7 to PC4 of the third port, and the lower PC3 to PC0 of the third port are selected. Normally, it is connected to the lower 2 bits of the address bus of the CPU. The address of each port of PPI1 is determined together with the CS input. This relationship is shown in Table 3.
[0032]
[Table 3]
Further, as shown in Table 3, data reading / writing with respect to the port is performed in the same manner as the control data by combining the A1 terminal and the A0 terminal of PPI1.
[0033]
FIG. 2 is a principal block diagram of the PPI 1 in the embodiment. For each of the four port groups shown in FIG. 1, ie, the first port PA7 to PA0, the second port PB7 to PB0, the upper PC7 to PC4 of the third port, and the lower PC3 to PC0 of the third port, A port setting decoder 7 is provided to individually provide port setting signals for the input port and the output port for each of the input / output setting terminals CD1 to CD4 for setting the port group to either the input port or the output port. It is provided as a supplement.
[0034]
The operation of the PPI 1 is fixedly determined by the port setting signals A to D of the input port and the output port output from the port setting decoder 7, and each port of the PPI 1 (first port PA7 to PA0, second port PB7 to PB0, the upper 4 bits PC7 to PC4 of the third port, and the lower 4 bits PC3 to PC0 of the third port) are simply used as input ports or output ports.
[0035]
The port setting signals A to D are either a pulled up high level signal or a pulled down low level signal, and are always input to the input / output setting terminals CD1 to CD4 of each of the four port groups. When the port setting signal is at a high level, the port is set to input, and when the port setting signal is at a low level, the port is set to output.
[0036]
For example, the first ports PA7 to PA0 are input ports, the second ports PB7 to PB0 are output ports, the upper 4 bits PC7 to PC4 of the third port are output ports, and the lower 4 bits PC3 to PC0 of the third port are input ports. When used, the port setting signal of the port setting decoder 7 is obtained by setting the port setting signal A to the high level, the port setting signal B to the low level, the port setting signal C to the low level, and the port setting signal D to the high level. Realized.
[0037]
Thus, the four port groups of PPI1, that is, each of the first port PA7 to PA0, the second port PB7 to PB0, the upper 4 bits PC7 to PC4 of the third port, and the lower 4 bits PC3 to PC0 of the third port The setting of either the input port or the output port is not performed by periodically writing the control word data output from the CPU by the CPU to the command register of the PPI, but from the port setting decoder 7 for each port group. By constantly providing port setting signals A to D in hardware, the input / output setting of each port group is performed, so that the phenomenon that the control word is rewritten due to electrostatic noise can be avoided. It is possible to effectively prevent the malfunction of the pachinko machine due to the incorrect setting.
[0038]
Further, there is an effect that handshake mutual communication does not have to be recognized between the CPU and the PPI 1.
[0039]
【The invention's effect】
The input / output control device for a pachinko machine according to the present invention is provided with input / output setting terminals for setting each port group as either an input port or an output port for each of a plurality of port groups. By providing an external decoder for individually providing input port and output port setting signals to the output setting terminals, any of the input ports and output ports for each of the plurality of port groups can be set by the CPU. The control word output from the CPU periodically is not written to the command register of the PPI, and the port setting signal is always provided from the decoder for each port group in a hardware manner, so that the input / output of each port group is performed. Because of this setting, the phenomenon that the control word is rewritten due to electrostatic noise can be avoided. Malfunction of pachinko machines due to erroneous setting can be effectively prevented.
[0040]
In addition, there is an effect that the handshake mutual communication does not have to be recognized between the CPU and the PPI.
[Brief description of the drawings]
FIG. 1 is a plan view showing an external appearance of an input / output control device for a pachinko machine according to an embodiment of the present invention. FIG. 2 is a block diagram of a main part of the input / output control device according to the embodiment. FIG. 4 is a block diagram of the main part of the conventional input / output control device. FIG. 5 is a diagram showing the configuration of control data for mode setting for the conventional input / output control device. 6 is a diagram showing the configuration of bit set / reset control data for a conventional input / output control device.
DESCRIPTION OF SYMBOLS 1 Input / output controller 2 Data bus buffer 3 Control logic 4 Group A control 5 Group B control 6 Command register 7 Port setting decoder PA7-PA0 1st port PB7-PB0 2nd port PC7-PC0 3rd port

Claims (1)

入力ポート及び出力ポートのいずれかに設定が可能である複数のポート群を備えた入出力制御装置において、
前記入出力制御装置には、複数のポート群を各々入力ポート及び出力ポートのいずれかに設定するための設定信号を入力する入出力設定用端子が設けられ、
前記入出力設定用端子に対して個別に、プルアップされたハイレベル信号、またはプルダウンされたローレベル信号のいずれかである前記設定信号を設定するデコーダを前記入出力制御装置に外付けで設け、
前記入出力制御装置の動作は、入出力ポート切換設定用のプログラムによるコントロールワードの使用に代えて、ハード的に与えられる前記設定信号により固定的に決定されることを特徴とする、
パチンコ機における入出力制御装置。
In the input / output control device having a plurality of port groups that can be set to either the input port or the output port,
The input / output control device is provided with an input / output setting terminal for inputting a setting signal for setting each of the plurality of port groups to either an input port or an output port,
A decoder for setting the setting signal, which is either a pulled-up high level signal or a pulled-down low level signal, is provided externally to the input / output control device for the input / output setting terminal. ,
The operation of the input / output control device is fixedly determined by the setting signal given in hardware, instead of using a control word by a program for switching an input / output port.
Input / output control device for pachinko machines.
JP04558996A 1996-02-08 1996-02-08 Input / output control device for pachinko machines Expired - Fee Related JP3849035B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04558996A JP3849035B2 (en) 1996-02-08 1996-02-08 Input / output control device for pachinko machines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04558996A JP3849035B2 (en) 1996-02-08 1996-02-08 Input / output control device for pachinko machines

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2006174179A Division JP2006247432A (en) 2006-06-23 2006-06-23 Input / output control device for pachinko machines

Publications (2)

Publication Number Publication Date
JPH09215837A JPH09215837A (en) 1997-08-19
JP3849035B2 true JP3849035B2 (en) 2006-11-22

Family

ID=12723547

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04558996A Expired - Fee Related JP3849035B2 (en) 1996-02-08 1996-02-08 Input / output control device for pachinko machines

Country Status (1)

Country Link
JP (1) JP3849035B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5320577B2 (en) * 2008-05-07 2013-10-23 株式会社ソフイア Game machine

Also Published As

Publication number Publication date
JPH09215837A (en) 1997-08-19

Similar Documents

Publication Publication Date Title
US6806730B2 (en) Method and system for use of an embedded field programmable gate array interconnect for flexible I/O connectivity
US20030107398A1 (en) Method and system for use of a field programmable interconnect within an asic for configuring the asic
US6430719B1 (en) General port capable of implementing the JTAG protocol
US4250547A (en) Information processing apparatus capable of effecting parallel processings by using a divided common bus
US5423029A (en) Circuit and method for testing direct memory access circuitry
JP3157932B2 (en) Interface circuit for IC card
US5923894A (en) Adaptable input/output pin control
JPH0472271B2 (en)
JP3849035B2 (en) Input / output control device for pachinko machines
US7146442B2 (en) Motherboard having a non-volatile memory which is reprogrammable through a video display port
JPS60220445A (en) Redundant memory array
EP1423848B1 (en) Independent asynchronous boot block for synchronous non-volatile memory devices
EP0633529B1 (en) Emulation system for microcomputer
US5274766A (en) Universal keyboard and keyboard/spatial input device controller
JP2006247432A (en) Input / output control device for pachinko machines
CN112037831B (en) Processing chip, chip system and operation method thereof
US5347641A (en) Page register with a don't care function
JPH04360095A (en) Semiconductor memory
RU2039374C1 (en) Programming interface unit having high workload
JP3204308B2 (en) Microcomputer and test method thereof
KR100443147B1 (en) Apparatus for address processing in system on chip
KR20050060715A (en) Apparatus for initialization of microprocessor
JPH0329199A (en) Semiconductor memory
US20020007263A1 (en) Apparatus for supporting microprocessor development system
JPH06103106A (en) Program debug device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051018

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060425

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060626

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060725

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060807

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090908

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120908

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120908

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120908

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120908

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150908

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees