JP5685489B2 - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP5685489B2
JP5685489B2 JP2011121880A JP2011121880A JP5685489B2 JP 5685489 B2 JP5685489 B2 JP 5685489B2 JP 2011121880 A JP2011121880 A JP 2011121880A JP 2011121880 A JP2011121880 A JP 2011121880A JP 5685489 B2 JP5685489 B2 JP 5685489B2
Authority
JP
Japan
Prior art keywords
power
command
register
transmission data
transmission
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.)
Active
Application number
JP2011121880A
Other languages
Japanese (ja)
Other versions
JP2012245328A (en
Inventor
谷川 義和
義和 谷川
智裕 久保田
智裕 久保田
純也 杉山
純也 杉山
暢 西澤
暢 西澤
Original Assignee
株式会社オリンピア
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 株式会社オリンピア filed Critical 株式会社オリンピア
Priority to JP2011121880A priority Critical patent/JP5685489B2/en
Publication of JP2012245328A publication Critical patent/JP2012245328A/en
Application granted granted Critical
Publication of JP5685489B2 publication Critical patent/JP5685489B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Slot Machines And Peripheral Devices (AREA)

Description

この発明は、メイン基板からサブ基板へ送るコマンドによる通信機能を備えるスロットマシンなどの遊技機に関する。   The present invention relates to a gaming machine such as a slot machine having a communication function by a command sent from a main board to a sub board.

従来から外周面に図柄が配列された複数の回胴を備えた遊技機(回胴式遊技機、スロットマシン)が知られている。この種の遊技機は、遊技媒体(メダル)に対して一定の遊技価値を付与し、このような遊技媒体を獲得するための遊技を行うものである。また、この種の遊技機は、遊技者の回転開始操作を契機として、内部抽選を行うとともに複数の回胴の回転を開始させ、遊技者の停止操作契機として、内部抽選の結果に応じた態様で複数の回胴を停止させる制御を行っている。そして、遊技の結果は、複数の回胴が停止した状態における入賞判定ライン上に表示された図柄組合せによって判定され、遊技の結果に応じてメダル等の払い出しなどが行われる。   2. Description of the Related Art Conventionally, a gaming machine (a spinning machine, slot machine) having a plurality of spinning cylinders having symbols arranged on an outer peripheral surface is known. This type of gaming machine gives a certain game value to a game medium (medal) and performs a game for acquiring such a game medium. In addition, this type of gaming machine has an internal lottery triggered by the player's rotation start operation and starts rotation of a plurality of spinning cylinders, and a mode according to the result of the internal lottery as a player's stop operation trigger. In order to stop multiple cylinders. The game result is determined by the symbol combination displayed on the winning determination line in a state where the plurality of spinning cylinders are stopped, and medals are paid out according to the game result.

遊技機は、内部抽選処理を含む遊技に係る制御を実行するとともに予め定められたコマンドを生成して送信するメイン基板と、前記コマンドを受けてこれに基づき所定の処理を実行するサブ基板と、サブ基板により制御される液晶表示装置などの演出手段とを備える。メイン基板は、サブ基板へ、メダルの投入やベットボタン操作、スタートレバー操作、ストップボタン操作などの各種遊技操作を行ったときにコマンドを送信するとともに、内部抽選の結果を報知したり各種演出を行うときにもコマンドを送信する。   The gaming machine executes a control related to the game including the internal lottery process and generates and transmits a predetermined command, a sub board that receives the command and executes a predetermined process based on the command, And rendering means such as a liquid crystal display device controlled by the sub-board. The main board sends commands to the sub-board when various game operations such as medal insertion, bet button operation, start lever operation, stop button operation, etc., and informs the result of the internal lottery and provides various effects. Also send commands when doing.

特開平7−001795号公報JP 7-001795 A

メイン基板からサブ基板へのコマンド送信はシリアル伝送で行われている。このため、生成したコマンドを一度バッファ(レジスタ)に格納し、そこからシフトレジスタへ送ってパラレル−シリアル変換を行っている。CPUで直接コマンドをシフトレジスタに書き込むようにすると、シフトレジスタの動作中は書き込みができないためにCPUが待たされることになり処理効率が悪くなる。このためバッファが使用されている。このバッファの入力側はCPUの制御を受け、出力側はシフトレジスタに接続されているが、両者の動作は同期していない。書き込みと読み出しが同期していないときに用いられるバッファとしてFIFO(First In First Out)がある。これは書き込まれたデータを書き込まれた順番で順次読み出すことのできるバッファであり、同期していないサブシステムの間でデータをやり取りする際にしばしば使用されるものである。FIFOは、メイン基板からサブ基板へのコマンド送信のためのバッファ用のデバイスとして好適なものである。   Command transmission from the main board to the sub board is performed by serial transmission. For this reason, the generated command is once stored in a buffer (register) and then sent to the shift register to perform parallel-serial conversion. If the command is directly written to the shift register by the CPU, the CPU cannot wait during the operation of the shift register, so that the CPU waits and the processing efficiency deteriorates. For this reason, a buffer is used. Although the input side of this buffer is controlled by the CPU and the output side is connected to the shift register, the operations of both are not synchronized. There is a FIFO (First In First Out) as a buffer used when writing and reading are not synchronized. This is a buffer that can sequentially read out written data in the order of writing, and is often used when data is exchanged between subsystems that are not synchronized. The FIFO is suitable as a buffer device for command transmission from the main board to the sub board.

ところで、遊技機では、クリアボタンを押さずに電源投入したときは、電源断直前の状態に復帰するようになっている。すなわち、電源をオンオフしても当選フラグなどの遊技機の状態は変わらない。   By the way, in the gaming machine, when the power is turned on without pressing the clear button, the state immediately before the power is turned off is restored. That is, even if the power is turned on / off, the state of the gaming machine such as the winning flag does not change.

しかし、電源断によりコマンド送信用のバッファ(FIFO)の内容は失われ、それがバックアップされることはない。RAMなどのメモリのデータであれば、電源断となってから実際に電源電圧が低下してCPUの動作が停止するまでの間にバックアップされ、電源投入時にバックアップされたデータをメモリに展開することで電源断直前の状態に復帰できるが、コマンド送信用のバッファ(FIFO)についてはそのようなことは行われない。一般的に、FIFOは入力端と出力端の2つの端子しか備えず、FIFO内部の複数のレジスタ(ラッチ)それぞれのデータをバックアップする手段を備えていない。このため、メイン基板からサブ基板への送信コマンドについてはバックアップされておらず、電源オフによりコマンドは失われる。従来の遊技機では、コマンドに関しては電源断直前の状態に復帰することができなかった。   However, the contents of the command transmission buffer (FIFO) are lost due to the power interruption, and are not backed up. If it is data in a memory such as RAM, it is backed up after the power is turned off until the power supply voltage actually drops and the operation of the CPU stops, and the backed up data when the power is turned on is developed in the memory In this case, the state immediately before the power-off can be restored, but this is not done for the command transmission buffer (FIFO). In general, the FIFO has only two terminals, an input end and an output end, and does not have means for backing up data of each of a plurality of registers (latches) in the FIFO. For this reason, the transmission command from the main board to the sub board is not backed up, and the command is lost when the power is turned off. In the conventional gaming machine, the command cannot be restored to the state immediately before the power is turned off.

この発明は、コマンド送信用のバッファについても電源断時のバックアップを行うことのできる遊技機を提供することを目的とする。   An object of the present invention is to provide a gaming machine capable of performing backup at the time of power-off for a command transmission buffer.

この発明は、予め定められたコマンドを送信するコマンド送信部を含み、内部抽選処理を含む遊技に係る制御を実行するとともに前記コマンドを生成して送信するメイン基板と、前記コマンドを受けてこれに基づき予め定められた処理を実行するサブ基板とを備える遊技機において、
前記コマンド送信部は、送信する前記コマンドを受け入れるコマンドレジスタと、受け入れた順番で複数の前記コマンドを記憶するとともに、受け入れた順番に従って出力する送信データレジスタと、前記送信データレジスタから前記コマンドの出力を受けてこれを前記サブ基板へ送信する送信用シフトレジスタと、前記送信データレジスタのデータを読み出す送信データレジスタ読出部と、前記送信データレジスタ読出部により読み出したデータを記憶する電源断退避データメモリと、前記送信データレジスタ読出部と前記電源断退避データメモリを制御する制御部と、電源断を検知する電源断検知部と、電源投入を検知する電源投入検知部とを備え、
前記電源断退避データメモリは、電源断でも記憶しているデータが失われることのない記憶装置であり、
前記制御部は、
前記電源断検知部により電源断を検知したとき、前記送信データレジスタ読出部により前記送信データレジスタのデータを読み出し、
前記送信データレジスタ読出部により読み出したデータを前記電源断退避データメモリに記憶し、
前記電源投入検知部により電源投入を検知したとき、前記電源断退避データメモリからデータを読み出し、
読み出したデータを送信すべきコマンドとして前記コマンドレジスタにセットする、ものである。
The present invention includes a command transmission unit that transmits a predetermined command, executes a control related to a game including an internal lottery process, and generates and transmits the command, and receives and receives the command. In a gaming machine comprising a sub-board that executes a predetermined process based on
The command transmission unit stores a command register that receives the command to be transmitted, stores a plurality of the commands in the received order, and outputs a command from the transmission data register that outputs the command in accordance with the received order. A transmission shift register for receiving and transmitting the data to the sub-board, a transmission data register reading unit for reading data in the transmission data register, and a power-off saving data memory for storing data read by the transmission data register reading unit; A control unit that controls the transmission data register reading unit and the power-off saving data memory, a power-off detection unit that detects power-off, and a power-on detection unit that detects power-on,
The power-off saving data memory is a storage device that does not lose data stored even when the power is turned off,
The controller is
When the power-off detection unit detects a power-off, the transmission data register reading unit reads the data in the transmission data register,
Storing the data read by the transmission data register reading unit in the power-off saving data memory;
When power-on is detected by the power-on detector, data is read from the power-off save data memory,
The read data is set in the command register as a command to be transmitted.

前記送信データレジスタは、それぞれ前記コマンドを記憶する複数のレジスタと、前記複数のレジスタに記憶された前記コマンドの出力の順番を指定するための読出ポインタと、前記読出ポインタの出力に従って前記複数のレジスタのいずれかを選択し、選択されたレジスタの前記コマンドを前記送信用シフトレジスタへ出力する第1セレクタとを備え、
前記送信データレジスタ読出部は、前記複数のレジスタのいずれかを選択し、選択したレジスタの前記コマンドを出力する第2セレクタを含み、
前記制御部は、前記送信データレジスタの前記読出ポインタの内容を読み出せるように構成され、
前記制御部は、
前記送信データレジスタのデータを読み出すとき、前記読出ポインタを参照して前記コマンドの出力の順番を取得し、これに従って前記第2セレクタにより前記複数のレジスタのいずれかを選択し、選択したレジスタの前記コマンドを前記電源断退避データメモリに順番に書き込み、
前記電源投入検知部により電源投入を検知したとき、前記電源断退避データメモリから前記コマンドをその書き込んだ順番で読み出して前記コマンドレジスタにセットする、ようにしてもよい。
The transmission data register includes a plurality of registers each storing the command, a read pointer for designating an output order of the commands stored in the plurality of registers, and the plurality of registers according to the output of the read pointer And a first selector that outputs the command of the selected register to the transmission shift register,
The transmission data register reading unit includes a second selector that selects any of the plurality of registers and outputs the command of the selected register;
The control unit is configured to be able to read the content of the read pointer of the transmission data register,
The controller is
When reading the data of the transmission data register, the output order of the command is obtained with reference to the read pointer, and according to this, one of the plurality of registers is selected by the second selector, and the selected register Write commands to the power-off save data memory in order,
When the power-on detection unit detects power-on, the commands may be read from the power-off save data memory in the order of writing and set in the command register.

前記送信データレジスタは、それぞれ前記コマンドを記憶する複数のレジスタと、前記複数のレジスタに記憶された前記コマンドの出力の順番を指定するための読出ポインタと、前記読出ポインタの出力に従って前記複数のレジスタのいずれかを選択し、選択されたレジスタの前記コマンドを前記送信用シフトレジスタへ出力する第1セレクタとを備え、
前記送信データレジスタ読出部は、前記複数のレジスタのいずれかを選択し、選択したレジスタの前記コマンドを出力する第2セレクタを含み、
前記制御部は、前記送信データレジスタの前記読出ポインタの内容を読み出せるように構成され、
前記制御部は、
前記送信データレジスタのデータを読み出すとき、前記第2セレクタにより前記複数のレジスタのいずれかを選択して読み出すとともに、前記読出ポインタの内容を読み出してこれに基づき読み出した前記コマンドの順番を判定し、読み出した前記コマンドと前記コマンドの順番を組にして前記電源断退避データメモリに書き込み、
前記電源投入検知部により電源投入を検知したとき、前記電源断退避データメモリの前記順番を調べ、当該順番に従って前記コマンドを読み出して前記コマンドレジスタにセットする、ようにしてもよい。
The transmission data register includes a plurality of registers each storing the command, a read pointer for designating an output order of the commands stored in the plurality of registers, and the plurality of registers according to the output of the read pointer And a first selector that outputs the command of the selected register to the transmission shift register,
The transmission data register reading unit includes a second selector that selects any of the plurality of registers and outputs the command of the selected register;
The control unit is configured to be able to read the content of the read pointer of the transmission data register,
The controller is
When reading the data of the transmission data register, the second selector selects and reads one of the plurality of registers, reads the contents of the read pointer and determines the order of the commands read based on the read pointer, Write the read command and the order of the command as a set to the power-off save data memory,
When power-on is detected by the power-on detection unit, the order of the power-off / save data memory may be checked, and the command may be read and set in the command register according to the order.

前記送信データレジスタは、それぞれ前記コマンドを記憶する複数のレジスタと、前記複数のレジスタに記憶された前記コマンドの出力の順番を指定するための読出ポインタと、前記読出ポインタの出力に従って前記複数のレジスタのいずれかを選択し、選択されたレジスタの前記コマンドを前記送信用シフトレジスタへ出力する第1セレクタとを備え、
前記送信データレジスタ読出部は、前記送信データレジスタの前記複数のレジスタそれぞれに対応する退避用レジスタを複数備え、
前記制御部は、前記送信データレジスタの前記読出ポインタの内容を読み出せるように構成され、
前記制御部は、
前記送信データレジスタのデータを読み出すとき、前記送信データレジスタ読出部により読み出したデータを前記電源断退避データメモリに記憶することに代えて、前記送信データレジスタの前記複数のレジスタのデータを前記複数の退避用レジスタへそれぞれ転送し、
前記読出ポインタの内容を前記電源断退避データメモリに記憶し、
前記電源投入検知部により電源投入を検知したとき、前記電源断退避データメモリに記憶された前記読出ポインタの内容を読み出してこれに基づき退避した前記コマンドの順番を判定し、当該順番に従って前記複数の退避用レジスタから前記コマンドを読み出して前記コマンドレジスタにセットする、ようにしてもよい。
The transmission data register includes a plurality of registers each storing the command, a read pointer for designating an output order of the commands stored in the plurality of registers, and the plurality of registers according to the output of the read pointer And a first selector that outputs the command of the selected register to the transmission shift register,
The transmission data register reading unit includes a plurality of save registers corresponding to the plurality of registers of the transmission data register,
The control unit is configured to be able to read the content of the read pointer of the transmission data register,
The controller is
When reading the data of the transmission data register, instead of storing the data read by the transmission data register reading unit in the power-off saving data memory, the data of the plurality of registers of the transmission data register Transfer each to the save register,
Storing the contents of the read pointer in the power-off save data memory;
When power-on is detected by the power-on detector, the contents of the read pointer stored in the power-off save data memory are read out, the order of the saved commands is determined based on the read pointer, and the plurality of commands are determined according to the order. The command may be read from the save register and set in the command register.

この発明は、予め定められたコマンドを送信するコマンド送信部を含み、内部抽選処理を含む遊技に係る制御を実行するとともに前記コマンドを生成して送信するメイン基板と、前記コマンドを受けてこれに基づき予め定められた処理を実行するサブ基板とを備える遊技機において、
前記コマンド送信部は、前記コマンドを受け入れた順番で出力する送信データレジスタと、前記送信データレジスタから前記コマンドの出力を受けてこれを前記サブ基板へ送信する送信用シフトレジスタと、前記送信データレジスタのデータを読み出す送信データレジスタ読出部と、前記送信データレジスタ読出部により読み出したデータを記憶する電源断退避データメモリと、前記送信データレジスタ読出部と前記電源断退避データメモリを制御する制御部と、電源断を検知する電源断検知部と、電源投入を検知する電源投入検知部と、前記電源断退避データメモリのデータを前記送信データレジスタにセットする送信データレジスタ書込部とを備え、
前記電源断退避データメモリは、電源断でも記憶しているデータが失われることのない記憶装置であり、
前記制御部は、
前記電源断検知部により電源断を検知したとき、前記送信データレジスタ読出部により前記送信データレジスタのデータ及びその送信の順番の情報を読み出し、
前記送信データレジスタ読出部により読み出したデータ及びその送信の順番の情報を前記電源断退避データメモリに記憶し、
前記電源投入検知部により電源投入を検知したとき、前記電源断退避データメモリからデータ及びその送信の順番の情報を読み出し、
前記送信データレジスタ書込部により読み出したデータ及びその送信の順番の情報を前記送信データレジスタにセットする、ものである。
The present invention includes a command transmission unit that transmits a predetermined command, executes a control related to a game including an internal lottery process, and generates and transmits the command, and receives and receives the command. In a gaming machine comprising a sub-board that executes a predetermined process based on
The command transmission unit includes a transmission data register that outputs the commands in the order of reception, a transmission shift register that receives the output of the command from the transmission data register and transmits the command to the sub-board, and the transmission data register A transmission data register reading unit for reading data, a power-off saving data memory for storing data read by the transmission data register reading unit, a control unit for controlling the transmission data register reading unit and the power-off saving data memory, A power-off detection unit that detects power-off, a power-on detection unit that detects power-on, and a transmission data register writing unit that sets data in the power-off save data memory in the transmission data register,
The power-off saving data memory is a storage device that does not lose data stored even when the power is turned off,
The controller is
When the power-off detection unit detects a power-off, the transmission data register reading unit reads the data in the transmission data register and information on the order of transmission,
The data read by the transmission data register reading unit and the information of the order of transmission are stored in the power-off save data memory,
When power-on is detected by the power-on detection unit, data and information on the order of transmission are read from the power-off saving data memory,
The data read by the transmission data register writing unit and the information on the order of transmission are set in the transmission data register.

前記送信データレジスタは、それぞれ前記コマンドを記憶する複数のレジスタと、前記複数のレジスタに記憶された前記コマンドの出力の順番を指定するための読出ポインタと、前記読出ポインタの出力に従って前記複数のレジスタのいずれかを選択し、選択されたレジスタの前記コマンドを前記送信用シフトレジスタへ出力する第1セレクタとを備え、
前記送信データレジスタ読出部及び前記送信データレジスタ書込部は、前記送信データレジスタの前記複数のレジスタそれぞれに対応する退避用レジスタを複数備え、
前記制御部は、前記送信データレジスタの前記読出ポインタの内容を読み出せるように構成され、
前記制御部は、
前記送信データレジスタのデータを読み出すとき、前記送信データレジスタ読出部により読み出したデータを前記電源断退避データメモリに記憶することに代えて、前記送信データレジスタの前記複数のレジスタのデータを前記複数の退避用レジスタへそれぞれ転送し、
前記読出ポインタの内容を前記電源断退避データメモリに記憶し、
前記電源投入検知部により電源投入を検知したとき、前記複数の退避用レジスタのデータを前記送信データレジスタの前記複数のレジスタへそれぞれ転送し、
前記電源断退避データメモリから前記読出ポインタの内容を読み出してこれを前記読出ポインタにセットする、ようにしてもよい。
The transmission data register includes a plurality of registers each storing the command, a read pointer for designating an output order of the commands stored in the plurality of registers, and the plurality of registers according to the output of the read pointer And a first selector that outputs the command of the selected register to the transmission shift register,
The transmission data register reading unit and the transmission data register writing unit each include a plurality of save registers corresponding to the plurality of registers of the transmission data register,
The control unit is configured to be able to read the content of the read pointer of the transmission data register,
The controller is
When reading the data of the transmission data register, instead of storing the data read by the transmission data register reading unit in the power-off saving data memory, the data of the plurality of registers of the transmission data register Transfer each to the save register,
Storing the contents of the read pointer in the power-off save data memory;
When the power-on detection unit detects power-on, the data of the plurality of save registers is transferred to the plurality of registers of the transmission data register, respectively.
The contents of the read pointer may be read from the power-off save data memory and set in the read pointer.

この発明によれば、送信データレジスタのデータを読み出す送信データレジスタ読出部と、前記送信データレジスタ読出部により読み出したデータを記憶する電源断退避データメモリと、前記送信データレジスタ読出部と前記電源断退避データメモリを制御する制御部とを備えたので、メイン基板からサブ基板へ送るコマンドに関して電源断時のバックアップを行うことができる。これにより電源断によりコマンドが消滅することがなくなる。   According to the present invention, a transmission data register reading unit that reads data from a transmission data register, a power-off saving data memory that stores data read by the transmission data register reading unit, the transmission data register reading unit, and the power-off Since the control unit for controlling the save data memory is provided, it is possible to back up the command sent from the main board to the sub board when the power is cut off. As a result, the command will not disappear due to power interruption.

前扉を閉めた状態を示すスロットマシンの正面図である。It is a front view of the slot machine which shows the state which closed the front door. 前扉を180度開いた状態を示すスロットマシンの正面図である。It is a front view of the slot machine which shows the state which opened the front door 180 degree | times. スロットマシンのブロック図である。It is a block diagram of a slot machine. 発明の実施の形態に係るコマンド送信部のブロック図である。It is a block diagram of the command transmission part which concerns on embodiment of invention. 遊技機の概略処理フローチャートである。It is a schematic process flowchart of a gaming machine. コマンド送信に係るコマンドセット処理である。This is command set processing related to command transmission. コマンド送信部の動作説明図である。It is operation | movement explanatory drawing of a command transmission part. 発明の実施の形態に係るコマンド送信部の動作説明図である。It is operation | movement explanatory drawing of the command transmission part which concerns on embodiment of invention. 発明の実施の形態に係る電源断処理のフローチャートである。It is a flowchart of the power-off process which concerns on embodiment of invention. 発明の実施の形態に係る状態復帰処理のフローチャートである。It is a flowchart of the state return process which concerns on embodiment of invention. 発明の実施の形態に係る退避データの説明図である。It is explanatory drawing of the save data which concerns on embodiment of invention. 発明の実施の形態に係る他の退避データの説明図である。It is explanatory drawing of the other save data which concerns on embodiment of invention. 発明の実施の形態に係るコマンド送信部の詳細ブロック図である。It is a detailed block diagram of the command transmission part which concerns on embodiment of invention. 発明の実施の形態に係る他のコマンド送信部の詳細ブロック図である。It is a detailed block diagram of the other command transmission part which concerns on embodiment of invention. 発明の実施の形態に係る他のコマンド送信部のブロック図である。It is a block diagram of the other command transmission part which concerns on embodiment of invention. 発明の実施の形態に係る他のコマンド送信部の詳細ブロック図である。It is a detailed block diagram of the other command transmission part which concerns on embodiment of invention.

図1は前扉を閉めた状態を示すスロットマシンの正面図、図2は前扉を180度開いた状態を示すスロットマシンの正面図を示す。
図1及び図2中、100はスロットマシンを示すもので、このスロットマシン100は、図1に示すように、スロットマシン本体120と、このスロットマシン本体120の前面片側にヒンジ等により開閉可能に取り付けられた前扉130とを備えている。前記前扉130の前面には、図1に示すように、ほぼ中央にゲーム表示部131を設け、ゲーム表示部131の右下隅部に、遊技者がメダルを投入するためのメダル投入口132を設け、メダル投入口132の下側には、メダル投入口132から投入され、詰まってしまったメダルをスロットマシン100外に強制的に排出するためのリジェクトボタン133が設けられている。
FIG. 1 is a front view of the slot machine with the front door closed, and FIG. 2 is a front view of the slot machine with the front door opened 180 degrees.
1 and 2, reference numeral 100 denotes a slot machine. As shown in FIG. 1, the slot machine 100 can be opened and closed by a hinge or the like on the slot machine main body 120 and one side of the front surface of the slot machine main body 120. And a front door 130 attached thereto. As shown in FIG. 1, a game display unit 131 is provided substantially in the center of the front door 130, and a medal insertion slot 132 for a player to insert medals is provided at the lower right corner of the game display unit 131. Provided below the medal insertion slot 132 is a reject button 133 for forcibly discharging a clogged medal inserted from the medal insertion slot 132 to the outside of the slot machine 100.

また、前記ゲーム表示部131の左下方には、ゲームを開始するためのスタートスイッチ134を設けてあり、3つの回胴のそれぞれに対応して3つのストップスイッチ140を設けてある。前扉の下端部中央には、メダルの払出し口135を設けてある。前記ゲーム表示部131の上側には、液晶表示装置LCDが設けてある。
スロットマシン本体120の内部には、図2に示すように、その内底面に固定され、内部に複数のメダルを貯留して、貯留したメダルを前扉130の前面に設けた払出し口135に1枚ずつ払い出すためのホッパ装置121が設置されている。このホッパ装置121の上部には、上方に向けて開口し、内部に複数のメダルを貯留するホッパタンク122を備えている。スロットマシン本体120の内部には、前扉130を閉めたときにゲーム表示部131が来る位置に三個の回胴からなるリール(回胴)ユニット203が設置されている。リールユニット203は、外周面に複数種類の図柄が配列されている3つの回胴(第1回胴〜第3回胴)を備えている。ゲーム表示部131には開口部が設けられていて、それを通して遊技者が前記リールユニット203の各回転回胴の図柄を見ることができるようになっている。ホッパ装置121の左側には電源部205が設けられている。
Further, a start switch 134 for starting a game is provided at the lower left of the game display unit 131, and three stop switches 140 are provided corresponding to the three spinning cylinders. A medal payout port 135 is provided at the center of the lower end of the front door. A liquid crystal display device LCD is provided above the game display unit 131.
As shown in FIG. 2, the slot machine main body 120 is fixed to the inner bottom surface, stores a plurality of medals therein, and stores the stored medals at a payout port 135 provided on the front surface of the front door 130. A hopper device 121 for paying out the sheets one by one is installed. An upper portion of the hopper device 121 is provided with a hopper tank 122 that opens upward and stores a plurality of medals therein. Inside the slot machine main body 120, a reel (rotating cylinder) unit 203 including three rotating cylinders is installed at a position where the game display unit 131 comes when the front door 130 is closed. The reel unit 203 includes three spinning cylinders (first to third drums) in which a plurality of types of symbols are arranged on the outer peripheral surface. The game display unit 131 is provided with an opening through which the player can see the symbols of the rotating drums of the reel unit 203. A power supply unit 205 is provided on the left side of the hopper device 121.

前記前扉130の裏面には、図2に示すように、メダル(コイン)セレクタ1が、前扉130の前面に設けられたメダル投入口132の裏側に取り付けられている。このメダルセレクタ1は、メダル投入口132から投入されたメダルの通過を検出しながら、当該メダルをホッパ装置121に向かって転動させ、外径が所定寸法と違う異径メダルや、鉄又は鉄合金で作製された不正メダルを選別して排除するとともに、1ゲームあたりに投入可能な所定枚数以上のメダルを選別して排除するための装置である。   As shown in FIG. 2, the medal (coin) selector 1 is attached to the back side of the front door 130 on the back side of the medal slot 132 provided on the front surface of the front door 130. This medal selector 1 rolls the medal toward the hopper device 121 while detecting the passage of the medal inserted from the medal insertion slot 132, and has a different diameter medal or iron or iron whose outer diameter is different from the predetermined dimension. This is an apparatus for selecting and removing illegal medals made of an alloy and selecting and eliminating a predetermined number or more of medals that can be inserted per game.

また、メダルセレクタ1の下側には、図2に示すように、その下部側を覆って前扉130の払出し口135に連通する導出路136が設けられている。メダルセレクタ1により振り分けられたメダルは、この導出路136を介して払出し口135から遊技者に返却される。   Further, as shown in FIG. 2, a lead-out path 136 that covers the lower side and communicates with the payout port 135 of the front door 130 is provided below the medal selector 1. The medals distributed by the medal selector 1 are returned to the player from the payout port 135 via the derivation path 136.

図3は発明の実施の形態に係るスロットマシン100の機能ブロック図を示す。
この図において電源系統についての表示は省略されている。図示しないが、スロットマシンは商用電源(AC100V)から直流電源(+5Vなど)を発生するための電源部を備える。
スロットマシン100は、その主要な処理装置としてメイン基板(処理部)10とこれからコマンドを受けて動作するサブ基板20とを備える。なお、少なくともメイン基板10は、外部から接触不能となるようにケース内部に収容され、これら基板を取り外す際に痕跡が残るように封印処理が施されている。
FIG. 3 shows a functional block diagram of the slot machine 100 according to the embodiment of the invention.
In this figure, the display about the power supply system is omitted. Although not shown, the slot machine includes a power supply unit for generating a DC power supply (+5 V or the like) from a commercial power supply (AC 100 V).
The slot machine 100 includes a main substrate (processing unit) 10 and a sub substrate 20 that operates in response to a command from the main substrate (processing unit) 10 as main processing devices. At least the main substrate 10 is accommodated inside the case so that it cannot be contacted from the outside, and is sealed so that traces remain when these substrates are removed.

メイン基板10は、遊技者の操作を受けて内部抽選を行ったり、回胴の回転・停止やメダルの払い出しなどの処理を行うためのものである。メイン基板10は、予め設定されたプログラムに従って制御動作を行うCPUと、前記プログラムを記憶する記憶手段であるROMおよび処理結果などを一時的に記憶するRAMを含む。   The main board 10 is used for performing an internal lottery in response to a player's operation, and for performing processing such as rotation / stop of the spinning cylinder and payout of medals. The main board 10 includes a CPU that performs a control operation according to a preset program, a ROM that is a storage unit that stores the program, and a RAM that temporarily stores processing results and the like.

サブ基板20は、メイン基板10からコマンド信号を受けて内部抽選の結果を報知したり各種演出を行うためのものである。サブ基板20は、前記コマンド信号に応じた予め設定されたプログラムに従って制御動作を行うCPUと、前記プログラムを記憶する記憶手段であるROMおよび処理結果などを一時的に記憶するRAMを含む。コマンドの流れはメイン基板10からサブ基板20への一方のみであり、逆にサブ基板20からメイン基板10へコマンド等が出されることはない。   The sub board 20 is for receiving a command signal from the main board 10 and notifying the result of the internal lottery and performing various effects. The sub-board 20 includes a CPU that performs a control operation in accordance with a preset program corresponding to the command signal, a ROM that is a storage unit that stores the program, and a RAM that temporarily stores processing results and the like. Only one command flows from the main board 10 to the sub board 20, and conversely, no command is issued from the sub board 20 to the main board 10.

メイン基板10には、ベットスイッチBET、スタートスイッチ134,ストップボタン140,リール(回胴)ユニット203、ホッパ駆動部80、ホッパ81及びホッパ81から払い出されたメダルの枚数を数えるためのメダル検出部82(これら80、81、82は前述のホッパ装置121を構成する)が接続されている。サブ基板20には液晶表示装置の制御用の液晶制御基板200、スピーカ基板201、LED基板202などの周辺基板(ローカル基板)が接続されている。   The main board 10 has a bet switch BET, a start switch 134, a stop button 140, a reel (rotating cylinder) unit 203, a hopper driving unit 80, a hopper 81, and a medal detection for counting the number of medals paid out from the hopper 81. The part 82 (these 80, 81, and 82 comprise the above-mentioned hopper apparatus 121) is connected. A peripheral substrate (local substrate) such as a liquid crystal control substrate 200 for controlling the liquid crystal display device, a speaker substrate 201, and an LED substrate 202 is connected to the sub substrate 20.

液晶制御基板200には、図1の液晶表示装置LCDが接続されている。なお、これ以降の説明において、特に断らない限り、液晶表示装置LCDは液晶制御基板200と液晶表示装置LCDの両方を指すものとする(別の言い方をすれば、液晶表示装置LCDは液晶制御基板200を含むものとする)。   A liquid crystal display device LCD shown in FIG. 1 is connected to the liquid crystal control board 200. In the following description, unless otherwise specified, the liquid crystal display device LCD refers to both the liquid crystal control substrate 200 and the liquid crystal display device LCD (in other words, the liquid crystal display device LCD is a liquid crystal control substrate). 200).

メイン基板10には、さらに、メダルセレクタ1のメダルセンサS1及びS2が接続されている。   Further, medal sensors S1 and S2 of the medal selector 1 are connected to the main board 10.

メダルセレクタ1には、メダルを計数するためのメダルセンサS1及びS2が設けられている。メダルセンサS1及びS2は、メダルセレクタ1に設けられた図示しないメダル通路の下流側(出口近傍)に設けられている(メダル通路の上流側はメダル投入口132に連通している)。2つのメダルセンサS1とS2は、メダルの進行方向に沿って所定間隔を空けて並べて設けられている。メダルセンサS1、S2は、例えば、互いに対向した発光部と受光部とを有して断面コ字状に形成され、その検出光軸をメダル通路内に上方から臨ませて位置するフォトインタラプタである。各フォトインタラプタにより、途中で阻止されずに送られてきたメダルの通過が検出される。なお、フォトインタラプタを2つ隣接させたのは、メダル枚数を検出するだけでなく、メダルの通過が正常か否かを監視するためである。すなわち、フォトインタラプタを2つ隣接させて設けることにより、メダルの通過速度や通過方向を検出することができ、これによりメダル枚数だけでなく、逆方向に移動する不正行為を感知することができる。   The medal selector 1 is provided with medal sensors S1 and S2 for counting medals. The medal sensors S1 and S2 are provided on the downstream side (near the exit) of a medal passage (not shown) provided in the medal selector 1 (the upstream side of the medal passage communicates with the medal slot 132). The two medal sensors S1 and S2 are arranged side by side at a predetermined interval along the medal traveling direction. The medal sensors S1 and S2 are, for example, photointerrupters that have a light emitting portion and a light receiving portion that face each other, are formed in a U-shaped cross section, and are positioned so that the detection optical axis faces the medal passage from above. . Each photo interrupter detects the passage of a medal sent without being blocked on the way. The reason why two photo interrupters are adjacent is not only to detect the number of medals but also to monitor whether or not the passage of medals is normal. That is, by providing two photo interrupters adjacent to each other, it is possible to detect the passing speed and passing direction of medals, thereby detecting not only the number of medals but also an illegal act moving in the reverse direction.

リールユニット203は、3つの回胴40a〜40cと、これらをそれぞれ回転させるステッピングモータ155a〜155cと、それらの位置をそれぞれ検出する回胴位置検出器159a〜159cとを備える(なお、ステッピングモータ155a〜155cを単にモータ155あるいはモータと記すことがある)。   The reel unit 203 includes three spinning cylinders 40a to 40c, stepping motors 155a to 155c that respectively rotate these, and spinning cylinder position detectors 159a to 159c that detect their positions, respectively (stepping motor 155a ˜155c may be simply referred to as a motor 155 or a motor).

ホッパ駆動部80は、ホッパ81を回転駆動して、メイン基板10によって指示された払出数のメダルを払い出す動作を行う。遊技機は、メダルを1枚払い出す毎に作動するメダル検出部82を備えており、メイン基板10は、メダル検出部82からの入力信号に基づいてホッパ81から実際に払い出されたメダルの数を管理することができる。   The hopper driving unit 80 rotates the hopper 81 and performs an operation of paying out medals of the payout number instructed by the main board 10. The gaming machine includes a medal detection unit 82 that operates every time a medal is paid out, and the main board 10 receives a medal actually paid out from the hopper 81 based on an input signal from the medal detection unit 82. You can manage the number.

投入受付部1050は、メダルセレクタ1のメダルセンサS1とS2の出力を受け、遊技毎にメダルの投入を受け付けて、規定投入数に相当するメダルが投入されたことに基づいて、スタートスイッチ134に対する第1回胴〜第3回胴の回転開始操作を許可する処理を行う。なお、スタートスイッチ134の押下操作が、第1回胴〜第3回胴の回転を開始させる契機となっているとともに、内部抽選を実行する契機となっている。また、遊技状態に応じて規定投入数を設定し、通常状態およびボーナス成立状態では規定投入数を3枚に設定し、ボーナス状態では規定投入数を1枚に設定する。   The insertion accepting unit 1050 receives the outputs of the medal sensors S1 and S2 of the medal selector 1, accepts the insertion of medals for each game, and determines that the medal corresponding to the specified number of insertions has been inserted. A process of permitting the rotation start operation of the first cylinder to the third cylinder is performed. Note that the pressing operation of the start switch 134 is an opportunity to start the rotation of the first cylinder to the third cylinder, and is an opportunity to execute the internal lottery. Also, a prescribed number of throws is set according to the gaming state, the prescribed number of throws is set to 3 in the normal state and the bonus established state, and the prescribed number of throws is set to 1 in the bonus state.

メダルが投入されると、遊技状態に応じた規定投入数を限度として、投入されたメダルをベット状態に設定する。あるいは、遊技機にメダルがクレジットされた状態で、ベットスイッチBETが押下されると、遊技状態に応じた規定投入数を限度して、クレジットされたメダルをベット状態に設定する。メダルの投入を受け付けるかどうかは、メイン基板10が制御する。スタートスイッチ134が押下され各回胴の回転が開始した時点(遊技開始時点)から3つのストップスイッチ140が押下され各回胴の回転が停止した時点(入賞した場合はメダル払い出しが完了した時点)(遊技終了時点)の間であって、メダルの投入を受け付ける状態になっていないときは(許可されていないときは)、メダルを投入してもメダルセンサS1、S2でカウントされず、そのまま返却される。同様に、メイン基板10は、メダルの投入を受け付ける状態か否かに応じて、ベットスイッチBETの有効/無効を制御する。また、前記遊技終了時点から前記遊技開始時点までの間でベットスイッチBETは有効となるが、これ以外の期間においては(BETスイッチの押下が許可されていないときは)、ベットスイッチBETを押下しても、それは無視される。   When medals are inserted, the inserted medals are set in a bet state, up to the specified number of insertions according to the gaming state. Alternatively, when the bet switch BET is pressed in a state where medals are credited to the gaming machine, the credited medals are set to the bet state by limiting the specified number of insertions according to the gaming state. The main board 10 controls whether or not to accept a medal. From the point when the start switch 134 is pressed and the rotation of each cylinder starts (game start time), when the three stop switches 140 are pressed and the rotation of each cylinder stops (when the medal payout is completed when winning) (game) When the medal is not accepted (when it is not permitted), the medal sensor S1, S2 does not count the medal and is returned as it is. . Similarly, the main board 10 controls the validity / invalidity of the bet switch BET according to whether or not the medal insertion is accepted. In addition, the bet switch BET is valid from the end of the game to the start of the game, but during other periods (when pressing of the BET switch is not permitted), the bet switch BET is pressed. Even it is ignored.

メイン基板10は、乱数発生手段1100を内蔵する。乱数発生手段1100は、抽選用の乱数値を発生させる手段である。乱数値は、例えば、インクリメントカウンタ(所定のカウント範囲を循環するように数値をカウントするカウンタ)のカウント値に基づいて発生させることができる。なお本実施形態において「乱数値」には、数学的な意味でランダムに発生する値のみならず、その発生自体は規則的であっても、その取得タイミング等が不規則であるために実質的に乱数として機能しうる値も含まれる。   The main board 10 incorporates random number generating means 1100. The random number generation means 1100 is a means for generating a random number for lottery. The random value can be generated based on, for example, a count value of an increment counter (a counter that counts a numerical value so as to circulate a predetermined count range). In this embodiment, the “random number value” is not only a value that is randomly generated in a mathematical sense, but even if the generation itself is regular, the acquisition timing and the like are irregular. Includes a value that can function as a random number.

内部抽選手段1200は、遊技者がスタートスイッチ134からのスタート信号に基づいて、役の当否を決定する内部抽選を行う。すなわち、メイン基板10のメモリ(図示せず)に記憶されている抽選テーブル(図示せず)を選択する抽選テーブル選択処理、乱数発生手段1100から得た乱数の当選を判定する乱数判定処理、当選の判定結果で大当たりなどに当選したときにその旨のフラグを設定する抽選フラグ設定処理などを行う。   The internal lottery means 1200 performs an internal lottery in which the player determines whether or not the winning combination is based on a start signal from the start switch 134. That is, a lottery table selection process for selecting a lottery table (not shown) stored in a memory (not shown) of the main board 10, a random number determination process for determining the winning of a random number obtained from the random number generating means 1100, The lottery flag setting process for setting a flag to that effect when a big win or the like is won by the determination result is performed.

抽選テーブル選択処理では、図示しない記憶手段(ROM)に格納されている複数の抽選テーブル(図示せず)のうち、いずれの抽選テーブルを用いて内部抽選を行うかを決定する。抽選テーブルでは、複数の乱数値(例えば、0〜65535の65536個の乱数値)のそれぞれに対して、リプレイ、小役(ベル、チェリー)、レギュラーボーナス(RB:ボーナス)、およびビッグボーナス(BB:ボーナス)などの各種の役が対応づけられている。また、遊技状態として、通常状態、ボーナス成立状態、およびボーナス状態が設定可能とされ、さらにリプレイの抽選状態として、リプレイ無抽選状態、リプレイ低確率状態、リプレイ高確率状態が設定可能とされる。   In the lottery table selection process, a lottery table (not shown) stored in a storage unit (ROM) (not shown) is used to determine which lottery table is used for internal lottery. In the lottery table, for each of a plurality of random values (for example, 65536 random values from 0 to 65535), replay, small role (bell, cherry), regular bonus (RB: bonus), and big bonus (BB :), etc., are associated with each other. In addition, a normal state, a bonus establishment state, and a bonus state can be set as the gaming state, and a replay lottery state, a replay low probability state, and a replay high probability state can be set as replay lottery states.

乱数判定処理では、スタートスイッチ134からのスタート信号に基づいて、遊技毎に前記乱数発生手段(図示せず)から乱数値(抽選用乱数)を取得し、取得した乱数値について前記抽選テーブルを参照して役に当選したか否かを判定する。   In the random number determination process, a random value (lottery random number) is acquired from the random number generation means (not shown) for each game based on a start signal from the start switch 134, and the lottery table is referred to for the acquired random value. Then, it is determined whether or not the winning combination is won.

抽選フラグ設定処理では、乱数判定処理の結果に基づいて、当選したと判定された役の抽選フラグを非当選状態(第1のフラグ状態、オフ状態)から当選状態(第2のフラグ状態、オン状態)に設定する。2種類以上の役が重複して当選した場合には、重複して当選した2種類以上の役のそれぞれに対応する抽選フラグが当選状態に設定される。抽選フラグの設定情報は、記憶手段(RAM)に格納される。   In the lottery flag setting process, the lottery flag of the winning combination determined to be won based on the result of the random number determination process is changed from the non-winning state (first flag state, off state) to the winning state (second flag state, on Status). When two or more types of winning combinations are won, a lottery flag corresponding to each of the two or more types of winning winning combinations is set to the winning state. The lottery flag setting information is stored in storage means (RAM).

入賞するまで次回以降の遊技に当選状態を持ち越し可能な抽選フラグ(持越可能フラグ)と、入賞の如何に関わらず次回以降の遊技に当選状態を持ち越さずに非当選状態にリセットされる抽選フラグ(持越不可フラグ)とが用意されていることがある。この場合、前者の持越可能フラグが対応づけられる役としては、レギュラーボーナス(RB)およびビッグボーナス(BB)があり、それ以外の役(例えば、小役、リプレイ)は後者の持越不可フラグに対応づけられている。   A lottery flag (possible carryover flag) that can carry over the winning state for the next game until winning, and a lottery flag that is reset to the non-winning state without bringing the winning state to the next game regardless of winning Carry-over impossible flag) may be provided. In this case, there are a regular bonus (RB) and a big bonus (BB) as a combination to which the former carry-over possible flag is associated, and other combinations (for example, small role, replay) correspond to the latter carry-over impossible flag. It is attached.

すなわち抽選フラグ設定処理では、内部抽選でレギュラーボーナスに当選すると、レギュラーボーナスの抽選フラグの当選状態を、レギュラーボーナスが入賞するまで持ち越す処理を行い、内部抽選でビッグボーナスに当選すると、ビッグボーナスの抽選フラグの当選状態を、ビッグボーナスが入賞するまで持ち越す処理を行う。このときメイン基板10は、内部抽選機能により、レギュラーボーナスやビッグボーナスの抽選フラグの当選状態が持ち越されている遊技でも、レギュラーボーナスおよびビッグボーナス以外の役(小役およびリプレイ)についての当否を決定する内部抽選を行っている。すなわち抽選フラグ設定処理では、レギュラーボーナスの抽選フラグの当選状態が持ち越されている遊技において、内部抽選で小役あるいはリプレイが当選した場合には、既に当選しているレギュラーボーナスの抽選フラグと内部抽選で当選した小役あるいはリプレイの抽選フラグとからなる2種類以上の役に対応する抽選フラグを当選状態に設定し、ビッグボーナスの抽選フラグの当選状態が持ち越されている遊技において、内部抽選で小役あるいはリプレイが当選した場合には、既に当選しているビッグボーナスの抽選フラグと内部抽選で当選した小役あるいはリプレイの抽選フラグとからなる2種類以上の役に対応する抽選フラグを当選状態に設定する。   In other words, in the lottery flag setting process, if a regular bonus is won by internal lottery, the winning state of the regular bonus lottery flag is carried over until the regular bonus is won, and if the big bonus is won by internal lottery, the big bonus lottery A process of carrying over the winning state of the flag until the big bonus is won is performed. At this time, the main board 10 determines whether or not a role other than the regular bonus and the big bonus (small role and replay) is used even in a game in which the winning state of the regular bonus or big bonus lottery flag is carried over by the internal lottery function. An internal lottery is performed. In other words, in the lottery flag setting process, in a game in which the winning state of the regular bonus lottery flag is carried over, if a small role or replay is won in the internal lottery, the regular bonus lottery flag and the internal lottery already won In a game in which the lottery flags corresponding to two or more types of winning combinations or replay lottery flags won in the win state are set to the winning state and the winning state of the big bonus lottery flag is carried over, it is small in the internal lottery When a winning combination or replay is won, a lottery flag corresponding to two or more kinds of winning combinations including a big bonus lottery flag that has already been won and a small bonus or replay lottery flag that has been won in the internal lottery is set to the winning state Set.

回胴制御手段1300は、遊技者のスタートスイッチ134の押下操作(回転開始操作)によるスタート信号に基づいて、第1回胴〜第3回胴をステッピングモータにより回転駆動させ、第1回胴〜第3回胴の回転速度が所定速度(約80rpm:1分間あたり約80回転となる回転速度)に達した状態において回転中の回胴にそれぞれ対応する3つのストップボタン140の押下操作(停止操作)を許可する制御を行うとともに、ステッピングモータにより回転駆動されている第1回胴〜第3回胴を抽選フラグの設定状態(内部抽選の結果)に応じて停止させる制御を行う。   The spinning cylinder control means 1300 rotates the first to third cylinders with a stepping motor based on a start signal generated by a player pressing the start switch 134 (rotation start operation), and the first to Press operation (stop operation) of the three stop buttons 140 respectively corresponding to the rotating cylinder in a state where the rotation speed of the third cylinder reaches a predetermined speed (about 80 rpm: a rotation speed of about 80 rotations per minute) ) And control to stop the first to third cylinders driven to rotate by the stepping motor according to the lottery flag setting state (internal lottery result).

また、回胴制御手段1300は、3つのストップボタン140に対する押下操作(停止操作)が許可(有効化)された状態において、遊技者が3つのストップボタン140を押下することにより、その回胴停止信号に基づいて、リールユニット203のステッピングモータへの駆動パルス(モータ駆動信号)の供給を停止することにより、第1回胴〜第3回胴の各回胴を停止させる制御を行う。   In addition, when the player presses the three stop buttons 140 in a state where the pressing operation (stop operation) with respect to the three stop buttons 140 is permitted (validated), Based on the signal, the supply of the drive pulse (motor drive signal) to the stepping motor of the reel unit 203 is stopped, thereby controlling each of the first to third drums.

すなわち、回胴制御手段1300は、3つのストップボタン140の各ボタンが押下される毎に、第1回胴〜第3回胴のうち押下されたボタンに対応する回胴の停止位置を決定して、決定された停止位置で回胴を停止させる制御を行っている。具体的には、記憶手段(ROM)に記憶されている停止制御テーブル(図示せず)を参照して3つのストップボタンの押下タイミングや押下順序等(停止操作の態様)に応じた第1回胴〜第3回胴の停止位置を決定し、決定された停止位置で第1回胴〜第3回胴を停止させる制御を行う。   That is, each time the three stop buttons 140 are pressed, the spinning cylinder control means 1300 determines the stopping position of the spinning cylinder corresponding to the pressed button among the first to third cylinders. Thus, control is performed to stop the spinning cylinder at the determined stop position. Specifically, referring to a stop control table (not shown) stored in the storage means (ROM), the first time corresponding to the pressing timing, pressing order, etc. of the three stop buttons (mode of stop operation) A stop position of the cylinder to the third cylinder is determined, and control is performed to stop the first cylinder to the third cylinder at the determined stop position.

ここで停止制御テーブルでは、ストップボタン140の作動時点における第1回胴〜第3回胴の位置(押下検出位置)と、第1回胴〜第3回胴の実際の停止位置(または押下検出位置からの滑りコマ数)との対応関係が設定されている。抽選フラグの設定状態に応じて、第1回胴〜第3回胴の停止位置を定めるための停止制御テーブルが用意されることもある。   Here, in the stop control table, the positions of the first cylinder to the third cylinder (pressing detection position) at the time when the stop button 140 is operated, and the actual stop positions (or pressing detection of the first cylinder to the third cylinder). Correspondence with the number of sliding frames from the position) is set. Depending on the setting state of the lottery flag, a stop control table for determining the stop positions of the first cylinder to the third cylinder may be prepared.

遊技機では、リールユニット203がフォトセンサからなるインデックスセンサを備えており、回胴制御手段1300は、回胴が1回転する毎にインデックスセンサで検出される基準位置信号に基づいて、回胴の基準位置(インデックスセンサによって検出されるコマ)からの回転角度(ステップモータの回転軸の回転ステップ数)を求めることによって、現在の回胴の回転状態を監視することができるようになっている。すなわち、メイン基板10は、ストップスイッチ140の作動時における回胴の位置を、回胴の基準位置からの回転角度を求めることにより得ることができる。   In the gaming machine, the reel unit 203 includes an index sensor composed of a photosensor, and the spinning cylinder control means 1300 is based on a reference position signal detected by the index sensor every time the spinning cylinder rotates once. By obtaining the rotation angle (the number of rotation steps of the rotation shaft of the step motor) from the reference position (the frame detected by the index sensor), the current rotation state of the drum can be monitored. That is, the main board 10 can obtain the position of the rotating cylinder when the stop switch 140 is operated by obtaining the rotation angle from the reference position of the rotating cylinder.

回胴制御手段1300は、いわゆる引き込み処理と蹴飛ばし処理とを回胴を停止させる制御として行っている。引き込み処理とは、抽選フラグが当選状態に設定された役に対応する図柄が有効な入賞判定ライン上に停止するように(当選した役を入賞させることができるように)回胴を停止させる制御処理である。一方蹴飛ばし処理とは、抽選フラグが非当選状態に設定された役に対応する図柄が有効な入賞判定ライン上に停止しないように(当選していない役を入賞させることができないように)回胴を停止させる制御処理である。すなわち本実施形態の遊技機では、上記引き込み処理及び蹴飛ばし処理を実現させるべく、抽選フラグの設定状態、ストップボタン140の押下タイミング、押下順序、既に停止している回胴の停止位置(表示図柄の種類)などに応じて各回胴の停止位置が変化するように停止制御テーブルが設定されている。このように、メイン基板10は、抽選フラグが当選状態に設定された役の図柄を入賞の形態で停止可能にし、一方で抽選フラグが非当選状態に設定された役の図柄が入賞の形態で停止しないように第1回胴〜第3回胴を停止させる制御を行っている。   The spinning cylinder control unit 1300 performs so-called pull-in processing and kicking processing as control for stopping the spinning cylinder. The pull-in process is a control for stopping the spinning cylinder so that the symbol corresponding to the combination whose lottery flag is set to the winning state is stopped on a valid winning determination line (so that the winning combination can be won). It is processing. On the other hand, the kicking process means that the symbol corresponding to the combination for which the lottery flag is set to the non-winning state does not stop on a valid winning determination line (so that a non-winning combination cannot be won) Is a control process for stopping the process. That is, in the gaming machine of the present embodiment, the lottery flag setting state, the stop button 140 pressing timing, the pressing order, and the stop position of the spinning cylinder that has already stopped (in the display pattern) in order to realize the pull-in processing and kicking processing. The stop control table is set so that the stop position of each cylinder changes according to the type). In this way, the main board 10 can stop the symbol of the combination for which the lottery flag is set to the winning state in a winning form, while the symbol of the combination for which the lottery flag is set to the non-winning state is in the winning form. Control is performed to stop the first to third cylinders so as not to stop.

遊技機では、第1回胴〜第3回胴が、ストップボタン140が押下された時点から190ms以内に、押下されたストップボタンに対応する回転中の回胴を停止させる制御状態に設定されている。すなわち回転している各回胴の停止位置を決めるための停止制御テーブルでは、ストップボタン140の押下時点から各回胴が停止するまでに要するコマ数が0コマ〜4コマの範囲(所定の引き込み範囲)で設定されている。   In the gaming machine, the first to third cylinders are set to a control state in which the rotating cylinder corresponding to the pressed stop button is stopped within 190 ms from when the stop button 140 is pressed. Yes. That is, in the stop control table for determining the stop position of each rotating cylinder, the number of frames required from when the stop button 140 is pressed until each cylinder stops is in the range of 0 to 4 frames (predetermined pull-in range). Is set in

入賞判定手段1400は、第1回胴〜第3回胴の停止態様に基づいて、役が入賞したか否かを判定する処理を行う。具体的には、記憶手段(ROM)に記憶されている入賞判定テーブルを参照しながら、第1回胴〜第3回胴の全てが停止した時点で入賞判定ライン上に表示されている図柄組合せが、予め定められた役の入賞の形態であるか否かを判定する。   The winning determination means 1400 performs a process of determining whether or not a winning combination has been won based on the stopping modes of the first to third cylinders. Specifically, referring to the winning determination table stored in the storage means (ROM), the symbol combination displayed on the winning determination line when all of the first to third cylinders are stopped. It is determined whether or not this is a predetermined winning combination form.

入賞判定手段1400は、その判定結果に基づいて、入賞時処理を実行する。入賞時処理としては、例えば、小役が入賞した場合にはホッパ81を駆動してメダルの払出制御処理が行われるか、あるいはクレジットの増加され(規定の最大枚数例えば50枚まで増加され、それを超えた分だけ実際にメダル払い出される)、リプレイが入賞した場合にはリプレイ処理が行われ、ビッグボーナスやレギュラーボーナスが入賞した場合には遊技状態を移行させる遊技状態移行制御処理が行われる。   The winning determination means 1400 executes a winning process based on the determination result. As a process at the time of winning a prize, for example, when a small role wins, the hopper 81 is driven to perform a medal payout control process, or a credit is increased (a predetermined maximum number is increased to 50, for example, When the replay is won, a replay process is performed. When a big bonus or a regular bonus is won, a game state transition control process for shifting the game state is performed.

払出制御手段1500は、遊技結果に応じたメダルの払い出しに関する払出制御処理を行う。具体的には、小役が入賞した場合に、役毎に予め定められている配当に基づいて遊技におけるメダルの払出数を決定し、決定された払出数に相当するメダルを、ホッパ駆動部80でホッパ81を駆動して払い出させる。この際に、ホッパ81に内蔵される図示しないモータに電流が流れることになる。   The payout control means 1500 performs payout control processing relating to the payout of medals according to the game result. Specifically, when a small combination wins, the number of medals to be paid out in the game is determined based on a payout predetermined for each combination, and the medals corresponding to the determined number of payouts are determined by the hopper driving unit 80. Then, the hopper 81 is driven to pay out. At this time, a current flows through a motor (not shown) built in the hopper 81.

メダルのクレジット(内部貯留)が許可されている場合には、ホッパ81によって実際にメダルの払い出しを行う代わりに、記憶手段(RAM)のクレジット記憶領域(図示省略)に記憶されているクレジット数(クレジットされたメダルの数)に対して払出数を加算するクレジット加算処理を行って仮想的にメダルを払い出す処理を行う。   When medal credits (internal storage) are permitted, instead of actually paying out medals by the hopper 81, the number of credits stored in a credit storage area (not shown) of the storage means (RAM) (not shown) A credit addition process for adding the number of payouts to the number of credited medals is performed to virtually pay out medals.

リプレイ処理手段1600は、リプレイが入賞した場合に、次回の遊技に関して遊技者の所有するメダルの投入を要さずに前回の遊技と同じ準備状態に設定するリプレイ処理(再遊技処理)を行う。リプレイが入賞した場合には、遊技者の手持ちのメダル(クレジットメダルを含む)を使わずに前回の遊技と同じ規定投入数のメダルが自動的にベット状態に設定される自動投入処理が行われ、遊技機が前回の遊技と同じ入賞判定ラインを有効化した状態で次回の遊技における回転開始操作(遊技者によるスタートスイッチ134の押下操作)を待機する状態に設定される。リプレイの抽選状態として、リプレイが内部抽選の対象から除外されるリプレイ無抽選状態、リプレイの当選確率が約1/7.3に設定されるリプレイ低確率状態、およびリプレイの当選確率が約1/6に設定されるリプレイ高確率状態という複数種類の抽選状態を設定可能とされている。リプレイの抽選状態を変化させることにより、内部抽選におけるリプレイの当選確率を変動させる。   When the replay is won, the replay processing means 1600 performs a replay process (regame process) for setting the same preparatory state as the previous game without requiring insertion of medals owned by the player for the next game. When the replay wins, an automatic insertion process is performed in which a medal with the same specified number of insertions as the previous game is automatically set to the bet state without using the player's own medals (including credit medals). The game machine is set in a state of waiting for a rotation start operation (pressing operation of the start switch 134 by the player) in the next game in a state where the same winning determination line as the previous game is validated. The replay lottery states include a replay no lottery state in which replay is excluded from the internal lottery, a replay low probability state in which the replay winning probability is set to about 1 / 7.3, and a replay winning probability of about 1 / A plurality of lottery states such as a high replay probability state set to 6 can be set. By changing the replay lottery state, the winning probability of the replay in the internal lottery is changed.

また、メイン基板10は、通常状態、ボーナス成立状態、およびボーナス状態の間で遊技状態を移行させる制御を行うことがある(遊技状態移行制御機能)。遊技状態の移行条件は、1の条件が定められていてもよいし、複数の条件が定められていてもよい。複数の条件が定められている場合には、複数の条件のうち1の条件が成立したこと、あるいは複数の条件の全てが成立したことに基づいて、遊技状態を他の遊技状態へ移行させることができる。   Further, the main board 10 may perform control to shift the gaming state between the normal state, the bonus establishment state, and the bonus state (gaming state transition control function). As the game condition transition condition, one condition may be defined, or a plurality of conditions may be defined. When a plurality of conditions are established, transitioning the gaming state to another gaming state based on the fact that one of the plurality of conditions is satisfied or all of the plurality of conditions are satisfied Can do.

通常状態は、複数種類の遊技状態の中で初期状態に相当する遊技状態で、通常状態からはボーナス成立状態への移行が可能となっている。ボーナス成立状態は、内部抽選でビッグボーナスあるいはレギュラーボーナスに当選したことを契機として移行する遊技状態である。ボーナス成立状態では、通常状態における内部抽選でビッグボーナスが当選した場合、ビッグボーナスが入賞するまでビッグボーナスに対応する抽選フラグが当選状態に維持され、通常状態における内部抽選でレギュラーボーナスが当選した場合、レギュラーボーナスが入賞するまでレギュラーボーナスに対応する抽選フラグが当選状態に維持される。ボーナス状態では、ボーナス遊技によって払い出されたメダルの合計数により終了条件が成立したか否かを判断し、入賞したボーナスの種類に応じて予め定められた払出上限数を超えるメダルが払い出されると、ボーナス状態を終了させて、遊技状態を通常状態へ復帰させる。   The normal state is a game state corresponding to the initial state among a plurality of types of game states, and a transition from the normal state to the bonus establishment state is possible. The bonus establishment state is a gaming state that shifts when a big bonus or a regular bonus is won in the internal lottery. In the bonus establishment state, when the big bonus is won in the internal lottery in the normal state, the lottery flag corresponding to the big bonus is maintained in the winning state until the big bonus is won, and the regular bonus is won in the internal lottery in the normal state Until the regular bonus is won, the lottery flag corresponding to the regular bonus is maintained in the winning state. In the bonus state, it is determined whether or not the end condition is satisfied based on the total number of medals paid out by the bonus game, and medals exceeding a predetermined payout limit number are paid out according to the type of bonus won. The bonus state is terminated and the gaming state is returned to the normal state.

10CGは、サブ基板20へ送るコマンドを送信するコマンド送信部である。このコマンドには、当選役の情報に関するコマンド、メダル投入枚数やクレジット枚数(貯留枚数)の情報に関するコマンドなどがある。これらは公知であるので、その説明は省略する。コマンド送信部10CGは、具体的には、メイン基板10に搭載されたROMに予め書き込まれたプログラムをCPUが実行することで実現される。   10CG is a command transmitter that transmits a command to be sent to the sub-board 20. This command includes a command related to winning combination information, a command related to information on the number of inserted medals and the number of credits (stored number). Since these are well-known, the description is abbreviate | omitted. Specifically, the command transmission unit 10CG is realized by the CPU executing a program written in advance in a ROM mounted on the main board 10.

サブ基板20は、メイン基板10からのコマンドに従い、例えば、予め定められた画面を液晶表示装置LCDに表示させるためのコマンド(液晶表示装置用コマンド、描画コマンド)を生成する。   The sub-board 20 generates a command (liquid crystal display device command, drawing command) for displaying a predetermined screen on the liquid crystal display device LCD, for example, in accordance with a command from the main substrate 10.

20CRは、メイン基板10から受けたコマンドを受信するコマンド受信部である。コマンド受信部20CRは、具体的には、サブ基板20に搭載されたROMに予め書き込まれたプログラムをCPUが実行することで実現される。   The 20CR is a command receiving unit that receives commands received from the main board 10. Specifically, the command receiving unit 20CR is realized by the CPU executing a program written in advance in a ROM mounted on the sub-board 20.

図4は、発明の実施の形態に係るコマンド送信部10CGのブロック図である。   FIG. 4 is a block diagram of command transmitter 10CG according to the embodiment of the invention.

101は、送信する前記コマンドを受け入れるコマンドレジスタである。コマンドレジスタ101は、コマンドを受けたらすぐに送信データレジスタ102へ送る。コマンドレジスタ101はひとつのコマンドを一時的に蓄えるものである。   Reference numeral 101 denotes a command register that accepts the command to be transmitted. The command register 101 sends the command to the transmission data register 102 immediately after receiving the command. The command register 101 temporarily stores one command.

コマンドは、所定ビットのひとまとまりのデータ、例えば8ビット単位のデータのセットであって、所定のコマンド体系に基づき作成されているものである。   The command is a set of data of a predetermined bit, for example, a set of data in units of 8 bits, and is created based on a predetermined command system.

102は、受け入れた順番で複数のコマンドを記憶するとともに、受け入れた順番に従って出力する送信データレジスタである。送信データレジスタ102の内部構造については後述する。   A transmission data register 102 stores a plurality of commands in the accepted order and outputs them in accordance with the accepted order. The internal structure of the transmission data register 102 will be described later.

103は、送信データレジスタ102からコマンドの出力を受けてこれをサブ基板20へ送信する送信用シフトレジスタである。   Reference numeral 103 denotes a transmission shift register that receives a command output from the transmission data register 102 and transmits it to the sub-board 20.

104は、送信データレジスタ102のデータを読み出す送信データレジスタ読出部である。   A transmission data register reading unit 104 reads data from the transmission data register 102.

なお、送信データレジスタ読出部104が読み出すものは複数のコマンドであるが、ここではデータと表記することにする。一般的に、データは2値のデジタルデータのことであるが、複数のコマンドをまとめて指すときにデータと表記する。   Note that what is read by the transmission data register reading unit 104 is a plurality of commands, but will be referred to as data here. In general, data is binary digital data, but is expressed as data when a plurality of commands are collectively indicated.

105は、送信データレジスタ読出部104により読み出したデータを記憶する電源断退避データメモリである。電源断退避データメモリ105は、電源断でも記憶しているデータが失われることのない記憶装置である。例えば、フラッシュメモリのような不揮発性記憶素子であり、あるいは停電時にバッテリから電流の供給を受けるCMOSメモリである。   Reference numeral 105 denotes a power-off save data memory that stores data read by the transmission data register reading unit 104. The power-off saving data memory 105 is a storage device that does not lose stored data even when the power is turned off. For example, it is a non-volatile memory element such as a flash memory, or a CMOS memory that is supplied with current from a battery during a power failure.

106は、前記送信データレジスタ読出部と前記電源断退避データメモリを制御する制御部である。制御部106は、電源断検知部107により電源断を検知したとき、送信データレジスタ読出部104により送信データレジスタ102のデータを読み出し、送信データレジスタ読出部104により読み出したデータを電源断退避データメモリ105に記憶し、電源投入検知部108により電源投入を検知したとき、電源断退避データメモリ105からデータを読み出し、読み出したデータを送信すべきコマンドとして前記コマンドレジスタにセットする。   A control unit 106 controls the transmission data register reading unit and the power-off / saving data memory. When the power-off detection unit 107 detects the power-off, the control unit 106 reads the data in the transmission data register 102 by the transmission data register reading unit 104, and reads the data read by the transmission data register reading unit 104 into the power-off save data memory When the power-on detection unit 108 detects power-on, the data is read from the power-off save data memory 105, and the read data is set in the command register as a command to be transmitted.

107は、電源断を検知する電源断検知部である。
108は、電源投入を検知する電源投入検知部である。
Reference numeral 107 denotes a power-off detection unit that detects power-off.
Reference numeral 108 denotes a power-on detection unit that detects power-on.

遊技機の電源スイッチがオンからオフにされると、図示しない電源部から電源断予告信号が出力される。この信号はCPUに対して、例えば割り込みをかけるものである。電源断検知部107は電源断予告信号を受けるものである。あるいは、電源断予告信号を発生する回路である。電源断予告信号を発生する回路として、電圧比較器(コンパレータ)を用いることができる。所望の電圧(例えば18V)の電池を用意しておき、この電圧とDC24Vの電源電圧を比較することで電源断予告信号を発生させることができる。この種の回路は公知であるので、詳しく説明しない。電源電圧を監視するための市販の専用ICもあるので、それを用いることもできる。あるいは、電源スイッチと連動するスイッチ(あるいは接点)を用いて電源断予告信号を発生するようにしてもよい。   When the power switch of the gaming machine is turned from on to off, a power-off notice signal is output from a power supply unit (not shown). This signal gives an interrupt to the CPU, for example. The power-off detection unit 107 receives a power-off notice signal. Alternatively, it is a circuit that generates a power-off notice signal. A voltage comparator (comparator) can be used as a circuit for generating a power-off notice signal. A battery with a desired voltage (for example, 18V) is prepared, and a power-off notice signal can be generated by comparing this voltage with the power supply voltage of DC24V. This type of circuit is well known and will not be described in detail. There is a commercially available dedicated IC for monitoring the power supply voltage, and it can be used. Or you may make it generate | occur | produce a power-off notice signal using the switch (or contact) linked with a power switch.

電源投入検知部108は、例えば電源スイッチのオンを検知する装置(電源スイッチと連動するスイッチあるいは接点)である。電源断予告信号と同様に電圧比較器(コンパレータ)を用いて電源投入を検知することもできる。あるいは、電源電圧を監視するための市販の専用ICを使用してもよい。   The power-on detection unit 108 is, for example, a device (a switch or a contact that works in conjunction with the power switch) that detects that the power switch is turned on. Similarly to the power-off notice signal, it is possible to detect power-on using a voltage comparator (comparator). Alternatively, a commercially available dedicated IC for monitoring the power supply voltage may be used.

電源スイッチがオンからオフにされても電源電圧はすぐには低下せず、電源スイッチのオフからしばらく時間が経ってから電源電圧がゼロになる。電源部や各回路に設けられているコンデンサ等の部品のために即時に電圧がゼロになることはない。したがって、CPUは電源断信号を受けてから電圧低下により動作を停止するまでの間に、一定の処理を行うことができる(例えば、図5のS2の電源断処理)。   Even if the power switch is turned off, the power supply voltage does not drop immediately, and after a while after the power switch is turned off, the power supply voltage becomes zero. The voltage does not immediately become zero because of components such as a capacitor provided in the power supply unit and each circuit. Therefore, the CPU can perform a certain process after receiving the power-off signal until the operation is stopped due to a voltage drop (for example, the power-off process in S2 of FIG. 5).

図5は、遊技機のメイン基板10の概略処理フローチャートである。同図は本発明の実施の形態の動作を説明する上で必要な処理のみを示していて、他の処理の表示は省略している。   FIG. 5 is a schematic process flowchart of the main board 10 of the gaming machine. The figure shows only the processes necessary for explaining the operation of the embodiment of the present invention, and the display of other processes is omitted.

電源オンの間は、遊技機は所定の遊技処理を行っていて、これに伴いメイン基板10(特に送信用シフトレジスタ103)がコマンド送信処理(S1)を行っている。これは当選役の情報に関するコマンドやメダル投入枚数、クレジット枚数に関する情報のコマンドなどをサブ基板20へ送る処理である。具体的にどのようなコマンドを送るか、そのプロトコル、当該コマンドでどのような処理を行うかは公知であるので、その説明は省略する。   While the power is on, the gaming machine is performing a predetermined game process, and the main board 10 (especially the transmission shift register 103) is performing a command transmission process (S1). This is a process of sending a command related to winning combination information, a medal inserted number, a command related to information related to the number of credits, etc. Since what kind of command is specifically sent, its protocol, and what kind of processing is performed with this command are known, the explanation thereof is omitted.

ホール店員が遊技機のスイッチをオフにするとメイン基板10により電源断処理が実行される(S2)。なお、人による操作については図中点線で示している。電源断処理は、公知の電源断予告信号を受けて割り込み処理を行い、そのときの当選フラグなど(当選役の情報)のメモリの内容をバッテリバックアップされたメモリあるいは不揮発性メモリに書き込むものである。電源断になってもこの処理を行う間は電源電圧が低下せず、所定のバックアップ処理の実行が可能になっている。電源断処理の後に電源が切断される(電源電圧が低下する)。   When the hall clerk turns off the gaming machine, the main board 10 performs a power-off process (S2). Note that human operations are indicated by dotted lines in the figure. In the power-off process, an interrupt process is performed in response to a known power-off notice signal, and the contents of the memory such as a winning flag (information of winning combination) at that time are written in a battery-backed memory or a nonvolatile memory. . Even when the power is cut off, the power supply voltage does not decrease during this process, and a predetermined backup process can be executed. The power is turned off after the power-off process (the power supply voltage decreases).

ホール店員が遊技機のスイッチをオンにすると電源電圧が上昇し、処理が開始される。まず、メイン基板10により状態復帰処理が実行される(S3)。状態復帰処理は、バックアップされているデータを遊技処理で通常使用するメモリ領域に展開し、電源断直前の状態に戻すための処理である。   When the hall clerk turns on the switch of the gaming machine, the power supply voltage rises and the processing is started. First, a state return process is executed by the main board 10 (S3). The state return process is a process for expanding the backed up data in a memory area normally used in the game process and returning to the state immediately before the power is turned off.

図6は、図5のコマンド送信処理(S1)の一部であるコマンドセット処理を示す。メイン基板10は、生成したコマンドをコマンドレジスタ101にセットすることでサブ基板20へ送信する。   FIG. 6 shows a command set process which is a part of the command transmission process (S1) of FIG. The main board 10 transmits the generated command to the sub board 20 by setting it in the command register 101.

コマンドがどのようなステップを経て送信されるかについて、図7及び図8を参照して説明を加える。図7は送信データレジスタ102が空の場合を示し、図8は送信データレジスタ102に先にいくつかのコマンドが保持されているが、一杯となっておらずコマンド書き込み可能な場合を示す。なお、一杯の場合は書き込みが禁止される。   The steps through which the command is transmitted will be described with reference to FIGS. FIG. 7 shows a case in which the transmission data register 102 is empty, and FIG. 8 shows a case in which some commands are held in the transmission data register 102 but are not full and commands can be written. If it is full, writing is prohibited.

図7(a)は、図6のS10によりコマンドAがコマンドレジスタ101にセットされた状態を示す。送信データレジスタ102がデータを受け入れ可能であれば、言い換えれば一杯でなければ(FIFOフルでなければ)、コマンドAは速やかに送信データレジスタ102へ送られる。   FIG. 7A shows a state in which the command A is set in the command register 101 by S10 of FIG. If the transmission data register 102 can accept data, in other words, if it is not full (if the FIFO is not full), the command A is immediately sent to the transmission data register 102.

図7(b)は、コマンドAを受け取った送信データレジスタ102の動作を示す概念図である。送信データレジスタ102はその内部に複数のコマンドを保持することができる。送信データレジスタ102が空であれば、その入力端(図の左側)に入力されたコマンドAは速やかに出力端(図の右端)へ移動し、送信用シフトレジスタ103により取り出しが可能になる。図7(b)の状態においてその旨を知らせる信号が送信用シフトレジスタ103へ送られる。   FIG. 7B is a conceptual diagram showing the operation of the transmission data register 102 that has received the command A. The transmission data register 102 can hold a plurality of commands therein. If the transmission data register 102 is empty, the command A input to its input terminal (left side in the figure) quickly moves to the output terminal (right end in the figure) and can be taken out by the transmission shift register 103. In the state of FIG. 7B, a signal notifying that is sent to the transmission shift register 103.

当該信号を受けて、送信用シフトレジスタ103は、送信データレジスタ102の出力端からコマンドAを取り出す。このときの状態を図7(c)に示す。そして、パラレル−シリアル変換を行い、シリアルデータとしてサブ基板20へ送信する。   In response to the signal, the transmission shift register 103 extracts the command A from the output terminal of the transmission data register 102. The state at this time is shown in FIG. Then, parallel-serial conversion is performed and the serial data is transmitted to the sub-board 20.

なお、図7(a)(c)では送信データレジスタ102が空であるから、このとき電源断となってもコマンドが失われることはない。図7(a)では、コマンドAが退避処理によりバックアップされ、図7(c)では、電源電圧が完全に低下するまでの間にコマンド送信を完了することができる。これに対し、図7(b)の場合は図9の処理によりコマンドがバックアップされるのでそれが失われることはない(言い方を変えると図9の処理を行わないと図7(b)の場合は送信データレジスタ102のコマンドが失われる)。   In FIGS. 7A and 7C, since the transmission data register 102 is empty, the command is not lost even if the power is cut off at this time. In FIG. 7A, the command A is backed up by the saving process, and in FIG. 7C, the command transmission can be completed before the power supply voltage completely decreases. On the other hand, in the case of FIG. 7B, since the command is backed up by the process of FIG. 9, it is not lost (in other words, if the process of FIG. 9 is not performed, the case of FIG. 7B) The command of the transmission data register 102 is lost).

図8(a)は、図6のS10によりコマンドDがコマンドレジスタ101にセットされた状態を示す。送信データレジスタ102には、既にコマンドA〜Cが保持されている。送信データレジスタ102がデータを受け入れ可能であれば、コマンドDは速やかに送信データレジスタ102へ送られる。   FIG. 8A shows a state in which the command D is set in the command register 101 by S10 of FIG. Commands A to C are already held in the transmission data register 102. If the transmission data register 102 can accept data, the command D is immediately sent to the transmission data register 102.

図8(b)は、コマンドDを受け取った送信データレジスタ102の動作を示す概念図である。入力端(図の左側)に入力されたコマンドDは速やかに出力端(図の右端)の方へ移動する。同時に出力端にあったコマンドAが送信用シフトレジスタ103へ送られる。このため、送信データレジスタ102にはコマンドB,C,Dの順番でデータが保持される。この順番は書き込まれた順番である。送信データレジスタ102は、その入力端と出力端で同時に書き込みと読み出しが可能であり、コマンドDの書き込みとコマンドAの読み出しは同時に行い得る。   FIG. 8B is a conceptual diagram showing the operation of the transmission data register 102 that has received the command D. The command D input to the input end (left side in the figure) quickly moves toward the output end (right end in the figure). At the same time, the command A at the output end is sent to the transmission shift register 103. Therefore, data is held in the transmission data register 102 in the order of commands B, C, and D. This order is the order of writing. The transmission data register 102 can be written and read at the input end and the output end at the same time, and the command D can be written and the command A can be read simultaneously.

図8(b)の状態おいて電源断となると、制御部106の制御のもとで送信データレジスタ読出部104により、送信データレジスタ102のコマンドB,C,Dが電源断退避データメモリ105に退避(バックアップ)される。なお、図7の場合と同様に、コマンドAは電源断後に送信され、コマンドEはバックアップされる。   When the power supply is cut off in the state of FIG. 8B, the transmission data register reading unit 104 sends the commands B, C, and D of the transmission data register 102 to the power supply interruption save data memory 105 under the control of the control unit 106. Saved (backed up). As in the case of FIG. 7, the command A is transmitted after the power is turned off, and the command E is backed up.

そして、電源投入時の状態復帰処理(S3)において、制御部106の制御により電源断退避データメモリ105からバックアップデータが読み出されてコマンドレジスタ101に書き込まれることにより、退避されたコマンドB,C,Dが送信データレジスタ102に復帰する(コマンドB,C,Dはこの順番でコマンドレジスタ101に書き込まれ、この順番で送信データレジスタ102に再び配置される。コマンドEは、コマンドB,C,Dの後にコマンドレジスタ101に書き込まれる)。この状態を図8(c)に示す。   Then, in the state restoration process at power-on (S 3), the backup data is read from the power-off save data memory 105 and written to the command register 101 under the control of the control unit 106, so that the saved commands B and C , D return to the transmission data register 102 (commands B, C, D are written to the command register 101 in this order, and are again arranged in this order in the transmission data register 102. The command E is a command B, C, Is written to the command register 101 after D). This state is shown in FIG.

図9は、電源断処理のフローチャートである。   FIG. 9 is a flowchart of the power-off process.

S20:制御部106の制御により送信データレジスタ読出部104が送信データレジスタ102の内容を読み込む。 S20: The transmission data register reading unit 104 reads the contents of the transmission data register 102 under the control of the control unit 106.

S21:制御部106が、未送信コマンドがあるかどうか判定する。
図7(a)(c)の状態では未送信コマンドはなく(NO)、図7(b)、図8(b)の状態では未送信コマンドがあり(YES)となる。ありのときはS22の処理を行う。
S21: The control unit 106 determines whether there is an unsent command.
In the states of FIGS. 7A and 7C, there is no untransmitted command (NO), and in the states of FIGS. 7B and 8B, there is an untransmitted command (YES). If yes, the process of S22 is performed.

S22:制御部106の制御により送信データレジスタ読出部104で読み込んだ未送信コマンドを電源断退避データメモリ105に保存する。
図8(b)の例ではコマンドB〜Dが保存される。
電源断退避データメモリ105におけるデータ(コマンド)の保存形式の例を図11及び図12に示す。コマンドそのものとともにその送信の順番も併せて保存する必要があるので、例えば図11のようにメモリのアドレスの順番に従って、送信の順番でコマンドB,C,Dを保存する。あるいは、コマンドと、これに対応付けてコマンドの送信の順番をセットで保存する。
S 22: The untransmitted command read by the transmission data register reading unit 104 is stored in the power-off save data memory 105 under the control of the control unit 106.
In the example of FIG. 8B, commands B to D are saved.
Examples of data (command) storage formats in the power-off / save data memory 105 are shown in FIGS. Since it is necessary to store the order of transmission together with the command itself, the commands B, C, and D are stored in the order of transmission according to the order of addresses in the memory as shown in FIG. Alternatively, the command and the transmission order of the command are stored as a set in association with the command.

S23:制御部106が送信データレジスタ102をクリアする。 S23: The control unit 106 clears the transmission data register 102.

図10は、状態復帰処理のフローチャートである。状態復帰処理は電源投入直後に行われる。   FIG. 10 is a flowchart of the state return process. The state recovery process is performed immediately after the power is turned on.

S30:制御部106が電源断退避データメモリ105から未送信コマンドを読み出す。
図8の例ではコマンドB,C,Dを読み出す。
S30: The control unit 106 reads out an untransmitted command from the power-off / save data memory 105.
In the example of FIG. 8, commands B, C, and D are read.

S31:制御部106が読み出した未送信コマンドをコマンドレジスタ101にセットする。
これにより退避したコマンドが送信データレジスタ102に再び取り込まれ、図8(c)のように電源断直前の状態に復帰する。コマンドレジスタ101にセットする順番は電源断直前における送信の順番でなければならない。図11の例ではメモリのアドレスの順で、図12の例では順番の若い順でコマンドをコマンドレジスタ101にセットする。コマンドEは、通常の復帰処理により、コマンドB,C,Dがセットされた後にコマンドレジスタ101にセットされる(通常の復帰処理は公知であるのでその説明は省略する)。
S31: The untransmitted command read by the control unit 106 is set in the command register 101.
As a result, the saved command is taken into the transmission data register 102 again and returns to the state immediately before the power-off as shown in FIG. The order in which the command register 101 is set must be the order of transmission immediately before the power is turned off. In the example of FIG. 11, commands are set in the command register 101 in the order of memory addresses, and in the example of FIG. The command E is set in the command register 101 after the commands B, C, and D are set by a normal return process (the normal return process is well known and its description is omitted).

発明の実施の形態によれば、メイン基板からサブ基板へ送るコマンドに関して電源断時のバックアップを行うことができ、電源断によりコマンドが消滅することがなくなる。コマンド送信中に電源断となっても、次回起動時に未送信のコマンドを送信することができ、演出等の動作に不都合が生じることがない。   According to the embodiment of the invention, it is possible to perform backup at the time of power-off with respect to a command sent from the main board to the sub-board, and the command will not disappear due to the power-off. Even if the power is cut off during command transmission, an untransmitted command can be transmitted at the next startup, and there is no inconvenience in operations such as effects.

次に、より具体的な構成についていくつか例を挙げて説明を加える。   Next, a more specific configuration will be described with some examples.

図13は、送信データレジスタ読出部104を、複数のレジスタの出力のいずれかを選択して読み出すセレクタで構成した例を示す。なお、図13は読み出し動作を行う部分のみを示し、書き込み動作を行う部分の表示は省略している(図14、図16も同様)。   FIG. 13 shows an example in which the transmission data register reading unit 104 is configured with a selector that selects and reads one of the outputs of a plurality of registers. Note that FIG. 13 shows only the portion that performs the read operation, and the display of the portion that performs the write operation is omitted (the same applies to FIGS. 14 and 16).

R1〜RNは、送信データレジスタ102を構成するN個(N=2,3,・・・)のレジスタである。複数のレジスタR1〜RNは、送信順に配列されている。複数のレジスタR1〜RNは、それぞれコマンドを記憶する。レジスタR1〜RNの全てがコマンドを保持しているとき一杯(FIFOフル)となり、それら全てがコマンドを保持していないとき空(FIFOエンプティ)となる。   R1 to RN are N (N = 2, 3,...) Registers constituting the transmission data register 102. The plurality of registers R1 to RN are arranged in the order of transmission. Each of the plurality of registers R1 to RN stores a command. It becomes full (FIFO full) when all of the registers R1 to RN hold commands, and becomes empty (FIFO empty) when all of them do not hold commands.

Pは、複数のレジスタR1〜RNに記憶されたコマンドの出力の順番を指定するための読出ポインタである。   P is a read pointer for designating the output order of commands stored in the plurality of registers R1 to RN.

SEL1は、読出ポインタPの出力に従って複数のレジスタR1〜RNのいずれかを選択し、選択されたレジスタのコマンドを送信用シフトレジスタ103へ出力する第1セレクタである。   SEL 1 is a first selector that selects one of the plurality of registers R 1 to RN according to the output of the read pointer P and outputs a command of the selected register to the transmission shift register 103.

ポインタ(pointer)とは、一般的に、つぎにアクセスすべきレコードの番地を保持する命令あるいはそのためのメモリの領域やレジスタのことである。ポインタが進むとは、ポインタの内容を更新して次の番地を示すようになることである。読出ポインタPは、次に読み出すべき最初のレジスタの位置とともにコマンドを保持している最後のレジスタの情報を保持している。あるいは、読出ポインタPは、次に読み出すべき最初のレジスタの位置とともにコマンドを保持しているレジスタの数の情報を保持している。   The pointer is generally an instruction for holding the address of the next record to be accessed or a memory area or register for that purpose. The advance of the pointer means that the contents of the pointer are updated to indicate the next address. The read pointer P holds the information of the last register holding the command together with the position of the first register to be read next. Alternatively, the read pointer P holds information on the number of registers holding a command together with the position of the first register to be read next.

なお、図13とは異なる構成を採用することもできる。例えばリングバッファにより送信データレジスタを構成することもできる。   A configuration different from that shown in FIG. 13 may be employed. For example, a transmission data register can be configured by a ring buffer.

リングバッファとは、バッファを環状で管理、運用する制御手法及びこれにより実現されるバッファのことである。リングバッファは、ある一定の領域のメモリを確保しておき、その範囲内を「環」であるように扱う。例えば、当該「環」を一方方向に回るものとするとともに、リードポインタ(読み出し用のポインタ)とライトポインタ(書き込み用のポインタ)を変数として用意する。リングバッファに書き込むと、ライトポインタが進む。リードポインタは、ライトポインタの示す位置まで読み出すことができる。またライトポインタは、リードポインタを通り越すことは出来ない。書き込みは、現在のライトポインタからバッファに書きはじめる。書いたらライトポインタを一つ進めるが、それがリードポインタと一致する場合はバッファが一杯であるので、書くことはできない。読み出しは、リードポインタから順次読み出す。ライトポインタと一致した時点で全てを読み終えたとして終了する。ライトポインタ、リードポインタ、いずれもバッファの最後まで至った場合は、先頭のアドレスに戻す。これが、概念的にあたかも環であるかのようにして処理されるゆえんである。   A ring buffer is a control method for managing and operating a buffer in a ring shape and a buffer realized thereby. The ring buffer reserves a certain area of memory and treats the range as if it is a “ring”. For example, the “ring” is rotated in one direction, and a read pointer (read pointer) and a write pointer (write pointer) are prepared as variables. When writing to the ring buffer, the write pointer advances. The read pointer can be read up to the position indicated by the write pointer. Also, the write pointer cannot pass over the read pointer. Writing begins to write into the buffer from the current write pointer. When writing, the write pointer is advanced by one, but if it matches the read pointer, the buffer is full and cannot be written. Reading is sequentially performed from the read pointer. It ends as if all reading has been completed when it coincides with the write pointer. When both the write pointer and the read pointer reach the end of the buffer, they are returned to the top address. This is why it is processed conceptually as if it were a ring.

SEL2は、送信データレジスタ102の複数のレジスタR1〜RNの出力のいずれかを選択し、選択したレジスタからコマンドを読み出して出力する第2セレクタである。第2セレクタSEL2は、送信データレジスタ読出部104を構成する。   SEL2 is a second selector that selects one of the outputs of the plurality of registers R1 to RN of the transmission data register 102, reads a command from the selected register, and outputs the command. The second selector SEL2 constitutes the transmission data register reading unit 104.

図13では、制御部106が、送信データレジスタ102の読出ポインタPの内容を読み出せるように構成されている。すなわち、制御部106は、次に読み出すべき最初のレジスタの位置とコマンドを保持している最後のレジスタの情報(あるいは、次に読み出すべき最初のレジスタの位置とコマンドを保持しているレジスタの数の情報)を読み出すことができる。   In FIG. 13, the control unit 106 is configured to be able to read the contents of the read pointer P of the transmission data register 102. That is, the control unit 106 has information on the position of the first register to be read next and information on the last register holding the command (or the position of the first register to be read next and the number of registers holding the command). Information) can be read out.

制御部106は、次の処理を行う。   The control unit 106 performs the following processing.

(1)電源断検知部107により電源断を検知したとき、送信データレジスタ102のデータを読み出す。このとき、読出ポインタPを参照してコマンドの出力の順番を取得し、これに従って第2セレクタSEL2により複数のレジスタR1〜RNのいずれかを選択し、選択したレジスタのコマンドを電源断退避データメモリ105に順番に書き込む。この処理によれば、図11のように退避データが書き込まれる。 (1) When power-off detection unit 107 detects power-off, the data in transmission data register 102 is read. At this time, the command output order is obtained by referring to the read pointer P, and the second selector SEL2 selects one of the plurality of registers R1 to RN in accordance with this, and the command of the selected register is stored in the power-off save data memory. Write to 105 in order. According to this process, the save data is written as shown in FIG.

(2)電源投入検知部108により電源投入を検知したとき、電源断退避データメモリ105からコマンドをその書き込んだ順番で読み出してコマンドレジスタ101にセットする。 (2) When power-on is detected by the power-on detection unit 108, commands are read from the power-off save data memory 105 in the order of writing and set in the command register 101.

なお、上記(1)(2)に代えて次の処理を行うようにしてもよい。   Note that the following processing may be performed instead of the above (1) and (2).

(1’)電源断検知部107により電源断を検知したとき、送信データレジスタ102のデータを読み出す。このとき、第2セレクタにより複数のレジスタR1〜RNのいずれかを選択して読み出すとともに、読出ポインタPの内容を読み出してこれに基づき読み出したコマンドの順番を判定し、読み出したコマンドとコマンドの順番を組にして電源断退避データメモリ105に書き込む。この処理によれば、図12のように退避データが書き込まれる。 (1 ') When power-off detection unit 107 detects power-off, data in transmission data register 102 is read. At this time, the second selector selects and reads any of the plurality of registers R1 to RN, reads the contents of the read pointer P, determines the order of the read commands based on the read pointer P, and reads the read commands and the order of the commands. Are written in the power-off / save data memory 105. According to this process, the save data is written as shown in FIG.

(2’)電源投入検知部108により電源投入を検知したとき、電源断退避データメモリ105の順番を調べ、当該順番に従ってコマンドを読み出してコマンドレジスタ101にセットする。 (2 ′) When the power-on detection unit 108 detects power-on, the power-off save data memory 105 is checked in order, and the command is read and set in the command register 101 according to the order.

図14は、送信データレジスタ読出部104を、複数のレジスタR1〜RNの出力をそれぞれ読み出すラッチ(退避用レジスタ)L1〜LNで構成した例を示す。図14において、図13と同一相当部分については同一符号を付し、その説明は省略する。   FIG. 14 shows an example in which the transmission data register reading unit 104 is configured by latches (saving registers) L1 to LN that read the outputs of the plurality of registers R1 to RN, respectively. In FIG. 14, the same reference numerals are given to the same parts as those in FIG. 13, and the description thereof is omitted.

L1〜LNは、送信データレジスタ102の複数のレジスタR1〜RNそれぞれに対応して同じ数だけ設けられた退避用レジスタ(ラッチ)である。ラッチL1〜LNは、データレジスタ読出部104を構成する。   L1 to LN are save registers (latches) provided in the same number corresponding to the plurality of registers R1 to RN of the transmission data register 102, respectively. The latches L1 to LN constitute a data register reading unit 104.

BATは、データレジスタ読出部104のラッチL1〜LNが電源断でもデータを保持できるようにするためのバックアップ電源である。なお、ラッチL1〜LNを不揮発性メモリで構成するときは、バックアップ電源は不要である。   BAT is a backup power source for allowing the latches L1 to LN of the data register reading unit 104 to hold data even when the power is cut off. Note that when the latches L1 to LN are configured by a nonvolatile memory, a backup power source is not necessary.

図14でも、制御部106が、送信データレジスタ102の読出ポインタPの内容を読み出せるように構成されている。   Also in FIG. 14, the control unit 106 is configured to be able to read the contents of the read pointer P of the transmission data register 102.

制御部106は、次の処理を行う。   The control unit 106 performs the following processing.

(1)電源断検知部107により電源断を検知したとき、送信データレジスタ102のレジスタR1〜RNそれぞれのデータ(コマンド)をラッチL1〜LNへ転送する。図14の例では、ラッチL1〜LNの入力端がレジスタR1〜RNの出力端に接続されているので、制御部106からの取込命令により一斉にデータ転送を行う。取込命令は、電源断処理において発生する。それとともに、制御部106は、読出ポインタPの内容を電源断退避データメモリ105に記憶する。すなわち、制御部106は、次に読み出すべき最初のレジスタの位置とコマンドを保持している最後のレジスタの情報(あるいは、次に読み出すべき最初のレジスタの位置とコマンドを保持しているレジスタの数の情報)を電源断退避データメモリ105に記憶する。図14の例では、コマンドそのものは電源断退避データメモリ105に記憶されない。 (1) When the power-off detection unit 107 detects a power-off, the data (commands) of the registers R1 to RN of the transmission data register 102 are transferred to the latches L1 to LN. In the example of FIG. 14, since the input ends of the latches L1 to LN are connected to the output ends of the registers R1 to RN, data transfer is performed all at once according to a fetch instruction from the control unit 106. The fetch command is generated in the power-off process. At the same time, the control unit 106 stores the contents of the read pointer P in the power-off / save data memory 105. That is, the control unit 106 has information on the position of the first register to be read next and information on the last register holding the command (or the position of the first register to be read next and the number of registers holding the command). Is stored in the power-off / save data memory 105. In the example of FIG. 14, the command itself is not stored in the power-off / save data memory 105.

(2)電源投入検知部108により電源投入を検知したとき、電源断退避データメモリ105に記憶された読出ポインタの内容を読み出してこれに基づき退避したコマンドの順番を判定し、当該順番に従って複数の退避用レジスタから前記コマンドを読み出して前記コマンドレジスタにセットする。例えば、レジスタR1、R2、R3にコマンドB,C,Dが保持されていたとき、制御部106はラッチL1,L2,L3の順番でコマンドを読み出してコマンドレジスタ101に書き込む。 (2) When the power-on detection unit 108 detects power-on, the contents of the read pointer stored in the power-off save data memory 105 are read, and the order of saved commands is determined based on the read pointer, and a plurality of commands are determined according to the order. The command is read from the save register and set in the command register. For example, when the commands B, C, and D are held in the registers R1, R2, and R3, the control unit 106 reads out the commands in the order of the latches L1, L2, and L3 and writes them in the command register 101.

図15は、図4とは異なるコマンド送信部のブロック図を示す。図4の同一相当部分については同一符号を付してその説明は省略する。   FIG. 15 shows a block diagram of a command transmitter different from FIG. 4 that are the same as those in FIG.

109は、電源断退避データメモリ105のデータ及びその送信の順番の情報を送信データレジスタ102にセットする送信データレジスタ書込部である。   Reference numeral 109 denotes a transmission data register writing unit that sets data in the power-off / saving data memory 105 and information on the order of transmission thereof in the transmission data register 102.

図15では、コマンドレジスタ101ではなく、送信データレジスタ102にデータを直接セットしている。このデータは複数のコマンドを含むものであるから、その送信の順番の情報を併せてセットする必要がある。この順番の情報は退避の際に、データとともに送信データレジスタ102から電源断退避データメモリ105に記憶される。   In FIG. 15, data is set directly in the transmission data register 102 instead of the command register 101. Since this data includes a plurality of commands, it is necessary to set information on the order of transmission. The information of this order is stored together with the data from the transmission data register 102 in the power-off save data memory 105 at the time of saving.

図16は、図15の具体的な構成を示すブロック図である。図14の同一相当部分には同一符号を付してその説明は省略する。   FIG. 16 is a block diagram showing a specific configuration of FIG. The same reference numerals are given to the same corresponding parts in FIG. 14, and the description thereof is omitted.

図16の構成を用いた図15においては、送信データ読出部104と送信データ書込部109は共通のラッチL1〜LNで構成されている。言い換えれば、ラッチL1〜LNは送信データ読出部104と送信データ書込部109の両方の機能を果たしている。レジスタR1〜RNの出力端にラッチL1〜LNの入力端が接続されるとともに、ラッチL1〜LNの出力端にレジスタR1〜RNの入力端が接続されている。   In FIG. 15 using the configuration of FIG. 16, transmission data reading unit 104 and transmission data writing unit 109 are configured by common latches L1 to LN. In other words, the latches L1 to LN function as both the transmission data reading unit 104 and the transmission data writing unit 109. The input ends of the latches L1 to LN are connected to the output ends of the registers R1 to RN, and the input ends of the registers R1 to RN are connected to the output ends of the latches L1 to LN.

制御部106は、次の処理を行う。   The control unit 106 performs the following processing.

(1)電源断検知部107により電源断を検知したとき、送信データレジスタ102のレジスタR1〜RNそれぞれのデータ(コマンド)をラッチL1〜LNへ転送する。図16の例では、ラッチL1〜LNの入力端がレジスタR1〜RNの出力端に接続されているので、制御部106からの取込命令により一斉にデータ転送を行う。取込命令は、電源断処理において発生する。それとともに、制御部106は、読出ポインタPの内容を電源断退避データメモリ105に記憶する。図16の例では、コマンドそのものは電源断退避データメモリ105に記憶されない。 (1) When the power-off detection unit 107 detects a power-off, the data (commands) of the registers R1 to RN of the transmission data register 102 are transferred to the latches L1 to LN. In the example of FIG. 16, since the input ends of the latches L1 to LN are connected to the output ends of the registers R1 to RN, data transfer is performed all at once according to a fetch instruction from the control unit 106. The fetch command is generated in the power-off process. At the same time, the control unit 106 stores the contents of the read pointer P in the power-off / save data memory 105. In the example of FIG. 16, the command itself is not stored in the power-off / save data memory 105.

(2)電源投入検知部108により電源投入を検知したとき、
送信データレジスタ読出部104/送信データレジスタ書込部105のラッチL1〜LNそれぞれのデータ(コマンド)を送信データレジスタ102のレジスタR1〜RNへ転送する。図16の例では、レジスタR1〜RNの入力端がラッチL1〜LNの出力端に接続されているので、制御部106から送信データレジスタ102への取込命令により一斉にデータ転送を行う。取込命令は、状態復帰処理において発生する。
(2) When power-on detection unit 108 detects power-on,
Data (commands) of the latches L1 to LN of the transmission data register reading unit 104 / transmission data register writing unit 105 are transferred to the registers R1 to RN of the transmission data register 102. In the example of FIG. 16, since the input ends of the registers R1 to RN are connected to the output ends of the latches L1 to LN, data transfer is performed all at once in accordance with a fetch command from the control unit 106 to the transmission data register 102. The fetch command is generated in the state return process.

これに加えて、制御部106は電源断退避データメモリ105に記憶された読出ポインタの内容を読み出し、これを送信データレジスタ102の読出ポインタPへ転送する。   In addition to this, the control unit 106 reads the contents of the read pointer stored in the power-off save data memory 105 and transfers it to the read pointer P of the transmission data register 102.

以上の処理により、複数のコマンドとこれらの送信の順番が電源断の直前の状態に復帰したことになる。   With the above processing, the plurality of commands and their transmission order have returned to the state immediately before the power was turned off.

本発明は、以上の実施の形態に限定されることなく、特許請求の範囲に記載された発明の範囲内で、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。   The present invention is not limited to the above embodiments, and various modifications can be made within the scope of the invention described in the claims, and these are also included in the scope of the present invention. Needless to say.

10 メイン基板
20 サブ基板
101 コマンドレジスタ
102 送信データレジスタ
103 送信用シフトレジスタ
104 送信データレジスタ読出部
105 電源断退避データメモリ
106 制御部
107 電源断検知部
108 電源投入検知部
109 送信データレジスタ書込部
SEL1 第1セレクタ
SEL2 第2セレクタ
R1〜RN 送信データレジスタのレジスタ
L1〜LN 送信データレジスタ読出部のラッチ(退避用レジスタ)
P 読出ポインタ
DESCRIPTION OF SYMBOLS 10 Main board | substrate 20 Sub board | substrate 101 Command register 102 Transmission data register 103 Transmission shift register 104 Transmission data register read-out part 105 Power-off saving data memory 106 Control part 107 Power-off detection part 108 Power-on detection part 109 Transmission-data-register writing part SEL1 First selector SEL2 Second selector R1 to RN Transmission data register registers L1 to LN Transmission data register reading unit latch (saving register)
P Read pointer

Claims (6)

予め定められたコマンドを送信するコマンド送信部を含み、内部抽選処理を含む遊技に係る制御を実行するとともに前記コマンドを生成して送信するメイン基板と、前記コマンドを受けてこれに基づき予め定められた処理を実行するサブ基板とを備える遊技機において、
前記コマンド送信部は、送信する前記コマンドを受け入れるコマンドレジスタと、受け入れた順番で複数の前記コマンドを記憶するとともに、受け入れた順番に従って出力する送信データレジスタと、前記送信データレジスタから前記コマンドの出力を受けてこれを前記サブ基板へ送信する送信用シフトレジスタと、前記送信データレジスタのデータを読み出す送信データレジスタ読出部と、前記送信データレジスタ読出部により読み出したデータを記憶する電源断退避データメモリと、前記送信データレジスタ読出部と前記電源断退避データメモリを制御する制御部と、電源断を検知する電源断検知部と、電源投入を検知する電源投入検知部とを備え、
前記電源断退避データメモリは、電源断でも記憶しているデータが失われることのない記憶装置であり、
前記制御部は、
前記電源断検知部により電源断を検知したとき、前記送信データレジスタ読出部により前記送信データレジスタのデータを読み出し、
前記送信データレジスタ読出部により読み出したデータを前記電源断退避データメモリに記憶し、
前記電源投入検知部により電源投入を検知したとき、前記電源断退避データメモリからデータを読み出し、
読み出したデータを送信すべきコマンドとして前記コマンドレジスタにセットする、ことを特徴とする遊技機。
A command transmission unit that transmits a predetermined command, executes a control related to a game including an internal lottery process, and generates and transmits the command; a main board that receives the command and is predetermined based on the command; In a gaming machine provided with a sub-board for executing the processing,
The command transmission unit stores a command register that receives the command to be transmitted, stores a plurality of the commands in the received order, and outputs a command from the transmission data register that outputs the command in accordance with the received order. A transmission shift register for receiving and transmitting the data to the sub-board, a transmission data register reading unit for reading data in the transmission data register, and a power-off saving data memory for storing data read by the transmission data register reading unit; A control unit that controls the transmission data register reading unit and the power-off saving data memory, a power-off detection unit that detects power-off, and a power-on detection unit that detects power-on,
The power-off saving data memory is a storage device that does not lose data stored even when the power is turned off,
The controller is
When the power-off detection unit detects a power-off, the transmission data register reading unit reads the data in the transmission data register,
Storing the data read by the transmission data register reading unit in the power-off saving data memory;
When power-on is detected by the power-on detector, data is read from the power-off save data memory,
A gaming machine, wherein the read data is set in the command register as a command to be transmitted.
前記送信データレジスタは、それぞれ前記コマンドを記憶する複数のレジスタと、前記複数のレジスタに記憶された前記コマンドの出力の順番を指定するための読出ポインタと、前記読出ポインタの出力に従って前記複数のレジスタのいずれかを選択し、選択されたレジスタの前記コマンドを前記送信用シフトレジスタへ出力する第1セレクタとを備え、
前記送信データレジスタ読出部は、前記複数のレジスタのいずれかを選択し、選択したレジスタの前記コマンドを出力する第2セレクタを含み、
前記制御部は、前記送信データレジスタの前記読出ポインタの内容を読み出せるように構成され、
前記制御部は、
前記送信データレジスタのデータを読み出すとき、前記読出ポインタを参照して前記コマンドの出力の順番を取得し、これに従って前記第2セレクタにより前記複数のレジスタのいずれかを選択し、選択したレジスタの前記コマンドを前記電源断退避データメモリに順番に書き込み、
前記電源投入検知部により電源投入を検知したとき、前記電源断退避データメモリから前記コマンドをその書き込んだ順番で読み出して前記コマンドレジスタにセットする、ことを特徴とする請求項1記載の遊技機。
The transmission data register includes a plurality of registers each storing the command, a read pointer for designating an output order of the commands stored in the plurality of registers, and the plurality of registers according to the output of the read pointer And a first selector that outputs the command of the selected register to the transmission shift register,
The transmission data register reading unit includes a second selector that selects any of the plurality of registers and outputs the command of the selected register;
The control unit is configured to be able to read the content of the read pointer of the transmission data register,
The controller is
When reading the data of the transmission data register, the output order of the command is obtained with reference to the read pointer, and according to this, one of the plurality of registers is selected by the second selector, and the selected register Write commands to the power-off save data memory in order,
2. The gaming machine according to claim 1, wherein when the power-on detection unit detects power-on, the commands are read from the power-off save data memory in the order of writing and set in the command register.
前記送信データレジスタは、それぞれ前記コマンドを記憶する複数のレジスタと、前記複数のレジスタに記憶された前記コマンドの出力の順番を指定するための読出ポインタと、前記読出ポインタの出力に従って前記複数のレジスタのいずれかを選択し、選択されたレジスタの前記コマンドを前記送信用シフトレジスタへ出力する第1セレクタとを備え、
前記送信データレジスタ読出部は、前記複数のレジスタのいずれかを選択し、選択したレジスタの前記コマンドを出力する第2セレクタを含み、
前記制御部は、前記送信データレジスタの前記読出ポインタの内容を読み出せるように構成され、
前記制御部は、
前記送信データレジスタのデータを読み出すとき、前記第2セレクタにより前記複数のレジスタのいずれかを選択して読み出すとともに、前記読出ポインタの内容を読み出してこれに基づき読み出した前記コマンドの順番を判定し、読み出した前記コマンドと前記コマンドの順番を組にして前記電源断退避データメモリに書き込み、
前記電源投入検知部により電源投入を検知したとき、前記電源断退避データメモリの前記順番を調べ、当該順番に従って前記コマンドを読み出して前記コマンドレジスタにセットする、ことを特徴とする請求項1記載の遊技機。
The transmission data register includes a plurality of registers each storing the command, a read pointer for designating an output order of the commands stored in the plurality of registers, and the plurality of registers according to the output of the read pointer And a first selector that outputs the command of the selected register to the transmission shift register,
The transmission data register reading unit includes a second selector that selects any of the plurality of registers and outputs the command of the selected register;
The control unit is configured to be able to read the content of the read pointer of the transmission data register,
The controller is
When reading the data of the transmission data register, the second selector selects and reads one of the plurality of registers, reads the contents of the read pointer and determines the order of the commands read based on the read pointer, Write the read command and the order of the command as a set to the power-off save data memory,
2. The method according to claim 1, wherein when the power-on detection unit detects power-on, the order of the power-off / save data memory is checked, and the command is read and set in the command register according to the order. Gaming machine.
前記送信データレジスタは、それぞれ前記コマンドを記憶する複数のレジスタと、前記複数のレジスタに記憶された前記コマンドの出力の順番を指定するための読出ポインタと、前記読出ポインタの出力に従って前記複数のレジスタのいずれかを選択し、選択されたレジスタの前記コマンドを前記送信用シフトレジスタへ出力する第1セレクタとを備え、
前記送信データレジスタ読出部は、前記送信データレジスタの前記複数のレジスタそれぞれに対応する退避用レジスタを複数備え、
前記制御部は、前記送信データレジスタの前記読出ポインタの内容を読み出せるように構成され、
前記制御部は、
前記送信データレジスタのデータを読み出すとき、前記送信データレジスタ読出部により読み出したデータを前記電源断退避データメモリに記憶することに代えて、前記送信データレジスタの前記複数のレジスタのデータを前記複数の退避用レジスタへそれぞれ転送し、
前記読出ポインタの内容を前記電源断退避データメモリに記憶し、
前記電源投入検知部により電源投入を検知したとき、前記電源断退避データメモリに記憶された前記読出ポインタの内容を読み出してこれに基づき退避した前記コマンドの順番を判定し、当該順番に従って前記複数の退避用レジスタから前記コマンドを読み出して前記コマンドレジスタにセットする、ことを特徴とする請求項1記載の遊技機。
The transmission data register includes a plurality of registers each storing the command, a read pointer for designating an output order of the commands stored in the plurality of registers, and the plurality of registers according to the output of the read pointer And a first selector that outputs the command of the selected register to the transmission shift register,
The transmission data register reading unit includes a plurality of save registers corresponding to the plurality of registers of the transmission data register,
The control unit is configured to be able to read the content of the read pointer of the transmission data register,
The controller is
When reading the data of the transmission data register, instead of storing the data read by the transmission data register reading unit in the power-off saving data memory, the data of the plurality of registers of the transmission data register Transfer each to the save register,
Storing the contents of the read pointer in the power-off save data memory;
When power-on is detected by the power-on detector, the contents of the read pointer stored in the power-off save data memory are read out, the order of the saved commands is determined based on the read pointer, and the plurality of commands are determined according to the order. 2. The gaming machine according to claim 1, wherein the command is read from a save register and set in the command register.
予め定められたコマンドを送信するコマンド送信部を含み、内部抽選処理を含む遊技に係る制御を実行するとともに前記コマンドを生成して送信するメイン基板と、前記コマンドを受けてこれに基づき予め定められた処理を実行するサブ基板とを備える遊技機において、
前記コマンド送信部は、前記コマンドを受け入れた順番で出力する送信データレジスタと、前記送信データレジスタから前記コマンドの出力を受けてこれを前記サブ基板へ送信する送信用シフトレジスタと、前記送信データレジスタのデータを読み出す送信データレジスタ読出部と、前記送信データレジスタ読出部により読み出したデータを記憶する電源断退避データメモリと、前記送信データレジスタ読出部と前記電源断退避データメモリを制御する制御部と、電源断を検知する電源断検知部と、電源投入を検知する電源投入検知部と、前記電源断退避データメモリのデータを前記送信データレジスタにセットする送信データレジスタ書込部とを備え、
前記電源断退避データメモリは、電源断でも記憶しているデータが失われることのない記憶装置であり、
前記制御部は、
前記電源断検知部により電源断を検知したとき、前記送信データレジスタ読出部により前記送信データレジスタのデータ及びその送信の順番の情報を読み出し、
前記送信データレジスタ読出部により読み出したデータ及びその送信の順番の情報を前記電源断退避データメモリに記憶し、
前記電源投入検知部により電源投入を検知したとき、前記電源断退避データメモリからデータ及びその送信の順番の情報を読み出し、
前記送信データレジスタ書込部により読み出したデータ及びその送信の順番の情報を前記送信データレジスタにセットする、ことを特徴とする遊技機。
A command transmission unit that transmits a predetermined command, executes a control related to a game including an internal lottery process, and generates and transmits the command; a main board that receives the command and is predetermined based on the command; In a gaming machine provided with a sub-board for executing the processing,
The command transmission unit includes a transmission data register that outputs the commands in the order of reception, a transmission shift register that receives the output of the command from the transmission data register and transmits the command to the sub-board, and the transmission data register A transmission data register reading unit for reading data, a power-off saving data memory for storing data read by the transmission data register reading unit, a control unit for controlling the transmission data register reading unit and the power-off saving data memory, A power-off detection unit that detects power-off, a power-on detection unit that detects power-on, and a transmission data register writing unit that sets data in the power-off save data memory in the transmission data register,
The power-off saving data memory is a storage device that does not lose data stored even when the power is turned off,
The controller is
When the power-off detection unit detects a power-off, the transmission data register reading unit reads the data in the transmission data register and information on the order of transmission,
The data read by the transmission data register reading unit and the information of the order of transmission are stored in the power-off save data memory,
When power-on is detected by the power-on detection unit, data and information on the order of transmission are read from the power-off saving data memory,
A game machine characterized in that the data read by the transmission data register writing unit and information on the order of transmission are set in the transmission data register.
前記送信データレジスタは、それぞれ前記コマンドを記憶する複数のレジスタと、前記複数のレジスタに記憶された前記コマンドの出力の順番を指定するための読出ポインタと、前記読出ポインタの出力に従って前記複数のレジスタのいずれかを選択し、選択されたレジスタの前記コマンドを前記送信用シフトレジスタへ出力する第1セレクタとを備え、
前記送信データレジスタ読出部及び前記送信データレジスタ書込部は、前記送信データレジスタの前記複数のレジスタそれぞれに対応する退避用レジスタを複数備え、
前記制御部は、前記送信データレジスタの前記読出ポインタの内容を読み出せるように構成され、
前記制御部は、
前記送信データレジスタのデータを読み出すとき、前記送信データレジスタ読出部により読み出したデータを前記電源断退避データメモリに記憶することに代えて、前記送信データレジスタの前記複数のレジスタのデータを前記複数の退避用レジスタへそれぞれ転送し、
前記読出ポインタの内容を前記電源断退避データメモリに記憶し、
前記電源投入検知部により電源投入を検知したとき、前記複数の退避用レジスタのデータを前記送信データレジスタの前記複数のレジスタへそれぞれ転送し、
前記電源断退避データメモリから前記読出ポインタの内容を読み出してこれを前記読出ポインタにセットする、ことを特徴とする請求項5記載の遊技機。
The transmission data register includes a plurality of registers each storing the command, a read pointer for designating an output order of the commands stored in the plurality of registers, and the plurality of registers according to the output of the read pointer And a first selector that outputs the command of the selected register to the transmission shift register,
The transmission data register reading unit and the transmission data register writing unit each include a plurality of save registers corresponding to the plurality of registers of the transmission data register,
The control unit is configured to be able to read the content of the read pointer of the transmission data register,
The controller is
When reading the data of the transmission data register, instead of storing the data read by the transmission data register reading unit in the power-off saving data memory, the data of the plurality of registers of the transmission data register Transfer each to the save register,
Storing the contents of the read pointer in the power-off save data memory;
When the power-on detection unit detects power-on, the data of the plurality of save registers is transferred to the plurality of registers of the transmission data register, respectively.
6. The gaming machine according to claim 5, wherein the contents of the read pointer are read from the power-off saving data memory and set in the read pointer.
JP2011121880A 2011-05-31 2011-05-31 Game machine Active JP5685489B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011121880A JP5685489B2 (en) 2011-05-31 2011-05-31 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011121880A JP5685489B2 (en) 2011-05-31 2011-05-31 Game machine

Publications (2)

Publication Number Publication Date
JP2012245328A JP2012245328A (en) 2012-12-13
JP5685489B2 true JP5685489B2 (en) 2015-03-18

Family

ID=47466344

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011121880A Active JP5685489B2 (en) 2011-05-31 2011-05-31 Game machine

Country Status (1)

Country Link
JP (1) JP5685489B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6250936B2 (en) * 2013-02-18 2017-12-20 株式会社三共 Pachislot machines, game boards and game frames
JP5599121B1 (en) * 2013-04-22 2014-10-01 山佐株式会社 Game machine
JP6391222B2 (en) * 2013-08-26 2018-09-19 株式会社三共 Game board
JP6315657B2 (en) * 2013-12-03 2018-04-25 サミー株式会社 Game machine
JP2015107267A (en) * 2013-12-05 2015-06-11 株式会社エルイーテック Game machine, game machine system, and chip and board thereof
JP6377821B2 (en) * 2017-09-04 2018-08-22 株式会社三共 Game machine
JP2018161540A (en) * 2018-07-25 2018-10-18 株式会社三共 Game machine

Also Published As

Publication number Publication date
JP2012245328A (en) 2012-12-13

Similar Documents

Publication Publication Date Title
JP5685489B2 (en) Game machine
JP5908314B2 (en) Game machine
JP2011019744A (en) Slot machine
JP2014210063A (en) Game machine
JP2007143729A (en) Game machine
JP6268354B2 (en) Game machine
JP5362409B2 (en) Game machine
JP2017006474A (en) Game machine
JP5776921B2 (en) Game machine
JP6232635B2 (en) Game machine
JP4907269B2 (en) Game machine
JP5481761B2 (en) Game machine
JP2018094239A (en) Game machine
JP5701154B2 (en) Game machine
JP6085133B2 (en) Game machine
JP5849330B2 (en) Game machine
JP5637512B2 (en) Game machine
JP5037839B2 (en) Gaming machines that selectively display disclosure avoidance information
JP6152163B2 (en) Game machine
JP5585773B2 (en) Game machine
JP5987173B2 (en) Game machine
JP2007029365A (en) Spin drum type game machine
JP2013094320A (en) Game machine
JP2010115297A (en) Game machine
JP2017131412A (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140209

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141224

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150106

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150119

R150 Certificate of patent or registration of utility model

Ref document number: 5685489

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250