JP5990670B2 - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP5990670B2
JP5990670B2 JP2013033074A JP2013033074A JP5990670B2 JP 5990670 B2 JP5990670 B2 JP 5990670B2 JP 2013033074 A JP2013033074 A JP 2013033074A JP 2013033074 A JP2013033074 A JP 2013033074A JP 5990670 B2 JP5990670 B2 JP 5990670B2
Authority
JP
Japan
Prior art keywords
game
register
control device
command
value
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
JP2013033074A
Other languages
Japanese (ja)
Other versions
JP2014161423A (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 JP2013033074A priority Critical patent/JP5990670B2/en
Publication of JP2014161423A publication Critical patent/JP2014161423A/en
Application granted granted Critical
Publication of JP5990670B2 publication Critical patent/JP5990670B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、レジスタを備えたプロセッサによって制御を行う遊技機に関する。   The present invention relates to a gaming machine that is controlled by a processor having a register.

停電の発生を早期に検出するために、所定の時間間隔で実行されるタイマ割り込み処理において停電の監視を行う遊技機が提案されている(例えば、特許文献1参照)。   In order to detect the occurrence of a power outage at an early stage, a gaming machine that monitors power outages in a timer interrupt process executed at predetermined time intervals has been proposed (for example, see Patent Document 1).

このような遊技機を制御する制御基板のCPUには、Z80をコアとするものが使用されることが多い。なお、Z80のCPUには、様々な汎用レジスタが備えられている(例えば、特許文献2参照)。   A CPU having a Z80 core is often used as a CPU of a control board for controlling such a gaming machine. The Z80 CPU includes various general-purpose registers (see, for example, Patent Document 2).

特開2004−089476号公報JP 2004-089476 A 特開平11−232099号公報Japanese Patent Application Laid-Open No. 11-2332099

しかしながら、特許文献2に開示されたようなCPUでは、遊技制御プログラムの実行に必要な汎用レジスタの数に制限があるため、複雑な遊技制御を行う場合には汎用レジスタが不足してしまうことがあった。そこで、特許文献1の図5のS11に示すように、PUSH命令を用いてスタック領域にレジスタの値を待避する処理が必要となり、プログラムが複雑になってしまうという問題が生じていた。   However, in the CPU as disclosed in Patent Document 2, the number of general-purpose registers necessary for executing the game control program is limited. Therefore, when performing complex game control, the general-purpose registers may be insufficient. there were. Therefore, as shown in S11 of FIG. 5 of Patent Document 1, processing for saving register values in the stack area using a PUSH instruction is required, which causes a problem that the program becomes complicated.

また、PUSH命令を用いてスタック領域にレジスタの値を待避した場合は、スタック領域からレジスタの値を復帰させる処理(特許文献1の図5のS25のPOP命令)が必要となり、プログラム容量を増大させる原因にもなっていた。   Further, when the register value is saved in the stack area using the PUSH instruction, a process for restoring the register value from the stack area (POP instruction in S25 of FIG. 5 of Patent Document 1) is required, which increases the program capacity. It was also a cause.

本発明は、上記のような問題点を解決するためになされたもので、汎用レジスタの不足を解消することによって、プログラムの複雑化及び容量の増大を防ぐことを目的とする。   The present invention has been made to solve the above-described problems, and it is an object of the present invention to prevent complication of a program and increase in capacity by eliminating the shortage of general-purpose registers.

本発明の代表的な一形態では、所定の始動条件の成立により遊技を実行し、該遊技が特別な結果となる場合に遊技者に特典を付与する特別遊技状態を発生させる遊技制御を行う遊技制御装置を備えた遊技機において、前記遊技制御装置は、遊技制御プログラムを記憶する遊技制御プログラム記憶手段と前記遊技制御プログラムにより所要の演算処理を行う演算処理手段と、前記演算処理手段によって更新される情報が記憶されるとともに、スタック領域が設定される更新情報記憶手段と、前記演算処理を行う際にが記憶される第1のレジスタと、前記第1のレジスタと同じ構成を有する第2のレジスタと、前記第1のレジスタ及び前記第2のレジスタの何れか一方を、アクセス可能に切り替える切替手段と、を備えるとともに、前記第1のレジスタ群及び前記第2のレジスタ群の何れがアクセス可能であるかを示す切替情報設定領域が形成され、前記遊技制御プログラムには、呼出元の処理が記述された呼出元ルーチンと、前記呼出元ルーチンから呼び出される処理が記述された呼出先ルーチンと、が含まれ、前記演算処理手段は、前記呼出先ルーチンが呼び出された場合は、前記呼出元ルーチンで設定されていた前記切替情報設定領域の情報を前記スタック領域に格納した状態で、前記呼出先ルーチンの処理の実行を開始し、前記呼出先ルーチンから呼出元ルーチンに復帰する際には、前記スタック領域に格納されている情報が、前記切替情報設定領域に復帰する構成であり、前記呼出先ルーチンには、前記遊技に関連するタイマを更新する処理が含まれることを特徴とする。 In an exemplary embodiment of the present invention, a game that executes a game by the occurrence of a predetermined start condition, performs game control for generating special game state in which the game is to impart benefits to the player when the special results In the gaming machine provided with the control device, the game control device is updated by the game control program storage means for storing the game control program, the arithmetic processing means for performing the required arithmetic processing by the game control program, and the arithmetic processing means. Update information storage means in which a stack area is set, a first register group in which values are stored when performing the arithmetic processing, and the same configuration as the first register group a second register group, the one of said first register group and said second group of registers, with accessibly comprises a toggle its sWITCHING means, and A switching information setting area indicating which of the first register group and the second register group is accessible is formed, and the game control program includes a call source routine in which a call source process is described. A call destination routine in which a process called from the call source routine is described, and the arithmetic processing means, when the call destination routine is called, the switching set in the call source routine When the information setting area information is stored in the stack area, the execution of the processing of the call destination routine is started, and when returning from the call destination routine to the call source routine, the information is stored in the stack area. information, the a configuration of returning the switching information setting region, the said callee routine, especially the Rukoto includes processing for updating the timer associated with the game To.

本明細書における実施形態では、「遊技機」をパチンコ機として説明しているが、スロットマシンなどの回胴式遊技機であってもよいし、スマートボールであってもよい。これらのパチンコ機以外の遊技機であっても、前述した課題はパチンコ機の場合と同様に発生する課題である。   In the embodiment of the present specification, the “game machine” is described as a pachinko machine, but it may be a spinning-type game machine such as a slot machine or a smart ball. Even in a gaming machine other than these pachinko machines, the above-described problem is a problem that occurs as in the case of the pachinko machine.

「所定の始動条件」とは、パチンコ機であれば、例えば、遊技球が始動入賞口に入賞する場合である。また、スロットマシンであれば、例えば、遊技媒体のベットをした後、遊技者によってスタートレバーが操作される場合である。   The “predetermined start condition” is, for example, a case where a game ball wins a start winning opening if it is a pachinko machine. Further, in the case of a slot machine, for example, the player operates a start lever after betting a game medium.

「遊技」とは、例えば、表示画面の画像を表示可能な領域(表示領域)設けられた複数の変動表示領域において、各変動表示領域に識別情報などが表示され、各識別図柄が変動表示する変動表示ゲームである。変動表示ゲームにおける「特別な結果」とは、例えば、変動表示する識別図柄がすべて同じ図柄で停止した場合である。 The "Yu technique", for example, a plurality of variable display area provided available space (display area) displays an image of the display screen, such as identification information to each variation display region is displayed, the display each identification symbols variation It is a variable display game. The “special result” in the variable display game is, for example, a case where all the identification symbols to be variable displayed stop at the same symbol.

あるいは、入賞した遊技球を、特定入賞領域(所謂Vゾーン)か一般入賞領域(所謂外れゾーン)に振り分ける遊技のことを「補助遊技」と称し、この遊技の結果として、遊技球が特定入賞領域に入賞した場合を「特別な結果」と称する場合もある。   Alternatively, a game in which a winning game ball is distributed to a specific winning area (so-called V zone) or a general winning area (so-called out-of-zone) is referred to as an “auxiliary game”. The case where a prize is won may be referred to as a “special result”.

「遊技制御プログラム」とは、遊技の進行制御を行うプログラムや、演出制御を行うプログラムが含まれる。「遊技制御プログラム」は、「遊技制御プログラム記憶手段」に記憶され、「演算処理手段」によって実行される。「遊技制御プログラム記憶手段」は、読み書き可能(揮発性)であってもよいし、読み出し専用(不揮発性)であってもよい。「演算処理手段」は、いわゆるCPU(若しくはCPUに含まれる命令解釈実行回路)である。   The “game control program” includes a program for performing progress control of a game and a program for performing effect control. The “game control program” is stored in the “game control program storage means” and is executed by the “arithmetic processing means”. The “game control program storage means” may be readable / writable (volatile) or read-only (nonvolatile). The “arithmetic processing means” is a so-called CPU (or an instruction interpretation execution circuit included in the CPU).

「レジスタ」は、「演算処理手段」によってアクセスされるデータが格納される。「遊技制御プログラム記憶手段」や「更新情報記憶手段」に格納されたデータを「演算処理手段」がアクセスする場合には「レジスタ」を介するようにしてもよいし、直接アクセス可能としてもよい。   The “register” stores data accessed by the “arithmetic processing means”. When the “arithmetic processing means” accesses the data stored in the “game control program storage means” or the “update information storage means”, the data may be accessed via a “register” or may be directly accessible.

本発明の一形態によれば、汎用レジスタの不足を解消することができる。   According to one embodiment of the present invention, the shortage of general-purpose registers can be solved.

本発明の第1の実施形態の遊技装置の構成を説明する図である。It is a figure explaining the structure of the game device of the 1st Embodiment of this invention. 本発明の第1の実施形態の遊技機の背面図である。It is a rear view of the gaming machine of the first embodiment of the present invention. 本発明の第1の実施形態の遊技盤の正面図である。It is a front view of the game board of the 1st embodiment of the present invention. 本発明の第1の実施形態の遊技装置のブロック図である。It is a block diagram of the gaming machine of the first embodiment of the present invention. 本発明の第1の実施形態の遊技用演算処理装置(アミューズチップ)のブロック図である。1 is a block diagram of a game arithmetic processing device (amuse chip) according to a first embodiment of the present invention. 本発明の第1の実施形態の遊技制御装置におけるシリアル送信回路の構成例を示すブロック図である。It is a block diagram which shows the structural example of the serial transmission circuit in the game control apparatus of the 1st Embodiment of this invention. 本発明の第1の実施形態の送信シリアルチャンネル設定レジスタの構成例を示す図である。It is a figure which shows the structural example of the transmission serial channel setting register of the 1st Embodiment of this invention. 本発明の第1の実施形態の送信制御レジスタの構成例を示す図である。It is a figure which shows the structural example of the transmission control register of the 1st Embodiment of this invention. 本発明の第1の実施形態の送信データステータスレジスタの構成例を示す図である。It is a figure which shows the structural example of the transmission data status register of the 1st Embodiment of this invention. 本発明の第1の実施形態の送信データレジスタ(1段分)の構成例を示す図である。It is a figure which shows the structural example of the transmission data register (for 1 step | paragraph) of the 1st Embodiment of this invention. 本発明の第1の実施形態の遊技制御装置に備わる遊技用演算処理装置(アミューズチップ)とその周辺のブロック図である。FIG. 2 is a block diagram of a game arithmetic processing device (amuse chip) provided in the game control device of the first embodiment of the present invention and its surroundings. 本発明の第1の実施形態のCPUコアの内部構成を説明するブロック図である。It is a block diagram explaining the internal structure of the CPU core of the 1st Embodiment of this invention. 本発明の第1の実施形態のフラグレジスタの構成を説明する図である。It is a figure explaining the structure of the flag register of the 1st Embodiment of this invention. 本発明の第1の実施形態のユーザワークRAMの一例を示す図である。It is a figure which shows an example of the user work RAM of the 1st Embodiment of this invention. 本発明の第1の実施形態のユーザワークRAMに割り当てられたワークエリアに格納されるデータの具体例を説明する図であり、保留カウンタ、各種乱数の生成領域及び普図乱数の保存領域を示す図である。It is a figure explaining the specific example of the data stored in the work area allocated to the user work RAM of the 1st Embodiment of this invention, and shows a holding | maintenance counter, the production | generation area | region of various random numbers, and the storage area of a common random number FIG. 本発明の第1の実施形態のユーザワークRAMに割り当てられたワークエリアに格納されるデータの具体例を説明する図であり、第1特図変動表示ゲームを実行するために必要な各種乱数の保存領域を示す図である。It is a figure explaining the specific example of the data stored in the work area allocated to the user work RAM of the 1st Embodiment of this invention, and various random numbers required in order to run a 1st special figure fluctuation display game It is a figure which shows a preservation | save area | region. 本発明の第1の実施形態のユーザワークRAMに割り当てられたワークエリアに格納されるデータの具体例を説明する図であり、第2特図変動表示ゲームを実行するために必要な各種乱数の保存領域を示す図である。It is a figure explaining the specific example of the data stored in the work area allocated to the user work RAM of the 1st Embodiment of this invention, and various random numbers required in order to run a 2nd special figure fluctuation display game It is a figure which shows a preservation | save area | region. 本発明の第1の実施形態のスタック領域の一例を示す図である。It is a figure which shows an example of the stack area | region of the 1st Embodiment of this invention. 本発明の第1の実施形態のスタック領域の一例を示す図である。It is a figure which shows an example of the stack area | region of the 1st Embodiment of this invention. 本発明の第1の実施形態のスタック領域の変形例を示す図である。It is a figure which shows the modification of the stack area | region of the 1st Embodiment of this invention. 本発明の第1の実施形態のCPUコアによって実行される遊技制御プログラムを記述するためのアセンブリ言語の命令を説明する図であり、変換後のコードデータにアドレス部を含まない命令(変換後のコードデータが命令コード部のみで構成される命令)を示す図である。It is a figure explaining the instruction | indication of the assembly language for describing the game control program performed by CPU core of the 1st Embodiment of this invention, and the code | cord | chord after conversion does not contain an address part (after conversion) FIG. 3 is a diagram illustrating an instruction) in which code data includes only an instruction code portion. 本発明の第1の実施形態のCPUコアによって実行される遊技制御プログラムを記述するためのアセンブリ言語の命令を説明する図であり、変換後のコードデータに命令コード部とアドレス部の各々を含む命令を示す図である。It is a figure explaining the instruction | indication of the assembly language for describing the game control program performed by the CPU core of the 1st Embodiment of this invention, and each of an instruction code part and an address part is included in the converted code data It is a figure which shows a command. 本発明の第1の実施形態の各装置(遊技制御装置、払出制御装置、及び演出制御装置)の電源投入時処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the power-on process of each apparatus (game control apparatus, payout control apparatus, and presentation control apparatus) of the 1st Embodiment of this invention. 本発明の第1の実施形態の遊技制御装置プログラム開始準備処理を説明するフローチャートである。It is a flowchart explaining the game control apparatus program start preparation process of the 1st Embodiment of this invention. 本発明の第1の実施形態の遊技制御装置メイン処理の前半部のフローチャートである。It is a flowchart of the first half part of the game control apparatus main process of the 1st Embodiment of this invention. 本発明の第1の実施形態の遊技制御装置メイン処理の後半部のフローチャートである。It is a flowchart of the second half part of the game control apparatus main process of the 1st Embodiment of this invention. 本発明の第1の実施形態の遊技制御装置メイン処理におけるステップ2501からステップ2502Bまでの処理を説明する図である。It is a figure explaining the process from step 2501 to step 2502B in the game control apparatus main process of the 1st Embodiment of this invention. 本発明の第1の実施形態のディレイ処理を説明する図である。It is a figure explaining the delay process of the 1st Embodiment of this invention. 本発明の第1の実施形態のタイマ割込処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the timer interruption process of the 1st Embodiment of this invention. 本発明の第1の実施形態の遊技制御装置から、演出制御装置及び払出制御装置に初期化指令信号を送信する初期化指令送信処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the initialization command transmission process which transmits the initialization command signal to the production | presentation control apparatus and the payout control apparatus from the game control apparatus of the 1st Embodiment of this invention. 本発明の第1の実施形態の遊技制御装置から、演出制御装置及び払出制御装置にコマンドを送信するためのコマンド送信処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the command transmission process for transmitting a command from the game control apparatus of the 1st Embodiment of this invention to an effect control apparatus and a payout control apparatus. 本発明の第1の実施形態の電源投入時の遊技制御装置、払出制御装置、及び演出制御装置が行う処理、並びに、遊技制御装置に備わるシリアル送信回路の状態のタイミングチャートである。It is the timing chart of the state of the serial transmission circuit with which the game control apparatus at the time of power activation of the 1st Embodiment of this invention, the payout control apparatus, and the production | presentation control apparatus perform, and the game control apparatus. 本発明の第1の実施形態の遊技制御装置から払出制御装置に送信される排出指令の一例を示す図である。It is a figure which shows an example of the discharge | release instruction | command transmitted to the payout control apparatus from the game control apparatus of the 1st Embodiment of this invention. 本発明の第1の実施形態のスイッチの立ち上がりを検出する手順を示すタイムチャートである。It is a time chart which shows the procedure which detects the rising of the switch of the 1st Embodiment of this invention. 本発明の第1の実施形態の遊技制御装置から演出制御装置に送信される演出制御コマンドの一例を示す図である。It is a figure which shows an example of the effect control command transmitted to the effect control apparatus from the game control apparatus of the 1st Embodiment of this invention. 本発明の第1の実施形態の遊技制御装置から演出制御装置に送信される送信データの構成を示す説明図であり、(a)は送信データの概略構成を示し、(b)は送信データの詳細構成を示している。It is explanatory drawing which shows the structure of the transmission data transmitted to the production | presentation control apparatus from the game control apparatus of the 1st Embodiment of this invention, (a) shows schematic structure of transmission data, (b) shows transmission data A detailed configuration is shown. 本発明の第1の実施形態の特図ゲーム処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the special figure game process of the 1st Embodiment of this invention. 本発明の第1の実施形態の特図ゲーム処理におけるゲーム処理番号に基づいた分岐の処理を説明する図である。It is a figure explaining the process of a branch based on the game process number in the special figure game process of the 1st Embodiment of this invention. 本発明の第1の実施形態の始動口SW監視処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the start port SW monitoring process of the 1st Embodiment of this invention. 本発明の第1の実施形態の特図始動口SW共通処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the special figure starting port SW common process of the 1st Embodiment of this invention. 本発明の第1の実施形態の特図保留情報判定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the special figure pending | holding information determination process of the 1st Embodiment of this invention. 本発明の第1の実施形態の特図大当り判定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the special figure jackpot determination process of the 1st Embodiment of this invention. 本発明の第1の実施形態の大当り時変動パターン設定処理及びはずれ時変動パターン設定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the fluctuation pattern setting process at the time of big hit of the 1st Embodiment of this invention, and the fluctuation pattern setting process at the time of a loss. 本発明の第1の実施形態の圧縮値振分処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the compression value distribution process of the 1st Embodiment of this invention. 本発明の第1の実施形態の圧縮振分コード変換処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the compression distribution code conversion process of the 1st Embodiment of this invention. 本発明の第1の実施形態の圧縮振分コードの構成を説明する図である。It is a figure explaining the structure of the compression distribution code of the 1st Embodiment of this invention. 本発明の第1の実施形態におけるbを4とした場合の圧縮振分コードが表現可能な最小値と最大値を表す図であり、(A)は振分値の最小値、(B)は振分値の最大値を表す。It is a figure showing the minimum value and the maximum value which can express a compression distribution code when b in the 1st embodiment of the present invention is set to 4, (A) is the minimum value of distribution value, (B) is Represents the maximum distribution value. 本発明の第1の実施形態のグループ選択テーブルを説明する図であり、(A)は抽選結果が大当りの場合に選択される当りグループ選択テーブル、(B)は抽選結果がはずれの場合に選択されるはずれグループ選択テーブルである。It is a figure explaining the group selection table of the 1st Embodiment of this invention, (A) is a hit group selection table selected when a lottery result is a big win, (B) is selected when a lottery result is off It is an outlier group selection table. 本発明の第1の実施形態の後半変動パターンテーブルである。It is a latter half fluctuation pattern table of a 1st embodiment of the present invention. 本発明の第1の実施形態の前半変動パターンテーブルである。It is a first half variation pattern table of the 1st embodiment of the present invention. 本発明の第1の実施の形態の大当りの種類を説明する図であり、(A)は特図1変動表示ゲーム、(B)は特図2変動表示ゲームで大当りとなった場合を示している。It is a figure explaining the kind of jackpot of 1st Embodiment of this invention, (A) shows the case where it is a big hit by the special figure 1 fluctuation display game, (B) shows the special figure 2 fluctuation display game. Yes. 本発明の第1の実施形態の特図普段処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the special figure normal process of the 1st Embodiment of this invention. 本発明の第1の実施形態の特図1/特図2変動開始処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the special figure 1 / special figure 2 fluctuation start process of the 1st Embodiment of this invention. 本発明の第1の実施形態の特図変動中処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the special figure fluctuation process of the 1st Embodiment of this invention. 本発明の第1の実施形態の特図表示中処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the special figure display process of the 1st Embodiment of this invention. 本発明の第1の実施形態の大当り終了処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the big hit end process of the 1st Embodiment of this invention. 本発明の第1の実施形態の変動パターンのグループを説明する図であり、(A)は各グループの当り時/はずれ時の振分値Fと期待度を表し、(B)は各グループと変動パターン乱数の値との対応を表す。It is a figure explaining the group of the fluctuation | variation pattern of the 1st Embodiment of this invention, (A) represents the distribution value F and the expectation degree at the time of the hit / off of each group, (B) shows each group, This represents the correspondence with the value of the fluctuation pattern random number. 本発明の第1の実施形態の圧縮振分コードが表現可能な値を帯状に表した図である。It is the figure which represented the value which can express the compression distribution code of the 1st Embodiment of this invention in strip shape. 本発明の第1の実施形態のグループ選択テーブル(A)と従来のグループ選択テーブル(B)とを対比するために表す図である。It is a figure represented in order to contrast the group selection table (A) of the 1st Embodiment of this invention, and the conventional group selection table (B). 本発明の第1の実施形態の普図ゲーム処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the usual game process of the 1st Embodiment of this invention. 本発明の第1の実施形態のゲートスイッチ監視処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the gate switch monitoring process of the 1st Embodiment of this invention. 本発明の第1の実施形態の普電入賞スイッチ監視処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the general power prize winning switch monitoring process of the 1st Embodiment of this invention. 本発明の第1の実施形態の普図普段処理の前半の手順を示すフローチャートである。It is a flowchart which shows the procedure of the first half of the usual figure normal process of the 1st Embodiment of this invention. 本発明の第1の実施形態の普図普段処理の後半の手順を示すフローチャートである。It is a flowchart which shows the procedure of the second half of the usual figure normal process of the 1st Embodiment of this invention. 本発明の第1の実施形態の普図普段処理移行設定処理1の手順を示すフローチャートである。It is a flowchart which shows the procedure of the usual figure normal process transfer setting process 1 of the 1st Embodiment of this invention. 本発明の第1の実施形態の普図変動中処理移行設定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process shift setting process in the normal fluctuation of the 1st Embodiment of this invention. 本発明の第1の実施形態の普図変動中処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process during common figure change of the 1st Embodiment of this invention. 本発明の第1の実施形態の普図表示中処理移行設定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process transfer setting process in the normal map display of the 1st Embodiment of this invention. 本発明の第1の実施形態の普図表示中処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process during the normal map display of the 1st Embodiment of this invention. 本発明の第1の実施形態の普図当り中処理移行設定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process transition setting process in the normal figure of the 1st Embodiment of this invention. 本発明の第1の実施形態の普図当り中処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process during a common figure of the 1st Embodiment of this invention. 本発明の第1の実施形態の普電作動移行設定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the general electric operation transfer setting process of the 1st Embodiment of this invention. 本発明の第1の実施形態の普図残存球処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the common figure remaining ball process of the 1st Embodiment of this invention. 本発明の第1の実施形態の普図当り終了処理移行設定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the end process transition setting process of the common figure of the 1st Embodiment of this invention. 本発明の第1の実施形態の普図当り終了処理のフローチャートである。It is a flowchart of the end process per common figure of the 1st Embodiment of this invention. 本発明の第1の実施形態の普図普段処理移行設定処理2の手順を示すフローチャートである。It is a flowchart which shows the procedure of the usual figure normal process transfer setting process 2 of the 1st Embodiment of this invention. 本発明の第1の実施形態における普図乱数と普通変動入賞装置の開放パターンとの対応を説明する図であり、(A)は抑制状態、(B)は促進状態を示す。It is a figure explaining a response | compatibility with the opening random number of the usual random number and a normal variation prize-winning apparatus in the 1st Embodiment of this invention, (A) shows a suppression state, (B) shows an acceleration state. 本発明の第1の実施形態における従来の普通変動入賞装置の開放動作等を示すタイミングチャートである。It is a timing chart which shows opening operation | movement etc. of the conventional normal fluctuation prize-winning apparatus in the 1st Embodiment of this invention. 本発明の第1の実施形態における普通変動入賞装置の開放動作等を示すタイミングチャートである。It is a timing chart which shows opening operation | movement etc. of the normal variation prize-winning apparatus in the 1st Embodiment of this invention. 本発明の第1の実施形態における始動記憶をシフトさせる処理のプログラムの一例を示す図であり、Kレジスタを利用して記憶容量を削減したプログラムである。It is a figure which shows an example of the program of the process which shifts the starting memory | storage in the 1st Embodiment of this invention, and is a program which reduced the memory capacity using the K register. 本発明の第1の実施形態における始動記憶をシフトさせる処理のプログラムの一例を示す図であり、従来のプログラムである。It is a figure which shows an example of the program of the process which shifts the starting memory | storage in the 1st Embodiment of this invention, and is a conventional program. 本発明の第1の実施形態のサブルーチンを構成するプログラムの例を説明する図である。It is a figure explaining the example of the program which comprises the subroutine of the 1st Embodiment of this invention. 本発明の第1の実施形態の変動表示ゲームにおける画面遷移を説明する図である。It is a figure explaining the screen transition in the variable display game of the 1st Embodiment of this invention. 本発明の第1の実施形態の変動表示ゲームにおける画面遷移を説明する図である。It is a figure explaining the screen transition in the variable display game of the 1st Embodiment of this invention. 本発明の第1の実施形態の変動表示ゲームにおける画面遷移を説明する図である。It is a figure explaining the screen transition in the variable display game of the 1st Embodiment of this invention. 本発明の第1の実施形態において、戻りアドレス値の後にフラグレジスタの値をスタック領域に待避させた状態を説明する図である。FIG. 6 is a diagram for explaining a state in which a flag register value is saved in a stack area after a return address value in the first embodiment of the present invention. 本発明の第1の実施形態において、戻りアドレス値の前にフラグレジスタの値をスタック領域に待避させた状態を説明する図である。FIG. 7 is a diagram for explaining a state in which a flag register value is saved in a stack area before a return address value in the first embodiment of the present invention. 本発明の第1の実施形態において、戻りアドレス値とフラグレジスタの値とが同一のバイト数で構成されている状態を説明する図である。FIG. 6 is a diagram for explaining a state where a return address value and a flag register value are configured with the same number of bytes in the first embodiment of the present invention. 本発明の第1の実施形態において、戻りアドレス値とフラグレジスタの値とが異なるバイト数で構成されている状態を説明する図である。FIG. 6 is a diagram for explaining a state in which the return address value and the flag register value are configured with different numbers of bytes in the first embodiment of the present invention. 本発明の第1の実施形態の第1変形例の圧縮振分コード変換処理2の手順を示すフローチャートである。It is a flowchart which shows the procedure of the compression distribution code conversion process 2 of the 1st modification of the 1st Embodiment of this invention. 本発明の第1の実施形態の第1変形例の圧縮振分コードの値「f」と振分値算出法及び振分値「F」の対応をまとめた図である。It is the figure which put together the correspondence of the value "f" of the compression distribution code of the 1st modification of the 1st Embodiment of this invention, the distribution value calculation method, and the distribution value "F". 本発明の第1の実施形態の第1変形例の変動パターン選択テーブルを説明する図であり、(A)は抽選結果が大当りの場合に選択される当り変動パターン選択テーブル、(B)は抽選結果がはずれの場合に選択されるはずれ変動パターン選択テーブルである。It is a figure explaining the fluctuation pattern selection table of the 1st modification of the 1st Embodiment of this invention, (A) is a hit fluctuation pattern selection table selected when a lottery result is a big win, (B) is a lottery. It is a deviation variation pattern selection table selected when the result is a deviation. 本発明の第1の実施形態の第1変形例の圧縮振分コードが表現可能な値を説明する図である。It is a figure explaining the value which can express the compression distribution code of the 1st modification of the 1st Embodiment of the present invention. 本発明の第1の実施形態の第2変形例のはずれ変動パターン選択テーブルを説明する図である。It is a figure explaining the deviation variation pattern selection table of the 2nd modification of the 1st Embodiment of the present invention. 本発明の第1の実施形態の第2変形例の振分値の設定可能な値を説明する図として、1472を起点として振分値の設定可能な値を示す図である。It is a figure which shows the value which can set a distribution value from 1472 as a figure explaining the value which can set the distribution value of the 2nd modification of the 1st Embodiment of this invention. 本発明の第1の実施形態の第2変形例の圧縮振分コードの構成例を表す図であり、(A)は第1ビット(n)が上位2ビット、第2ビット(a)が下位6ビットで構成される図、(B)は第1ビット(n)が上位1ビット、第2ビット(a)が下位7ビットで構成される図である。It is a figure showing the example of a structure of the compression distribution code of the 2nd modification of the 1st Embodiment of this invention, (A) is 1st bit (n), upper 2 bits, and 2nd bit (a) is lower order. FIG. 6B is a diagram in which the first bit (n) is composed of the upper 1 bit and the second bit (a) is composed of the lower 7 bits. 本発明の第1の実施形態の第3変形例のはずれ変動パターン選択テーブルである。It is a deviation variation pattern selection table of the 3rd modification of a 1st embodiment of the present invention. 本発明の第1の実施形態の第3変形例の変動パターン番号と変動パターン乱数の値との対応を表す図である。It is a figure showing a response | compatibility with the variation pattern number of the 3rd modification of the 1st Embodiment of this invention, and the value of a variation pattern random number. 本発明の第2の実施形態のユーザワークRAMの一例を示す図である。It is a figure which shows an example of the user work RAM of the 2nd Embodiment of this invention. 本発明の第2の実施形態の特図変動表示ゲームを実行するために必要な各種乱数の保留1から4までの保存領域を示す図である。It is a figure which shows the preservation | save area | region from the holding | maintenance 1 to 4 of various random numbers required in order to run the special figure fluctuation display game of the 2nd Embodiment of this invention. 本発明の第2の実施形態の特図変動表示ゲームを実行するために必要な各種乱数の保留5から8までの保存領域を示す図である。It is a figure which shows the preservation | save area | region from holding | maintenance 5-8 of various random numbers required in order to run the special figure fluctuation display game of the 2nd Embodiment of this invention. 本発明の第2の実施形態の特図保留情報判定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the special figure pending | holding information determination process of the 2nd Embodiment of this invention. 本発明の第2の実施形態の特図普段処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the special figure normal process of the 2nd Embodiment of this invention.

以下、本発明の実施の形態について、図面を参照しながら説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

なお、以下の実施の形態の説明における前後左右とは、遊技者から見た、つまり遊技盤(遊技機)に向かって見た方向を指すものとする。   In the following description of the embodiment, front, rear, left, and right refer to directions viewed from the player, that is, viewed from the game board (game machine).

(第1の実施形態)
図1は、本発明の第1の実施形態の遊技装置6の構成を説明する図である。
(First embodiment)
FIG. 1 is a diagram illustrating the configuration of the gaming apparatus 6 according to the first embodiment of the present invention.

遊技装置6は、有価価値を記憶する記憶媒体が挿入されるカードユニット70及び実際に遊技を行い、遊技媒体を払出可能な遊技機1を備える。   The gaming device 6 includes a card unit 70 into which a storage medium for storing a valuable value is inserted, and a gaming machine 1 that can actually play a game and pay out the gaming medium.

まず、遊技機1について説明する。   First, the gaming machine 1 will be described.

遊技機1の前面枠3は、本体枠(外枠)2にヒンジ4によって開閉回動可能に組み付けられる。遊技盤5(図3参照)は前面枠3の表側に形成された収納部(図示省略)に収装される。また、前面枠3には、遊技盤5の前面を覆うカバーガラス(透明部材)を備えたガラス枠18が取り付けられている。   The front frame 3 of the gaming machine 1 is assembled to the main body frame (outer frame) 2 so as to be capable of opening and closing by a hinge 4. The game board 5 (see FIG. 3) is housed in a storage portion (not shown) formed on the front side of the front frame 3. Further, a glass frame 18 having a cover glass (transparent member) covering the front surface of the game board 5 is attached to the front frame 3.

ガラス枠18のカバーガラスの周囲には、装飾光が発光される装飾部材9が備えられている。この装飾部材9の内部にはランプやLED等からなる装飾装置が備えられている。この装飾装置を所定の発光態様によって発光させることによって、装飾部材9が所定の発光態様で発光する。   A decorative member 9 that emits decorative light is provided around the cover glass of the glass frame 18. The decoration member 9 is provided with a decoration device made up of a lamp, LED, or the like. By causing the decoration device to emit light in a predetermined light emitting mode, the decorative member 9 emits light in a predetermined light emitting mode.

ガラス枠18の左右には、音響(例えば、効果音)を発するスピーカ30が備えられている。また、ガラス枠18の上方には照明ユニット10が備えられている。照明ユニット10の内部には、装飾装置が備えられている。   Speakers 30 that emit sound (for example, sound effects) are provided on the left and right sides of the glass frame 18. An illumination unit 10 is provided above the glass frame 18. A decoration device is provided inside the lighting unit 10.

照明ユニット10の右側には、遊技機1のエラー発生や前面枠3の開放をホール店員に通知するためのエラー報知LED29が備えられている。   On the right side of the lighting unit 10, an error notification LED 29 is provided for notifying the hall clerk of the occurrence of an error in the gaming machine 1 and the opening of the front frame 3.

前面枠3の下部の開閉パネル20には図示しない打球発射装置に遊技球を供給する上皿21が備えられている。さらに、固定パネル22には灰皿15、下皿23及び打球発射装置の操作部24等が備えられている。下皿23には、下皿23に貯まった遊技球を排出するための下皿球抜き機構16が備えられる。前面枠3下部右側には、ガラス枠18を施錠するための鍵25が備えられている。   The open / close panel 20 below the front frame 3 is provided with an upper plate 21 for supplying game balls to a hitting ball launching device (not shown). Further, the fixed panel 22 is provided with an ashtray 15, a lower plate 23, an operation unit 24 of a ball hitting device, and the like. The lower tray 23 is provided with a lower tray ball removing mechanism 16 for discharging the game balls stored in the lower tray 23. A key 25 for locking the glass frame 18 is provided on the lower right side of the front frame 3.

また、遊技者が操作部24を回動操作することによって、打球発射装置は、上皿21から供給される遊技球を発射する。   Further, when the player turns the operation unit 24, the hitting ball launching device launches a game ball supplied from the upper plate 21.

また、上皿21の上縁部には、遊技者からの操作入力を受け付けるためのセレクトスイッチ40及び操作スイッチ41が備えられている。   The upper edge of the upper plate 21 is provided with a select switch 40 and an operation switch 41 for receiving an operation input from a player.

遊技者がセレクトスイッチ40を操作することによって、表示装置8(図3参照)における変動表示ゲームの演出内容を選択することができる。また、遊技者が操作スイッチ41を操作することによって、表示装置8における変動表示ゲームに、遊技者の操作を介入させた演出を行うことができる。   When the player operates the select switch 40, it is possible to select the contents of the effect of the variable display game on the display device 8 (see FIG. 3). In addition, when the player operates the operation switch 41, it is possible to perform an effect in which the player's operation is intervened in the variable display game on the display device 8.

上皿21の右上部には、遊技者が遊技媒体を借りる場合に操作する球貸ボタン26、及び、カードユニット70からプリペイドカードを排出させるために操作される排出ボタン27が設けられている。これらのボタン26、27の間には、プリペイドカードの残高を表示する残高表示部28が設けられる。   A ball lending button 26 that is operated when a player borrows a game medium and a discharge button 27 that is operated to discharge the prepaid card from the card unit 70 are provided on the upper right portion of the upper plate 21. Between these buttons 26 and 27, a balance display unit 28 for displaying the balance of the prepaid card is provided.

次に、カードユニット70について説明する。   Next, the card unit 70 will be described.

カードユニット70の下部には、プリペイドカード又は会員カード等のカードを挿入可能なカード挿入口71が設けられる。   A card insertion slot 71 into which a card such as a prepaid card or a membership card can be inserted is provided below the card unit 70.

プリペイドカード又は会員カード等のカードには、当該カードの一意な識別子、当該カードの所有者(遊技者)の会員情報、及び残高等が記憶されている。会員情報には、カードの所有者の住所、氏名、年齢、及び職業等が含まれる。   A card such as a prepaid card or a member card stores a unique identifier of the card, member information of the owner (player) of the card, a balance, and the like. The membership information includes the card owner's address, name, age, occupation, and the like.

カード挿入口71にプリペイドカード又は会員カード等のカードが挿入された場合、図示しないカードリーダ・ライタによって、カードに記憶された情報が読み出される。そして、当該カードに記憶された残高が、遊技機1の残高表示部28及びカードユニット70の中央付近に設けられた残高表示部72に表示される。   When a card such as a prepaid card or a membership card is inserted into the card insertion slot 71, information stored in the card is read by a card reader / writer (not shown). And the balance memorize | stored in the said card | curd is displayed on the balance display part 72 provided near the balance display part 28 of the gaming machine 1 and the card unit 70.

残高表示部72の上方には、紙幣を挿入可能な紙幣挿入口73が設けられる。紙幣挿入口73に挿入された紙幣の有価価値は、カードに残高として記憶される。   Above the balance display 72, a bill insertion slot 73 into which bills can be inserted is provided. The valuable value of the banknote inserted into the banknote insertion slot 73 is stored as a balance on the card.

紙幣挿入口73の上方には、動作表示部74が設けられる。動作表示部74は、カードユニット70の動作に対応した色で点灯する。   An operation display unit 74 is provided above the bill insertion slot 73. The operation display unit 74 is lit in a color corresponding to the operation of the card unit 70.

次に、図2を参照しながら遊技機1の裏面側について説明する。図2は、本発明の第1の実施形態の遊技機1の背面図である。   Next, the back side of the gaming machine 1 will be described with reference to FIG. FIG. 2 is a rear view of the gaming machine 1 according to the first embodiment of the present invention.

遊技機1の裏面側、具体的には、前面枠3の裏面側には、中央に略正方形状の開口部を有する枠状の裏機構盤310が取り付けられる。   On the back side of the gaming machine 1, specifically, on the back side of the front frame 3, a frame-like back mechanism board 310 having a substantially square opening at the center is attached.

裏機構盤310の上部には、島設備に設けられた補給装置(図示省略)から補給された遊技球を貯留すると共に、貯留した遊技球を流下させる球貯留ユニット320が配設される。   Above the back mechanism board 310, a ball storage unit 320 is provided that stores game balls replenished from a replenishment device (not shown) provided in the island facility and causes the stored game balls to flow down.

裏機構盤310の側部(図2中右側)には、球貯留ユニット320から流下してきた遊技球を、遊技機前面に配設された上皿21及び下皿23に払い出す球排出ユニット330が配設される。   On the side of the back mechanism board 310 (on the right side in FIG. 2), a ball discharge unit 330 that pays out the game balls flowing down from the ball storage unit 320 to the upper plate 21 and the lower plate 23 disposed in front of the game machine. Is disposed.

裏機構盤310の中央部には、遊技を統括的に制御する遊技制御装置100と、遊技制御装置100から送信される演出制御指令に基づいて変動表示ゲームの演出を制御する演出制御装置150とが配設される。   At the center of the back mechanism board 310, there are a game control device 100 that controls the game in an integrated manner, and an effect control device 150 that controls the effect of the variable display game based on the effect control command transmitted from the game control device 100. Is disposed.

遊技制御装置100には、図示しない検査装置に接続される検査装置接続端子107が配設される。   The game control device 100 is provided with an inspection device connection terminal 107 connected to an inspection device (not shown).

裏機構盤310の下部には、遊技制御装置100から送信されるデータに基づいて球排出ユニット330の動作を制御し、遊技者に賞球を付与する払出制御装置(付与制御装置)210と、電源装置160とが配設される。   At the bottom of the back mechanism board 310, a payout control device (granting control device) 210 for controlling the operation of the ball discharge unit 330 based on data transmitted from the game control device 100 and giving a prize ball to the player, A power supply device 160 is provided.

払出制御装置210には、図示しない検査装置に接続される検査装置接続端子217及び払出制御装置210に発生したエラーの種類を数字で表示するエラーナンバー表示器222が配設される。   The payout control device 210 is provided with an inspection device connection terminal 217 connected to an inspection device (not shown) and an error number display 222 for displaying the type of error that has occurred in the payout control device 210 in numbers.

また、電源装置160の右側の裏機構盤310には、遊技機1をカードユニット70に接続するためのカードユニット接続端子340が配設される。   In addition, a card unit connection terminal 340 for connecting the gaming machine 1 to the card unit 70 is disposed on the back mechanism board 310 on the right side of the power supply device 160.

次に、遊技盤5について、図3を参照しながら説明する。図3は、本発明の第1の実施形態の遊技盤5の正面図である。   Next, the game board 5 will be described with reference to FIG. FIG. 3 is a front view of the game board 5 according to the first embodiment of the present invention.

遊技盤5の表面には、ガイドレール55で囲われた略円形状の遊技領域51が形成される。遊技領域51は、遊技盤5の四方に各々設けられた樹脂製のサイドケース52及びガイドレール55によって構成される。遊技領域51の右下側のサイドケース52は、前面の中央部が黒色透明の証紙プレート53で覆われている。   On the surface of the game board 5, a substantially circular game area 51 surrounded by the guide rail 55 is formed. The game area 51 is composed of resin side cases 52 and guide rails 55 provided on each of the four sides of the game board 5. The side case 52 on the lower right side of the game area 51 is covered with a black transparent certificate paper plate 53 at the center of the front surface.

遊技領域51には、ほぼ中央に表示装置8が設けられるセンターケース300が配置される。表示装置8はセンターケース300に設けられた凹部に、センターケース300の前面より奥まった位置に取り付けられている。すなわち、センターケース300は表示装置8の表示領域の周囲を囲い、表示装置8の表示領域から突出して設けられている。   In the game area 51, a center case 300 provided with the display device 8 is arranged substantially at the center. The display device 8 is attached to a recess provided in the center case 300 at a position deeper than the front surface of the center case 300. That is, the center case 300 surrounds the display area of the display device 8 and is provided so as to protrude from the display area of the display device 8.

また、遊技領域51の右下の領域には、図4で後述する特図表示器120及び普図表示器121を一体化した、図柄表示ユニット(一括表示器)45が備えられる。   In the lower right area of the game area 51, a symbol display unit (collective display) 45 in which a special figure display 120 and a general display display 121 described later in FIG. 4 are integrated is provided.

表示装置8は、例えば、LCD(液晶表示器)、CRT(ブラウン管)等で表示画面が構成されている。表示画面の画像を表示可能な領域(表示領域)には、複数の変動表示領域が設けられており、各変動表示領域に識別情報(特別図柄)や特図(特別図柄)変動表示ゲームを演出するキャラクタが表示される。表示画面の変動表示領域には、識別情報として割り当てられた三つの特別図柄が変動表示(可変表示)して特図変動表示ゲームが行われる。その他、表示画面には遊技の進行に基づく画像(例えば、大当り表示、ファンファーレ表示、エンディング表示等)が表示される。   The display device 8 has a display screen composed of, for example, an LCD (liquid crystal display), a CRT (CRT), or the like. The display screen image area (display area) has a plurality of variable display areas. Each variable display area produces identification information (special symbols) and special symbol (special symbols) variable display games. Character to be displayed. In the variable display area of the display screen, three special symbols assigned as identification information are displayed in a variable display (variable display), and a special map variable display game is played. In addition, an image (for example, jackpot display, fanfare display, ending display, etc.) based on the progress of the game is displayed on the display screen.

センターケース300の左側には、普通図柄始動ゲート31が設けられる。センターケース300の左下側には、三つの一般入賞口32が備えられ、センターケース300の右下側には、一つの一般入賞口32が備えられている。   A normal symbol starting gate 31 is provided on the left side of the center case 300. Three general winning openings 32 are provided on the lower left side of the center case 300, and one general winning opening 32 is provided on the lower right side of the center case 300.

センターケース300の下方には、第1始動入賞口37と、第1始動入賞口37の直下に配設され、上部に逆「ハ」の字状に開いて遊技球が流入し易い状態に変換する一対の開閉部材を含む普通変動入賞装置33を備える第2始動入賞口34とが配置される。そして、遊技球が第1始動入賞口37又は第2始動入賞口34に入賞した場合には、補助遊技として特図変動表示ゲームが実行される。すなわち、第1始動入賞口37又は第2始動入賞口34に遊技球が入賞することが特図変動表示ゲームを開始するための始動条件となっており、第1始動入賞口37及び第2始動入賞口34が当該始動条件を発生させる変動始動入賞装置をなしている。なお、第1始動入賞口37に遊技球が入賞したことによって実行される特図変動表示ゲームを第1特図変動表示ゲームとし、第2始動入賞口34に遊技球が入賞したことによって実行される特図変動表示ゲームを第2特図変動表示ゲームとする。   Below the center case 300, the first start winning opening 37 is arranged directly below the first starting winning opening 37, and is opened in a reverse “C” shape at the top so that the game ball can easily flow in. And a second start winning opening 34 having a normal variation winning device 33 including a pair of opening and closing members. And when a game ball wins the 1st start winning opening 37 or the 2nd starting winning opening 34, a special figure change display game is performed as an auxiliary game. That is, the start condition for starting the special figure changing display game is that the game ball wins at the first start winning opening 37 or the second starting winning opening 34. The winning opening 34 forms a variable starting winning device that generates the starting condition. The special figure variation display game executed when the game ball is won at the first start winning opening 37 is referred to as a first special figure fluctuation display game, and is executed when the game ball is won at the second start winning opening 34. The special figure fluctuation display game is referred to as a second special figure fluctuation display game.

また、センターケース300に設けられた始動入賞口の下方には、表示装置8の作動結果(特図変動表示ゲームの結果)によって遊技球を受け入れない状態と受け入れ易い状態とに変換可能な特別変動入賞装置(大入賞口)36が配設される。   Further, below the start winning opening provided in the center case 300, a special variation that can be converted into a state in which a game ball is not accepted and a state in which it is easy to accept depending on the operation result of the display device 8 (result of the special figure variation display game) A winning device (large winning opening) 36 is provided.

遊技機1では、図示しない発射装置から遊技領域51に向けて遊技球(パチンコ球)が打ち出されることによって遊技が行われる。打ち出された遊技球は、遊技領域51内の各所に配置された釘や風車等の方向転換部材によって転動方向を変えながら遊技領域51を流下する。そして、普通図柄始動ゲート31、一般入賞口32、第1始動入賞口37、第2始動入賞口34、又は特別変動入賞装置36に入賞するか、遊技領域51の最下部に設けられたアウト口39から排出される。   In the gaming machine 1, a game is played by launching a game ball (pachinko ball) from a launcher (not shown) toward the game area 51. The launched game ball flows down the game area 51 while changing the rolling direction by a direction changing member such as a nail or a windmill arranged in various places in the game area 51. Then, the normal symbol starting gate 31, the general winning port 32, the first starting winning port 37, the second starting winning port 34, or the special variable winning device 36 is won, or an out port provided at the bottom of the game area 51 39 is discharged.

また、第2始動入賞口34の状態には、普通変動入賞装置33の開閉によって、遊技球が入賞しやすい状態(入賞容易状態、促進状態)と遊技球が入賞しにくい状態(非入賞容易状態、抑制状態)とがある。   In addition, the state of the second start winning opening 34 includes a state in which the game ball is likely to win a prize (easy winning state, a promotion state) and a state where the game ball is difficult to win (a non-winning easy state). , Suppressed state).

通常、普通変動入賞装置33が閉状態の場合には、第2始動入賞口34は、遊技球が入賞しにくい状態となる。普通図柄始動ゲート31を遊技球が通過することによって、普図変動表示ゲームが実行され、普図変動表示ゲームの結果が当りとなると、普通変動入賞装置33が開状態に変換され、第2始動入賞口34は遊技球が入賞し易い状態となる。   Usually, when the normal variation winning device 33 is in the closed state, the second start winning port 34 is in a state where it is difficult for the game ball to win. When the game ball passes through the normal symbol start gate 31, the general variation display game is executed, and when the result of the general variation display game is hit, the normal variation winning device 33 is converted to the open state, and the second start The winning opening 34 is in a state where a game ball can easily win.

一般入賞口32への遊技球の入賞は、一般入賞口32に備えられた入賞口SW(スイッチ)32A〜32N(図4参照)によって検出される。   The winning of a game ball in the general winning opening 32 is detected by winning openings SW (switches) 32A to 32N (see FIG. 4) provided in the general winning opening 32.

第1始動入賞口37への遊技球の入賞は第1特図始動SW(スイッチ)37A(図4参照)によって検出される。この遊技球の通過タイミングによって抽出された各種乱数は、遊技制御装置100内の特図1始動記憶領域に特別図柄入賞記憶として所定回数(例えば、最大で4回分)を限度に記憶される。   The winning of a game ball in the first start winning opening 37 is detected by a first special figure start SW (switch) 37A (see FIG. 4). Various random numbers extracted according to the passing timing of the game ball are stored in the special figure 1 start storage area in the game control device 100 as a special symbol winning memory for a predetermined number of times (for example, a maximum of four times).

また、第2始動入賞口34への遊技球の入賞は第2特図始動SW(スイッチ)34A(図4参照)によって検出される。この遊技球の通過タイミングによって抽出された各種乱数は、遊技制御装置100内の特図2始動記憶領域に特別図柄入賞記憶として所定回数(例えば、最大で4回分)を限度に記憶される。   Also, the winning of a game ball in the second start winning opening 34 is detected by a second special figure start SW (switch) 34A (see FIG. 4). Various random numbers extracted according to the passing timing of the game ball are stored in the special figure 2 start storage area in the game control device 100 as a special symbol winning memory for a predetermined number of times (for example, a maximum of four times).

遊技制御装置100は、これらの特別図柄入賞記憶に基づき、図柄表示ユニット45を形成する特図表示器120(図4参照)にて、第1特図動表示ゲーム及び第2特図動表示ゲームを行う。   Based on these special symbol winning memories, the game control device 100 uses the special symbol display 120 (see FIG. 4) forming the symbol display unit 45 to display the first special symbol dynamic display game and the second special graphic dynamic display game. I do.

ここで特図表示器120について説明する。特図表示器120は、図示しない第1特図図柄表示部、第1特図入賞記憶数表示部、第2特図図柄表示部、及び第2特図入賞記憶数表示部を有する。   Here, the special figure display 120 will be described. The special figure indicator 120 includes a first special figure display unit, a first special figure winning memory number display unit, a second special symbol symbol display unit, and a second special figure winning memory number display unit (not shown).

そして、遊技球が第1始動入賞口37に入賞して特別図柄入賞記憶が発生すると、第1特図入賞記憶数表示部に特別図柄入賞記憶の記憶数が表示され、第1特図図柄表示部にて第1特図変動表示ゲームが実行される。同様に、遊技球が第2始動入賞口34に入賞して特別図柄入賞記憶が発生すると、第2特図入賞記憶数表示部に特別図柄入賞記憶の記憶数が表示され、第2特図図柄表示部にて第2特図変動表示ゲームが実行される。   When the game ball wins the first start winning opening 37 and a special symbol winning memory is generated, the number of special symbol winning memories stored is displayed on the first special symbol winning memory number display section, and the first special symbol display is displayed. The first special figure variation display game is executed in the section. Similarly, when the game ball wins the second start winning opening 34 and the special symbol winning memory is generated, the number of the special symbol winning memory is displayed on the second special symbol winning memory display section, and the second special symbol memory is displayed. The second special figure variation display game is executed on the display unit.

なお、第1始動入賞口37への入賞が所定のタイミングでなされたとき(具体的には、入賞検出時の当り乱数値が当り値であるとき)には、第1特図変動表示ゲームの結果として表示図柄により特別結果態様が導出される。具体的には、第1図柄表示部にて、対応する特定の図柄(例えば、「1」〜「9」までのいずれかの数字等)が停止表示される。なお、第1特図変動表示ゲームがはずれの場合には、第1特図図柄表示部にて、はずれに対応する図柄(例えば「0」等)が停止表示される。   Note that when the winning to the first start winning opening 37 is made at a predetermined timing (specifically, when the winning random number at the time of winning detection is a winning value), the first special figure variation display game is displayed. As a result, a special result mode is derived from the display symbol. Specifically, a corresponding specific symbol (for example, any number from “1” to “9”) is stopped and displayed on the first symbol display unit. If the first special figure variation display game is out of play, a symbol corresponding to the outage (for example, “0” or the like) is stopped and displayed in the first special figure display section.

同様に、第2始動入賞口34への入賞が所定のタイミングでなされたとき(具体的には、入賞検出時の当り乱数値が当り値であるとき)には、第2特図変動表示ゲームの結果として表示図柄により特別結果態様が導出される。具体的には、第2特図図柄表示部にて、対応する特定の図柄(例えば、「1」〜「9」までのいずれかの数字等)が停止表示される。なお、第2特図変動表示ゲームがはずれの場合には、第2特図図柄表示部にて、はずれに対応する図柄(例えば「0」等)が停止表示される。   Similarly, when a winning at the second start winning opening 34 is made at a predetermined timing (specifically, when the winning random number at the time of winning detection is a winning value), the second special figure variation display game. As a result of the above, a special result mode is derived from the display symbol. Specifically, the corresponding special symbol (for example, any number from “1” to “9”) is stopped and displayed on the second special symbol display unit. When the second special figure variation display game is out of play, a symbol corresponding to the outage (for example, “0” or the like) is stopped and displayed in the second special symbol display unit.

そして、第1特図変動表示ゲームの結果として特別結果態様が導出された場合、あるいは、第2特図変動表示ゲームの結果として特別結果態様が導出された場合には、大当り状態(特別遊技状態)が発生する。このとき、特別変動入賞装置36は、大入賞口ソレノイド38(図4参照)への通電によって、所定の時間(例えば、30秒)だけ、遊技球を受け入れない閉状態から遊技球を受け入れやすい開状態に変換される。すなわち、特別変動入賞装置36が所定の時間又は所定数の遊技球が入賞するまで大きく開くので、この間遊技者は多くの遊技球を獲得することができるという特典が付与される。   When the special result mode is derived as a result of the first special figure variation display game, or when the special result mode is derived as a result of the second special figure variation display game, the big hit state (special game state) ) Occurs. At this time, the special variable prize winning device 36 is opened so that it can easily accept a game ball from a closed state in which it does not accept a game ball for a predetermined time (for example, 30 seconds) by energizing a large prize opening solenoid 38 (see FIG. 4). Converted to a state. That is, since the special variable winning device 36 opens greatly until a predetermined time or a predetermined number of game balls wins, a privilege that the player can acquire many game balls during this time is given.

なお、表示装置8においても、図柄表示ユニット45の特図表示器120で実行される第1特図変動表示ゲームと第2特図変動表示ゲームに同期して、飾り特図変動表示ゲームが実行される。このとき、前述した数字等で構成される特別図柄(識別情報)が左(第一特別図柄)、右(第二特別図柄)、中(第三特別図柄)の順に変動表示を開始して、飾り特図変動表示ゲームに関する画像が表示される。   In the display device 8 as well, a decorative special symbol variation display game is executed in synchronization with the first special symbol variation display game and the second special diagram variation display game executed on the special symbol display unit 120 of the symbol display unit 45. Is done. At this time, the special symbol (identification information) composed of the numbers and the like described above starts variable display in the order of left (first special symbol), right (second special symbol), middle (third special symbol), An image related to the decorative special figure variation display game is displayed.

第1特図変動表示ゲーム若しくは第2特図変動表示ゲームが特別結果態様を導出する場合は、表示装置8でも特定態様の図柄が導出されて停止表示する。具体的には、表示装置8では、三つの特別図柄が揃った状態(大当り図柄)で停止する。第1特図変動表示ゲーム及び第2特図変動表示ゲームが特別結果態様を導出しない場合は、表示装置8でも特定態様の図柄を停止表示しないように制御される。   When the first special figure fluctuation display game or the second special figure fluctuation display game derives the special result mode, the display device 8 also derives the symbol of the specific mode and displays it in a stopped state. Specifically, the display device 8 stops in a state where three special symbols are aligned (a jackpot symbol). When the first special figure fluctuation display game and the second special figure fluctuation display game do not derive the special result mode, the display device 8 is controlled not to stop and display the symbols of the specific mode.

なお、本実施形態では、図柄表示ユニット45で実行される第1特図変動表示ゲーム及び第2特図変動表示ゲームと、表示装置8で実行される飾り特図変動表示ゲームのいずれをも特図変動表示ゲームとして扱うものとする。   In the present embodiment, both the first special figure fluctuation display game and the second special figure fluctuation display game executed by the symbol display unit 45 and the decorative special figure fluctuation display game executed by the display device 8 are special. It shall be handled as a figure variation display game.

特別変動入賞装置36への遊技球の入賞は、カウントSW(スイッチ)36A(図4参照)によって検出される。   The winning of the game ball to the special variation winning device 36 is detected by a count SW (switch) 36A (see FIG. 4).

普通図柄始動ゲート31への遊技球の通過は、普図始動SW(スイッチ)31A(図4参照)で検出される。この遊技球の通過タイミングによって抽出された普図乱数は、遊技制御装置100内の普図始動記憶領域に普通図柄入賞記憶として所定回数(例えば、最大で4回分)を限度に記憶される。遊技制御装置100は、この普通図柄入賞記憶に基づき、図柄表示ユニット45を形成する普図表示器121(図4参照)にて、普図変動表示ゲームを行う。   The passing of the game ball to the normal symbol start gate 31 is detected by a normal start SW (switch) 31A (see FIG. 4). The usual figure random number extracted by the passing timing of the game ball is stored in the usual figure starting storage area in the game control apparatus 100 as a normal symbol winning memory for a predetermined number of times (for example, a maximum of four times). The game control device 100 plays a universal symbol display game on the universal symbol display 121 (see FIG. 4) forming the symbol display unit 45 based on the normal symbol winning memory.

ここで普図表示器121について説明する。普図表示器121は、図示しない普図図柄表示部と普図入賞記憶数表示部を有する。前述したように、遊技球が普通図柄始動ゲート31を通過して普通図柄入賞記憶が発生すると、この普図図柄表示部にて普図変動表示ゲームが実行される。また、普図入賞記憶数表示部には、普通図柄入賞記憶の記憶数が表示される。   Here, the general map display 121 will be described. The universal symbol display device 121 has a universal symbol display unit and a universal symbol winning memory number display unit (not shown). As described above, when the game ball passes through the normal symbol start gate 31 and the normal symbol winning memory is generated, the normal symbol change display game is executed in the normal symbol display section. In addition, the number of stored normal symbol winning memories is displayed on the common symbol winning memory number display section.

そして、遊技球が普通図柄始動ゲート31を通過して普通図柄入賞記憶が発生すると、普図入賞記憶数表示部に普通図柄入賞記憶の記憶数が表示され、普図図柄表示部にて普図変動表示ゲームが実行される。   When the game ball passes through the normal symbol start gate 31 and the normal symbol winning memory is generated, the number of the normal symbol winning memory is displayed on the general symbol winning memory number display portion, and the normal symbol display portion displays the normal symbol. A variable display game is executed.

なお、普通図柄始動ゲート31の通過が所定のタイミングでなされたとき(具体的には、通過検出時の当り乱数値が当り値であるとき)には、普図図柄表示部に表示される普通図柄が当り状態で停止し、普図変動表示ゲームが当りとなる。このとき、普通変動入賞装置33は、普電ソレノイド90(図4参照)への通電により、第2始動入賞口34への入口が所定の時間(例えば、0.5秒〜4.0秒の範囲内で予め定められた時間)だけ開放するように変換され、遊技球の第2始動入賞口34への入賞が許容される。これによって、遊技球が第2始動入賞口34へ入賞しやすくなり、第2特図変動表示ゲームの始動が容易となる。   In addition, when the normal symbol start gate 31 is passed at a predetermined timing (specifically, when the winning random number at the time of passing is a winning value), the normal symbol displayed on the normal symbol display unit is displayed. The symbol stops in the hit state, and the normal figure change display game is won. At this time, the normal variation winning device 33 is energized to the ordinary solenoid 90 (see FIG. 4), and the entrance to the second starting winning port 34 is for a predetermined time (for example, 0.5 seconds to 4.0 seconds). The game ball is converted to be released only for a predetermined time within the range, and the winning of the game ball to the second start winning opening 34 is allowed. This makes it easier for the game ball to win the second start winning opening 34 and facilitates the start of the second special figure variation display game.

このようにして、一般入賞口32、第1始動入賞口37、第2始動入賞口34、又は特別変動入賞装置36に遊技球が入賞すると、入賞した入賞口の種類に応じた数の賞球が払出制御装置210によって制御される払出ユニットから、前面枠3の上皿21又は下皿23に排出される。   In this way, when a game ball wins the general winning opening 32, the first starting winning opening 37, the second starting winning opening 34, or the special variable winning winning device 36, the number of winning balls according to the type of winning winning opening. Is discharged from the dispensing unit controlled by the dispensing control device 210 to the upper plate 21 or the lower plate 23 of the front frame 3.

なお、本実施形態のパチンコ遊技機は、特図変動表示ゲームの結果に対応して(厳密には、特図変動表示ゲームの結果として特図表示器120に停止表示される図柄に対応して)、以後の特図変動表示ゲームの当り確率が変化する場合があり、遊技状態は、常時、特図変動表示ゲームが低確率で大当りとなる低確率状態か、当該低確率状態よりも特図変動表示ゲームが大当りとなる確率の高い高確率状態のいずれかに設定されている。なお、低確率状態を通常状態や非確変遊技状態と称したり、高確率状態を確変遊技状態(確変状態)と称したりする場合もある。   Note that the pachinko gaming machine according to the present embodiment corresponds to the result of the special figure fluctuation display game (strictly, it corresponds to the symbol that is stopped and displayed on the special figure display device 120 as a result of the special figure fluctuation display game). ), The probability of hitting the special figure variation display game thereafter may change, and the gaming state is always a low probability state where the special figure variation display game is a big hit with a low probability or a special figure than the low probability state. The variable display game is set to one of high probability states with a high probability of winning a big hit. The low probability state may be referred to as a normal state or a non-probability variation gaming state, and the high probability state may be referred to as a probability variation gaming state (probability variation state).

さらに、本実施形態のパチンコ遊技機の遊技状態は、特図変動表示ゲームの結果に対応して、普通変動入賞装置33の開放頻度が変化する場合があり、遊技状態は、常時、普通変動入賞装置33が開放しない入賞抑制状態か、普通変動入賞装置33が頻繁に開放する入賞促進状態のいずれかに設定されている。   Furthermore, in the gaming state of the pachinko gaming machine according to the present embodiment, the opening frequency of the normal variation winning device 33 may change corresponding to the result of the special figure variation display game, and the gaming state is always the normal variation winning. It is set to either a winning suppression state in which the device 33 is not opened or a winning promotion state in which the normal variation winning device 33 is frequently opened.

この入賞抑制状態においては、普図変動表示ゲームの当選確率を0にして普通変動入賞装置33が開放しないようになっているが、入賞促進状態においては、普図変動表示ゲームが頻繁に当たりとなるように当選確率が設定されている。入賞抑制状態を通常状態や非時短遊技状態と称したり、入賞促進状態を時短遊技状態(時短状態)と称したりする場合もある。   In this winning suppression state, the winning probability of the normal map variation display game is set to 0 so that the normal variation winning device 33 is not released. However, in the winning promotion state, the normal variation display game is frequently won. The winning probability is set as follows. The winning suppression state may be referred to as a normal state or a non-short-time gaming state, or the winning promotion state may be referred to as a short-time gaming state (short-time state).

なお、入賞抑制状態であっても、普図変動表示ゲームが時々当たりとなるように構成することで、普通変動入賞装置33の開放が時々行われるように構成してもよい。この場合であっても、入賞抑制状態における普通変動入賞装置33の開放頻度は、入賞促進状態における普通変動入賞装置33の開放頻度よりも低く設定される。この入賞促進状態においては、普図変動表示ゲームの実行時間が入賞抑制状態における実行時間より短くなるように制御される(例えば、入賞抑制状態で10秒に対し、入賞促進状態で1秒)。これによって、単位時間当りの普通変動入賞装置33の開放回数が実質的に多くなるように制御される。   Even in the prize-suppressed state, the normal fluctuation winning device 33 may be opened from time to time by configuring the normal fluctuation display game to be occasionally won. Even in this case, the opening frequency of the normal variation winning device 33 in the winning suppression state is set lower than the opening frequency of the normal variation winning device 33 in the winning promotion state. In the winning promotion state, the execution time of the normal fluctuation display game is controlled to be shorter than the execution time in the winning suppression state (for example, 10 seconds in the winning suppression state and 1 second in the winning promotion state). As a result, the number of times the normally variable winning device 33 is opened per unit time is controlled to be substantially increased.

また、入賞促進状態においては、普図変動表示ゲームが当り結果となって普通変動入賞装置33が開放される場合に、開放時間が通常遊技状態の開放時間より長くなるように制御されてもよい(例えば、入賞抑制状態で0.5秒に対し、入賞促進状態で4.0秒)。また、入賞促進状態においては、普通図柄変動表示ゲームの1回の当り結果に対して、普通変動入賞装置33が1回ではなく、複数回(例えば、2回)開放してもよい。さらに、入賞促進状態においては、普図変動表示ゲームの結果が当りとなる確率が入賞抑制状態より高くなるように制御してもよい。すなわち、入賞促進状態では、入賞抑制状態よりも普通変動入賞装置33の開放頻度が増加し、普通変動入賞装置33に遊技球が入賞しやすくなり、特図変動表示ゲームの始動が容易となる特典が付与される。   Further, in the winning promotion state, when the normal variation winning device 33 is released as a result of the normal fluctuation display game being won, the opening time may be controlled to be longer than the opening time of the normal gaming state. (For example, 4.0 seconds in the winning promotion state versus 0.5 seconds in the winning suppression state). Further, in the winning promotion state, the normal variation winning device 33 may be opened a plurality of times (for example, twice) instead of once for a single winning result of the normal symbol variation display game. Further, in the winning promotion state, control may be performed so that the probability that the result of the normal-variation display game is a win is higher than the winning suppression state. That is, in the winning promotion state, the opening frequency of the normal variation winning device 33 increases more than in the winning suppression state, and it becomes easier for a game ball to win the normal variation winning device 33 and the special figure variable display game can be easily started. Is granted.

図4は、本発明の第1の実施形態の遊技装置6のブロック図である。   FIG. 4 is a block diagram of the gaming apparatus 6 according to the first embodiment of the present invention.

遊技制御装置100は、遊技用マイコン(遊技用演算処理装置600)101、入力I/F(Interface)105、出力I/F(Interface)106及び検査装置接続端子107を備える。   The game control device 100 includes a game microcomputer (game calculation processing device 600) 101, an input I / F (Interface) 105, an output I / F (Interface) 106, and an inspection device connection terminal 107.

遊技用マイコン101は、CPU102、ROM(Read Only Memory)103及びRAM(Random Access Memory)104を備える。   The gaming microcomputer 101 includes a CPU 102, a ROM (Read Only Memory) 103, and a RAM (Random Access Memory) 104.

CPU102は、遊技を統括的に制御する主制御装置であって、遊技制御を行う。ROM103は、遊技制御のための不変の情報(プログラム、データ等)を記憶する。RAM104は、遊技制御時にワークエリアとして利用される。   The CPU 102 is a main control device that controls the game in an integrated manner, and performs game control. The ROM 103 stores invariant information (program, data, etc.) for game control. The RAM 104 is used as a work area during game control.

遊技制御装置100には、遊技用マイコン101に一意に設定された識別番号を出力することが可能な検査装置接続端子107が設けられている。検査装置接続端子107に図示しない検査装置を接続すると、検査装置は遊技機1を識別することができる。   The game control device 100 is provided with an inspection device connection terminal 107 capable of outputting an identification number uniquely set in the game microcomputer 101. When an inspection device (not shown) is connected to the inspection device connection terminal 107, the inspection device can identify the gaming machine 1.

CPU102は、入力I/F105を介して各種検出器(第1特図始動SW37A、第2特図始動SW34A、普図始動SW31A、カウントSW36A、及び入賞口SW32A〜入賞口SW32N、オーバーフローSW(スイッチ)109、球切れSW(スイッチ)110、及び枠開放SW(スイッチ)111)からの検出信号を受けて、大当り抽選等、種々の処理を行う。   The CPU 102 receives various detectors (first special figure start SW 37A, second special figure start SW 34A, general figure start SW 31A, count SW 36A, and winning opening SW32A to winning opening SW32N, overflow SW (switch) via the input I / F 105. 109, receiving a detection signal from the ball break SW (switch) 110 and the frame opening SW (switch) 111), various processes such as a big hit lottery are performed.

オーバーフロースイッチ109は、下皿23に遊技球が所定数以上貯留されていることを検出する。球切れスイッチ110は、球貯留ユニット320に配設され、球貯留ユニット320に貯留される遊技球が所定数以下になることを検出する。枠開放スイッチ111は、前面枠3の開放を検出する。   The overflow switch 109 detects that a predetermined number or more of game balls are stored in the lower plate 23. The ball break switch 110 is disposed in the ball storage unit 320 and detects that the number of game balls stored in the ball storage unit 320 is less than or equal to a predetermined number. The frame opening switch 111 detects the opening of the front frame 3.

また、CPU102は、出力I/F106を介して、普図表示器121、特図表示器120、普電SOL(ソレノイド)90、大入賞口SOL(ソレノイド)38、払出制御装置210及び演出制御装置150に指令信号を送信し、遊技を統括的に制御する。   In addition, the CPU 102, via the output I / F 106, displays a general-purpose indicator 121, a special-purpose indicator 120, a general electric power SOL (solenoid) 90, a special winning opening SOL (solenoid) 38, a payout control device 210, and an effect control device. A command signal is transmitted to 150, and the game is comprehensively controlled.

普図表示器121は、前述したように、普図変動表示ゲームが表示される。特図表示器120は、前述したように、第1特図変動表示ゲームと第2特図変動表示ゲームとが表示される。   As described above, the universal map display 121 displays a universal map display game. As described above, the special figure display 120 displays the first special figure fluctuation display game and the second special figure fluctuation display game.

普電SOL90は、第2始動入賞口34に遊技球が入賞可能となるように、第2始動入賞口34に備えられた開閉部材で構成された普通変動入賞装置33を所定の時間だけ開放させる。   The general electric power SOL 90 opens the normal variation winning device 33 constituted by an opening / closing member provided in the second starting winning port 34 for a predetermined time so that a game ball can be won in the second starting winning port 34. .

大入賞口SOL38は、特別変動入賞装置36の大入賞口を所定の時間だけ、遊技球を受け入れない閉状態(遊技者に不利な状態)から遊技球を受け入れやすい開状態(遊技者に有利な状態)にする。   The big prize opening SOL38 is in an open state (advantageous to the player) from the closed state (a disadvantageous state for the player) that does not accept the game ball for a predetermined time. State).

また、遊技制御装置100は、遊技機1に関する情報を、外部情報端子108を介して、遊技店に設置された情報収集端末や遊技場内部管理装置(図示省略)に出力する。   In addition, the game control device 100 outputs information related to the gaming machine 1 to an information collection terminal or a game hall internal management device (not shown) installed in the game store via the external information terminal 108.

遊技制御装置100は、変動開始コマンド、客待ちデモコマンド、ファンファーレコマンド、確率情報コマンド、及びエラー指定コマンド等を、演出制御指令信号として、演出制御装置150へ送信する。   The game control device 100 transmits a change start command, a customer waiting demo command, a fanfare command, a probability information command, an error designation command, and the like to the effect control device 150 as an effect control command signal.

次に、払出制御装置210及び演出制御装置150について説明する。   Next, the payout control device 210 and the effect control device 150 will be described.

演出制御装置(表示制御装置)150は、遊技制御装置100から入力される各種信号に基づいて、エラー報知LED29、スピーカ30、発光により遊技演出を行う装飾部材9(図1)及び表示装置8を制御する。   The effect control device (display control device) 150 includes an error notification LED 29, a speaker 30, a decorative member 9 (FIG. 1) that performs a game effect by light emission, and the display device 8 based on various signals input from the game control device 100. Control.

演出制御装置150は、遊技用マイコン(遊技用演算処理装置600)151、ドライバ155、音回路156、及びVDP157を備える。   The effect control device 150 includes a game microcomputer (game operation processing device 600) 151, a driver 155, a sound circuit 156, and a VDP 157.

遊技用マイコン151は、CPU152、ROM153及びRAM154を備える。   The gaming microcomputer 151 includes a CPU 152, a ROM 153, and a RAM 154.

CPU152は、演出制御を行う制御装置である。ROM153は、演出制御に必要な不変の情報(プログラム、データ等)を記憶している。RAM154は、演出制御時にワークエリアとして利用される。   The CPU 152 is a control device that performs effect control. The ROM 153 stores invariant information (programs, data, etc.) necessary for production control. The RAM 154 is used as a work area during production control.

ドライバ155は、CPU152からの指令により、エラー報知LED29及び装飾部材9を制御する。音回路156は、CPU152からの指令により、効果音を生成してスピーカ30から出力する。VDP157は、CPU152からの指令により、画像データを生成して表示装置8へ出力する。   The driver 155 controls the error notification LED 29 and the decoration member 9 according to a command from the CPU 152. The sound circuit 156 generates a sound effect according to a command from the CPU 152 and outputs it from the speaker 30. The VDP 157 generates image data in response to a command from the CPU 152 and outputs the image data to the display device 8.

払出制御装置210は、遊技制御装置100からの賞球指令信号に基づいて、払出装置の払出モータ220を駆動させ、賞球を払い出させるための制御を行う。また、払出制御装置210は、カードユニット70からの貸球要求信号及び遊技制御装置100が送信する排出指令信号に基づいて、払出装置の払出モータ220を駆動させ、貸球を払い出させるための制御を行う。   Based on the prize ball command signal from the game control device 100, the payout control device 210 drives the payout motor 220 of the payout device and performs control for paying out the prize ball. Also, the payout control device 210 drives the payout motor 220 of the payout device to pay out a rental ball based on the ball rental request signal from the card unit 70 and the discharge command signal transmitted by the game control device 100. Take control.

払出制御装置210は、遊技用マイコン(遊技用演算処理装置600)211、入力I/F(Interface)215、入出力I/F(Interface)216及び検査装置接続端子217を備える。   The payout control device 210 includes a game microcomputer (game operation processing device 600) 211, an input I / F (Interface) 215, an input / output I / F (Interface) 216, and an inspection device connection terminal 217.

遊技用マイコン211は、CPU212、ROM213及びRAM214を備える。   The gaming microcomputer 211 includes a CPU 212, a ROM 213, and a RAM 214.

CPU212は、払い出しを統括的に制御する制御装置であって、払出制御を司る。ROM213は、払出制御のための不変の情報(プログラム、データ等)を記憶している。RAM214は、払出制御時にワークエリアとして利用される。   The CPU 212 is a control device that comprehensively controls the payout and controls the payout control. The ROM 213 stores invariant information (program, data, etc.) for payout control. The RAM 214 is used as a work area during payout control.

CPU212は、入力I/F215を介して払出球検出スイッチ112、オーバーフロースイッチ109、球切れスイッチ110、エラー解除スイッチ223、税率設定スイッチ226、及び貸出料金設定スイッチ227からの入力を受ける。   The CPU 212 receives inputs from the payout ball detection switch 112, the overflow switch 109, the ball break switch 110, the error release switch 223, the tax rate setting switch 226, and the lending fee setting switch 227 via the input I / F 215.

エラー解除スイッチ223は、払出制御装置210にエラーが発生した場合に、遊技店の店員等が発生したエラーの原因を解消した際に、遊技店の店員等によって操作され、エラー状態を解除するためのスイッチである。   The error release switch 223 is operated by the store clerk of the amusement store to cancel the error state when the cause of the error generated by the store clerk of the amusement store is resolved when an error occurs in the payout control device 210. It is a switch.

税率設定スイッチ226は、遊技球の貸し出しに対して課税される間接税の税率を設定するスイッチである。貸出料金設定スイッチ227は、貸し出される遊技球の有価価値を設定するためのスイッチである。   The tax rate setting switch 226 is a switch for setting a tax rate of indirect tax imposed on the rental of game balls. The rental fee setting switch 227 is a switch for setting the valuable value of the game balls to be lent.

また、CPU212は、入出力I/F216を介して、払出モータ220、発射制御装置221、エラーナンバー表示器222、税率表示器224及び貸出料金表示器225に指令信号を送信する。また、CPU212は、入出力I/F216を介して遊技制御装置100から送信された各種信号を受信する。   Further, the CPU 212 transmits a command signal to the payout motor 220, the launch control device 221, the error number display 222, the tax rate display 224, and the rental charge display 225 via the input / output I / F 216. In addition, the CPU 212 receives various signals transmitted from the game control device 100 via the input / output I / F 216.

払出モータ220は、実際に払出装置で遊技球を払い出すために駆動されるモータである。具体的には、払出モータ220は、1個の遊技球を貯留可能な凹部を所定個数有するスプロケットを回転させることによって、遊技球を払い出す。   The payout motor 220 is a motor that is actually driven to pay out the game ball by the payout device. Specifically, the payout motor 220 pays out the game ball by rotating a sprocket having a predetermined number of recesses capable of storing one game ball.

発射制御装置221は、遊技球を遊技盤5に発射するための発射装置を制御する。エラーナンバー表示器222は、払出制御装置210の裏面側に配設され、払出制御装置210で発生したエラーの種類を特定可能に表示する。   The launch control device 221 controls a launch device for launching a game ball onto the game board 5. The error number display 222 is disposed on the back side of the payout control device 210 and displays the type of error that has occurred in the payout control device 210 so that it can be specified.

税率表示器224は、払出制御装置210の裏面側に配設され、税率設定スイッチ226によって設定された間接税の税率を表示する。貸出料金表示器225は、払出制御装置210の裏面側に配設され、貸出料金設定スイッチ227によって設定された貸し出される遊技球の有価価値を表示する。   The tax rate indicator 224 is disposed on the back side of the payout control device 210 and displays the tax rate of the indirect tax set by the tax rate setting switch 226. The rental charge indicator 225 is disposed on the back side of the payout control device 210 and displays the valuable value of the game balls to be lent set by the rental charge setting switch 227.

電源装置160は、バックアップ電源161、RAMクリアスイッチ162を備える。遊技制御装置100、演出制御装置150、及び払出制御装置210は、電源装置160に接続される。   The power supply device 160 includes a backup power supply 161 and a RAM clear switch 162. The game control device 100, the effect control device 150, and the payout control device 210 are connected to the power supply device 160.

バックアップ電源161は、停電時においても、遊技制御装置100、演出制御装置150、及び払出制御装置210に電源を供給する。なお、演出制御装置150には必ずしも電源を供給しなくてもよく、停電復帰後、遊技制御装置100からコマンドを送信するようにしてもよい。   The backup power supply 161 supplies power to the game control device 100, the effect control device 150, and the payout control device 210 even during a power failure. It is not always necessary to supply power to the effect control device 150, and a command may be transmitted from the game control device 100 after recovery from a power failure.

RAMクリアスイッチ162は、遊技制御装置100に備わるRAM104及び払出制御装置210に備わるRAM214に記憶されている情報を初期化するスイッチである。   The RAM clear switch 162 is a switch that initializes information stored in the RAM 104 provided in the game control device 100 and the RAM 214 provided in the payout control device 210.

また、遊技機1に備わる球貸ボタン26が操作されると、カードユニット70は、プリペイドカード又は会員カード等のカードに記憶されている有価価値から貸し出される遊技球分の有価価値を減算して、減算した有価価値の値を遊技機1の残高表示部28に表示する。また、遊技機1に備わる排出ボタン27が操作されると、カードユニット70は、カード挿入口71に挿入されたカードを排出する。   Further, when the ball lending button 26 provided in the gaming machine 1 is operated, the card unit 70 subtracts the valuable value for the gaming ball to be lent from the valuable value stored in the card such as the prepaid card or the membership card. The value of the subtracted valuable value is displayed on the balance display unit 28 of the gaming machine 1. Further, when the discharge button 27 provided in the gaming machine 1 is operated, the card unit 70 discharges the card inserted into the card insertion slot 71.

遊技制御装置100に備わる遊技用マイコン101と払出制御装置210に備わる遊技用マイコン211とは、暗号化された暗号化信号(暗号化データ)を双方向通信可能に接続される。また、暗号化されない非暗号化信号(平文データ)については、遊技制御装置100に備わる遊技用マイコン101から払出制御装置210に備わる遊技用マイコン211に単方向通信が可能に接続される。   The game microcomputer 101 provided in the game control device 100 and the game microcomputer 211 provided in the payout control device 210 are connected to each other so that an encrypted encrypted signal (encrypted data) can be bidirectionally communicated. Further, an unencrypted signal (plaintext data) that is not encrypted is connected to the gaming microcomputer 211 provided in the payout control device 210 from the gaming microcomputer 101 provided in the gaming control device 100 so as to be able to perform one-way communication.

また、遊技制御装置100に備わる遊技用マイコン101と演出制御装置150に備わる遊技用マイコン151とは、暗号化されない非暗号化信号(平文データ)を遊技制御装置100から演出制御装置150への単方向で通信可能に接続される。   In addition, the gaming microcomputer 101 provided in the game control device 100 and the gaming microcomputer 151 provided in the effect control device 150 are configured to simply transmit an unencrypted unencrypted signal (plaintext data) from the game control device 100 to the effect control device 150. It is connected so that it can communicate in the direction.

なお、遊技制御装置100に備わる遊技用マイコン101、演出制御装置150に備わる遊技用マイコン151及び払出制御装置210に備わる遊技用マイコン211は、これらの接続に必要なポートを備えている。   Note that the game microcomputer 101 provided in the game control device 100, the game microcomputer 151 provided in the effect control device 150, and the game microcomputer 211 provided in the payout control device 210 include ports necessary for these connections.

次に、遊技制御装置100に備わる遊技用マイコン101、演出制御装置150に備わる遊技用マイコン151及び払出制御装置210に備わる遊技用マイコン211(以下、総称して遊技用演算処理装置600という)について、図5を用いて詳細に説明する。   Next, with respect to the gaming microcomputer 101 provided in the game control device 100, the gaming microcomputer 151 provided in the effect control device 150, and the gaming microcomputer 211 provided in the payout control device 210 (hereinafter collectively referred to as gaming arithmetic processing device 600). This will be described in detail with reference to FIG.

図5は、本発明の第1の実施形態の遊技用演算処理装置(アミューズチップ)600のブロック図である。   FIG. 5 is a block diagram of the game processing device (amuse chip) 600 according to the first embodiment of the present invention.

遊技用演算処理装置600はいわゆるアミューズチップ用のICとして製造され、遊技制御を行う遊技領域部600Aと情報管理を行う情報領域部600Bとに区分される。   The game processing unit 600 is manufactured as an IC for a so-called amuse chip, and is divided into a game area unit 600A for performing game control and an information area unit 600B for managing information.

まず、遊技領域部600Aは、CPUコア601、ユーザプログラムROM602、HWパラメータROM603、ユーザワークRAM604、ミラードRAM605、外部バスインターフェース(I/F)606、バス切替回路607、乱数生成回路608、クロック生成回路609、割込制御回路610A、リセット回路610B、アドレスデコーダ611、出力制御回路612、ブートブロック613、復号化・ROM書込回路614、シリアル送信回路615A、シリアル送信回路615B、シリアル受信回路625、暗号化送受信回路616、及びバス617によって構成される。なお、シリアル送信回路615A及びシリアル送信回路615Bを総称して、シリアル送信回路615という。   First, the game area unit 600A includes a CPU core 601, user program ROM 602, HW parameter ROM 603, user work RAM 604, mirrored RAM 605, external bus interface (I / F) 606, bus switching circuit 607, random number generation circuit 608, clock generation circuit. 609, interrupt control circuit 610A, reset circuit 610B, address decoder 611, output control circuit 612, boot block 613, decryption / ROM writing circuit 614, serial transmission circuit 615A, serial transmission circuit 615B, serial reception circuit 625, encryption The transmission / reception circuit 616 and the bus 617 are included. The serial transmission circuit 615A and the serial transmission circuit 615B are collectively referred to as a serial transmission circuit 615.

CPUコア601は、図4のCPU102、CPU152又はCPU212に相当する。ユーザプログラムROM602は、図4のROM103、ROM153又はROM213に相当する。また、ユーザプログラムROM602及びHWパラメータROM603を総称して、ROM(不揮発性記憶手段)という。   The CPU core 601 corresponds to the CPU 102, the CPU 152, or the CPU 212 in FIG. The user program ROM 602 corresponds to the ROM 103, ROM 153, or ROM 213 in FIG. The user program ROM 602 and the HW parameter ROM 603 are collectively referred to as ROM (nonvolatile storage means).

ユーザワークRAM604は、図4のRAM104、RAM154又はRAM214に相当する。また、ユーザワークRAM604及びミラードRAM605を総称して、RAM(揮発性記憶手段)という。   The user work RAM 604 corresponds to the RAM 104, RAM 154, or RAM 214 in FIG. The user work RAM 604 and the mirrored RAM 605 are collectively referred to as RAM (volatile storage means).

CPUコア601は、遊技制御のための演算処理を行う演算処理手段として機能する。ユーザプログラムROM602は、制御プログラムを格納する。制御プログラムは、遊技用演算処理装置600が遊技制御装置100に備わる遊技用マイコン101である場合には、遊技の制御を行うための遊技制御プログラムである。また、遊技用演算処理装置600が払出制御装置210に備わる遊技用マイコン211である場合には、遊技球の払い出しを行うための払出制御プログラムである。さらに、遊技用演算処理装置600が演出制御装置150に備わる遊技用マイコン151である場合には、演出の制御を行うための演出制御プログラムである。   The CPU core 601 functions as arithmetic processing means for performing arithmetic processing for game control. The user program ROM 602 stores a control program. The control program is a game control program for controlling a game when the game arithmetic processing device 600 is the game microcomputer 101 provided in the game control device 100. In addition, when the game calculation processing device 600 is the game microcomputer 211 provided in the payout control device 210, it is a payout control program for paying out game balls. Furthermore, when the game arithmetic processing device 600 is the game microcomputer 151 provided in the effect control device 150, it is an effect control program for controlling the effect.

HWパラメータROM603は、正当性確認情報を格納する。正当性確認情報とは、遊技用演算処理装置600の正当性の簡易チェックを行う場合の情報であり、例えば、遊技機1の一意な識別子を示す固有ID、メーカコード(遊技機1の製造メーカ毎に割り振られた固有の製造メーカの一意な識別子)、遊技機1のランク(1種、2種等)を示すランクコード、製造メーカが遊技機1の種類に設定する機種コード、検査番号を示す検査コード、電源投入時にRAMをバックアップするか否かを示すRAMバックアップコード、税率設定スイッチ226によって設定された税率、貸出料金設定スイッチ227によって設定された貸出料金等である。また、HWパラメータROM603には、最初に貸出情報要求を送信した検査装置の一意な識別子である固有IDが一つのみ記憶される。   The HW parameter ROM 603 stores validity confirmation information. The legitimacy confirmation information is information in the case of performing a simple check of the legitimacy of the gaming arithmetic processing device 600. For example, a unique ID indicating a unique identifier of the gaming machine 1, a manufacturer code (manufacturer of the gaming machine 1) A unique identifier assigned to each manufacturer), a rank code indicating the rank (1 type, 2 type, etc.) of the gaming machine 1, a model code set by the manufacturer for the type of the gaming machine 1, and an inspection number. An inspection code to be displayed, a RAM backup code indicating whether or not to back up the RAM when the power is turned on, a tax rate set by the tax rate setting switch 226, a lending fee set by the lending fee setting switch 227, and the like. Further, the HW parameter ROM 603 stores only one unique ID that is a unique identifier of the inspection apparatus that first transmitted the lending information request.

第三者機関又は遊技機1の製造メーカがユーザプログラムROM602にプログラムを書き込む際に、正当性確認情報がHWパラメータROM603に書き込まれる。遊技用演算処理装置600は、電源立ち上がり時に、ユーザプログラムROM602に書き込まれたプログラムが正当であるか否かについて簡易チェックを行うことができる。具体的には、遊技用演算処理装置600の電源立ち上がり時に、遊技用演算処理装置600自身が演算した演算値と、正当性確認情報(すなわち、第三者機関等によって予め設定された結果値)とを比較判定することで、簡易的な遊技用演算処理装置600のチェックを行うことが可能になっている。   When the third party organization or the manufacturer of the gaming machine 1 writes the program in the user program ROM 602, the validity confirmation information is written in the HW parameter ROM 603. The gaming processing unit 600 can perform a simple check as to whether or not the program written in the user program ROM 602 is valid when the power is turned on. Specifically, at the time of power-up of the gaming arithmetic processing device 600, the arithmetic value calculated by the gaming arithmetic processing device 600 itself and the validity confirmation information (that is, a result value preset by a third party organization or the like) Can be checked for a simple game processing unit 600.

ユーザワークRAM604は、遊技領域部600Aにおけるプログラムに基づく処理を実行する際にワークエリア(作業領域)として用いられるものである。このユーザワークRAM604には、バックアップ電源161(図4)からのバックアップ電源が供給されているので、遊技機1への電源供給が途絶えても、記憶データが保持されるように構成されている。ミラードRAM605は、クロックの立ち下がり時にユーザワークエリアに記憶された情報を複製し、複製した情報を記憶する(CPUコアがZ80の場合には、クロックの立ち上がり時に処理を実行するため、同期して動くことがないようにしている)。   The user work RAM 604 is used as a work area (work area) when executing processing based on a program in the game area 600A. Since the user work RAM 604 is supplied with the backup power from the backup power supply 161 (FIG. 4), the stored data is retained even if the power supply to the gaming machine 1 is interrupted. The mirrored RAM 605 duplicates the information stored in the user work area at the fall of the clock and stores the duplicated information (if the CPU core is Z80, the process is executed at the rise of the clock. To prevent it from moving).

外部バスインターフェース606は、メモリリクエスト信号MREQ、入出力リクエスト信号IORQ、メモリ書込み信号WR、メモリ読み出し信号RD及びモード信号MODEなどのインターフェースであり、また、バス切替回路607は、16ビットのアドレス信号A0〜A15や8ビットのデータ信号D0〜D7のインターフェースである。   The external bus interface 606 is an interface such as a memory request signal MREQ, an input / output request signal IORQ, a memory write signal WR, a memory read signal RD, and a mode signal MODE, and the bus switching circuit 607 is a 16-bit address signal A0. ˜A15 and 8-bit data signals D0 to D7.

例えば、MODE信号をハイレベルにした状態で、アドレス信号A0〜A15を順次にインクリメントしながら、データ信号D0〜D7を加えると、ユーザプログラムROM602への書き込みモードとなって遊技機1の製造メーカ又は第三者機関によるプログラムの書き込みが可能になる。なお、書き込みモードはプログラムの書き込みを可能にするものであり、ブートブロック613に記憶されるブートプログラムを書き込みできるようにするものではない。   For example, if the data signals D0 to D7 are added while sequentially increasing the address signals A0 to A15 while the MODE signal is at a high level, the writing mode to the user program ROM 602 is set, and the gaming machine 1 manufacturer or The program can be written by a third party. Note that the write mode allows a program to be written, and does not allow a boot program stored in the boot block 613 to be written.

また、ユーザプログラムROM602へのプログラムの書き込みが終了すると、HWパラメータROM603の所定領域に書込終了コードが記録(例えば、所定のコード若しくは所定ビットを物理的に切断することで記録)されるようになっており、HWパラメータROM603に書込終了コードが記録されている場合には、ユーザプログラムROM602への新たなプログラムの書き込みができないようになっている。   Further, when the writing of the program to the user program ROM 602 is completed, a writing end code is recorded in a predetermined area of the HW parameter ROM 603 (for example, recorded by physically cutting a predetermined code or a predetermined bit). Thus, when a write end code is recorded in the HW parameter ROM 603, a new program cannot be written in the user program ROM 602.

乱数生成回路608は遊技の実行過程において遊技価値(例えば、大当り)を付加するか否か等に係わる乱数(乱数は、大当りの決定や停止時の図柄の決定等に使用)を生成するもので、一様性乱数を生成する数学的手法(例えば、合同法又はM系列法等)を利用している。なお、遊技用演算処理装置600が払出制御装置210に備わる遊技用マイコン211である場合には、乱数生成回路608は必要ない。   The random number generation circuit 608 generates a random number related to whether or not to add a game value (for example, jackpot) in the game execution process (random numbers are used to determine jackpots or symbols when stopped). A mathematical method (for example, a congruent method or an M-sequence method) for generating a uniform random number is used. Note that when the gaming arithmetic processing device 600 is the gaming microcomputer 211 provided in the payout control device 210, the random number generation circuit 608 is not necessary.

クロック生成回路609は、遊技用演算処理装置600の外部から入力されたシステムクロック信号を分周して、遊技制御に必要な各種の周期的な信号を生成する。具体的には、CPUコア102を動作させるためのクロック信号、乱数生成回路608の乱数カウンタ値を更新するためのクロック信号、及びシリアル送受信を行う際のタイミング信号などを生成する。なお、クロック生成回路609は、CTC(Counter Timer Circuit)の機能を有しており、CPUコア102にて所定周期(例えば、4ミリ秒)のタイマ割込処理を行わせるためのタイマ割込信号も生成している。   The clock generation circuit 609 divides a system clock signal input from the outside of the gaming arithmetic processing device 600 and generates various periodic signals necessary for game control. Specifically, a clock signal for operating the CPU core 102, a clock signal for updating the random number counter value of the random number generation circuit 608, a timing signal for serial transmission / reception, and the like are generated. The clock generation circuit 609 has a CTC (Counter Timer Circuit) function, and a timer interrupt signal for causing the CPU core 102 to perform timer interrupt processing at a predetermined cycle (for example, 4 milliseconds). Has also generated.

割込制御回路610Aは、所定の割り込み条件の成立に基づいて、割り込みの発生をCPUコア102に知らせる。なお、所定の割り込み条件は、遊技用演算処理装置600の外部から割込要求信号(INT信号、NMI信号)が入力された場合や、クロック生成回路609のCTCからタイマ割込信号が出力された場合などが相当する。   The interrupt control circuit 610A notifies the CPU core 102 of the occurrence of an interrupt based on the establishment of a predetermined interrupt condition. Note that the predetermined interrupt condition is that an interrupt request signal (INT signal, NMI signal) is input from the outside of the gaming arithmetic processing device 600, or a timer interrupt signal is output from the CTC of the clock generation circuit 609. This is the case.

CPUコア102は、INT信号やNMI信号が入力された場合には、現在実行中の処理を中断して予め定められた割込処理を実行する。なお、INT信号による割込(マスカブル割込)は、プログラムの設定により禁止できるが、NMI信号による割込(ノンマスカブル割込)はプログラムの設定により禁止できない。また、CPUコア102は、タイマ割込信号が出力された場合には、図29に示すタイマ割込処理を実行する。   When an INT signal or an NMI signal is input, the CPU core 102 interrupts the currently executing process and executes a predetermined interrupt process. Note that interrupt (maskable interrupt) by the INT signal can be prohibited by program setting, but interrupt by NMI signal (non-maskable interrupt) cannot be prohibited by program setting. In addition, when the timer interrupt signal is output, the CPU core 102 executes the timer interrupt process shown in FIG.

また、リセット回路610Bは、外部から入力されたリセット信号(RST0端子からの信号RST0)を検出すると、遊技用演算処理装置600の内部に備えられた各回路とCPUコア102にリセット信号を伝達する。   Further, when the reset circuit 610B detects a reset signal (signal RST0 from the RST0 terminal) input from the outside, the reset circuit 610B transmits the reset signal to each circuit and the CPU core 102 provided in the game arithmetic processing device 600. .

なお、リセット回路610Bは、セキュリティ回路630(図11参照)としても機能する。このセキュリティ回路630は、遊技用演算処理装置600の内部に備えられた各回路に対して異常なアクセスが発生したことを検出する機能を有しており、異常を検出するとCPUコア102にリセット信号を伝達する。   Note that the reset circuit 610B also functions as the security circuit 630 (see FIG. 11). The security circuit 630 has a function of detecting that an abnormal access has occurred to each circuit provided in the game arithmetic processing device 600. When an abnormality is detected, a reset signal is sent to the CPU core 102. To communicate.

アドレスデコーダ611は、内蔵デバイス及び内蔵コントロール/ステータスレジスタ群のロケーションをメモリマップドI/O方式及びI/OマップドI/O方式によりデコードする。   The address decoder 611 decodes the location of the built-in device and the built-in control / status register group by the memory mapped I / O method and the I / O mapped I / O method.

出力制御回路612は、アドレスデコーダ611からの信号制御を行って外部端子より8ビットのチップセレクト信号(CS0〜CS7)を外部に出力するとともに、遊技用演算処理装置600の内部に備えた回路を選択するチップセレクト信号を発生する機能を有する。ブートブロック613は、ブートプログラムを記憶し、電源投入時に遊技用演算処理装置600の初期化に係わる処理を行う。   The output control circuit 612 performs signal control from the address decoder 611 and outputs an 8-bit chip select signal (CS0 to CS7) from an external terminal to the outside, and includes a circuit provided inside the game processing unit 600. It has a function of generating a chip select signal to be selected. The boot block 613 stores a boot program and performs processing related to initialization of the gaming arithmetic processing device 600 when the power is turned on.

復号化・ROM書込回路614は、ユーザプログラムROM602及びHWパラメータROM603への書込みモードの際に使用されるもので、モード信号MODEが[H]レベルになっている間、バス切替回路607を介してアドレス信号A0〜A15やデータ信号D0〜D7を取り込み、そのデータ信号D0〜D7に含まれる情報(暗号化されたプログラム及び暗号化された変更後の固有ID)を復号化処理した後、バス617を介してユーザプログラムROM602及びHWパラメータROM603に出力する(書き込む)。   The decryption / ROM writing circuit 614 is used in the writing mode to the user program ROM 602 and the HW parameter ROM 603, and passes through the bus switching circuit 607 while the mode signal MODE is at the [H] level. The address signals A0 to A15 and the data signals D0 to D7 are fetched and the information (encrypted program and encrypted unique ID after change) included in the data signals D0 to D7 is decrypted, and then the bus The data is output (written) to the user program ROM 602 and the HW parameter ROM 603 via 617.

シリアル送信回路615A及びシリアル送信回路615Bは、暗号化されていない平文データを送信するための回路である。シリアル送信回路615Aは、SIOTX0端子を介して演出制御装置150に接続される。また、シリアル送信回路615Bは、SIOTX1端子を介して払出制御装置210に接続される。シリアル受信回路625は、暗号化されていない平文データを、SIORX端子を介して受信するための回路である。   The serial transmission circuit 615A and the serial transmission circuit 615B are circuits for transmitting plaintext data that is not encrypted. The serial transmission circuit 615A is connected to the effect control device 150 via the SIOTX0 terminal. The serial transmission circuit 615B is connected to the payout control device 210 via the SIOTX1 terminal. The serial receiving circuit 625 is a circuit for receiving unencrypted plain text data via the SIORX terminal.

暗号化送受信回路616は、NJLINK端子を介して暗号化された暗号化データを送受信する回路である。例えば、遊技制御装置100から払出制御装置210にデータを送信する場合に使用される、また、遊技制御装置100と払出制御装置210との間は、NJLINK接続で接続され、暗号化送受信回路616には、NJLINK信号線が接続される。暗号化送受信回路616は、NJLINK信号線を介してデータを送受信する。   The encrypted transmission / reception circuit 616 is a circuit that transmits / receives encrypted data encrypted via the NJLINK terminal. For example, it is used when data is transmitted from the game control device 100 to the payout control device 210. Also, the game control device 100 and the payout control device 210 are connected by an NJLINK connection and are connected to the encrypted transmission / reception circuit 616. Is connected to the NJLINK signal line. The encrypted transmission / reception circuit 616 transmits / receives data via the NJLINK signal line.

バス617はデータバス(図11のデータバス660)、アドレスバス(図11のアドレスバス650)及び制御バスを含むものであり、情報領域部600Bまで延びている。   The bus 617 includes a data bus (data bus 660 in FIG. 11), an address bus (address bus 650 in FIG. 11), and a control bus, and extends to the information area 600B.

次に、遊技用演算処理装置600における情報管理を行う情報領域部600Bは、HPGプログラムROM618、IDプロパティメモリ619、バスモニタ回路620、HPGワークRAM621、制御回路622、外部通信制御回路623、バス624、及び遊技領域部600Aから延びるバス617の一部を含んで構成される。   Next, an information area unit 600B for managing information in the game processing unit 600 includes an HPG program ROM 618, an ID property memory 619, a bus monitor circuit 620, an HPG work RAM 621, a control circuit 622, an external communication control circuit 623, and a bus 624. , And a part of the bus 617 extending from the game area 600A.

HPGプログラムROM618には、各種検査動作を行うHPGプログラムが格納される。   The HPG program ROM 618 stores an HPG program for performing various inspection operations.

IDプロパティメモリ619には、図示しない検査装置から外部通信制御回路623を介して受信した要求に基づいて、HWパラメータROM603に記憶されている情報を図示しない検査装置にすぐに出力できるように、遊技用演算処理装置600の電源投入時(システムリセット時)にHWパラメータに記憶されている情報を複製して記憶する。なお、IDプロパティメモリ619は、遊技領域部600A側及び情報領域部600B側の双方よりアクセスが可能な構成になっている。   In the ID property memory 619, the information stored in the HW parameter ROM 603 can be immediately output to the inspection device (not shown) based on the request received from the inspection device (not shown) via the external communication control circuit 623. The information stored in the HW parameter is duplicated and stored when the computer processing unit 600 is powered on (system reset). The ID property memory 619 can be accessed from both the game area 600A side and the information area 600B side.

バスモニタ回路620は、情報領域部600B側より遊技領域部600A側のバス617の状態監視及び制御を行う。ここでの制御とは、HWパラメータROM603の内容をIDプロパティメモリ619に複写する際のタイミング制御や、ユーザプログラムROM602に格納されたプログラムを外部に出力する際(遊技領域部600A側のバス617を開放してユーザプログラムROM602からプログラムを読み込んで情報領域部600B側より外部に出力する際)のタイミング制御である。なお、プログラムは、外部通信制御回路623で暗号化されてから出力される。   The bus monitor circuit 620 monitors and controls the state of the bus 617 on the game area 600A side from the information area 600B side. The control here refers to timing control when the contents of the HW parameter ROM 603 are copied to the ID property memory 619, or when the program stored in the user program ROM 602 is output to the outside (the bus 617 on the game area 600A side is connected). Timing control at the time of opening and reading a program from the user program ROM 602 and outputting it to the outside from the information area 600B side. The program is output after being encrypted by the external communication control circuit 623.

HPGワークRAM621は、情報領域部600Bにおけるプログラムに基づく処理を実行する際にワークエリア(作業領域)として用いられるものである。   The HPG work RAM 621 is used as a work area (work area) when executing processing based on a program in the information area unit 600B.

制御回路622は情報領域部600B側を制御するもので、バッファメモリを有している。制御回路622は、例えば、バスモニタ回路620を介してCPUコア102の動作を監視し、非動作中に遊技領域部600AのユーザワークRAM604に記憶された内容をミラードRAM605へコピーする。また、図示しない検査装置からの要求に応答して情報領域部600BのIDプロパティメモリ619の内容を外部へ転送したり、プログラム要求に応答してバスモニタ回路620を介してユーザプログラムROM602内のプログラムを外部へ転送したりする。制御回路622のメモリは、転送時のタイミング調節のために用いられる。   The control circuit 622 controls the information area 600B side and has a buffer memory. For example, the control circuit 622 monitors the operation of the CPU core 102 via the bus monitor circuit 620 and copies the contents stored in the user work RAM 604 of the game area unit 600A to the mirrored RAM 605 during non-operation. Further, the contents of the ID property memory 619 of the information area unit 600B are transferred to the outside in response to a request from an inspection apparatus (not shown), or the program in the user program ROM 602 is received via the bus monitor circuit 620 in response to a program request. To the outside. The memory of the control circuit 622 is used for timing adjustment at the time of transfer.

外部通信制御回路623は図示しない検査装置との通信を行うもので、例えば、外部からの指令に基づいて遊技用演算処理装置600内に格納されている情報(例えば、固有ID、プログラム、実払出数等)を暗号化した後、外部へ転送する等の処理を行う。   The external communication control circuit 623 communicates with an inspection device (not shown). For example, information (for example, a unique ID, a program, an actual payout) stored in the game processing device 600 based on a command from the outside. The number is encrypted, and then transferred to the outside.

遊技用演算処理装置600では、遊技領域部600Aと情報領域部600Bがバスモニタ回路620を介して独立して動作する。すなわち、情報領域部600B側は遊技領域部600AにおけるCPUコア102の作動に関係なく(プログラム実行に関係なく)動作可能である。   In the game processing unit 600, the game area unit 600A and the information area unit 600B operate independently via the bus monitor circuit 620. That is, the information area 600B side can operate regardless of the operation of the CPU core 102 in the game area 600A (regardless of the program execution).

なお、図5では図示されていないが、遊技用演算処理装置600には、図11にて後述するRAMアクセス規制回路(更新規制手段)640を備えている。   Although not shown in FIG. 5, the gaming arithmetic processing device 600 includes a RAM access restriction circuit (update restriction means) 640 described later in FIG.

図6は、本発明の第1の実施形態の遊技制御装置100におけるシリアル送信回路615の構成例を示すブロック図である。   FIG. 6 is a block diagram illustrating a configuration example of the serial transmission circuit 615 in the game control apparatus 100 according to the first embodiment of the present invention.

シリアル送信回路615は、送信シリアルチャンネル設定レジスタ633、送信データステータスレジスタ631、送信制御レジスタ632、送信データレジスタ635(送信データバッファレジスタ635A、送信データシフトレジスタ635B)、ボーレート生成回路(送信速度設定手段)634を含んで構成される。   The serial transmission circuit 615 includes a transmission serial channel setting register 633, a transmission data status register 631, a transmission control register 632, a transmission data register 635 (transmission data buffer register 635A, transmission data shift register 635B), a baud rate generation circuit (transmission speed setting means) 634.

シリアル送信回路615は、出力制御回路612から入力された選択信号に基づいて、送信先を選択する。また、リセット信号の入力を受け付けると、各種レジスタに設定された値を0クリアする。   The serial transmission circuit 615 selects a transmission destination based on the selection signal input from the output control circuit 612. Also, when the input of the reset signal is accepted, the values set in the various registers are cleared to zero.

送信シリアルチャンネル設定レジスタ633は、データ送信時の通信速度及び通信フォーマットを指定するレジスタである。送信シリアルチャンネル設定レジスタ633には、後述するメイン処理におけるシリアル通信設定処理によって各値が設定される。   The transmission serial channel setting register 633 is a register for designating a communication speed and a communication format at the time of data transmission. Each value is set in the transmission serial channel setting register 633 by serial communication setting processing in main processing described later.

図7は、本発明の第1の実施形態の送信シリアルチャンネル設定レジスタ633の構成例を示す図である。図7に示すように、送信シリアルチャンネル設定レジスタ633は、16ビットで構成されており、ビット0〜15はすべて書き込み/読み出し可能とされる。   FIG. 7 is a diagram illustrating a configuration example of the transmission serial channel setting register 633 according to the first embodiment of this invention. As shown in FIG. 7, the transmission serial channel setting register 633 has 16 bits, and all bits 0 to 15 can be written / read.

送信シリアルチャンネル設定レジスタ633において、ビット0〜12には、送信ボーレート(通信速度)を算出するためのボーレート設定値(例えば、分周比)が設定される。   In the transmission serial channel setting register 633, bits 0 to 12 are set with a baud rate setting value (for example, a frequency division ratio) for calculating a transmission baud rate (communication speed).

具体的には、遊技用演算処理装置600に入力されるシステムクロック(MCLK)の周波数(単位Hz:ヘルツ)を32で除した値を、さらに、このボーレート設定値で除した値が、送信ボーレート(1秒間に送信されるデータのビット数)として設定される。例えば、ボーレート設定値として100を設定すると、システムクロックの周波数が20MHzであった場合には、送信ボーレートは、20,000,000÷32÷100=6250(bps)となる。   Specifically, a value obtained by dividing the frequency (unit: Hz) of the system clock (MCLK) input to the game processing unit 600 by 32 and further divided by this baud rate set value is the transmission baud rate. It is set as (number of bits of data transmitted per second). For example, if 100 is set as the baud rate setting value, and the system clock frequency is 20 MHz, the transmission baud rate is 20,000,000 / 32/100 = 6250 (bps).

ビット13には、送信データ長を8ビットとする場合に“0”が設定され、9ビットとする場合に“1”が設定される。   Bit 13 is set to “0” when the transmission data length is 8 bits, and is set to “1” when the transmission data length is 9 bits.

ビット14には、送信データにパリティを付加しない場合に“0”が設定され、パリティを付加する場合に“1”が設定される。ビット15には、送信データに付加するパリティを偶数パリティとする場合に“0”が設定され、奇数パリティとする場合に“1”が設定される。なお、ビット15は、ビット14に“1”(パリティ有り)が設定されている場合に有効となる。   Bit 14 is set to “0” when no parity is added to transmission data, and is set to “1” when parity is added. Bit 15 is set to “0” when the parity added to the transmission data is an even parity, and is set to “1” when the parity is an odd parity. Bit 15 is valid when bit 14 is set to “1” (with parity).

なお、遊技用演算処理装置600にリセット信号(RST0)が入力されると、シリアル送信回路615がリセットされ、送信シリアルチャンネル設定レジスタ633の全ビットが“0”に設定される(図6等も参照)。   When a reset signal (RST0) is input to the game processing unit 600, the serial transmission circuit 615 is reset, and all the bits of the transmission serial channel setting register 633 are set to “0” (see FIG. 6 and the like). reference).

図6の説明に戻り、送信制御レジスタ632は、シリアル送信回路615の動作を制御するためのレジスタである。   Returning to the description of FIG. 6, the transmission control register 632 is a register for controlling the operation of the serial transmission circuit 615.

図8は、本発明の第1の実施形態の送信制御レジスタ632の構成例を示す図である。図8に示すように、送信制御レジスタ632は、例えば8ビットで構成され、ビット6は読み出し専用とされ、他のビット0、4、5、7は書き込み/読み出し可能とされる。なお、本実施形態では送信制御レジスタ632のビット1〜3は未使用としているため、図8では記載を省略している。   FIG. 8 is a diagram illustrating a configuration example of the transmission control register 632 according to the first embodiment of this invention. As shown in FIG. 8, the transmission control register 632 is composed of, for example, 8 bits, bit 6 is read-only, and other bits 0, 4, 5, and 7 are writable / readable. In this embodiment, since bits 1 to 3 of the transmission control register 632 are unused, the description is omitted in FIG.

送信制御レジスタ632のビット0には、送信回路(シリアル送信回路615)を初期化する場合に“1”が設定される。送信回路が初期化されると送信データレジスタ635のデータも含めて全てのレジスタが初期値とされる。   Bit 0 of the transmission control register 632 is set to “1” when the transmission circuit (serial transmission circuit 615) is initialized. When the transmission circuit is initialized, all registers including the data in the transmission data register 635 are set to initial values.

ビット4には、送信データレジスタ635(送信データシフトレジスタ635B)からのデータ送信を禁止する場合に“0”が設定され、データ送信を許可する場合に“1”が設定される。   Bit 4 is set to “0” when data transmission from the transmission data register 635 (transmission data shift register 635B) is prohibited, and is set to “1” when data transmission is permitted.

ビット5には、送信データレジスタ635が空になったときに送信割り込みを要求しない場合に“0”が設定され、送信割り込みを要求する場合に“1”が設定される。   Bit 5 is set to “0” when a transmission interrupt is not requested when the transmission data register 635 is empty, and is set to “1” when a transmission interrupt is requested.

ビット6には、送信割り込み要求が発生しているか否か(送信割り込み状態)を示す値が設定される。ビット6に“0”が設定されている場合には送信割り込みを要求していない状態であることを示し、“1”が設定されている場合には送信割り込みを要求している状態であることを示す。   Bit 6 is set to a value indicating whether or not a transmission interrupt request is generated (transmission interrupt state). If bit 6 is set to “0”, it indicates that a transmission interrupt is not requested, and if “1” is set, a transmission interrupt is requested. Indicates.

ビット7には、送信データレジスタのビット8の値(データ長が9ビットの場合)が設定される。   In bit 7, the value of bit 8 of the transmission data register (when the data length is 9 bits) is set.

なお、遊技用演算処理装置600にリセット信号(RST0)が入力されると、シリアル送信回路615がリセットされ、送信制御レジスタ632の全ビットが“0”に設定される(図6等も参照)。その結果、送信制御レジスタ632のビット4が“0”になるので、送信データレジスタ635(送信データシフトレジスタ635B)からのデータ送信が禁止され、データ出力がオフされた状態になる。   When a reset signal (RST0) is input to the gaming arithmetic processing device 600, the serial transmission circuit 615 is reset and all the bits of the transmission control register 632 are set to “0” (see also FIG. 6 and the like). . As a result, since bit 4 of the transmission control register 632 becomes “0”, data transmission from the transmission data register 635 (transmission data shift register 635B) is prohibited and the data output is turned off.

図6の説明に戻り、送信データステータスレジスタ631は、送信データレジスタ635の状態を示すレジスタである。CPU102は、送信データステータスレジスタ631の設定値によって、送信データレジスタ635の状態を確認することができる。   Returning to the description of FIG. 6, the transmission data status register 631 is a register indicating the state of the transmission data register 635. The CPU 102 can confirm the state of the transmission data register 635 based on the setting value of the transmission data status register 631.

図9は、本発明の第1の実施形態の送信データステータスレジスタ631の構成例を示す図である。送信データステータスレジスタ631は、例えば8ビットで構成され、ビット0〜5、7はすべて読み出し専用とされる。なお、本実施形態では送信データステータスレジスタ631のビット6は未使用としているため、図9では省略している。   FIG. 9 is a diagram illustrating a configuration example of the transmission data status register 631 according to the first embodiment of this invention. The transmission data status register 631 is composed of, for example, 8 bits, and bits 0 to 5 and 7 are all read-only. In the present embodiment, bit 6 of the transmission data status register 631 is unused, and is omitted in FIG.

送信データステータスレジスタ631において、ビット0〜5には、送信データの残量を示す値が設定される。例えば、ビット0〜5に“00h”(16進数の“0”)が設定されていると送信データがないことを示し、“01h”が設定されていると送信データが1バイト残っていることを示し、“20h”が設定されていると送信データが32バイト残っていることを示す。   In the transmission data status register 631, bits 0 to 5 are set to values indicating the remaining amount of transmission data. For example, if “00h” (hexadecimal “0”) is set in bits 0 to 5, it indicates that there is no transmission data. If “01h” is set, one byte of transmission data remains. When “20h” is set, it indicates that 32 bytes of transmission data remain.

ビット7には、送信データレジスタ635におけるデータの送信状態を示す値が設定される。ビット7に“1”が設定されているとデータを送信していない状態であることを示し、“0”が設定されているとデータを送信している状態であることを示す。   In bit 7, a value indicating the data transmission state in the transmission data register 635 is set. When “1” is set in bit 7, it indicates that data is not being transmitted, and when “0” is set, it indicates that data is being transmitted.

なお、遊技用演算処理装置600にリセット信号(RST0)が入力されると、シリアル送信回路615がリセットされ、送信データステータスレジスタ631の全ビットが“0”に設定される(図6等も参照)。その結果、送信データステータスレジスタ631のビット0〜5が“00h”となり、送信データの残量がない状態となる。   When a reset signal (RST0) is input to the game processing unit 600, the serial transmission circuit 615 is reset and all bits of the transmission data status register 631 are set to “0” (see also FIG. 6 and the like). ). As a result, bits 0 to 5 of the transmission data status register 631 are set to “00h”, and there is no remaining transmission data.

図6の説明に戻り、送信データレジスタ635は、シリアル送信回路615が送信するデータを格納するレジスタである。送信データレジスタ635は、例えば、1段の送信データシフトレジスタ635Bと、31段の送信データバッファレジスタ635Aで構成される。   Returning to the description of FIG. 6, the transmission data register 635 is a register for storing data transmitted by the serial transmission circuit 615. The transmission data register 635 includes, for example, a one-stage transmission data shift register 635B and a 31-stage transmission data buffer register 635A.

図10は、本発明の第1の実施形態の送信データレジスタ635(1段分)の構成例を示す図である。1段の送信データレジスタ635は、例えば8ビットで構成され、ビット0〜7はすべて書き込み専用とされる。   FIG. 10 is a diagram illustrating a configuration example of the transmission data register 635 (for one stage) according to the first embodiment of this invention. The one-stage transmission data register 635 is composed of, for example, 8 bits, and bits 0 to 7 are all dedicated to writing.

この送信データレジスタ635には、タイマ割込処理で生成される制御指令データが格納され、送信制御レジスタのビット4に“1”(送信許可)が設定されていれば、格納された制御指令データは自動的に演出制御装置150に送信される。   This transmission data register 635 stores control command data generated by the timer interrupt process. If bit 4 of the transmission control register is set to “1” (transmission permission), the stored control command data is stored. Is automatically transmitted to the production control device 150.

制御指令データは、例えば、1バイトのモードデータと1バイトのアクションデータの2バイトで構成されるので、2段の送信データレジスタ635に1つの制御指令データが格納されることとなる。そして、本実施形態では、送信データレジスタ635を32段で構成しているので、1回のタイマ割込処理で最大16の制御指令データが生成される場合、これをすべて送信データレジスタ635に格納することができる。   The control command data is composed of, for example, 2 bytes of 1-byte mode data and 1-byte action data, so that one control command data is stored in the two-stage transmission data register 635. In this embodiment, since the transmission data register 635 is composed of 32 stages, when a maximum of 16 control command data are generated by one timer interrupt process, all of them are stored in the transmission data register 635. can do.

ただし、CPU102によって、新たな送信データを送信データレジスタ635に格納できるのは、送信データステータスレジスタ631のビット0〜5の値(送信データの残量を示す値)が“00h”〜“1Fh”の場合(送信データレジスタ635に、0〜31バイトの未送信データが残っている場合)に限られる。   However, the CPU 102 can store new transmission data in the transmission data register 635 because the value of bits 0 to 5 (value indicating the remaining amount of transmission data) of the transmission data status register 631 is “00h” to “1Fh”. (In the case where 0 to 31 bytes of untransmitted data remain in the transmission data register 635).

送信データステータスレジスタ631のビット0〜5の値が“20h”の場合は、送信データレジスタ635に空きがないので、CPU102によって送信データレジスタ635に書き込もうとされたデータは廃棄される。これにより、送信データレジスタ635が満杯のときは、誤ってCPU102によるデータ書き込みが発生しても、既に格納されている送信データレジスタ635のデータが破壊されないようになっている。   When the value of bits 0 to 5 of the transmission data status register 631 is “20h”, the transmission data register 635 has no space, and the data that the CPU 102 tried to write to the transmission data register 635 is discarded. As a result, when the transmission data register 635 is full, the data stored in the transmission data register 635 is not destroyed even if data is written by the CPU 102 by mistake.

なお、遊技用演算処理装置600にリセット信号(RST0)が入力されると、シリアル送信回路615がリセットされ、送信データレジスタ635の全ビットが“0”に設定される(図6等も参照)。   When a reset signal (RST0) is input to the gaming arithmetic processing device 600, the serial transmission circuit 615 is reset and all the bits of the transmission data register 635 are set to “0” (see also FIG. 6 and the like). .

図6の説明に戻り、ボーレート生成回路634は、クロック生成回路609から分周回路629を介して出力されるクロック信号(遊技用演算処理装置600に入力されるシステムクロック(MCLK)を分周した信号)及び送信シリアルチャンネル設定レジスタ633に設定されている設定値(ボーレート設定値)に基づいて、シリアル送信回路615が用いる送信ボーレートを生成する。このとき、ボーレート生成回路634は、クロック信号及びボーレート設定値に基づいて、前述の計算式を用いて送信ボーレートを求める。また、分周回路629は、CPU102にも分周されたクロック信号を入力する。なお、分周回路629は、クロック生成回路609に含まれるように構成してもよい。   Returning to the description of FIG. 6, the baud rate generation circuit 634 divides the clock signal output from the clock generation circuit 609 via the frequency dividing circuit 629 (system clock (MCLK) input to the game processing unit 600. Signal) and a setting value (baud rate setting value) set in the transmission serial channel setting register 633, a transmission baud rate used by the serial transmission circuit 615 is generated. At this time, the baud rate generation circuit 634 obtains the transmission baud rate using the above-described calculation formula based on the clock signal and the baud rate setting value. The frequency dividing circuit 629 also inputs the divided clock signal to the CPU 102. Note that the frequency divider 629 may be included in the clock generation circuit 609.

シリアル送信回路615では、送信許可の設定(送信制御レジスタ632のビット4を“1”)がなされた後、送信するデータを送信データレジスタ635(送信データバッファレジスタ635A)に書き込む、又は、送信するデータを送信データレジスタ635に書き込んだ後、送信許可の設定がなされると、自動的に送信が開始される。送信が開始されると、送信データバッファレジスタ635Aのデータが送信データシフトレジスタ635Bに転送され、送信データシフトレジスタ635Bからシリアル変換されて、最下位ビット(ビット0)から1ビットずつ順次出力される。そして、データの送信が完了すると送信データシフトレジスタ635Bは空になるので、送信データバッファレジスタ635Aに書き込まれている次のデータが送信データシフトレジスタ635Bに転送され、出力される。   The serial transmission circuit 615 writes or transmits data to be transmitted to the transmission data register 635 (transmission data buffer register 635A) after setting transmission permission (bit 4 of the transmission control register 632 is “1”). After data is written in the transmission data register 635, transmission is automatically started when transmission permission is set. When transmission is started, data in the transmission data buffer register 635A is transferred to the transmission data shift register 635B, serially converted from the transmission data shift register 635B, and sequentially output bit by bit from the least significant bit (bit 0). . When the data transmission is completed, the transmission data shift register 635B becomes empty, so that the next data written in the transmission data buffer register 635A is transferred to the transmission data shift register 635B and output.

したがって、シリアル送信回路615では、送信データレジスタ635(送信データシフトレジスタ635B、送信データバッファレジスタ635A)に書き込まれたデータ(制御指令データ)が、演出制御装置150に1ビットずつ順次送信されることとなる。   Therefore, in the serial transmission circuit 615, data (control command data) written in the transmission data register 635 (transmission data shift register 635B, transmission data buffer register 635A) is sequentially transmitted to the effect control device 150 bit by bit. It becomes.

このように、シリアル送信回路(制御指令送信手段)615は、送信データ(例えば、制御指令データ)を格納する送信データレジスタ635を備え、送信データレジスタ635に送信データが格納されると、遊技制御装置100から演出制御装置150へ向かう方向に、格納された送信データを1ビットずつ順次送信する(いわゆるシリアル通信)ように構成されている。   As described above, the serial transmission circuit (control command transmission means) 615 includes the transmission data register 635 for storing transmission data (for example, control command data). When the transmission data is stored in the transmission data register 635, the game control is performed. The stored transmission data is sequentially transmitted bit by bit in the direction from the device 100 to the effect control device 150 (so-called serial communication).

具体的には、送信データレジスタ635は、格納されたデータをすぐに送信する送信データシフトレジスタ635Bと、格納されたデータを保持するとともに、送信データシフトレジスタ635Bがデータを格納可能な状態(データの送信が完了した状態)となったときに、保持しているデータを送信データシフトレジスタ635Bに転送する送信データバッファレジスタ635Aと、で構成される。   Specifically, the transmission data register 635 has a transmission data shift register 635B that immediately transmits the stored data, a state that holds the stored data, and the transmission data shift register 635B can store the data (data The transmission data buffer register 635A transfers the stored data to the transmission data shift register 635B when the transmission is completed.

これにより、従来のパラレル通信では必須とされていたタイマ割込処理における制御指令データの送信処理を省略できるので、CPU102の負担を軽減することができる。   Thereby, the transmission process of the control command data in the timer interrupt process, which is essential in the conventional parallel communication, can be omitted, so that the burden on the CPU 102 can be reduced.

また、シリアル通信とすることで、制御指令データを送信するための配線本数を比較的少なくすることができる。   In addition, by using serial communication, the number of wires for transmitting control command data can be relatively reduced.

また、遊技制御装置100と演出制御装置150との間の通信は、遊技制御装置100から演出制御装置150へのみデータを送信可能な単方向通信とされ、遊技制御装置100にデータは入力されないので、不正が行われることを防止できる。   The communication between the game control device 100 and the effect control device 150 is unidirectional communication in which data can be transmitted only from the game control device 100 to the effect control device 150, and no data is input to the game control device 100. , It can prevent fraud.

なお、本実施形態においては、送信データレジスタ635に最大で32バイトの送信データが格納可能であるが、この32バイトのデータが、1回のタイマ割込処理において全て出力できるように、ボーレート設定値(送信シリアルチャンネル設定レジスタ633のビット0〜12)の値が設定されている。   In this embodiment, transmission data register 635 can store transmission data of up to 32 bytes, but the baud rate is set so that all of this 32 bytes of data can be output in one timer interrupt process. The value (bits 0 to 12 of the transmission serial channel setting register 633) is set.

具体的には、送信データレジスタ635から出力される1バイトあたりのデータ送信に必要な時間Tbと、タイマ割込信号の発生周期Fと、送信データレジスタ635に格納できるデータの上限バイト数Bとの関係が、F/B>Tbとなるように、ボーレート設定値を設定して送信の速度を決めればよい。   Specifically, the time Tb required for data transmission per byte output from the transmission data register 635, the generation period F of the timer interrupt signal, the upper limit number of bytes B of data that can be stored in the transmission data register 635, The baud rate setting value may be set to determine the transmission speed so that the relationship of F / B> Tb is satisfied.

例えば、タイマ割込信号の発生周期F=4ミリ秒で、送信データレジスタ635に格納できるデータの上限バイト数B=32バイトであれば、F/B=4000/32=125マイクロ秒よりも短くなるようにTbの値を決定し、遊技用演算処理装置600に入力されるシステムクロック(MCLK)の周波数を考慮したうえで、ボーレート設定値の値を定めればよい。   For example, if the timer interrupt signal generation cycle F = 4 milliseconds and the upper limit number of bytes B = 32 bytes of data that can be stored in the transmission data register 635, F / B = 4000/32 = 125 microseconds or less. Thus, the value of Tb is determined, and the value of the baud rate set value may be determined in consideration of the frequency of the system clock (MCLK) input to the gaming arithmetic processing device 600.

このような構成とすることで、シリアル送信回路(制御指令送信手段、送信手段)615は、1回のタイマ割込処理において生成される一連の制御指令データをすべて格納することが可能となり、タイマ割り込み毎に生成される制御指令データを確実に送信することができる。   With such a configuration, the serial transmission circuit (control command transmission means, transmission means) 615 can store all of a series of control command data generated in one timer interrupt process. It is possible to reliably transmit control command data generated for each interrupt.

図11は、本発明の第1の実施形態の遊技制御装置100に備わる遊技用演算処理装置(アミューズチップ)600とその周辺のブロック図である。   FIG. 11 is a block diagram of a game arithmetic processing device (amuse chip) 600 provided in the game control device 100 according to the first embodiment of the present invention and its surroundings.

遊技用演算処理装置600は、セキュリティ回路630、CPUコア102(図11では601)、RAMアクセス規制回路640、ユーザワークRAM104(図11では604)、アドレスデコーダ611、出力制御回路612、及び、ユーザプログラムROM103(図11では602)を備える。   The gaming arithmetic processing device 600 includes a security circuit 630, a CPU core 102 (601 in FIG. 11), a RAM access restriction circuit 640, a user work RAM 104 (604 in FIG. 11), an address decoder 611, an output control circuit 612, and a user. A program ROM 103 (602 in FIG. 11) is provided.

なお、遊技用演算処理装置600に備わるこれらの回路等は、アドレスバス650及びデータバス660を介して接続されている。アドレスバス650は、A0〜A15の16ビットの信号線によって構成され、データバス660は、D0〜D7の8ビットの信号線によって構成される。   Note that these circuits and the like included in the gaming arithmetic processing device 600 are connected via an address bus 650 and a data bus 660. The address bus 650 is composed of 16-bit signal lines A0 to A15, and the data bus 660 is composed of 8-bit signal lines D0 to D7.

また、遊技制御装置100は、演出制御装置150に接続されるシリアル送信回路615A、及び、払出制御装置210に接続されるシリアル送信回路615Bを備える。   Further, the game control device 100 includes a serial transmission circuit 615A connected to the effect control device 150 and a serial transmission circuit 615B connected to the payout control device 210.

なお、演出制御装置150及び払出制御装置210には、シリアル受信回路625(図5)に相当する受信回路が備えられていて、シリアル送信回路615A、615Bから出力されたシリアルのデータを、それぞれが受信する構成となっている。   The production control device 150 and the payout control device 210 are provided with a reception circuit corresponding to the serial reception circuit 625 (FIG. 5), and the serial data output from the serial transmission circuits 615A and 615B, respectively. It is configured to receive.

遊技用演算処理装置600に電源が投入される際には、RST0端子(図5)を介して電源装置160からリセット信号(起動信号)が入力され、リセット回路610B(図5)が作動する。   When power is supplied to the gaming arithmetic processing device 600, a reset signal (start signal) is input from the power supply device 160 via the RST0 terminal (FIG. 5), and the reset circuit 610B (FIG. 5) is activated.

セキュリティ回路630は、このリセット信号が入力されるとHWパラメータROM603に記憶された正当性確認情報を用いて、セキュリティチェック処理を実行する。このセキュリティチェック処理は、ユーザプログラムROM103に記憶されたプログラムの正当性の判定を行う処理である。   When this reset signal is input, the security circuit 630 executes a security check process using the validity confirmation information stored in the HW parameter ROM 603. This security check process is a process for determining the validity of the program stored in the user program ROM 103.

セキュリティ回路630は、このセキュリティチェック処理を実行している間は、CPUコア102のリセット端子(RES0(負論理))にリセット信号を継続して出力することで、CPUコア102の起動を待機させる。   While this security check process is being executed, the security circuit 630 continuously outputs a reset signal to the reset terminal (RES0 (negative logic)) of the CPU core 102, thereby waiting for the CPU core 102 to start up. .

CPUコア102は、前述のリセット端子(RES0(負論理))と、書込指令出力端子(WR(負論理))、及び読出指令出力端子(RD(負論理))を備える。リセット端子はセキュリティ回路630に接続されており、遊技用演算処理装置600にリセット信号が入力されると、前述のように、セキュリティチェック処理を実行している間、CPUコア102に対するリセット信号がリセット端子に入力される。   The CPU core 102 includes the aforementioned reset terminal (RES0 (negative logic)), a write command output terminal (WR (negative logic)), and a read command output terminal (RD (negative logic)). The reset terminal is connected to the security circuit 630, and when a reset signal is input to the gaming arithmetic processing device 600, as described above, the reset signal for the CPU core 102 is reset while the security check process is being executed. Input to the terminal.

CPUコア102のリセット端子にリセット信号が入力されると、CPUコア102は、CPUコア102に備わるレジスタ(REG)を初期化する。   When a reset signal is input to the reset terminal of the CPU core 102, the CPU core 102 initializes a register (REG) provided in the CPU core 102.

また、CPUコア102がユーザワークRAM104にデータの書き込みを指令する書込指令を出力する場合には、CPUコア102の書込指令出力端子からは所定値よりも低い電圧のローレベルの信号が出力される。同様に、CPUコア102がユーザワークRAM104からデータの読み出しを指令する読出指令を出力する場合には、CPUコア102の読出指令出力端子からは所定値よりも低い電圧のローレベルの信号が出力される。   When the CPU core 102 outputs a write command for instructing the user work RAM 104 to write data, a low level signal having a voltage lower than a predetermined value is output from the write command output terminal of the CPU core 102. Is done. Similarly, when the CPU core 102 outputs a read command for instructing data read from the user work RAM 104, a low level signal having a voltage lower than a predetermined value is output from the read command output terminal of the CPU core 102. The

つまり、書込指令出力端子及び読出指令出力端子は、通常電圧がハイレベルに維持されており、ユーザワークRAM104への読み書きを行うときにのみ電圧がローレベルになる。   That is, the normal voltage is maintained at a high level at the write command output terminal and the read command output terminal, and the voltage is at a low level only when reading / writing to the user work RAM 104 is performed.

また、CPUコア102は、アドレスバス650に指定したアドレスを出力し、データバス660を介して指定したアドレスに格納されたデータを入出力する。   In addition, the CPU core 102 outputs an address designated on the address bus 650, and inputs / outputs data stored at the designated address via the data bus 660.

まず、ユーザワークRAM104のデータの読み出しについて説明する。   First, reading of data from the user work RAM 104 will be described.

CPUコア102から、ユーザワークRAM104の読出指令入力端子(RD(負論理))に読出指令が入力されると、アドレスバス650及びデータバス660を介してCPUコア102に読出データが出力される。   When a read command is input from the CPU core 102 to a read command input terminal (RD (negative logic)) of the user work RAM 104, read data is output to the CPU core 102 via the address bus 650 and the data bus 660.

このとき、CPUコア102からアドレスバス650へは、ユーザワークRAM104のアドレスが出力され、アドレスデコーダ611からユーザワークRAM104のチップ選択端子(所謂CS端子に相当、図示は略)に選択信号が入力されることによって、ユーザワークRAM104が選択される。次いで、選択されたユーザワークRAM104は、アドレスバス650が指定する記憶領域のデータをデータバス660へ出力する。次いで、CPUコア102は、データバス660へ出力されたデータを内部へ取り込む。このような手順により、CPUコア102はユーザワークRAM104からデータを読み出す。   At this time, the address of the user work RAM 104 is output from the CPU core 102 to the address bus 650, and a selection signal is input from the address decoder 611 to a chip selection terminal (corresponding to a so-called CS terminal, not shown) of the user work RAM 104. As a result, the user work RAM 104 is selected. Next, the selected user work RAM 104 outputs the data in the storage area designated by the address bus 650 to the data bus 660. Next, the CPU core 102 takes in the data output to the data bus 660. By such a procedure, the CPU core 102 reads data from the user work RAM 104.

次に、ユーザワークRAM104へのデータの書き込みについて説明する。   Next, data writing to the user work RAM 104 will be described.

CPUコア102に備わる書込指令出力端子は、RAMアクセス規制回路640のORゲート回路642に備わる二つの入力端子のうち一方の入力端子に接続される。ORゲート回路642の他方の入力端子は、RAMアクセス規制回路640のフリップフロップ回路641の出力端子(Q(負論理))に接続され、ORゲート回路642の出力端子は、ユーザワークRAM104の書込指令入力端子(WR(負論理))に接続されている。   The write command output terminal provided in the CPU core 102 is connected to one input terminal of the two input terminals provided in the OR gate circuit 642 of the RAM access restriction circuit 640. The other input terminal of the OR gate circuit 642 is connected to the output terminal (Q (negative logic)) of the flip-flop circuit 641 of the RAM access restriction circuit 640, and the output terminal of the OR gate circuit 642 is the write of the user work RAM 104. It is connected to the command input terminal (WR (negative logic)).

また、ユーザワークRAM104の書込指令入力端子に所定値以下の電圧であるローレベルの信号が入力されると、ユーザワークRAM104への書き込みが許容される。   When a low level signal having a voltage equal to or lower than a predetermined value is input to the write command input terminal of the user work RAM 104, writing to the user work RAM 104 is permitted.

このため、ORゲート回路642の二つの入力端子にそれぞれローレベルの信号が入力されなければ、ユーザワークRAM104への書き込みが許容されない。言い換えれば、ORゲート回路642の少なくとも一方の入力端子にハイレベルの信号が入力されていると、ユーザワークRAM104への書き込みが規制(禁止)される。   Therefore, writing to the user work RAM 104 is not permitted unless low level signals are input to the two input terminals of the OR gate circuit 642, respectively. In other words, when a high level signal is input to at least one input terminal of the OR gate circuit 642, writing to the user work RAM 104 is restricted (prohibited).

ここで、RAMアクセス規制回路640のフリップフロップ回路641について説明する。   Here, the flip-flop circuit 641 of the RAM access restriction circuit 640 will be described.

フリップフロップ回路641は、D型のフリップフロップ回路であり、入力端子として、データ端子(D)、リセット端子(R(負論理))、及び出力イネーブル端子(OE(負論理))を備えるとともに、出力端子(Q(正論理),Q(負論理))を備える。   The flip-flop circuit 641 is a D-type flip-flop circuit, and includes a data terminal (D), a reset terminal (R (negative logic)), and an output enable terminal (OE (negative logic)) as input terminals. Output terminals (Q (positive logic), Q (negative logic)) are provided.

データ端子には、データバス660を構成する信号線D0〜D7のうち所定の一本の信号線(例えば、D0)が接続されている。   One predetermined signal line (for example, D0) among the signal lines D0 to D7 constituting the data bus 660 is connected to the data terminal.

リセット端子には電源装置160からリセット信号線が接続され、リセット信号が入力されるとリセット端子はローレベルとなる。このときフリップフロップ回路641は、出力端子Q(正論理)からローレベルの信号を出力させ、出力端子Q(負論理)からハイレベルの信号を出力させる。出力端子Q(正論理)からの出力と、出力端子Q(負論理)からの出力は、相互に反転するレベルとなっている。   A reset signal line is connected to the reset terminal from the power supply device 160, and when a reset signal is input, the reset terminal becomes low level. At this time, the flip-flop circuit 641 outputs a low level signal from the output terminal Q (positive logic) and outputs a high level signal from the output terminal Q (negative logic). The output from the output terminal Q (positive logic) and the output from the output terminal Q (negative logic) are at levels that are mutually inverted.

また、出力イネーブル端子は、出力制御回路612から送信された出力イネーブル信号が入力される。出力イネーブル信号がハイレベルの場合には、出力端子から信号の出力が可能な状態となる。   The output enable signal transmitted from the output control circuit 612 is input to the output enable terminal. When the output enable signal is at a high level, a signal can be output from the output terminal.

このフリップフロップ回路641に備えた出力端子Q(負論理)からの信号レベルは、CPUコア102によって、自在に設定できるようになっている。この設定は、CPUコア102が、フリップフロップ回路641に割り当てられたアドレスの記憶領域に所定のデータを書き込むことで実現される。   The signal level from the output terminal Q (negative logic) provided in the flip-flop circuit 641 can be freely set by the CPU core 102. This setting is realized by the CPU core 102 writing predetermined data in the storage area of the address assigned to the flip-flop circuit 641.

具体的には、CPUコア102によってフリップフロップ回路641に割り当てられたアドレスの記憶領域にデータを書き込む処理が行われると、CPUコア102からアドレスバス650へは、フリップフロップ回路641のアドレスが出力される。次に、アドレスデコーダ611から、出力制御回路612を介して、フリップフロップ回路641の出力イネーブル端子にクロック信号が入力され、出力イネーブル端子の電圧レベルが立ち上がり、ハイレベルとなる。   Specifically, when the CPU core 102 performs processing to write data to the storage area of the address assigned to the flip-flop circuit 641, the address of the flip-flop circuit 641 is output from the CPU core 102 to the address bus 650. The Next, a clock signal is input from the address decoder 611 to the output enable terminal of the flip-flop circuit 641 via the output control circuit 612, and the voltage level of the output enable terminal rises to a high level.

このときフリップフロップ回路641は、データ端子に入力されている信号を取り込んで、取り込んだ信号を出力端子Q(正論理)から出力し、取り込んだ信号の反転値を出力端子Q(負論理)から出力する。   At this time, the flip-flop circuit 641 captures the signal input to the data terminal, outputs the captured signal from the output terminal Q (positive logic), and outputs the inverted value of the captured signal from the output terminal Q (negative logic). Output.

また、フリップフロップ回路641は、出力制御回路612がクロック信号の入力を終了した場合には、出力イネーブル端子の電圧レベルは立ち下がりローレベルとなり、出力端子Q(正論理)及び出力端子Q(負論理)の電圧レベルを保持する。   Further, in the flip-flop circuit 641, when the output control circuit 612 finishes inputting the clock signal, the voltage level of the output enable terminal falls and becomes a low level, and the output terminal Q (positive logic) and the output terminal Q (negative). Logic) voltage level.

また、出力端子Q(負論理)は、ORゲート回路642の入力端子に信号を出力する。出力端子Q(正論理)には何も接続されない。   The output terminal Q (negative logic) outputs a signal to the input terminal of the OR gate circuit 642. Nothing is connected to the output terminal Q (positive logic).

次に、フリップフロップ回路641の入力状態に応じた各種動作について説明する。   Next, various operations according to the input state of the flip-flop circuit 641 will be described.

フリップフロップ回路641は、前述したように、出力イネーブル端子の電圧レベルの立ち上り、つまり出力イネーブル信号の入力開始時に、データ端子の電圧レベルを読み取り、読み取った電圧レベルの反転値を出力端子Q(負論理)から出力する。   As described above, the flip-flop circuit 641 reads the voltage level of the data terminal at the rise of the voltage level of the output enable terminal, that is, at the start of input of the output enable signal, and outputs the inverted value of the read voltage level to the output terminal Q (negative Output from logic).

一方、フリップフロップ回路641は、出力イネーブル端子の電圧レベルの立ち下がり、つまり、出力イネーブル信号の入力終了時に、出力イネーブル端子の電源レベルの立ち上がり時の出力端子Q(負論理)からの出力を保持する。   On the other hand, the flip-flop circuit 641 holds the output from the output terminal Q (negative logic) at the fall of the voltage level of the output enable terminal, that is, at the end of the input of the output enable signal. To do.

出力端子Q(負論理)からハイレベルの信号がORゲート回路642の入力端子に出力されていると、ORゲート回路642の他方の入力端子にローレベル及びハイレベルのいずれの信号が入力されても、ORゲート回路642の出力端子からはハイレベルの信号が出力される。   When a high level signal is output from the output terminal Q (negative logic) to the input terminal of the OR gate circuit 642, either the low level signal or the high level signal is input to the other input terminal of the OR gate circuit 642. Also, a high level signal is output from the output terminal of the OR gate circuit 642.

このため、フリップフロップ回路641の出力端子Q(負論理)からハイレベルの信号が出力されていれば、ORゲート回路642の他方の入力端子に書込指令信号が入力されても(当該他方の入力端子にローレベルの信号が入力されても)、ユーザワークRAM104の書込指令入力端子にはローレベルが入力されなくなり、RAM書込禁止状態が発生する。   Therefore, if a high-level signal is output from the output terminal Q (negative logic) of the flip-flop circuit 641, even if a write command signal is input to the other input terminal of the OR gate circuit 642 (the other Even if a low level signal is input to the input terminal), the low level is not input to the write command input terminal of the user work RAM 104, and a RAM write inhibit state occurs.

RAMアクセス規制回路640をRAM書込禁止状態にするかRAM書込許可状態にするかは、クロック信号がフリップフロップ回路641に入力されたときのフリップフロップ回路641のデータ端子に入力される電圧レベル、又はリセット信号の入力の有無に基づく。   The voltage level input to the data terminal of the flip-flop circuit 641 when the clock signal is input to the flip-flop circuit 641 depends on whether the RAM access restriction circuit 640 is in the RAM write prohibition state or the RAM write permission state. Or based on the presence or absence of a reset signal input.

前述のようにCPUコア102は、出力制御回路612を制御してクロック信号の出力を制御でき、データバス660の信号線の出力も制御できるので、フリップフロップ回路641の出力端子Q(負論理)から出力される信号は、CPUコア102によって制御可能である。言い換えると、CPUコア102は、データバス660の信号レベルを制御することによってRAMアクセス規制回路640の書込状態を制御できる。   As described above, the CPU core 102 can control the output control circuit 612 to control the output of the clock signal, and can also control the output of the signal line of the data bus 660, so that the output terminal Q (negative logic) of the flip-flop circuit 641. The signal output from can be controlled by the CPU core 102. In other words, the CPU core 102 can control the write state of the RAM access restriction circuit 640 by controlling the signal level of the data bus 660.

さらに、前述のようにフリップフロップ回路641のリセット端子にリセット信号が入力された場合には、フリップフロップ回路641は、出力端子Qの電圧レベルをローにするため、出力端子Q(負論理)の電圧レベルはハイになる。このため、フリップフロップ回路641にリセット信号が入力された場合には、RAMアクセス規制回路640では、RAM書込禁止状態が発生することになる。   Further, as described above, when a reset signal is input to the reset terminal of the flip-flop circuit 641, the flip-flop circuit 641 sets the voltage level of the output terminal Q to low, and therefore the output terminal Q (negative logic) The voltage level goes high. Therefore, when a reset signal is input to the flip-flop circuit 641, the RAM access restriction circuit 640 causes a RAM write prohibition state.

前述のように、出力制御回路612が払出制御装置210に接続されるシリアル送信回路615Bにクロック信号を入力すると、シリアル送信回路615Bは、クロック信号が入力されたタイミングで、データバス617からデータを読み取り、読み取ったデータを送信データバッファレジスタ635Aに格納する。そして、送信データバッファレジスタ635Aに格納されたデータを送信データシフトレジスタ635Bに格納し、払出制御装置210に順次出力する。   As described above, when the output control circuit 612 inputs a clock signal to the serial transmission circuit 615B connected to the payout control device 210, the serial transmission circuit 615B receives data from the data bus 617 at the timing when the clock signal is input. The read data is stored in the transmission data buffer register 635A. Then, the data stored in the transmission data buffer register 635A is stored in the transmission data shift register 635B and sequentially output to the payout control device 210.

なお、前述したセキュリティ回路630、RAMアクセス規制回路640、及びシリアル送信回路615の起動(リセット)は、電源装置160からのリセット信号を、前述のリセット回路610B(図5)を介して受け入れた場合に実行される。ただし、電源装置160からのリセット信号は、必ずしもリセット回路610Bを介して各回路に入力される必要はなく、リセット回路610Bを経由しない別個の信号線を介して各回路に入力されるような構成でもよい。   Note that the activation (reset) of the security circuit 630, the RAM access restriction circuit 640, and the serial transmission circuit 615 described above is when the reset signal from the power supply device 160 is received via the reset circuit 610B (FIG. 5). To be executed. However, the reset signal from the power supply device 160 is not necessarily input to each circuit via the reset circuit 610B, and is input to each circuit via a separate signal line that does not pass through the reset circuit 610B. But you can.

なお、シリアル送信回路615(615A、615B)においては、図7〜図10の説明で前述したように、リセット信号によって、演出制御装置150や払出制御装置210へのデータ出力がオフ状態となる。   In the serial transmission circuit 615 (615A, 615B), as described above with reference to FIGS. 7 to 10, the data output to the effect control device 150 and the payout control device 210 is turned off by the reset signal.

また、払出制御装置210は、シリアル送信回路615を備えてはいない点が、図6に示した遊技制御装置100と異なっている。その他の構成は、図11に示した遊技制御装置100と同じ構成である。   Further, the payout control device 210 is different from the game control device 100 shown in FIG. 6 in that it does not include the serial transmission circuit 615. Other configurations are the same as those of the game control apparatus 100 shown in FIG.

また、演出制御装置150は、シリアル送信回路615を備えてはいない点、さらに、遊技用演算処理装置600にRAMアクセス規制回路640を備えていない点が、図6に示した遊技制御装置100と異なっている。その他の構成については、図11に示した遊技制御装置100と同じ構成である。   In addition, the fact that the effect control device 150 does not include the serial transmission circuit 615 and that the game arithmetic processing device 600 does not include the RAM access restriction circuit 640 is different from the game control device 100 shown in FIG. Is different. About another structure, it is the same structure as the game control apparatus 100 shown in FIG.

なお、払出制御装置210及び演出制御装置150に備えたシリアル受信回路625は、払出制御装置210(又は演出制御装置150)のCPU102が起動した後であれば、遊技制御装置100のシリアル送信回路615からの信号を受け入れられる状態となっている。なお、払出制御装置210(又は演出制御装置150)のシリアル受信回路625とCPU102とは、データバス617によって相互に接続される構成となっている。   Note that the serial reception circuit 625 included in the payout control device 210 and the effect control device 150 is after the CPU 102 of the payout control device 210 (or the effect control device 150) is activated, the serial transmission circuit 615 of the game control device 100. The signal from can be accepted. Note that the serial receiving circuit 625 and the CPU 102 of the payout control device 210 (or the effect control device 150) are connected to each other via a data bus 617.

図12は、本発明の第1の実施形態のCPUコア102の内部構成を説明するブロック図である。CPUコア102はZ80系のCPUとして構成されている。   FIG. 12 is a block diagram illustrating an internal configuration of the CPU core 102 according to the first embodiment of this invention. The CPU core 102 is configured as a Z80 CPU.

図12に示すCPUコア102は、それぞれ8ビットの幅を有する、Wレジスタ1201A、Aレジスタ1202A、Bレジスタ1204A、Cレジスタ1205A、Dレジスタ1207A、Eレジスタ1208A、Hレジスタ1210A、Lレジスタ1211Aを備えている。   The CPU core 102 shown in FIG. 12 includes a W register 1201A, an A register 1202A, a B register 1204A, a C register 1205A, a D register 1207A, an E register 1208A, an H register 1210A, and an L register 1211A each having a width of 8 bits. ing.

これらの汎用レジスタは、Wレジスタ1201AとAレジスタ1202Aとを組み合わせて、16ビットの幅を有するWAレジスタ1203Aとして使用することも可能である。同様に、Bレジスタ1204AとCレジスタ1205Aとを組み合わせたBCレジスタ1206A、Dレジスタ1207AとEレジスタ1208Aとを組み合わせたDEレジスタ1209A、Hレジスタ1210AとLレジスタ1211Aとを組み合わせたHLレジスタ1212Aを使用することも可能である。   These general-purpose registers can be used as a WA register 1203A having a 16-bit width by combining the W register 1201A and the A register 1202A. Similarly, a BC register 1206A combining the B register 1204A and the C register 1205A, a DE register 1209A combining the D register 1207A and the E register 1208A, and an HL register 1212A combining the H register 1210A and the L register 1211A are used. It is also possible.

なお、これらの汎用レジスタは、1つの汎用レジスタ群(バンク0のレジスタ群)1220Aを形成している。一方、CPUコア102は、バンク0のレジスタ群1220Aに含まれる汎用レジスタと同様の構成を有する、もう1つの汎用レジスタ群(バンク1のレジスタ群)1220Bを備えている。   These general-purpose registers form one general-purpose register group (register group in bank 0) 1220A. On the other hand, the CPU core 102 includes another general-purpose register group (bank 1 register group) 1220B having the same configuration as that of the general-purpose registers included in the bank 0 register group 1220A.

このバンク1のレジスタ群1220Bには、バンク0のWレジスタ1201A〜Lレジスタ1211Aと同一の機能を有する、Wレジスタ1201B〜Lレジスタ1211Bを備えている。これらのレジスタも、バンク0同様に、WAレジスタ1203B〜HLレジスタ1212Bとして、16ビットのレジスタとして使用することが可能である。   The bank 1 register group 1220B includes W registers 1201B to 1211B having the same functions as the bank 0 W registers 1201A to L1112A. Like the bank 0, these registers can also be used as 16-bit registers as the WA register 1203B to HL register 1212B.

さらに、CPUコア102は、8ビットの幅を有するフラグレジスタ1200を備えている。   Further, the CPU core 102 includes a flag register 1200 having a width of 8 bits.

フラグレジスタ1200は、図13で詳細を説明するが、レジスタを用いた演算結果が格納される。また、フラグレジスタ1200の、レジスタバンクセレクタ(RBS)1301(図13で後述)によって、2つの汎用レジスタ群1220A、1220Bのうちのいずれを、演算対象として用いるかが選択される。   The flag register 1200, which will be described in detail with reference to FIG. 13, stores an operation result using the register. Further, a register bank selector (RBS) 1301 (described later in FIG. 13) of the flag register 1200 selects which of the two general-purpose register groups 1220A and 1220B is used as an operation target.

レジスタバンクセレクタ(RBS)1301により選択されたレジスタ群に属する各レジスタは、後述の命令解釈実行回路1242によって演算に用いられる。一方、選択されていないレジスタ群に属する各レジスタは、レジスタバンクセレクタ(RBS)1301の値が変更されて選択対象となるまでは、値を保持する。   Each register belonging to the register group selected by the register bank selector (RBS) 1301 is used for calculation by an instruction interpretation execution circuit 1242 described later. On the other hand, each register belonging to the unselected register group holds a value until the value of the register bank selector (RBS) 1301 is changed and becomes a selection target.

また、CPUコア102は、8ビットの幅を有して、上位アドレス指定レジスタとして機能するKレジスタ1230を備えている。このレジスタは、後述の命令解釈実行回路1242が、所定の16ビットのアドレスに記憶されたデータにアクセスする際の上位8ビットのアドレスを指定する上位アドレス指定レジスタである。   Further, the CPU core 102 includes a K register 1230 having a width of 8 bits and functioning as an upper address specification register. This register is an upper address designation register that designates an upper 8-bit address when an instruction interpretation execution circuit 1242, which will be described later, accesses data stored at a predetermined 16-bit address.

さらに、CPUコア102は、それぞれ16ビットの幅を有する、IXレジスタ1231、IYレジスタ1232、スタックポインタとして機能するSPレジスタ1233、及びプログラムカウンタとして機能するPCレジスタ1234を備えている。   Further, the CPU core 102 includes an IX register 1231, an IY register 1232, an SP register 1233 that functions as a stack pointer, and a PC register 1234 that functions as a program counter, each having a width of 16 bits.

IXレジスタ1231、IYレジスタ1232は、後述の命令解釈実行回路1242がデータをアクセスする際のインデックスとして用いられる。スタックポインタ1233は、スタックエリア(図18で後述)にデータを格納する(又はデータを取り出す)際の領域の位置を示す。プログラムカウンタ1234は、後述の命令解釈実行回路1242で実行されている命令が格納されているアドレスを示している。   The IX register 1231 and the IY register 1232 are used as indexes when an instruction interpretation execution circuit 1242 described later accesses data. The stack pointer 1233 indicates the position of an area when data is stored (or retrieved) in the stack area (described later in FIG. 18). The program counter 1234 indicates an address where an instruction executed by an instruction interpretation execution circuit 1242 described later is stored.

命令解釈実行回路1242は、遊技制御プログラムを実行して、CPUコア102内部の各レジスタを用いた演算処理を行う。具体的には、ユーザプログラムROM103にて、プログラムカウンタ1234に示されるアドレスに記憶されたデータを読み出すとともに、読み出したデータをコードと見なして、コードに対応する命令を実行する。   The instruction interpretation execution circuit 1242 executes a game control program and performs arithmetic processing using each register in the CPU core 102. Specifically, in the user program ROM 103, data stored at the address indicated by the program counter 1234 is read, and the read data is regarded as a code, and an instruction corresponding to the code is executed.

故に、本実施形態においては、CPUコア102自体を演算処理手段として例示しているが、CPUコア102の内部では、命令解釈実行回路1242が主体となって演算処理手段の機能を果たしている。   Therefore, in the present embodiment, the CPU core 102 itself is exemplified as the arithmetic processing means. However, in the CPU core 102, the instruction interpretation execution circuit 1242 mainly functions as the arithmetic processing means.

なお、命令解釈実行回路1242は、遊技制御プログラムの命令に対応して、アクセス回路1243、アドレスバス650、及びデータバス660を介して、CPUコア102外部のユーザプログラムROM103、ユーザワークRAM604、及び他の回路との間で、データの授受を行う場合もある。   The instruction interpretation execution circuit 1242 corresponds to the instruction of the game control program, the user program ROM 103 outside the CPU core 102, the user work RAM 604, and others via the access circuit 1243, the address bus 650, and the data bus 660. In some cases, data is exchanged with other circuits.

また、命令解釈実行回路1242は、ユーザプログラムROM103の命令を1つずつ実行する毎に、次の命令が格納されているアドレスをプログラムカウンタ1234に格納する。このようにして命令の実行と、プログラムカウンタ1234の更新を繰り返すことで、遊技制御プログラムが順次実行される。なお、割込制御回路610Aからの割込信号を受け付けると、プログラムカウンタ1234の値は、予め設定された割込処理のアドレスの値に切り替えられる。   Further, the instruction interpretation execution circuit 1242 stores the address where the next instruction is stored in the program counter 1234 every time one instruction of the user program ROM 103 is executed. In this way, the game control program is sequentially executed by repeatedly executing the instruction and updating the program counter 1234. When an interrupt signal from interrupt control circuit 610A is received, the value of program counter 1234 is switched to a preset interrupt processing address value.

この命令解釈実行回路1242及びCPUコア102に備える各レジスタは、内部バス1235によって、データが授受される。   Data is transmitted to and received from the instruction interpretation execution circuit 1242 and the registers included in the CPU core 102 through the internal bus 1235.

初期値設定回路1241は、CPUコア102に備える各レジスタに初期値をハード的に設定する回路である。   The initial value setting circuit 1241 is a circuit that sets an initial value in each register included in the CPU core 102 in hardware.

内蔵リセット回路1240は、セキュリティ回路630からのリセット信号を受信すると、初期値設定回路1241を起動させ、CPUコア102に備える各レジスタに初期値を設定させたのちに、命令解釈実行回路1242を起動させる。   When the built-in reset circuit 1240 receives the reset signal from the security circuit 630, the built-in reset circuit 1240 activates the initial value setting circuit 1241, sets initial values in the registers included in the CPU core 102, and then activates the instruction interpretation execution circuit 1242. Let

図13は、本発明の第1の実施形態のフラグレジスタ1200の構成を説明する図である。フラグレジスタ1200の各ビットの値は、図12における命令解釈実行回路1242によって設定される。   FIG. 13 is a diagram illustrating the configuration of the flag register 1200 according to the first embodiment of this invention. The value of each bit of the flag register 1200 is set by the instruction interpretation execution circuit 1242 in FIG.

割込マスタ許可フラグ(IMF)1300は、割込信号による割込処理の許否を設定するフラグであり、セット(値が「1」)で許可、クリア(値が「0」)で禁止となる。   The interrupt master permission flag (IMF) 1300 is a flag for setting permission / inhibition of interrupt processing by an interrupt signal, and is permitted when set (value is “1”) and prohibited when cleared (value is “0”). .

レジスタバンクセレクタ(RBS)1301は、図12における命令解釈実行回路1242が演算処理を行う際に、2つの汎用レジスタ群1220A、1220Bのうちのいずれを用いるかを選択するフラグであり、セット(値が「1」)でバンク1のレジスタ群1220B、クリア(値が「0」)でバンク0のレジスタ群1220Aが選択される。   The register bank selector (RBS) 1301 is a flag that selects which of the two general-purpose register groups 1220A and 1220B is used when the instruction interpretation execution circuit 1242 in FIG. Is "1"), the register group 1220B of bank 1 is selected, and the register group 1220A of bank 0 is selected when clear (value is "0").

オーバーフローフラグ(VF)1302は、所定の演算によって演算対象の汎用レジスタに桁溢れ(オーバーフロー)が発生するとセット(値が「1」)され、他の場合はクリア(値が「0」)される。   The overflow flag (VF) 1302 is set (value is “1”) when a digit overflow (overflow) occurs in a general-purpose register to be calculated by a predetermined operation, and is cleared (value is “0”) in other cases. .

サインフラグ(SF)1303は、所定の演算によって演算対象の汎用レジスタの最上位ビットが「1」になるとセット(値が「1」)され、他の場合はクリア(値が「0」)される。   The sign flag (SF) 1303 is set (value is “1”) when the most significant bit of the calculation target general-purpose register is “1” by a predetermined operation, and is cleared (value is “0”) in other cases. The

ハーフキャリーフラグ(HF)1304は、8ビット演算を行った結果として演算対象の汎用レジスタの4ビット目に桁上がり(キャリー)や桁借り(ボロー)が発生するとセット(値が「1」)され、他の場合はクリア(値が「0」)される。   The half carry flag (HF) 1304 is set (value is “1”) when carry (carry) or borrow (borrow) occurs in the 4th bit of the general-purpose register to be calculated as a result of 8-bit operation. In other cases, it is cleared (value is “0”).

キャリーフラグ(CF)1305は、所定の演算によって桁上がり(キャリー)や桁借り(ボロー)が発生するとセット(値が「1」)され、他の場合はクリア(値が「0」)される。   The carry flag (CF) 1305 is set (value is “1”) when a carry (carry) or borrow (borrow) is generated by a predetermined operation, and is cleared (value is “0”) in other cases. .

ゼロフラグ(ZF)1306は、所定の演算算結果が「0」となった場合にセット(値が「1」)され、他の場合はクリア(値が「0」)される。   The zero flag (ZF) 1306 is set (value is “1”) when a predetermined calculation result is “0”, and is cleared (value is “0”) in other cases.

ジャンプステータスフラグ(JF)1307は、キャリーフラグ(CF)1305又はゼロフラグ(ZF)1306の少なくとも一方がセットされた場合にはセット(値が「1」)される。若しくは、演算処理を行わない場合であっても、汎用レジスタの値が「00H」の値になった場合は、セット(値が「1」)される。このような条件をいずれも満たさない場合は、クリア(値が「0」)される。   The jump status flag (JF) 1307 is set (value is “1”) when at least one of the carry flag (CF) 1305 or the zero flag (ZF) 1306 is set. Alternatively, even when the arithmetic processing is not performed, when the value of the general-purpose register becomes “00H”, it is set (value is “1”). When none of these conditions is satisfied, the value is cleared (value is “0”).

なお、CPUコア102がリセットされた場合には、フラグレジスタの全bitが0に設定される。   When the CPU core 102 is reset, all the bits of the flag register are set to 0.

図14は、本発明の第1の実施形態のユーザワークRAM104の一例を示す図である。   FIG. 14 is a diagram illustrating an example of the user work RAM 104 according to the first embodiment of this invention.

ユーザワークRAM104は、第1停電復旧領域701、ワークエリア702、第2停電復旧領域703、チェックサム領域704、使用禁止領域(アクセス禁止領域)705、及びスタック領域706を有する。   The user work RAM 104 includes a first power failure recovery area 701, a work area 702, a second power failure recovery area 703, a checksum area 704, a use prohibition area (access prohibition area) 705, and a stack area 706.

ユーザワークRAM104には、アドレス「2800H」〜「29FFH」が割り当てられており、第1停電復旧領域701にはアドレス「2800H」が割り当てられ、ワークエリア702にはアドレス「2801H」〜「2917H」が割り当てられ、第2停電復旧領域703にはアドレス「2918H」が割り当てられ、チェックサム領域704にはアドレス「2919H」が割り当てられ、使用禁止領域705にはアドレス「291AH」〜「297FH」が割り当てられ、スタック領域706にはアドレス「2980H」〜「29FFH」が割り当てられる。   Addresses “2800H” to “29FFH” are assigned to the user work RAM 104, addresses “2800H” are assigned to the first power failure recovery area 701, and addresses “2801H” to “2917H” are assigned to the work area 702. The address “2918H” is assigned to the second power failure recovery area 703, the address “2919H” is assigned to the checksum area 704, and the addresses “291AH” to “297FH” are assigned to the use prohibition area 705. The stack area 706 is assigned addresses “2980H” to “29FFH”.

ユーザワークRAM104の各領域について説明する。   Each area of the user work RAM 104 will be described.

第1停電復旧領域701及び第2停電復旧領域703は、遊技機1への電源供給開始時に参照される情報が格納されており、直前の電源供給停止のとき(停電発生や遊技機1の電源スイッチをオフにしたとき)に、電源遮断の処理が正しく実行されていたか否かを示す情報(電源遮断確認フラグ)が格納されている。   The first power failure recovery area 701 and the second power failure recovery area 703 store information referred to when the power supply to the gaming machine 1 is started, and when the power supply is stopped immediately before (the occurrence of a power failure or the power supply of the gaming machine 1) Information (power cutoff confirmation flag) indicating whether or not the power shutdown processing has been executed correctly when the switch is turned off is stored.

ワークエリア702には、遊技制御で必要な変数等が格納され、図25及び図26に示す遊技制御装置メイン処理並びに図29に示すタイマ割込処理等で、これらの変数が更新される。具体的には、特図変動表示ゲーム及び普図変動表示ゲームの保留数を格納する保留カウンタ、特図変動表示ゲームを実行するために必要な各種乱数の生成領域、普図変動表示ゲームを抽選するために必要な乱数(普図乱数)の生成領域、普図乱数の保存領域、特図変動表示ゲームを実行するために必要な各種乱数の保存領域などがワークエリア702に記憶される。これらの詳細については、図15から図17を参照して後述する。   The work area 702 stores variables and the like necessary for game control, and these variables are updated by the game control device main process shown in FIGS. 25 and 26, the timer interrupt process shown in FIG. 29, and the like. Specifically, a special counter fluctuation display game and a hold counter for storing the number of suspensions of the special figure fluctuation display game, a random number generation area necessary for executing the special figure fluctuation display game, and a lottery fluctuation display game The work area 702 stores a random number (ordinary random number) generation area necessary for performing, a normal random number storage area, various random number storage areas necessary for executing the special figure variation display game, and the like. Details of these will be described later with reference to FIGS.

チェックサム領域704には、停電発生時に算出されたユーザワークRAM104の第1停電復旧領域701、ワークエリア702、及び第2停電復旧領域703のチェックサムが格納される。   The checksum area 704 stores the checksums of the first power failure recovery area 701, the work area 702, and the second power failure recovery area 703 of the user work RAM 104 that are calculated when a power failure occurs.

使用禁止領域705は使用されない記憶領域であり、当該領域へのアクセスがあると、セキュリティ回路630(図6)によって、CPUコア102がリセットされるようになっている。   The use-prohibited area 705 is a storage area that is not used, and the CPU core 102 is reset by the security circuit 630 (FIG. 6) when there is access to the area.

スタック領域706には、CPUコア102で演算されているデータの一部を一時的に退避させる場合に、退避データが格納される。また、割込みが発生した場合の戻りアドレスや、サブルーチンや関数を呼び出す場合の戻りアドレスも格納される。   The stack area 706 stores saved data when part of the data calculated by the CPU core 102 is temporarily saved. In addition, a return address when an interrupt occurs and a return address when a subroutine or function is called are also stored.

なお、本実施形態では、ワークエリア702のうち遊技制御に用いられる各種乱数の生成及び保存領域の上位アドレスと、スタック領域706が割り当てられている領域の上位アドレスが異なるように設定されている。具体的には、ワークエリア702の各種乱数の生成及び保存領域の上位アドレスが「28H」(第1記憶領域)、スタック領域の上位アドレスが「29H」(第2記憶領域)となっており、乱数更新時にスタック領域の値を誤って更新してしまったり、スタック領域更新時に乱数の値を誤って更新してしまったりすることを防止している。   In the present embodiment, in the work area 702, the high-order addresses of various random number generation and storage areas used for game control are set to be different from the high-order addresses of the areas to which the stack area 706 is allocated. Specifically, the upper address of the generation and storage area of various random numbers in the work area 702 is “28H” (first storage area), and the upper address of the stack area is “29H” (second storage area). This prevents the value of the stack area from being erroneously updated when the random number is updated or the value of the random number is erroneously updated when the stack area is updated.

さらに、上位アドレスが誤って設定されてしまった場合であっても誤作動を生じさせないように、各種乱数の生成及び保存領域の下位アドレスがスタック領域の下位アドレスと重ならないように設定している。   Furthermore, even if the upper address is set by mistake, the lower address of the various random number generation and storage areas is set so that it does not overlap with the lower address of the stack area so as not to cause a malfunction. .

具体的には、図15から図17で後述する、特図変動表示ゲームを実行するための各種乱数(始動記憶)の生成領域(2820H〜2827H)、普図乱数の生成領域(2828H)及び普図乱数の保存領域(282CH〜282FH)、第1特図変動表示ゲームを実行するための各種乱数(始動記憶)の保存領域(2830H〜284FH)、及び、第2特図変動表示ゲームを実行するための各種乱数(始動記憶)の保存領域(2850H〜286FH)などが該当する。これらの領域の上位アドレスを「28H」から「29H」に置換した領域(即ち2920H〜296FHの領域)は、図14に示すように、使用禁止領域705として設定されている。   Specifically, various random number (starting memory) generation areas (2820H to 2827H), a normal random number generation area (2828H), a general random number generation area (2828H), and a common random number display game for executing the special figure variation display game described later with reference to FIGS. Random number storage area (282CH to 282FH), various random number (starting memory) storage areas (2830H to 284FH) for executing the first special figure fluctuation display game, and second special figure fluctuation display game This corresponds to a storage area (2850H to 286FH) of various random numbers (startup memory) for the purpose. An area obtained by replacing the upper addresses of these areas from “28H” to “29H” (that is, an area from 2920H to 296FH) is set as a use-prohibited area 705 as shown in FIG.

図15から図17は、本発明の第1の実施形態のユーザワークRAM104に割り当てられたワークエリア702に格納されるデータの具体例を説明する図である。図15は保留カウンタ、各種乱数の生成領域及び普図乱数の保存領域を示す。図16は第1特図変動表示ゲームを実行するために必要な各種乱数の保存領域、図17は第2特図変動表示ゲームを実行するために必要な各種乱数の保存領域を示す。   FIGS. 15 to 17 are diagrams illustrating specific examples of data stored in the work area 702 assigned to the user work RAM 104 according to the first embodiment of this invention. FIG. 15 shows a hold counter, various random number generation areas, and a regular random number storage area. 16 shows a storage area for various random numbers necessary for executing the first special figure variation display game, and FIG. 17 shows a storage area for various random numbers necessary for executing the second special figure variation display game.

図15を参照すると、保留カウンタを格納する領域として281DHから281FHが割り当てられている。具体的には、第1特図変動表示ゲームの保留記憶数を格納する第1特図保留カウンタ(281DH)、第2特図変動表示ゲームの保留記憶数を格納する第1特図保留カウンタ(281EH)、普図変動表示ゲームの保留記憶数を格納する普図保留カウンタ(281FH)となっている。さらに、特図変動表示ゲームを実行するための各種乱数(始動記憶)の生成領域(2820H〜2827H)、普図乱数の生成領域(2828H)及び普図乱数の保存領域(282CH〜282FH)が割り当てられている。   Referring to FIG. 15, 281DH to 281FH are allocated as areas for storing the hold counter. Specifically, a first special figure hold counter (281DH) that stores the number of reserved memories of the first special figure variable display game, and a first special figure hold counter that stores the number of held memories of the second special figure variable display game ( 281EH), it is a universal figure holding counter (281FH) for storing the holding memory number of the common figure variable display game. Furthermore, various random number (starting memory) generation areas (2820H to 2827H), normal random number generation areas (2828H), and normal random number storage areas (282CH to 282FH) are allocated for executing the special figure variation display game. It has been.

特図変動表示ゲームを実行するための各種乱数には、特図変動表示ゲームの大当りを決定するための大当り乱数(2バイト)、特図変動表示ゲームの大当り図柄を決定するための大当り図柄乱数、特図変動表示ゲームの変動パターンを決定するための第1変動P(パターン)乱数(2バイト)、第2変動P(パターン)乱数、第3変動P(パターン)乱数(2バイト)が含まれる。   Various random numbers for executing the special figure fluctuation display game include a big hit random number (2 bytes) for determining the big hit of the special figure fluctuation display game, and a big hit symbol for determining the big hit symbol of the special figure fluctuation display game Includes a first variation P (pattern) random number (2 bytes), a second variation P (pattern) random number, and a third variation P (pattern) random number (2 bytes) for determining the variation pattern of the special figure variation display game. It is.

図16を参照すると、第1特図変動表示ゲームを実行するための各種乱数を格納する領域が割り当てられている。本実施形態では、第1特図変動表示ゲームの始動記憶(特図1始動記憶)を最大4回分保持可能となっている。そして、これら乱数値は、特図始動口SW共通処理(図40)において設定される。   Referring to FIG. 16, an area for storing various random numbers for executing the first special figure variation display game is allocated. In the present embodiment, the start memory of the first special figure variation display game (special figure 1 start memory) can be retained up to four times. These random numbers are set in the special figure starting port SW common process (FIG. 40).

具体的には、記憶された特図1始動記憶の保留順に領域が割り当てられる。具体的には、保留1は2830Hから2837H、保留2は2838Hから283FH、保留3は2840Hから2847H及び保留4は2848Hから284FHの各領域が割り当てられている。また、各領域には、前述した特図変動表示ゲームを実行するための各種乱数に応じた領域がさらに割り当てられている。   Specifically, the areas are allocated in the order in which the stored special figure 1 start-up memory is stored. Specifically, areas 1830H to 2837H, 238H to 283FH, 2840H to 2847H, 3840, and 2848H to 284FH are allocated to the reservation 1 and 2830H. Each area is further assigned with an area corresponding to various random numbers for executing the above-described special figure variation display game.

そして、保留1個目の特図1始動記憶に対応する第1特図変動表示ゲームが実行される場合には、後述する特図普段処理の特図1変動開始処理(図45)において、保留1個目の各乱数を取得(一時的に退避)した後に、保留2個目〜4個目の特図1始動記憶に対応する領域に記憶された各乱数を保留1個目〜3個目の特図1始動記憶に対応する領域にシフトする。   Then, when the first special figure fluctuation display game corresponding to the first special figure 1 start memory to be held is executed, in the special figure normal fluctuation process (FIG. 45) described later, After obtaining (temporarily saving) each first random number, each random number stored in the area corresponding to the second to fourth special figure 1 start memory is held first to third The shift to the area corresponding to the start memory of FIG.

そして、遊技制御装置100は、後述する特図大当り判定処理(図42)において、取得した各乱数(一時的に退避していた保留1個目の各乱数)の値と、予め定義された特図1変動表示ゲーム用の大当り判定値とを比較して、特図1変動表示ゲームが大当りか否かを判定し、特図1始動記憶数(第1特図保留カウンタに記憶された値)を1減算する。   Then, the game control device 100, in a special figure jackpot determination process (FIG. 42) to be described later, obtains the value of each random number (the first random number that has been temporarily saved) and a special feature that is defined in advance. 1 is compared with the big hit determination value for the variable display game to determine whether or not the special figure 1 variable display game is a big hit, and the special figure 1 start memory number (the value stored in the first special figure holding counter) 1 is subtracted.

図17を参照すると、図16に示した第1特図変動表示ゲームの場合と同様に、第2特図変動表示ゲームを実行するための各種乱数(特図2始動記憶)を格納する領域が割り当てられている。特図2始動記憶に含まれる各種乱数は、特図1始動記憶と同様に処理される。   Referring to FIG. 17, as in the case of the first special figure fluctuation display game shown in FIG. 16, there are areas for storing various random numbers (special figure 2 start memory) for executing the second special figure fluctuation display game. Assigned. Various random numbers included in the special figure 2 start memory are processed in the same manner as the special figure 1 start memory.

図18及び図19は、本発明の第1の実施形態のスタック領域706の一例を示す図である。図18及び図19では、スタック領域706に戻りアドレスや所定のレジスタの値が格納される場合について説明する。   18 and 19 are diagrams illustrating an example of the stack area 706 according to the first embodiment of this invention. 18 and 19, a case where a return address and a predetermined register value are stored in the stack area 706 will be described.

まず、図18(A)は、遊技機1に電源が投入された直後の状態であり、スタック領域706に何もデータが格納されていない状態を示している。この場合、スタックポインタ(SP)1233は、スタック領域の最終領域(29FFH)をスタックポインタ初期値として示している。   First, FIG. 18A shows a state immediately after power is turned on to the gaming machine 1 and shows a state where no data is stored in the stack area 706. In this case, the stack pointer (SP) 1233 indicates the last area (29FFH) of the stack area as the stack pointer initial value.

図18(B)は、スタック領域706に退避データが格納されたり、割込み発生やサブルーチン呼び出しによって、スタック領域706に戻りアドレスなどのデータが格納された状態を示している。この場合、最後にデータ(又はアドレス)が格納された領域の1つ上のアドレスを、スタックポインタ1233によって示すことになる。   FIG. 18B shows a state in which saved data is stored in the stack area 706, or data such as a return address is stored in the stack area 706 due to an interrupt or a subroutine call. In this case, the stack pointer 1233 indicates the address immediately above the area where the data (or address) is stored last.

なお、スタック領域706に戻りアドレスが格納される場合としては、割込みが発生した場合と、後述する「CALL」命令を実行して通常のサブルーチン呼び出しを行った場合とがあるが、本実施形態では、前者の場合と後者の場合とで、スタック領域706に格納されるデータが異なる。   The return address is stored in the stack area 706 when an interrupt occurs or when a normal subroutine call is performed by executing a “CALL” instruction to be described later. The data stored in the stack area 706 differs between the former case and the latter case.

図19(C)は、呼出元のルーチンにて後述する「CALL」命令を実行して通常のサブルーチン呼び出しを行った場合において、スタック領域706にデータが退避する様子を示している。なお、この図は、図18(B)の状態にて「CALL」命令を実行した直後の様子を示している。   FIG. 19C shows a state in which data is saved in the stack area 706 when a “CALL” instruction (to be described later) is executed in the call source routine to perform a normal subroutine call. This figure shows a state immediately after the “CALL” instruction is executed in the state of FIG.

図18(B)において、「CALL」命令を実行すると、スタック領域706に、呼出元のルーチンの戻りアドレスが上位バイトと下位バイトに分離して格納される。このとき、最後にアドレスが格納された領域の1つ上のアドレスが、スタックポインタ1233によって示される。   In FIG. 18B, when the “CALL” instruction is executed, the return address of the call source routine is stored in the stack area 706 separately into upper bytes and lower bytes. At this time, the stack pointer 1233 indicates the address one level above the area where the address was stored last.

なお、呼出先のサブルーチンの処理の最後にて、後述する「RET」命令が実行されると、この戻りアドレスがプログラムカウンタ1234に戻されるとともに、スタックポインタ1233の値も、「CALL」命令実行前の値に戻される(図18(B)の状態に戻る)。これにより、呼出元のルーチンに処理を戻すことができる。   When a “RET” instruction, which will be described later, is executed at the end of the processing of the called subroutine, this return address is returned to the program counter 1234 and the value of the stack pointer 1233 is also set before the “CALL” instruction is executed. (Return to the state of FIG. 18B). As a result, the process can be returned to the calling routine.

一方、図19(D)は、呼出元のルーチンにて割込みが発生して、呼出先の割込処理のルーチンが実行される場合において、スタック領域706にデータが退避する様子を示している。なお、図19(D)は、図18(B)の状態にて割込みが発生した直後の様子を示している。   On the other hand, FIG. 19D shows how data is saved in the stack area 706 when an interrupt occurs in the call source routine and the call destination interrupt processing routine is executed. Note that FIG. 19D shows a state immediately after an interrupt occurs in the state of FIG.

図18(B)において、割込みが発生すると、スタック領域706に、まず、呼出元のルーチンで設定されていたフラグレジスタ1200の値が格納され、次に、呼出元のルーチン戻りアドレスが上位バイトと下位バイトに分離して格納される。このとき、最後にアドレスが格納された領域の1つ上のアドレスが、スタックポインタ1233によって示される。   In FIG. 18B, when an interrupt occurs, the stack area 706 first stores the value of the flag register 1200 set in the call source routine, and then sets the caller routine return address as the upper byte. Stored separately in the lower byte. At this time, the stack pointer 1233 indicates the address one level above the area where the address was stored last.

なお、呼出先の割込処理ルーチンの最後にて、後述する「RETI」若しくは「RETN」命令が実行されると、スタック領域706に格納していた戻りアドレスがプログラムカウンタ1234に戻され、スタック領域706に格納していたフラグレジスタの値も、フラグレジスタ1200に戻される。さらに、スタックポインタ1233の値も、割込みが発生する前の値に戻される(図18(B)の状態に戻る)。これにより、呼出元のルーチンに処理を戻すことができる。   When a “RETI” or “RETN” instruction, which will be described later, is executed at the end of the interrupt processing routine of the call destination, the return address stored in the stack area 706 is returned to the program counter 1234, and the stack area The value of the flag register stored in 706 is also returned to the flag register 1200. Further, the value of the stack pointer 1233 is also returned to the value before the occurrence of the interrupt (returns to the state of FIG. 18B). As a result, the process can be returned to the calling routine.

このようにして、スタック領域706に格納された戻りアドレス等のデータは、後に格納された戻りアドレスから先に読み出される。   In this manner, data such as a return address stored in the stack area 706 is read first from a return address stored later.

なお、後述する「PUSH」命令を実行すると、命令で指定されたレジスタの値がスタック領域706に格納され、スタックポインタ1233の値も、図19(C)や図19(D)と同様に、最後にデータが格納された領域の1つ上のアドレスを示すことになる。   When a “PUSH” instruction, which will be described later, is executed, the value of the register designated by the instruction is stored in the stack area 706, and the value of the stack pointer 1233 is the same as in FIGS. 19C and 19D. Finally, it indicates the address one level above the area where data is stored.

一方、後述する「POP」命令を実行すると、スタック領域706に格納されていた値を取り出して、命令で指定されたレジスタに格納され、スタックポインタ1233の値も、図19(C)から図18(B)に変化するように、最後にデータが取り出された領域のアドレスを示すことになる。   On the other hand, when a “POP” instruction to be described later is executed, the value stored in the stack area 706 is taken out and stored in the register designated by the instruction, and the value of the stack pointer 1233 is also changed from FIG. As shown in (B), this indicates the address of the area from which data was last extracted.

このように、本実施形態では、スタック領域706において最後にデータが格納されたアドレスの1つ上のアドレス(言い換えれば、最後に取り出されたデータのアドレス)を、スタックポインタ1233によって示している。すなわち、現時点でのスタックポインタ1233は、次のスタック領域706に格納されるデータのアドレスを示している。   As described above, in the present embodiment, the stack pointer 1233 indicates the address one address higher than the address at which the data was last stored in the stack area 706 (in other words, the address of the data that was last fetched). That is, the current stack pointer 1233 indicates the address of data stored in the next stack area 706.

なお、別の方法として、現時点でのスタックポインタ1233によって、次にスタック領域706から取り出されるデータのアドレスを示すような方法も考えられる。このような変形例を図20に示す。   As another method, a method of indicating the address of data to be next fetched from the stack area 706 by the current stack pointer 1233 is also conceivable. Such a modification is shown in FIG.

図20(E)は、遊技機1に電源が投入された直後の状態であり、スタック領域706に何もデータが格納されていない状態を示している。この場合、スタックポインタ(SP)1233は、スタック領域の最終領域(29FFH)の1つ下のアドレス(2A00H)をスタックポインタ初期値として示している。なお、このスタックポインタ初期値が示す領域は、スタック領域には含まれない領域(本実施形態では、ユーザワークRAM104の記憶領域にも含まれていない領域)である。   FIG. 20E shows a state immediately after the gaming machine 1 is turned on and no data is stored in the stack area 706. In this case, the stack pointer (SP) 1233 indicates the address (2A00H) immediately below the last area (29FFH) of the stack area as the stack pointer initial value. Note that the area indicated by the stack pointer initial value is an area that is not included in the stack area (in this embodiment, an area that is not included in the storage area of the user work RAM 104).

図20(F)は、スタック領域706に退避データが格納されたり、割込み発生やサブルーチン呼び出しによって、スタック領域706に戻りアドレスなどのデータが格納された状態を示している。この場合、最後にデータ(又はアドレス)が格納された領域を、スタックポインタ1233によって示すことになる。スタック領域706からデータを取りだす場合は、現時点でスタックポインタ1233が示しているアドレスからデータを取り出せばよい。   FIG. 20F shows a state in which saved data is stored in the stack area 706, or data such as a return address is stored in the stack area 706 due to an interrupt or a subroutine call. In this case, the area where the data (or address) was stored last is indicated by the stack pointer 1233. When data is extracted from the stack area 706, the data may be extracted from the address currently indicated by the stack pointer 1233.

なお、スタック領域706の割り当てが、上位アドレスが同じ領域に限定されている(例えば、2900H〜29FFHの領域に割り当てられることが限定されている)のであれば、スタックポインタ1233は下位のアドレスのみを指定するだけで機能を発揮する。このような構成においては、スタックポインタ1233を1バイトのレジスタで構成することが可能であり、図20の方法よりも、図18及び図19の方法にてスタックポインタ1233によるアドレス指定を行う構成が効果的である。   If the allocation of the stack area 706 is limited to the area where the upper address is the same (for example, it is limited to being allocated to the area of 2900H to 29FFH), the stack pointer 1233 indicates only the lower address. Just specify and it works. In such a configuration, the stack pointer 1233 can be configured by a 1-byte register, and a configuration in which addressing by the stack pointer 1233 is performed by the method of FIGS. 18 and 19 rather than the method of FIG. It is effective.

図21及び図22は、本発明の第1の実施形態のCPUコア102によって実行される遊技制御プログラムを記述するためのアセンブリ言語の命令を説明する図である。各命令は、対応するコードデータに変換されて、ユーザプログラムROM103の所定のアドレスに記憶されている。図21は、変換後のコードデータにアドレス部を含まない命令(変換後のコードデータが命令コード部のみで構成される命令)を示し、図22は、変換後のコードデータに命令コード部とアドレス部の各々を含む命令を示している。なお、ここで対象となるレジスタは、図12に示すレジスタである。   21 and 22 are diagrams illustrating assembly language instructions for describing a game control program executed by the CPU core 102 according to the first embodiment of this invention. Each instruction is converted into corresponding code data and stored in a predetermined address of the user program ROM 103. FIG. 21 shows an instruction that does not include an address part in the converted code data (an instruction in which the converted code data is composed only of the instruction code part), and FIG. 22 shows an instruction code part in the converted code data. An instruction including each of the address portions is shown. Here, the target register is the register shown in FIG.

図21において、命令2100は、指定するレジスタの値を、Aレジスタ1202Aに格納する命令である。例えば、「LD A,B」は、Bレジスタ1204Aの値を、Aレジスタ1202Aに格納する命令である。他の「LD A,C」〜「LD A,L」の命令も同様に、対応するCレジスタ1205A〜Lレジスタ1211Aから値を抽出して、Aレジスタ1202Aに格納する命令である。   In FIG. 21, an instruction 2100 is an instruction for storing a designated register value in the A register 1202A. For example, “LD A, B” is an instruction for storing the value of the B register 1204A in the A register 1202A. Similarly, the other instructions “LD A, C” to “LD A, L” are instructions that extract values from the corresponding C register 1205A to L register 1211A and store them in the A register 1202A.

命令2101は、Aレジスタ1202Aの値を、指定するレジスタに格納する命令である。例えば、「LD B,A」は、Aレジスタ1202Aの値を、Bレジスタ1204Aの値に格納する命令である。他の「LD C,A」〜「LD L,A」の命令も同様に、Aレジスタ1202Aから値を抽出して、対応するCレジスタ1205A〜Lレジスタ1211Aに格納する命令である。   The instruction 2101 is an instruction for storing the value of the A register 1202A in a designated register. For example, “LD B, A” is an instruction for storing the value of the A register 1202A in the value of the B register 1204A. Similarly, the other instructions “LD C, A” to “LD L, A” are instructions that extract values from the A register 1202A and store them in the corresponding C registers 1205A to L registers 1211A.

命令2102は、Aレジスタ1202Aの値と指定するレジスタの値とで論理和演算を行い、演算結果をAレジスタ1202Aに格納する命令である。例えば、「OR B」は、Aレジスタ1202Aの値とBレジスタ1204Aの値とで、各ビット毎に論理和演算を行い、演算結果をAレジスタ1202Aに格納する命令である。他の「OR C」〜「OR L」の命令も同様に、Aレジスタ1202Aの値と、対応するCレジスタ1205A〜Lレジスタ1211Aの値とで論理和演算を行い、演算結果をAレジスタ1202Aに格納する命令である。   The instruction 2102 is an instruction that performs a logical OR operation on the value of the A register 1202A and the value of the designated register and stores the operation result in the A register 1202A. For example, “OR B” is an instruction that performs a logical OR operation for each bit with the value of the A register 1202A and the value of the B register 1204A and stores the operation result in the A register 1202A. Similarly, the other “OR C” to “OR L” instructions perform an OR operation on the value of the A register 1202A and the value of the corresponding C register 1205A to L register 1211A, and the operation result is stored in the A register 1202A. Instruction to store.

命令2103の「ADD A,A」は、Aレジスタ1202Aの値に、同じAレジスタ1202Aの値を加算して、演算結果をAレジスタ1202Aに格納する命令である。実質的には、Aレジスタ1202Aの値が2倍される演算が行われる命令である。命令2104の「ADD HL,BC」は、HLレジスタ1212Aの値にBCレジスタ1206Aの値を加算して、演算結果をHLレジスタ1212Aに格納する命令である。   “ADD A, A” of the instruction 2103 is an instruction for adding the value of the same A register 1202A to the value of the A register 1202A and storing the operation result in the A register 1202A. In essence, this is an instruction for performing an operation in which the value of the A register 1202A is doubled. “ADD HL, BC” of the instruction 2104 is an instruction for adding the value of the BC register 1206A to the value of the HL register 1212A and storing the operation result in the HL register 1212A.

命令2105の「PUSH HL」は、HLレジスタ1212Aの値を、スタックエリアに格納する命令である。命令2106の「POP HL」は、スタックエリアから取り出した値をHLレジスタ1212Aの値に格納する命令である。   “PUSH HL” of the instruction 2105 is an instruction for storing the value of the HL register 1212A in the stack area. “POP HL” of the instruction 2106 is an instruction for storing the value extracted from the stack area in the value of the HL register 1212A.

命令2107の「INC HL」は、HLレジスタ1212Aの値を「1」だけ加算する命令である。命令2108の「DEC HL」は、HLレジスタ1212Aの値を「1」だけ減算する命令である。   “INC HL” of the instruction 2107 is an instruction for adding “1” to the value of the HL register 1212A. “DEC HL” of the instruction 2108 is an instruction for subtracting “1” from the value of the HL register 1212A.

命令2109の「JP (HL)」は、HLレジスタ1212Aの値をアドレスと見なして、そのアドレス先に分岐する命令である。例えば、HLレジスタ1212Aの値が「1234H」であれば、命令解釈実行回路1242は、プログラムカウンタ1234の値を「1234H」に変更する。これにより、次に、命令解釈実行回路1242が実行する命令は、アドレスが「1234H」となる領域に格納されているコードを変換した命令となる。以降、命令解釈実行回路1242は、変更後のアドレス以降の命令を順次実行する。   “JP (HL)” of the instruction 2109 is an instruction that regards the value of the HL register 1212A as an address and branches to the address destination. For example, if the value of the HL register 1212A is “1234H”, the instruction interpretation execution circuit 1242 changes the value of the program counter 1234 to “1234H”. As a result, the instruction executed by the instruction interpretation execution circuit 1242 is an instruction obtained by converting the code stored in the area whose address is “1234H”. Thereafter, the instruction interpretation execution circuit 1242 sequentially executes instructions after the changed address.

命令2110は、スタックエリアに格納された値をプログラムカウンタ1234に戻すことで、呼び出し先の処理ルーチンから、呼び出し元の処理ルーチンに復帰する命令である。ここで、「RET」は、図22で後述する「CALL nn」命令の実行により呼び出された処理ルーチンから復帰する命令であり、「RETI」は、INT割込により呼び出された処理ルーチンから復帰する命令であり、「RETN」は、NMI割込により呼び出された処理ルーチンから復帰する命令である。   The instruction 2110 is an instruction for returning from the calling destination processing routine to the calling source processing routine by returning the value stored in the stack area to the program counter 1234. Here, “RET” is an instruction that returns from a processing routine that is called by executing a “CALL nn” instruction that will be described later with reference to FIG. 22, and “RETI” that returns from a processing routine that is called by an INT interrupt. “RETN” is an instruction to return from the processing routine called by the NMI interrupt.

命令2111は、割込を受け付けるか否かを設定する命令である。「DI」は割り込みの禁止を設定する命令であり、「EI」は割り込みの許可を設定する命令である。   The command 2111 is a command for setting whether to accept an interrupt. “DI” is an instruction for setting interrupt prohibition, and “EI” is an instruction for setting interrupt permission.

命令2112は、Kレジスタ1230に格納されている値を上位バイトとし、Lレジスタ1211Aに格納されている値を下位バイトとして合成した2バイトの値をアドレスと見なして、そのアドレスの領域に記憶されている値を、Aレジスタ1202Aに設定する命令である。具体的には、「2803H」のアドレスに記憶された値をAレジスタ1202Aに設定したいときは、予め、Kレジスタ1230に「28H」の値を格納するとともに、Lレジスタ1211Aに「03H」の値を格納し、その状態で「LDK A,(L)」という命令を実行する。   The instruction 2112 is stored in the area of the address, considering the value stored in the K register 1230 as the upper byte and the value stored in the L register 1211A as the lower byte as a 2-byte value as the address. This is an instruction to set a value in the A register 1202A. Specifically, when the value stored at the address “2803H” is to be set in the A register 1202A, the value “28H” is stored in the K register 1230 in advance and the value “03H” is stored in the L register 1211A. And the instruction “LDK A, (L)” is executed in that state.

なお、Aレジスタ1202Aの値を、所望のアドレスの領域に格納する場合は、予め格納先の上位アドレスをKレジスタ1230に設定し、下位アドレスをLレジスタ1211Aに設定した状態で、図に示す「LDK (L),A」という形式の命令を実行する。   In the case where the value of the A register 1202A is stored in a desired address area, the upper address of the storage destination is set in the K register 1230 and the lower address is set in the L register 1211A in advance. An instruction of the form LDK (L), A "is executed.

命令2113の「INC L」は、Lレジスタ1211Aに格納されている値を「1」だけ加算する命令である。ただし、Lレジスタ1211Aの値が「FFH」のときに、「INC L」命令を実行すると、命令実行後のLレジスタ1211Aの値が「00H」になる。   “INC L” of the instruction 2113 is an instruction to add “1” to the value stored in the L register 1211A. However, if the “INC L” instruction is executed when the value of the L register 1211A is “FFH”, the value of the L register 1211A after execution of the instruction becomes “00H”.

命令2114の「DEC L」は、Lレジスタ1211Aに格納されている値を「1」だけ減算する命令である。ただし、Lレジスタ1211Aの値が「00H」のときに、「DEC L」命令を実行すると、命令実行後のLレジスタ1211Aの値が「FFH」になる。   “DEC L” of the instruction 2114 is an instruction for subtracting “1” from the value stored in the L register 1211A. However, if the “DEC L” instruction is executed when the value of the L register 1211A is “00H”, the value of the L register 1211A after the instruction execution becomes “FFH”.

命令2115は、図13で前述したフラグレジスタ1200の「レジスタバンクセレクタ」のビットに値を設定するための命令である。「LD RBS,0」は該当ビットに「0」の値を設定する命令であり、「LD RBS,1」は該当ビットに「1」の値を設定する命令である。   The instruction 2115 is an instruction for setting a value in the “register bank selector” bit of the flag register 1200 described above with reference to FIG. “LD RBS, 0” is an instruction for setting a value of “0” in the corresponding bit, and “LD RBS, 1” is an instruction for setting a value of “1” in the corresponding bit.

命令2106の「PUSH FLG」は、フラグレジスタ1200の値を、スタックエリアに格納する命令である。命令2107の「POP FLG」は、スタックエリアから取り出した値をフラグレジスタ1200に格納する命令である。   “PUSH FLG” of the instruction 2106 is an instruction for storing the value of the flag register 1200 in the stack area. “POP FLG” of the instruction 2107 is an instruction for storing the value extracted from the stack area in the flag register 1200.

図21に示す命令のうち、図に示すように、命令2100から命令2114までの命令は、ユーザプログラムROM103に記憶される際に、1バイトの命令コード部を構成するコードデータに変換される。例えば、「LD A,B」の命令は、「78H」という1バイトのコードデータに変換されて、ユーザプログラムROM103の所定アドレスに記憶されている。   Of the instructions shown in FIG. 21, as shown in the figure, instructions from instruction 2100 to instruction 2114 are converted into code data constituting a 1-byte instruction code part when stored in user program ROM 103. For example, the instruction “LD A, B” is converted into 1-byte code data “78H” and stored in a predetermined address of the user program ROM 103.

一方、図21に示す命令のうち、命令2115から命令2117までの命令は、ユーザプログラムROM103に記憶される際に、2バイトの命令コード部を構成するコードデータに変換される。例えば、「LD RBS,0」は、「CBH」「00H」という2バイトのコードデータに変換され、ユーザプログラムROM103の連続する所定のアドレスに記憶されている。   On the other hand, among the instructions shown in FIG. 21, the instructions from the instruction 2115 to the instruction 2117 are converted into code data constituting a 2-byte instruction code portion when stored in the user program ROM 103. For example, “LD RBS, 0” is converted into 2-byte code data “CBH” and “00H” and stored in a predetermined predetermined address of the user program ROM 103.

次に、図22において、命令2200は、指定するレジスタに任意の1バイトの値を設定する命令である。図中の「n」はレジスタに設定する値を示しており、例えば、Aレジスタ1202Aに「42H」の値を設定したいときは、「LD A,42H」という命令になる。   Next, in FIG. 22, an instruction 2200 is an instruction for setting an arbitrary 1-byte value in a designated register. “N” in the figure indicates a value to be set in the register. For example, when it is desired to set a value of “42H” in the A register 1202A, the instruction is “LD A, 42H”.

なお、この命令2200は、ユーザプログラムROM103に記憶される際に、1バイトの命令コード部と、1バイトのアドレス部とからなる計2バイトのコードデータに変換される。例えば、「LD A,42H」の命令は、1バイトの命令コード部のデータ「3EH」と、1バイトのアドレス部のデータ「42H」とに変換され、ユーザプログラムROM103の連続する所定のアドレスに「3EH」、「42H」の順で記憶されている。   When the instruction 2200 is stored in the user program ROM 103, the instruction 2200 is converted into 2-byte code data including a 1-byte instruction code part and a 1-byte address part. For example, an instruction “LD A, 42H” is converted into 1-byte instruction code portion data “3EH” and 1-byte address portion data “42H”, and is transferred to a predetermined predetermined address in the user program ROM 103. “3EH” and “42H” are stored in this order.

同様に、「LD B,n」は、Bレジスタ1204Aに任意の1バイトの値(n)を設定する命令であり、「LD K,n」は、Kレジスタ1230に任意の1バイトの値(n)を設定する命令である。これらの命令も、1バイトの命令コード部と、1バイトのアドレス部のデータに変換されて、ユーザプログラムROM103の連続する所定のアドレスに記憶されている。   Similarly, “LD B, n” is an instruction to set an arbitrary 1-byte value (n) in the B register 1204A, and “LD K, n” is an arbitrary 1-byte value (in the K register 1230 ( n) is a command for setting. These instructions are also converted into data of a 1-byte instruction code portion and a 1-byte address portion, and stored at predetermined predetermined addresses in the user program ROM 103.

命令2201は、任意のアドレスの領域に記憶されている値を、Aレジスタ1202Aに設定する命令である。図中の「nn」は2バイトのアドレス値を示しており、例えば、「2901H」のアドレスに記憶された値をAレジスタ1202Aに設定したいときは、「LD A,(2901H)」という命令になる。   The instruction 2201 is an instruction for setting a value stored in an area of an arbitrary address in the A register 1202A. In the figure, “nn” indicates a 2-byte address value. For example, when the value stored in the address “2901H” is to be set in the A register 1202A, the instruction “LD A, (2901H)” is used. Become.

なお、Aレジスタ1202Aの値を、任意のアドレスの領域に格納する場合は、図に示すように「LD (nn),A」という形式の命令になる。例えば、Aレジスタ1202Aの値を「2901H」のアドレスの領域に格納したいときは、「LD (2901H),A」という命令になる。   When the value of the A register 1202A is stored in the area of an arbitrary address, the instruction is in the form of “LD (nn), A” as shown in the figure. For example, when it is desired to store the value of the A register 1202A in the area of the address “2901H”, the instruction becomes “LD (2901H), A”.

この命令2201は、ユーザプログラムROM103に記憶される際に、1バイトの命令コード部と、2バイトのアドレス部とからなる計3バイトのコードデータに変換される。例えば、「LD A,(2901H)」の命令は、1バイトの命令コード部のデータ「3AH」と、2バイトのアドレス部のデータ「01H」「29H」とに変換され、ユーザプログラムROM103の連続する所定のアドレスに、「3AH」、「01H」、「29H」の順で記憶されている。   When this instruction 2201 is stored in the user program ROM 103, it is converted into a total of 3-byte code data consisting of a 1-byte instruction code part and a 2-byte address part. For example, an instruction “LD A, (2901H)” is converted into data “3AH” in a 1-byte instruction code part and data “01H” and “29H” in a 2-byte address part. Are stored in the order of “3AH”, “01H”, and “29H”.

命令2202は、Kレジスタ1230に格納されている値を上位バイトとし、任意の1バイトの値で示される値を下位バイトとして合成した2バイトの値をアドレスと見なして、そのアドレスの領域に記憶されている値を、Aレジスタ1202Aに設定する命令である。この場合の任意の1バイトの下位アドレスは、図中の「n」に対応している。   The instruction 2202 regards the value stored in the K register 1230 as an upper byte, and considers a 2-byte value obtained by combining a value indicated by an arbitrary 1-byte value as a lower byte as an address, and stores it in the address area. This is an instruction to set the stored value in the A register 1202A. An arbitrary one-byte lower address in this case corresponds to “n” in the figure.

具体的には、「2803H」のアドレスに記憶された値をAレジスタ1202Aに設定したいときは、予めKレジスタ1230に「28H」の値を格納しておき、その状態で「LDK A,(03H)」という命令を実行する。   Specifically, when the value stored in the address “2803H” is to be set in the A register 1202A, the value “28H” is stored in the K register 1230 in advance, and “LDK A, (03H ) "Is executed.

なお、Aレジスタ1202Aの値を、所望のアドレスの領域に格納する場合は、予め格納先の上位アドレスをKレジスタ1230に設定した状態で、図に示す「LDK (n),A」という形式の命令を実行する。例えば、Aレジスタ1202Aの値を「2803H」のアドレスの領域に格納したいときは、Kレジスタ1230の値を「28H」に設定した状態で、「LDK (03H),A」という命令を実行する。   When the value of the A register 1202A is stored in a desired address area, the upper address of the storage destination is set in the K register 1230 in advance, and the format of “LDK (n), A” shown in the figure is used. Execute the instruction. For example, when the value of the A register 1202A is to be stored in the area of the address “2803H”, the instruction “LDK (03H), A” is executed with the value of the K register 1230 set to “28H”.

この命令2202は、ユーザプログラムROM103に記憶される際に、1バイトの命令コード部と、1バイトのアドレス部とからなる計2バイトのコードデータに変換される。例えば、「LDK A,(03H)」の命令は、1バイトの命令コード部のデータ「3FH」と、1バイトのアドレス部のデータ「03H」とに変換され、ユーザプログラムROM103の連続する所定のアドレスに、「3FH」、「03H」の順で記憶されている。   When this instruction 2202 is stored in the user program ROM 103, it is converted into code data of a total of 2 bytes including a 1-byte instruction code part and a 1-byte address part. For example, an instruction “LDK A, (03H)” is converted into 1-byte instruction code portion data “3FH” and 1-byte address portion data “03H”. The addresses are stored in the order of “3FH” and “03H”.

命令2203は、指定するレジスタに任意の2バイトの値を設定する命令である。図中の「nn」はレジスタに設定する2バイトの値を示しており、例えば、HLレジスタ1212Aに「5678H」の値を設定したいときは、「LD HL,5678H」という命令になる。   An instruction 2203 is an instruction for setting an arbitrary 2-byte value in a designated register. “Nn” in the figure indicates a 2-byte value set in the register. For example, when it is desired to set a value of “5678H” in the HL register 1212A, an instruction “LD HL, 5678H” is given.

なお、この命令2203は、ユーザプログラムROM103に記憶される際に、1バイトの命令コード部と、2バイトのアドレス部とからなる計2バイトのコードデータに変換される。例えば、「LD HL,5678H」の命令は、1バイトの命令コード部のデータ「21H」と、2バイトのアドレス部のデータ「78H」「56H」とに変換され、ユーザプログラムROM103の連続する所定のアドレスに「21H」、「78H」、「56H」の順で記憶されている。   When this instruction 2203 is stored in the user program ROM 103, it is converted into code data of a total of 2 bytes including a 1-byte instruction code part and a 2-byte address part. For example, an instruction of “LD HL, 5678H” is converted into data “21H” of a 1-byte instruction code part and data “78H” and “56H” of a 2-byte address part. Are stored in the order of “21H”, “78H”, and “56H”.

同様に、「LD SP,nn」は、スタックポインタ1233に任意の2バイトの値(n)を設定する命令である。これらの命令も、1バイトの命令コード部と、2バイトのアドレス部のデータに変換されて、ユーザプログラムROM103の連続する所定のアドレスに記憶されている。   Similarly, “LD SP, nn” is an instruction for setting an arbitrary 2-byte value (n) in the stack pointer 1233. These instructions are also converted into data of a 1-byte instruction code part and a 2-byte address part, and stored in predetermined continuous addresses of the user program ROM 103.

命令2204は、任意の連続するアドレスの領域に記憶されている2バイトの値を、HLレジスタ1212Aに設定する命令である。図中の「nn」は連続する小さいほうのアドレス値を示しており、例えば、「2901H」と「2902H」の各アドレスに記憶された値をHLレジスタ1212Aに設定したいときは、「LD HL,(2901H)」という命令になる。このとき、「2901H」のアドレスに格納されている値がLレジスタ1211Aに格納され、「2902H」のアドレスに格納されている値がHレジスタ1210Aに格納される。   The instruction 2204 is an instruction for setting a 2-byte value stored in an arbitrary continuous address area in the HL register 1212A. “Nn” in the figure indicates the smaller consecutive address value. For example, when it is desired to set the values stored in the addresses “2901H” and “2902H” in the HL register 1212A, “LD HL, (2901H) ". At this time, the value stored at the address “2901H” is stored in the L register 1211A, and the value stored at the address “2902H” is stored in the H register 1210A.

なお、HLレジスタ1212Aの値を、任意の連続するアドレスの領域に格納する場合は、図に示すように「LD (nn),HL」という形式の命令になる。例えば、HLレジスタ1212Aの値を、「2901H」と「2902H」の各アドレスの領域に格納したいときは、「LD (2901H),HL」という命令になる。このとき、Lレジスタ1211Aの値が「2901H」のアドレスに格納され、Hレジスタ1210Aの値が「2902H」のアドレスに格納される。   When the value of the HL register 1212A is stored in an arbitrary continuous address area, the instruction is in the form of “LD (nn), HL” as shown in the figure. For example, when it is desired to store the value of the HL register 1212A in each address area of “2901H” and “2902H”, the instruction is “LD (2901H), HL”. At this time, the value of the L register 1211A is stored at the address “2901H”, and the value of the H register 1210A is stored at the address “2902H”.

この命令2204は、ユーザプログラムROM103に記憶される際に、1バイトの命令コード部と、2バイトのアドレス部とからなる計3バイトのコードデータに変換される。例えば、「LD HL,(2901H)」の命令は、1バイトの命令コード部のデータ「2AH」と、2バイトのアドレス部のデータ「01H」「29H」とに変換され、ユーザプログラムROM103の連続する所定のアドレスに、「2AH」、「01H」、「29H」の順で記憶されている。   When this instruction 2204 is stored in the user program ROM 103, it is converted into code data of a total of 3 bytes including a 1-byte instruction code part and a 2-byte address part. For example, an instruction “LD HL, (2901H)” is converted into data “2AH” in a 1-byte instruction code part and data “01H” and “29H” in a 2-byte address part. Are stored in the order of “2AH”, “01H”, and “29H”.

命令2205は、Kレジスタ1230に格納されている値を上位バイトとし、任意の1バイトの値で示される値を下位バイトとして合成した2バイトの値をアドレスと見なして、そのアドレスの領域に記憶されている値と、当該アドレスに続くアドレスに記憶されている値の各々を、HLレジスタ1212Aに設定する命令である。この場合の任意の1バイトの下位アドレスは、図中の「n」に対応している。   The instruction 2205 regards the value stored in the K register 1230 as an upper byte, and considers a 2-byte value synthesized by using a value indicated by an arbitrary 1-byte value as a lower byte as an address, and stores it in the address area. This is an instruction for setting each of the stored value and the value stored at the address following the address in the HL register 1212A. An arbitrary one-byte lower address in this case corresponds to “n” in the figure.

具体的には、「2803H」及び「2804H」のアドレスに記憶された値をHLレジスタ1212Aに設定したいときは、予めKレジスタ1230に「28H」の値を格納しておき、その状態で「LDK HL,(03H)」という命令を実行する。これにより、「2803H」のアドレスに格納されている値がLレジスタ1211Aに格納され、「2804H」のアドレスに格納されている値がHレジスタ1210Aに格納される。   Specifically, when the values stored in the addresses “2803H” and “2804H” are to be set in the HL register 1212A, the value “28H” is stored in the K register 1230 in advance, and the “LDK” in that state is stored. The instruction “HL, (03H)” is executed. As a result, the value stored at the address “2803H” is stored in the L register 1211A, and the value stored at the address “2804H” is stored in the H register 1210A.

なお、HLレジスタ1212Aの値を、所望のアドレスの領域に格納する場合は、予め格納先の上位アドレスをKレジスタ1230に設定した状態で、図に示す「LDK (n),HL」という形式の命令を実行する。例えば、HLレジスタ1212Aの値を「2803H」及び「2804H」のアドレスの領域に格納したいときは、Kレジスタ1230の値を「28H」に設定した状態で、「LDK (03H),HL」という命令を実行する。   When the value of the HL register 1212A is stored in a desired address area, the upper address of the storage destination is set in the K register 1230 in advance and is in the form of “LDK (n), HL” shown in the figure. Execute the instruction. For example, when the value of the HL register 1212A is to be stored in the area of the addresses “2803H” and “2804H”, the instruction “LDK (03H), HL” is set with the value of the K register 1230 set to “28H”. Execute.

この命令2205は、ユーザプログラムROM103に記憶される際に、1バイトの命令コード部と、1バイトのアドレス部とからなる計2バイトのコードデータに変換される。例えば、「LDK HL,(03H)」の命令は、1バイトの命令コード部のデータ「2FH」と、1バイトのアドレス部のデータ「03H」とに変換され、ユーザプログラムROM103の連続する所定のアドレスに、「3FH」、「03H」の順で記憶されている。   When this instruction 2205 is stored in the user program ROM 103, it is converted into 2-byte code data consisting of a 1-byte instruction code part and a 1-byte address part. For example, an instruction “LDK HL, (03H)” is converted into 1-byte instruction code portion data “2FH” and 1-byte address portion data “03H”. The addresses are stored in the order of “3FH” and “03H”.

命令2206は、指定するアドレスに処理を分岐させる命令である。図中の「nn」は分岐先のアドレスを示しており、例えば、「5678H」のアドレスに処理に分岐させるときは、「JP 5678H」という命令になる。この命令を実行すると、命令解釈実行回路1242は、指定するアドレスの値をプログラムカウンタ1234に設定する。   An instruction 2206 is an instruction that branches the process to a specified address. “Nn” in the figure indicates a branch destination address. For example, when branching to an address “5678H”, the instruction becomes “JP 5678H”. When this instruction is executed, the instruction interpretation execution circuit 1242 sets the value of the designated address in the program counter 1234.

なお、この「JP nn」の形式で示される命令は、フラグレジスタ1200の内容にかかわらず、指定するアドレスに処理を分岐する。フラグレジスタ1200のゼロフラグ1306(図13)がセットされているときのみ分岐を行いたい場合は「JP Z,nn」の命令を用い、このゼロフラグ1306がクリアされているときのみ分岐を行いたい場合は「JP NZ,nn」の命令を用いる。   Note that an instruction shown in the format “JP nn” branches to a specified address regardless of the contents of the flag register 1200. If you want to branch only when the zero flag 1306 (FIG. 13) of the flag register 1200 is set, use the instruction “JP Z, nn”. If you want to branch only when the zero flag 1306 is cleared, The instruction “JP NZ, nn” is used.

なお、この命令2206は、ユーザプログラムROM103に記憶される際に、1バイトの命令コード部と、2バイトのアドレス部とからなる計2バイトのコードデータに変換される。例えば、「JP 5678H」の命令は、1バイトの命令コード部のデータ「C3H」と、2バイトのアドレス部のデータ「78H」「56H」とに変換され、ユーザプログラムROM103の連続する所定のアドレスに「C3H」、「78H」、「56H」の順で記憶されている。   When this instruction 2206 is stored in the user program ROM 103, it is converted into a total of 2-byte code data consisting of a 1-byte instruction code part and a 2-byte address part. For example, an instruction “JP 5678H” is converted into data “C3H” of a 1-byte instruction code part and data “78H” “56H” of a 2-byte address part, and a predetermined predetermined address in the user program ROM 103 Are stored in the order of “C3H”, “78H”, and “56H”.

命令2207の「CALL nn」は、指定するアドレスの処理を呼び出して、呼び出し先の処理ルーチンに一時的に分岐させる命令である。図中の「nn」は呼び出し先のアドレスを示しており、例えば、「5678H」のアドレスの処理を呼び出すときは、「CALL 5678H」という命令になる。この命令を実行すると、命令解釈実行回路1242は、現在実行中の命令の次のステップに位置するアドレスの値を、戻り先のアドレスとしてスタックエリアに格納した上で、分岐先のアドレスの値をプログラムカウンタ1234に設定する。   “CALL nn” of the instruction 2207 is an instruction that calls processing at a specified address and temporarily branches to a processing routine of a call destination. “Nn” in the figure indicates the address of the call destination. For example, when calling the process of the address “5678H”, the instruction is “CALL 5678H”. When this instruction is executed, the instruction interpretation execution circuit 1242 stores the value of the address located at the next step of the instruction currently being executed in the stack area as the return destination address, and then sets the value of the branch destination address. Set in the program counter 1234.

なお、呼び出し先の処理ルーチンの最終ステップでは、前述の「RET」命令を実行することで、プログラムカウンタ1234には、スタックエリアに格納された戻り先のアドレスの値を復帰させることができる。これにより、呼び出し元の処理ルーチンのアドレスに処理を戻すことができる。   In the final step of the call destination processing routine, by executing the “RET” instruction described above, the value of the return destination address stored in the stack area can be returned to the program counter 1234. As a result, the process can be returned to the address of the calling process routine.

なお、この命令2207は、ユーザプログラムROM103に記憶される際に、1バイトの命令コード部と、2バイトのアドレス部とからなる計2バイトのコードデータに変換される。例えば、「CALL 5678H」の命令は、1バイトの命令コード部のデータ「CDH」と、2バイトのアドレス部のデータ「78H」「56H」とに変換され、ユーザプログラムROM103の連続する所定のアドレスに「C3H」、「78H」、「56H」の順で記憶されている。   When this instruction 2207 is stored in the user program ROM 103, it is converted into a total of 2-byte code data consisting of a 1-byte instruction code part and a 2-byte address part. For example, the instruction “CALL 5678H” is converted into data “CDH” of 1-byte instruction code part and data “78H” “56H” of 2-byte address part, and a predetermined predetermined address of the user program ROM 103 is converted. Are stored in the order of “C3H”, “78H”, and “56H”.

図23は、本発明の第1の実施形態の各装置(遊技制御装置100、払出制御装置210、及び演出制御装置150)の電源投入時処理の手順を示すフローチャートである。   FIG. 23 is a flowchart showing a procedure of power-on processing of each device (game control device 100, payout control device 210, and effect control device 150) according to the first embodiment of the present invention.

具体的には、図23(A)は、遊技制御装置100の電源投入時処理のフローチャートであり、図23(B)は、払出制御装置210の電源投入時処理のフローチャートであり、図23(C)は、演出制御装置150の電源投入時処理の手順を示すフローチャートである。   Specifically, FIG. 23A is a flowchart of the power-on process of the game control apparatus 100, and FIG. 23B is a flowchart of the power-on process of the payout control apparatus 210. C) is a flowchart showing a procedure of power-on processing of the effect control device 150.

最初に、遊技制御装置100の電源投入時処理(図23(A))から説明する。この電源投入時処理は、ユーザプログラムROM602(図5参照)に記憶された遊技制御プログラムによって実行される処理ではなく、遊技制御装置100に備わる各種ハードウェア(CPUコア102周辺のハードウェア)によって実行される処理である。   First, the processing when the game control device 100 is turned on (FIG. 23A) will be described. This power-on process is not executed by the game control program stored in the user program ROM 602 (see FIG. 5), but executed by various hardware (hardware around the CPU core 102) provided in the game control device 100. Process.

まず、遊技制御装置100は、電源装置160から出力されたリセット信号が伝達される(2301)。   First, the game control device 100 receives the reset signal output from the power supply device 160 (2301).

このリセット信号は、電源装置160から、セキュリティ回路630(図11参照)、RAMアクセス規制回路640のフリップフロップ回路641のリセット端子(図11参照)、及びシリアル送信回路615のリセット端子に入力される。具体的には、これらのリセット端子には、電源が投入されると、所定時間、所定の電圧(例えば、5V)以下の電圧が印加されることによってリセット信号が入力され、所定時間経過後に所定の電圧が印加されることによって、リセット信号が入力されなくなる。   This reset signal is input from the power supply device 160 to the security circuit 630 (see FIG. 11), the reset terminal (see FIG. 11) of the flip-flop circuit 641 of the RAM access restriction circuit 640, and the reset terminal of the serial transmission circuit 615. . Specifically, when the power is turned on, a reset signal is input to these reset terminals by applying a voltage equal to or lower than a predetermined voltage (for example, 5 V) for a predetermined time. As a result, the reset signal is not input.

なお、セキュリティ回路630は、電源装置160からリセット信号が入力されると、後述のセキュリティチェック処理が終了するまでCPUコア102のリセット端子にリセット信号を出力し続けて、CPUコア102の起動を待機させる。   When the reset signal is input from the power supply device 160, the security circuit 630 continues to output the reset signal to the reset terminal of the CPU core 102 until the security check process described later is completed, and waits for the CPU core 102 to start up. Let

そして、シリアル送信回路615のリセット端子にリセット信号が入力されると、シリアル送信回路615の入力端子及び出力端子の電圧レベルがローに制御され、各種装置(普電SOL90、大入賞口SOL38等)に接続される出力I/F106のポートをすべて0に設定することにより、シリアル送信回路615、及び出力I/F106がハードウェアにより初期化される(2302)。   When a reset signal is input to the reset terminal of the serial transmission circuit 615, the voltage levels of the input terminal and the output terminal of the serial transmission circuit 615 are controlled to be low, and various devices (such as ordinary electric power SOL90, big prize opening SOL38). The serial transmission circuit 615 and the output I / F 106 are initialized by the hardware by setting all the ports of the output I / F 106 connected to 0 to 0 (2302).

次に、RAMアクセス規制回路640によって、ユーザワークRAM104への書き込み規制されるRAM書込禁止状態が発生する(2303)。   Next, the RAM access restriction circuit 640 generates a RAM write prohibition state in which writing to the user work RAM 104 is restricted (2303).

具体的には、図11で説明したように、フリップフロップ回路641のクリア端子にはリセット信号が入力されるため、フリップフロップ回路641の出力端子Q(負論理)からハイレベルの信号が出力される状態となる。これにより、ORゲート回路642の他方の入力端子にハイレベルの信号が入力されても、ローレベルの信号が入力されても、ユーザワークRAM104の書込指令入力端子にはハイレベルの信号が入力されることになるため、RAM書込禁止状態が発生する。このように、電源投入時にRAM書込禁止状態を発生させることによって、誤ったタイミングでユーザワークRAM104が更新されることを防ぐことが可能となる。   Specifically, as described with reference to FIG. 11, since the reset signal is input to the clear terminal of the flip-flop circuit 641, a high-level signal is output from the output terminal Q (negative logic) of the flip-flop circuit 641. It becomes a state. As a result, whether a high level signal is input to the other input terminal of the OR gate circuit 642 or a low level signal is input, a high level signal is input to the write command input terminal of the user work RAM 104. As a result, a RAM write prohibition state occurs. Thus, by generating the RAM write prohibition state when the power is turned on, it is possible to prevent the user work RAM 104 from being updated at an incorrect timing.

次に、リセット信号が入力された図11に示すセキュリティ回路630が自己診断処理を実行する(2304)。自己診断処理は、セキュリティ回路630が初期化されているか否かを判定する処理である。   Next, the security circuit 630 shown in FIG. 11 to which the reset signal is input executes a self-diagnosis process (2304). The self-diagnosis process is a process for determining whether or not the security circuit 630 has been initialized.

そして、自己診断処理によって、セキュリティ回路630が初期化されていると判定された場合には、セキュリティ回路630は、セキュリティチェック処理を実行する(2305)。セキュリティチェック処理は、図11で説明したように、HWパラメータROM603(図5参照)に記憶された正当性確認情報を用いて、ユーザプログラムROM602(図5参照)に記憶されたプログラムの正当性の判定を行う処理である。   If it is determined by the self-diagnosis process that the security circuit 630 has been initialized, the security circuit 630 executes a security check process (2305). As described with reference to FIG. 11, the security check process uses the validity confirmation information stored in the HW parameter ROM 603 (see FIG. 5) to verify the validity of the program stored in the user program ROM 602 (see FIG. 5). This is a process for making a determination.

ステップ2305の処理で、セキュリティチェック処理を実行すると、遊技制御装置プログラム開始準備処理へ移行する。このとき、セキュリティ回路630は、CPUコア102のリセット端子に出力していたリセット信号を停止することで、CPUコア102が起動する。このため、遊技制御装置プログラム開始準備処理は、CPUコア102によって実行される。遊技制御装置プログラム開始準備処理は図24にて後述する。   When the security check process is executed in the process of step 2305, the process proceeds to the game control apparatus program start preparation process. At this time, the security circuit 630 stops the reset signal output to the reset terminal of the CPU core 102, whereby the CPU core 102 is activated. Therefore, the game control device program start preparation process is executed by the CPU core 102. The game control device program start preparation process will be described later with reference to FIG.

次に、払出制御装置210の電源投入時処理(図23(B))を説明する。前述したように、払出制御装置210は、シリアル送信回路615を備えていない点を除き、図11に示した遊技制御装置100と同じ構成である。図11に示す遊技制御装置100の構成部と同じ構成部については、同じ符号を付与して説明する。   Next, the power-on process (FIG. 23B) of the payout control apparatus 210 will be described. As described above, the payout control device 210 has the same configuration as the game control device 100 shown in FIG. 11 except that it does not include the serial transmission circuit 615. The same components as those of the game control apparatus 100 shown in FIG.

まず、払出制御装置210は、電源装置160から出力されたリセット信号が伝達される(2311)。なお、ステップ2311の処理は、ステップ2301の処理と同じである。   First, the payout control device 210 receives the reset signal output from the power supply device 160 (2311). Note that the processing in step 2311 is the same as the processing in step 2301.

そして、払出制御装置210にリセット信号が入力されると、払出制御装置210の出力ポート(図4の入出力I/F216に含まれる)の電圧レベルが0に設定され、各種装置(払出モータ220、及び発射制御装置221等)に接続される入出力I/F216のポートがすべて0に設定され、入出力I/F216がハードウェアにより初期化される(2312)。   When a reset signal is input to the payout control device 210, the voltage level of the output port (included in the input / output I / F 216 in FIG. 4) of the payout control device 210 is set to 0, and various devices (the payout motor 220). And the ports of the input / output I / F 216 connected to the launch control device 221 and the like are all set to 0, and the input / output I / F 216 is initialized by hardware (2312).

次に、払出制御装置210のRAMアクセス規制回路640によって、RAM214への書き込み規制されるRAM書込禁止状態が発生する(2313)。なお、ステップ2313の処理の具体的な説明は、ステップ2303の処理と同じである。   Next, a RAM write prohibition state in which writing to the RAM 214 is restricted by the RAM access restriction circuit 640 of the payout control device 210 occurs (2313). Note that the specific description of the processing in step 2313 is the same as the processing in step 2303.

次に、リセット信号が入力された払出制御装置210のセキュリティ回路630が自己診断処理を実行する(2314)。なお、ステップ2314の処理の具体的な説明は、ステップ2304の処理と同じである。   Next, the security circuit 630 of the payout control device 210 to which the reset signal is input executes a self-diagnosis process (2314). Note that the specific description of the process of step 2314 is the same as the process of step 2304.

そして、自己診断処理によって、セキュリティ回路630が初期化されていると判定された場合には、セキュリティ回路630は、セキュリティチェック処理を実行する(2315)。なお、ステップ2315の処理の具体的な説明は、ステップ2305の処理と同じである。   If the self-diagnosis process determines that the security circuit 630 has been initialized, the security circuit 630 executes a security check process (2315). Note that the specific description of the processing in step 2315 is the same as the processing in step 2305.

そして、払出制御装置210は、電源投入時の初期化処理を実行する(2316)。電源投入時の初期化処理は、RAM214等を初期化する処理であって、CPU212によって実行される。また、RAM214を初期化する前に、ステップ2313の処理で発生したRAM書込禁止状態が解除されて、RAM214はRAM書込可能状態となる。   Then, the payout control device 210 executes an initialization process at power-on (2316). The initialization process at power-on is a process for initializing the RAM 214 and the like, and is executed by the CPU 212. Further, before the RAM 214 is initialized, the RAM write prohibition state generated in the process of step 2313 is canceled, and the RAM 214 becomes a RAM writable state.

次に、払出制御装置210は、遊技制御装置100からの指令を受信可能な状態を発生させる(2317)。そして、払出制御装置210のCPU212は、遊技制御装置100から送信された指令が初期化指令であるか否かを判定する(2319)。ステップ2319の処理で、遊技制御装置100から送信された指令が初期化指令でないと判定された場合には(2319の結果が「N」)、初期化指令が取り込まれるまで待機する。   Next, the payout control device 210 generates a state in which a command from the game control device 100 can be received (2317). Then, the CPU 212 of the payout control device 210 determines whether or not the command transmitted from the game control device 100 is an initialization command (2319). If it is determined in step 2319 that the command transmitted from the game control device 100 is not an initialization command (the result of 2319 is “N”), the process waits until the initialization command is fetched.

一方、遊技制御装置100から送信された指令が初期化指令であると判定された場合には(2319の結果が「N」)、払出制御装置210は通信開始時の初期化処理を実行し(2320)、払出制御装置メイン処理へ移行する。   On the other hand, when it is determined that the command transmitted from the game control device 100 is an initialization command (the result of 2319 is “N”), the payout control device 210 executes an initialization process at the start of communication ( 2320), the process proceeds to the payout control apparatus main process.

次に、演出制御装置150の電源投入時処理(図23(C))を説明する。前述したように、演出制御装置150は、シリアル送信回路615を備えていない点、及び、遊技用演算処理装置600がRAMアクセス規制回路640を備えていない点以外は、図11に示した遊技制御装置100と同じ構成である。図11に示す遊技制御装置100の構成部と同じ構成部については、同じ符号を付与して説明する。   Next, the power-on process (FIG. 23C) of the effect control device 150 will be described. As described above, the effect control device 150 does not include the serial transmission circuit 615, and the game control processing shown in FIG. 11 except that the game processing unit 600 does not include the RAM access restriction circuit 640. The configuration is the same as that of the device 100. The same components as those of the game control apparatus 100 shown in FIG.

まず、演出制御装置150は、電源装置160から出力されたリセット信号が伝達される(2321)。なお、ステップ2321の処理は、ステップ2301の処理と同じである。   First, the effect control device 150 receives the reset signal output from the power supply device 160 (2321). Note that the processing in step 2321 is the same as the processing in step 2301.

そして、演出制御装置150にリセット信号が入力されると、演出制御装置150の出力ポートがハードウェアにより初期化される(2322)。   When a reset signal is input to the effect control device 150, the output port of the effect control device 150 is initialized by hardware (2322).

そして、演出制御装置150は、電源投入時の初期化処理を実行する(2323)。電源投入時の初期化処理は、RAM154等を初期化する処理であって、CPU152によって実行される。   Then, the effect control device 150 executes an initialization process when the power is turned on (2323). The initialization process at power-on is a process for initializing the RAM 154 and the like, and is executed by the CPU 152.

次に、演出制御装置150は、遊技制御装置100からの指令を受信可能な状態を発生させる(2324)。そして、遊技制御装置100から送信された指令が初期化指令であるか否かを判定する(2326)。   Next, the production control device 150 generates a state in which a command from the game control device 100 can be received (2324). Then, it is determined whether or not the command transmitted from the game control device 100 is an initialization command (2326).

演出制御装置150は、遊技制御装置100から送信された指令が初期化指令でないと判定された場合には(2326の結果が「N」)、初期化指令が取り込まれるまで待機する。   When it is determined that the command transmitted from the game control device 100 is not the initialization command (the result of 2326 is “N”), the effect control device 150 waits until the initialization command is fetched.

一方、演出制御装置150は、遊技制御装置100から送信された指令が初期化指令であると判定された場合(2326の結果が「Y」」、演出制御装置150は通信開始時の初期化処理を実行し(2327)、演出制御装置メイン処理へ移行する。   On the other hand, the effect control device 150 determines that the command transmitted from the game control device 100 is an initialization command (the result of 2326 is “Y”, the effect control device 150 performs an initialization process at the start of communication). Is executed (2327), and the flow shifts to the production control device main process.

図24は、本発明の第1の実施形態の遊技制御装置プログラム開始準備処理を説明するフローチャートである。なお、遊技制御装置プログラム開始準備処理の前半(プログラムカウンタ1234にリセットアドレスを設定するまでの間)は、ユーザプログラムROM602(図5参照)に記憶された遊技制御プログラムによって実行される処理ではなく、CPUコア102に備わる初期値設定回路124(図12参照)によって実行される処理である。   FIG. 24 is a flowchart illustrating the game control device program start preparation process according to the first embodiment of the present invention. The first half of the game control device program start preparation process (until the reset address is set in the program counter 1234) is not a process executed by the game control program stored in the user program ROM 602 (see FIG. 5). This is a process executed by the initial value setting circuit 124 (see FIG. 12) provided in the CPU core 102.

CPUコア102は、セキュリティ回路630からのリセット信号を受け入れると、内蔵リセット回路1240により、初期値設定回路1241を動作させる。このとき、内蔵リセット回路1240は、初期値設定回路1241が各レジスタに初期値を設定するまで、命令解釈実行回路1242の動作を待機させる。   When the CPU core 102 receives the reset signal from the security circuit 630, the built-in reset circuit 1240 causes the initial value setting circuit 1241 to operate. At this time, the built-in reset circuit 1240 causes the instruction interpretation execution circuit 1242 to wait until the initial value setting circuit 1241 sets initial values in the respective registers.

初期値設定回路1241が動作を開始すると、スタックポインタ1233に初期値「29FFH」を設定し、Kレジスタ1230に「28H」を設定し、HLレジスタ1212Aにリセットアドレスである「4000H」を設定し、他のレジスタには「00H」の値(16ビットレジスタには「0000H」の値)を設定する(2401)。なお、リセットアドレスは「0000H」としてもよい。   When the initial value setting circuit 1241 starts operating, the initial value “29FFH” is set in the stack pointer 1233, “28H” is set in the K register 1230, and the reset address “4000H” is set in the HL register 1212A. A value of “00H” (a value of “0000H” in the 16-bit register) is set in the other registers (2401). The reset address may be “0000H”.

次いで、初期値設定回路1241は、プログラムカウンタ1234に、リセットアドレスである「4000H」の値を設定する(2402)。これにより、各レジスタに初期値が設定される。次いで、内蔵リセット回路1240は、待機させていた命令解釈実行回路1242を動作させると、命令解釈実行回路1242は、プログラムカウンタ1234が示すアドレス(遊技制御プログラムが記憶されたユーザプログラムROM602のリセットアドレスに相当)からプログラムの実行を開始する。命令解釈実行回路1242がプログラムを実行開始した後の処理は、図25の遊技制御装置メイン処理にて説明する。   Next, the initial value setting circuit 1241 sets a value of “4000H” as a reset address in the program counter 1234 (2402). As a result, an initial value is set in each register. Next, when the built-in reset circuit 1240 operates the instruction interpretation execution circuit 1242 that has been waiting, the instruction interpretation execution circuit 1242 sets the address indicated by the program counter 1234 (to the reset address of the user program ROM 602 storing the game control program). The program starts running from the equivalent). The process after the instruction interpretation execution circuit 1242 starts executing the program will be described in the game control apparatus main process of FIG.

次に、遊技制御装置100のCPU102によって実行される遊技制御装置メイン処理を、図25及び図26を用いて説明する。   Next, game control device main processing executed by the CPU 102 of the game control device 100 will be described with reference to FIGS. 25 and 26. FIG.

図25は、本発明の第1の実施形態の遊技制御装置メイン処理の前半部のフローチャートであり、図26は、本発明の第1の実施形態の遊技制御装置メイン処理の後半部のフローチャートである。なお、これらの処理は遊技制御装置100によって実行されるが、厳密には、命令解釈実行回路1242が、CPUコア102内部の各レジスタを参照しながら、遊技制御プログラムを実行することで実現される。   FIG. 25 is a flowchart of the first half of the game control apparatus main process of the first embodiment of the present invention, and FIG. 26 is a flowchart of the second half of the game control apparatus main process of the first embodiment of the present invention. is there. Note that these processes are executed by the game control apparatus 100, but strictly, the instruction interpretation execution circuit 1242 is realized by executing the game control program while referring to each register in the CPU core 102. .

まず、遊技制御装置100は、CPU102への割込みを禁止する(2501)。そして、遊技制御装置100は、スタックポインタ1233(図12)に初期値「29FFH」を設定する(2502A)。これにより、スタックポインタ1233の値が「29FFH」でなければ「29FFH」に変更される。なお、スタックポインタ1233に初期値「29FFH」が既に設定されていても、再度「29FFH」の値が設定される。   First, the game control device 100 prohibits interruption to the CPU 102 (2501). Then, the game control device 100 sets an initial value “29FFH” in the stack pointer 1233 (FIG. 12) (2502A). As a result, if the value of the stack pointer 1233 is not “29FFH”, it is changed to “29FFH”. Even if the initial value “29FFH” is already set in the stack pointer 1233, the value “29FFH” is set again.

次いで、遊技制御装置100は、Kレジスタ1230に「28H」の値を設定する(2502B)。これにより、Kレジスタ1230の値が「28H」でなければ「28H」に変更される。なお、Kレジスタ1230に初期値「28H」が既に設定されていても、再度「28H」の値が設定される。   Next, the game control device 100 sets a value of “28H” in the K register 1230 (2502B). As a result, if the value of the K register 1230 is not “28H”, it is changed to “28H”. Even if the initial value “28H” is already set in the K register 1230, the value “28H” is set again.

次いで、遊技制御装置100は、割込モードを設定する(2503)。割込モードは、CPU102が内蔵デバイスからの割込要求の処理を可能とし、また、プログラムにおいて割込要求の処理を実行する位置を設定することを可能とするものである。   Next, the game control device 100 sets an interrupt mode (2503). The interrupt mode allows the CPU 102 to process an interrupt request from a built-in device and to set a position for executing the interrupt request process in a program.

次に、遊技制御装置100は、入力I/F105からRAMクリアSW信号の状態を取り込み、取り込んだRAMクリアSW信号の状態をCPU102のレジスタに記憶する(2504)。   Next, the game control apparatus 100 takes in the state of the RAM clear SW signal from the input I / F 105 and stores the state of the fetched RAM clear SW signal in the register of the CPU 102 (2504).

そして、遊技制御装置100は、RAM104を使用しないディレイ処理を実行する(2505)。このディレイ処理は、所定時間、処理を待機させる処理であり、具体的には、チェックサムが算出されない記憶領域にて、所定の数が0になるまでデクリメントし続ける処理である。ディレイ処理は、この所定の数を待機させる時間に対応する時間に設定することによって、所定時間を計時するタイマ計時手段となる。なお、ディレイ処理の詳細については、図28にて後述する。   Then, the game control device 100 executes a delay process that does not use the RAM 104 (2505). This delay process is a process for waiting for a predetermined time. Specifically, the delay process is a process of continuously decrementing until a predetermined number becomes 0 in a storage area where a checksum is not calculated. The delay process becomes a timer timing means for measuring the predetermined time by setting the predetermined number to a time corresponding to the time for waiting. Details of the delay process will be described later with reference to FIG.

次に、遊技制御装置100は、再度、入力I/F105からRAMクリアSW信号の状態を取り込み、取り込んだRAMクリアSW信号の状態をCPU102のレジスタに記憶する(2506)。なお、CPU102が二つのRAMクリア信号の状態を比較できるように、ステップ2504の処理でRAMクリアSW信号の状態を記憶するレジスタの領域、及び、ステップ2506の処理でRAMクリアSW信号の状態を記憶するレジスタの領域は、異なる領域である。   Next, the game control device 100 takes in the state of the RAM clear SW signal again from the input I / F 105 and stores the state of the fetched RAM clear SW signal in the register of the CPU 102 (2506). Note that the CPU 102 stores the state of the RAM clear SW signal in step 2504 and the state of the RAM clear SW signal in step 2506 so that the CPU 102 can compare the states of the two RAM clear signals. The register areas to be used are different areas.

次に、遊技制御装置100は、図23のステップ2303の処理で発生したRAM書込禁止状態をRAM書込可能状態にする(2507)。   Next, the game control device 100 sets the RAM write prohibited state generated in the process of step 2303 in FIG. 23 to a RAM writable state (2507).

具体的には、CPU102の指令によって、フリップフロップ回路641のクロック端子にクロック信号を出力制御回路612から入力させ、かつ、フリップフロップ回路641のデータ端子に接続された信号線の信号レベルをハイレベルにする。これにより、フリップフロップ回路641の出力端子Q(正論理)からハイレベルの信号が出力され、出力端子Q(負論理)からローレベルの信号が出力されるため、ORゲート回路642の入力端子にローレベルの信号が入力されることにより、RAM書込可能状態になる。   Specifically, a clock signal is input from the output control circuit 612 to the clock terminal of the flip-flop circuit 641 in accordance with a command from the CPU 102, and the signal level of the signal line connected to the data terminal of the flip-flop circuit 641 is set to a high level. To. As a result, a high level signal is output from the output terminal Q (positive logic) of the flip-flop circuit 641, and a low level signal is output from the output terminal Q (negative logic). When a low level signal is input, the RAM becomes writable.

次に、遊技制御装置100は、スタック領域706を使用して、各種設定処理を実行する(2508)。この設定処理は、例えば、サブルーチンや関数を呼び出して、遊技制御に必要な各種記憶領域に初期データを設定する処理である。この設定処理において、CPU102により、図7〜図9で前述した、送信シリアルチャンネル設定レジスタ633、送信制御レジスタ632、送信データステータスレジスタ631の各ビットの初期値が設定されることで、送信ボーレート等の設定が行われる。   Next, the game control device 100 executes various setting processes using the stack area 706 (2508). This setting process is, for example, a process of setting initial data in various storage areas necessary for game control by calling a subroutine or a function. In this setting process, the CPU 102 sets initial values of the respective bits of the transmission serial channel setting register 633, the transmission control register 632, and the transmission data status register 631 described above with reference to FIGS. Is set.

これらのサブルーチンや関数は、遊技制御プログラムに記述した複数の箇所から呼び出される形態となっており、遊技制御プログラムの容量削減に貢献している。一方で、サブルーチンや関数を呼び出す際には、前述したように、戻りアドレスをスタック領域706に待避する処理を必要とする。   These subroutines and functions are called from a plurality of locations described in the game control program, and contribute to reducing the capacity of the game control program. On the other hand, when a subroutine or function is called, processing for saving the return address in the stack area 706 is required as described above.

そして、遊技制御装置100は、ステップ2504の処理でレジスタに記憶されたRAMクリアSW信号の状態とステップ2508の処理でレジスタに記憶されたRAMクリアSW信号の状態とを比較して、どちらのRAMクリアSW信号の状態も、RAMクリアSW162が操作されたことを示しているか否かを判定する(2509)。   Then, the game control device 100 compares the state of the RAM clear SW signal stored in the register in the process of step 2504 with the state of the RAM clear SW signal stored in the register in the process of step 2508, and determines which RAM It is determined whether the state of the clear SW signal also indicates that the RAM clear SW 162 has been operated (2509).

ステップ2509の処理では、異なるタイミングで取得したRAMクリア信号の状態に基づいてRAMクリアSW162が操作されたか否かを判定しているので、ノイズ等による誤判定を防止できる。   In the processing of step 2509, it is determined whether or not the RAM clear SW 162 has been operated based on the state of the RAM clear signal acquired at different timings, so that erroneous determination due to noise or the like can be prevented.

ステップ2509の処理で、RAMクリアSW162が操作されたと判定された場合、遊技制御装置100は、ユーザワークRAM104のすべての記憶領域を初期化する(2510)。   If it is determined in step 2509 that the RAM clear SW 162 has been operated, the game control device 100 initializes all storage areas of the user work RAM 104 (2510).

そして、遊技制御装置100は、初期化指令信号を払出制御装置210及び演出制御装置150へ送信し(2511)、図26に示すステップ2517の処理に進む。   Then, the game control device 100 transmits an initialization command signal to the payout control device 210 and the effect control device 150 (2511), and proceeds to the processing of step 2517 shown in FIG.

一方、ステップ2509の処理で、RAMクリアSW162が操作されていないと判定された場合、遊技制御装置100は、ユーザワークRAM104の第1停電復旧領域701及び第2停電復旧領域703に、電源遮断確認フラグが格納されているか(正確には、電源遮断確認フラグがオンとなっているか)を確認する(2512)。   On the other hand, if it is determined in step 2509 that the RAM clear SW 162 is not operated, the game control device 100 confirms the power-off confirmation in the first power failure recovery area 701 and the second power failure recovery area 703 of the user work RAM 104. It is confirmed whether the flag is stored (more precisely, whether the power shutdown confirmation flag is on) (2512).

そして、遊技制御装置100は、直前の電源供給停止のときに、電源遮断の処理が正しく実行されていたか否かを判定する(2513)。具体的には、遊技制御装置100は、第1停電復旧領域701及び第2停電復旧領域703の両方に電源遮断確認フラグが格納されている場合には、電源遮断の処理が正しく実行されているものであると判定し、一方、第1停電復旧領域701及び第2停電復旧領域703の少なくとも一方に電源遮断確認フラグが格納されていない場合(少なくとも一方の電源遮断確認フラグがオフの場合)には、電源遮断の処理が正しく実行されていないと判定する。   Then, the game control device 100 determines whether or not the power-off process has been correctly executed when the power supply was stopped immediately before (2513). Specifically, in the game control device 100, when the power shutdown confirmation flag is stored in both the first power failure recovery area 701 and the second power failure recovery area 703, the power shutdown process is correctly executed. On the other hand, when the power shutdown confirmation flag is not stored in at least one of the first power failure recovery area 701 and the second power failure restoration area 703 (when at least one power interruption confirmation flag is OFF). Determines that the power-off process is not correctly executed.

ステップ2513の処理で電源遮断の処理が正しく実行されていたと判定された場合には、遊技制御装置100は、ユーザワークRAM104の第1停電復旧領域701、ワークエリア702、及び第2停電復旧領域703を用いてチェックサムを算出して、算出したチェックサムがチェックサム領域704に格納されているチェックサムと一致するか否かを照合する(2514)。   If it is determined in step 2513 that the power-off process has been correctly executed, the game control device 100 determines that the first power failure recovery area 701, the work area 702, and the second power failure recovery area 703 of the user work RAM 104. The checksum is calculated using, and it is checked whether or not the calculated checksum matches the checksum stored in the checksum area 704 (2514).

なお、チェックサム領域704に格納されているチェックサムは、停電検出時のユーザワークRAM104の第1停電復旧領域701、ワークエリア702、及び第2停電復旧領域703を用いてチェックサムを算出して、格納されたものである。   The checksum stored in the checksum area 704 is calculated by using the first power failure recovery area 701, the work area 702, and the second power failure recovery area 703 of the user work RAM 104 when a power failure is detected. , Stored.

つまり、ステップ2514の処理は、停電検出時のユーザワークRAM104に格納された情報と電源投入時のユーザワークRAM104に格納された情報とが一致するか否かを照合する処理である。   That is, the process of step 2514 is a process of collating whether the information stored in the user work RAM 104 at the time of power failure detection matches the information stored in the user work RAM 104 at the time of power-on.

そして、ステップ2514の処理の照合結果が、算出したチェックサムとチェックサム領域704に格納されたチェックサムとが一致するものであるか否かを判定する(2515)。   Then, it is determined whether or not the collation result of the processing in step 2514 matches the calculated checksum and the checksum stored in the checksum area 704 (2515).

ステップ2514の処理で算出したチェックサムとチェックサム領域704に格納されたチェックサムとが一致しないとステップ2515の処理で判定された場合、つまり、停電検出時のユーザワークRAM104に格納された情報と電源投入時のユーザワークRAM104に格納された情報とが一致しない場合には、遊技制御装置100は、ステップ2510の処理に進み、ユーザワークRAM104のすべての領域を初期化し、ステップ2511の処理にて初期化指令を払出制御装置210及び演出制御装置150に送信する。   If it is determined in step 2515 that the checksum calculated in step 2514 does not match the checksum stored in checksum area 704, that is, the information stored in user work RAM 104 when a power failure is detected If the information stored in the user work RAM 104 at the time of power-on does not match, the game control device 100 proceeds to the process of step 2510, initializes all areas of the user work RAM 104, and in the process of step 2511 An initialization command is transmitted to the payout control device 210 and the effect control device 150.

一方、ステップ2514の処理で算出したチェックサムとチェックサム領域704に格納されたチェックサムとが一致するとステップ2515の処理で判定された場合、つまり、停電検出時のユーザワークRAM104に格納された情報と電源投入時のユーザワークRAM104に格納された情報とが一致する場合には、遊技制御装置100は、遊技制御装置100の起動に必要な領域(ユーザワークRAM104の一部の領域)を初期化する(2516)。このとき、ユーザワークRAM104の第1停電復旧領域701及び第2停電復旧領域703の各々にて、電源遮断確認フラグが消去(正確には、各領域にて電源遮断確認フラグがオフ)される。そして、遊技制御装置100は、初期化指令を払出制御装置210及び演出制御装置150に送信する(2511)。   On the other hand, if the checksum calculated in step 2514 matches the checksum stored in the checksum area 704, the information stored in the user work RAM 104 at the time of power failure detection is determined in step 2515. And the information stored in the user work RAM 104 at the time of power-on match, the game control device 100 initializes an area necessary for starting the game control apparatus 100 (part of the user work RAM 104). (2516). At this time, the power shutdown confirmation flag is erased in each of the first power failure restoration area 701 and the second power interruption restoration area 703 of the user work RAM 104 (more precisely, the power interruption confirmation flag is turned off in each area). Then, the game control device 100 transmits an initialization command to the payout control device 210 and the effect control device 150 (2511).

これらの処理が完了すると、遊技制御装置100に関する初期化処理が完了となる。次いで、図26に示すステップ2517の処理に進む。   When these processes are completed, the initialization process related to the game control device 100 is completed. Next, the processing proceeds to step 2517 shown in FIG.

次に、ステップ2511の処理で初期化指令が払出制御装置210及び演出制御装置150に送信された後、遊技制御装置100は、各種時間を計測やタイマ割込みを行うためのCTC(Counter Timer Circuit)を起動し(2517)、遊技制御に関する乱数を生成する乱数生成回路608(図5)を初期化する(2518)。そして、遊技制御装置100は、ステップ2501の処理で禁止されたCPU102への割込みを許可する(2519)。   Next, after the initialization command is transmitted to the payout control device 210 and the effect control device 150 in the process of step 2511, the game control device 100 performs CTC (Counter Timer Circuit) for measuring various times and performing timer interrupts. Is started (2517), and a random number generation circuit 608 (FIG. 5) for generating random numbers related to game control is initialized (2518). Then, the game control device 100 permits an interrupt to the CPU 102 that is prohibited in the processing of step 2501 (2519).

次に、遊技制御装置100は、初期値乱数を更新する初期値乱数更新処理を実行する(2520)。初期値乱数とは、遊技制御に関する乱数のカウンタ(例えば、始動入賞口へ入賞したタイミングで取得される乱数のカウンタ)が上限値に達した場合に初期値に戻るが、その初期値を決定するための乱数である。   Next, the game control device 100 executes an initial value random number update process for updating the initial value random number (2520). The initial value random number returns to the initial value when a random number counter related to game control (for example, a random number counter acquired at the timing of winning the starting prize opening) reaches an upper limit value, but determines the initial value. It is a random number for.

そして、遊技制御装置100は、停電検出信号が入力されたか否かを確認し(2521)、ステップ2521の処理での確認結果が、停電検出信号が入力されたことを示すか否かを判定する(2522)。   Then, the game control device 100 confirms whether or not a power failure detection signal is input (2521), and determines whether or not the confirmation result in the processing of step 2521 indicates that the power failure detection signal is input. (2522).

遊技制御装置100は、停電検出信号が入力されていないと判定した場合には(ステップ2522の結果が「N」)、停電は発生していないので、ステップ2520の処理に戻る。   When the game control apparatus 100 determines that the power failure detection signal is not input (the result of step 2522 is “N”), the power failure has not occurred, and the process returns to step 2520.

一方、ステップ2522の処理で、停電検出信号が入力されたと判定された場合には(ステップ2522の結果が「Y」)、遊技制御装置100により停電処理が実行される。まず、遊技制御装置100は、CPU102への割込みを禁止し(2523)、出力I/F106に備わる出力ポートの電圧レベルをローレベルに設定する(2524)。   On the other hand, if it is determined in step 2522 that a power failure detection signal has been input (the result of step 2522 is “Y”), the game control device 100 executes power failure processing. First, the game control device 100 prohibits interruption to the CPU 102 (2523), and sets the voltage level of the output port provided in the output I / F 106 to a low level (2524).

次に、遊技制御装置100は、ユーザワークRAM104の第1停電復旧領域701及び第2停電復旧領域703に、電源遮断確認フラグを格納(正確には、各領域にて電源遮断確認フラグをオン)し(2525)、ユーザワークRAM104の第1停電復旧領域701、ワークエリア702、及び第2停電復旧領域703を用いてチェックサムを算出して、算出したチェックサムをチェックサム領域704に格納する(2526)。   Next, the game control apparatus 100 stores the power shutdown confirmation flag in the first power failure recovery area 701 and the second power failure restoration area 703 of the user work RAM 104 (more precisely, the power interruption confirmation flag is turned on in each area). (2525), a checksum is calculated using the first power failure recovery area 701, work area 702, and second power failure recovery area 703 of the user work RAM 104, and the calculated checksum is stored in the checksum area 704 ( 2526).

次に、遊技制御装置100は、RAMアクセス規制回路640によってユーザワークRAM104をRAM書込禁止状態にする(2527)。   Next, the game control device 100 puts the user work RAM 104 into the RAM write prohibited state by the RAM access restriction circuit 640 (2527).

具体的には、CPU102の指令によって、フリップフロップ回路641のクロック端子にクロック信号を出力制御回路612から入力させ、かつ、フリップフロップ回路641のデータ端子に接続された信号線の信号レベルをローレベルにする。これにより、フリップフロップ回路641の出力端子Q(正論理)からローレベルの信号が出力され、出力端子Q(負論理)からハイレベルの信号が出力されるため、ORゲート回路642の入力端子にハイレベルの信号が入力されることにより、RAM書込禁止状態になる。   Specifically, a clock signal is input from the output control circuit 612 to the clock terminal of the flip-flop circuit 641 in accordance with a command from the CPU 102, and the signal level of the signal line connected to the data terminal of the flip-flop circuit 641 is set to a low level. To. As a result, a low level signal is output from the output terminal Q (positive logic) of the flip-flop circuit 641, and a high level signal is output from the output terminal Q (negative logic). When a high level signal is input, the RAM write inhibit state is entered.

そして、遊技制御装置100は、遊技機1の電源が切れるまで待機する(2528)。なお、遊技制御装置100には、バックアップ電源が接続されているので、停電が発生しても、すぐに電源が切れることはない。   Then, the game control device 100 stands by until the gaming machine 1 is turned off (2528). In addition, since the backup power supply is connected to the game control apparatus 100, even if a power failure occurs, the power supply is not immediately turned off.

なお、本実施形態では、ステップ2514の処理で電源断時のユーザワークRAM104と電源投入時のユーザワークRAM104との正当性を判定する前のステップ2507の処理でRAM書込可能状態にしたが、RAM書込可能状態にするタイミングは、遅くともステップ2514の処理の正当性に応じて行われるステップ2510又は2516の処理におけるユーザワークRAM104の初期化処理の実行直前であればよい。   In the present embodiment, the process of step 2514 makes the RAM writable state by the process of step 2507 before determining the validity of the user work RAM 104 when the power is turned off and the user work RAM 104 when the power is turned on. The timing to make the RAM writable state may be immediately before the initialization process of the user work RAM 104 in the process of step 2510 or 2516 performed according to the legitimacy of the process of step 2514 at the latest.

このように、遊技機1にて電源供給が遮断した場合には、必要な電源遮断処理を実行した後は、ユーザワークRAM104をRAM書込禁止状態に設定し、遊技機1にて再度電源供給が復帰したときでも、すぐにユーザワークRAM104をRAM書込可能状態としないで、ハードウェアに関する初期化処理を一定時間実行し、ステップ2514の処理の正当性に応じて行われるステップ2510又は2516の処理におけるユーザワークRAM104の初期化処理の実行直前になって、ようやくRAM書込可能状態にすることによって、ユーザワークRAM104の初期化まで不用意なユーザワークRAM104の書き込みを防止できる。   As described above, when the power supply is cut off in the gaming machine 1, the user work RAM 104 is set to the RAM writing prohibited state after the necessary power-off process is executed, and the game machine 1 supplies power again. Even when the process returns, the user work RAM 104 is not immediately brought into the RAM writable state, the initialization process related to hardware is executed for a certain period of time, and the process of step 2510 or 2516 performed according to the validity of the process of step 2514 Immediately before executing the initialization process of the user work RAM 104 in the process, by finally making the RAM writable state, it is possible to prevent inadvertent writing of the user work RAM 104 until the user work RAM 104 is initialized.

そのため、ステップ2514の処理における正当性判定が行われる直前には、RAM書込禁止状態になっているので、電源投入後にユーザワークRAM104に誤った書き込みがなされ、ステップ2514の処理で誤った判定がされることを防止できる。   Therefore, immediately before the validity determination in the process of step 2514 is performed, the RAM write prohibition state is set. Therefore, erroneous writing is performed in the user work RAM 104 after power-on, and an erroneous determination is made in the process of step 2514. Can be prevented.

なお、本実施形態では、ステップ2508の処理でスタック領域706を用いた各種設定処理を実行するために、ステップ2514の処理における正当性判定処理の前のステップ2507の処理でRAM書込可能状態にしている。   In this embodiment, in order to execute various setting processes using the stack area 706 in the process of step 2508, the RAM write-enable state is set in the process of step 2507 before the validity determination process in the process of step 2514. ing.

これによって、正当性判定を行う前に正当性判定の対象とはならないスタック領域706を用いた各種設定処理を行うことができるようになるため、遊技制御装置100の各種設定を早い段階で行うことができるので遊技制御装置100の起動を高速化でき、また、スタック領域706を用いるので処理プログラムを共通化でき、プログラム容量を削減できる。   As a result, various setting processes using the stack area 706 that is not the target of the validity determination can be performed before the validity determination is performed, so that various settings of the game control device 100 can be performed at an early stage. Therefore, the game control apparatus 100 can be started up at a high speed, and the stack area 706 can be used to share a processing program, thereby reducing the program capacity.

なお、図15では、ステップ2510又は2516の処理でユーザワークRAM104を初期化した後、ステップ2515の処理で初期化指令信号を送信しているが、ステップ2514における正当性判定の実行前のステップ2508の処理の実行後に初期化指令信号を送信してもよい。   In FIG. 15, after initialization of the user work RAM 104 in the process of step 2510 or 2516, an initialization command signal is transmitted in the process of step 2515, but step 2508 before execution of the validity determination in step 2514. An initialization command signal may be transmitted after execution of the process.

この場合には、ステップ2514の処理における正当性判定の実行前であるので、正当性判定に寄与しないスタック領域706又はCPU102に備わるレジスタを用いて、初期化指令信号を送信する。   In this case, since it is before execution of the validity determination in the processing of step 2514, an initialization command signal is transmitted using the stack area 706 that does not contribute to the validity determination or a register provided in the CPU 102.

なお、CPU102に備わるレジスタを用いなくても、例えば、ユーザワークRAM104とは別個に、遊技制御装置100に所定のタイマ回路などを設けて、このタイマ回路に備えられた記憶領域を更新させるような方法でも実現可能である。言い換えれば、正当性判定に影響のない記憶領域であれば、どのようなものを用いても適用が可能であり、好ましくは、ユーザワークRAM104と記憶領域とを分離できれば、CPU102のプログラムも簡素化されるということである。   Even if the register provided in the CPU 102 is not used, for example, a predetermined timer circuit or the like is provided in the game control device 100 separately from the user work RAM 104, and the storage area provided in the timer circuit is updated. It can also be realized by the method. In other words, any storage area that does not affect the validity determination can be used, and preferably, the user work RAM 104 and the storage area can be separated to simplify the program of the CPU 102. It is to be done.

ステップ2510又は2516の処理では、RAM104の一部領域を初期化する処理であるステップ2516の処理が、RAM104の全領域を初期化する処理であるステップ2510の処理よりも実行時間が長いため、ステップ2510の処理を実行するかステップ2516の処理を実行するかによって、初期化指令信号が送信される時間が異なってしまう。   In the process of step 2510 or 2516, the process of step 2516, which is a process of initializing a part of the RAM 104, takes longer than the process of step 2510, which is a process of initializing the entire area of the RAM 104. Depending on whether the processing of 2510 or the processing of step 2516 is executed, the time for which the initialization command signal is transmitted differs.

ステップ2514の処理における正当性判定の実行前に初期化指令信号を送信することによって、ステップ2511の処理で初期化指令信号を送信するよりも早く初期化指令信号を送信できる。また、電源投入から一定時間で初期化指令信号を送信することができる。   By transmitting the initialization command signal before executing the validity determination in the processing of step 2514, the initialization command signal can be transmitted earlier than transmitting the initialization command signal in the processing of step 2511. In addition, the initialization command signal can be transmitted in a certain time after the power is turned on.

図27は、本発明の第1の実施形態の遊技制御装置メイン処理(図25)におけるステップ2501からステップ2502Bまでの処理を説明する図である。ここでは、図12で前述した各種レジスタ、図21及び図22で前述したアセンブリ言語を用いて説明を行うことにする。   FIG. 27 is a diagram illustrating processing from step 2501 to step 2502B in the game control device main processing (FIG. 25) according to the first embodiment of this invention. Here, description will be made using the various registers described above with reference to FIG. 12 and the assembly language described with reference to FIGS. 21 and 22.

なお、図27における列2710は、遊技制御プログラムが格納されているユーザプログラムROM103のアドレスを示し、列2720は、当該アドレスに格納されているデータを示している。例えば、ユーザプログラムROM103の「4000H」のアドレスには「F3H」のデータが格納され、続く「4001H」のアドレスには「31H」のデータが格納され、続く「4002H」のアドレスには「00H」のデータが格納され、続く「4003H」のアドレスには「2AH」のデータが格納されている。   Note that a column 2710 in FIG. 27 indicates the address of the user program ROM 103 in which the game control program is stored, and a column 2720 indicates the data stored in the address. For example, “F3H” data is stored in the “4000H” address of the user program ROM 103, “31H” data is stored in the subsequent “4001H” address, and “00H” is stored in the subsequent “4002H” address. The data “2AH” is stored at the subsequent address “4003H”.

行2701の「DI」命令は、遊技制御装置メイン処理(図25)のステップ2501の割込禁止処理に対応し、この命令に対応するコード「F3H」の値がアドレス「4000H」の領域に格納される。   The “DI” instruction in line 2701 corresponds to the interrupt prohibition process in step 2501 of the game control apparatus main process (FIG. 25), and the value of the code “F3H” corresponding to this instruction is stored in the area of the address “4000H”. Is done.

行2702の命令は、同じくステップ2502Aの処理に対応し、スタックポインタ(SP)に対応するSPレジスタ1233に初期アドレスとして「29FFH」を設定する。   The instruction in line 2702 also corresponds to the processing in step 2502A, and sets “29FFH” as an initial address in the SP register 1233 corresponding to the stack pointer (SP).

行2703の命令は、同じくステップ2502Bの処理に対応し、Kレジスタ1230に、上位アドレスのデフォルトの初期値「28H」を設定する。このように、Kレジスタ1230に予め「28H」を設定しておくことによって、「28H」を上位バイトとし、さらに任意の1バイトの値で示される値を下位バイトとして合成した2バイトの値をアドレスと見なして、そのアドレスの領域に記憶されている値を所定のレジスタに設定することができる。例えば、「2803H」のアドレスに記憶された値をAレジスタ1202Aに設定したい場合には、「LDK A,(03H)」という命令を実行すればよい。こうすることによって、2バイトのアドレスの全てを直接指定する場合よりもコード量を1バイト分削減することができる。特に、特定の領域を指定する頻度が大きいほど削減されるコード量を大きくすることができる。本実施形態では、例えば、変動表示ゲームが実行されるたびにシフトされ、アクセス頻度の多い始動記憶を格納するアドレスを指定する場合に使用される。また、Kレジスタを有効に活用するために、これらの始動記憶の上位アドレスは「28H」となるように配置されている。   The instruction in line 2703 similarly corresponds to the processing in step 2502B, and sets the default initial value “28H” of the upper address in the K register 1230. In this way, by setting “28H” in the K register 1230 in advance, a 2-byte value obtained by combining “28H” as an upper byte and a value indicated by an arbitrary 1-byte value as a lower byte is obtained. Assuming an address, the value stored in the address area can be set in a predetermined register. For example, in order to set the value stored at the address “2803H” in the A register 1202A, an instruction “LDK A, (03H)” may be executed. In this way, the code amount can be reduced by 1 byte compared to the case where all of the 2-byte addresses are directly specified. In particular, the amount of code to be reduced can be increased as the frequency of designating a specific area is increased. In the present embodiment, for example, it is shifted every time a variable display game is executed, and is used when an address for storing a start memory frequently accessed is designated. Further, in order to effectively use the K register, the upper addresses of these start-up memories are arranged to be “28H”.

なお、ユーザプログラムROM103の「4000H」のアドレスは、前述ように、リセットアドレスである。よって、リセット信号の発生時には、まず、この「4000H」に配置されたコードの命令が実行され、その後は、以降のアドレスに配置された命令が順次実行される。   Note that the address “4000H” of the user program ROM 103 is a reset address as described above. Therefore, when the reset signal is generated, first, the instruction of the code arranged at “4000H” is executed, and thereafter, the instructions arranged at the subsequent addresses are sequentially executed.

ちなみに、リセット信号が発生すると、初期値設定回路1241によってSPレジスタ1233に「29FFH」がハード的に設定されるので、行2702の命令は、省略(言い換えれば、図25のステップ2502Aを省略)することも可能である。同様に、リセット信号が発生すると、初期値設定回路1241によってKレジスタ1230に「28H」がハード的に設定されるので、行2703の命令は、省略(言い換えれば、図25のステップ2502Bを省略)することも可能である。ただし、初期値設定回路1241が機能せずに、プログラムカウンタ1234の値のみがリセットアドレスの値に変更される事態を想定するのであれば、行2702及び行2703の命令を配置しておくことにも意味がある。   Incidentally, when a reset signal is generated, “29FFH” is set in hardware in the SP register 1233 by the initial value setting circuit 1241, so the instruction in the row 2702 is omitted (in other words, step 2502A in FIG. 25 is omitted). It is also possible. Similarly, when a reset signal is generated, “28H” is hardware-set in the K register 1230 by the initial value setting circuit 1241, so the instruction in the row 2703 is omitted (in other words, step 2502B in FIG. 25 is omitted). It is also possible to do. However, if it is assumed that the initial value setting circuit 1241 does not function and only the value of the program counter 1234 is changed to the value of the reset address, the instructions on the lines 2702 and 2703 are arranged. Is also meaningful.

図28は、本発明の第1の実施形態のディレイ処理を説明する図である。   FIG. 28 is a diagram illustrating delay processing according to the first embodiment of this invention.

図28に示すディレイ処理は、図25のステップ2505で実行されるが、当該ディレイ処理を実行している時点では、ユーザワークRAM104の値が更新できないようにRAM書込禁止状態となっている。これは、直前の停電発生時に格納されたチェックサムと、電源投入直後となる現時点でのチェックサムとの照合を行うためである。   The delay process shown in FIG. 28 is executed in step 2505 of FIG. 25. At the time when the delay process is executed, the RAM write prohibition state is set so that the value of the user work RAM 104 cannot be updated. This is because the checksum stored at the time of the power failure immediately before is checked against the current checksum immediately after the power is turned on.

このため、図25に示すステップ2505におけるディレイ処理では、正当性の判定が行われる記憶領域が含まれたユーザワークRAM104を用いずに、他の記憶領域(正当性判定の対象とならない判定対象外記憶領域)を用いてディレイ処理を実行しなければならない。そこで、本実施形態のディレイ処理は、CPUコア102に備わるレジスタ(汎用レジスタ)を用いて実行される。   For this reason, the delay process in step 2505 shown in FIG. 25 does not use the user work RAM 104 that includes the storage area in which the validity is determined, and does not use the other storage area (not subject to the determination of validity. The delay processing must be executed using the storage area. Therefore, the delay processing of this embodiment is executed using a register (general-purpose register) provided in the CPU core 102.

以下に、判定対象外記憶領域を含むユーザワークRAM104の記憶領域をまったく利用せずに、レジスタを用いたディレイ処理を説明する。なお、CPUコア102として、Z80系のCPUを用いるものとするので、Z80系のCPUで使用されるレジスタ及びアセンブリ言語を用いて説明を行う。   Hereinafter, a delay process using a register without using the storage area of the user work RAM 104 including the non-determination storage area will be described. Since a CPU of the Z80 system is used as the CPU core 102, description will be made using a register and an assembly language used in the CPU of the Z80 system.

なお、図28における列2810は、図27の列2710同様に遊技制御プログラムが格納されているユーザプログラムROM103のアドレスを示し、列2820は、図27の列2720同様に、当該アドレスに格納されているデータを示している。   A column 2810 in FIG. 28 indicates the address of the user program ROM 103 in which the game control program is stored as in the column 2710 in FIG. 27, and a column 2820 is stored at the address as in the column 2720 in FIG. The data is shown.

まず、行2801は、当該ディレイ処理の最初の処理に相当し、CPUコア102のレジスタ(図11参照)のHレジスタ及びLレジスタを1つのペアとして構成したHLレジスタに、「0603H」をロードする。具体的には、Hレジスタに「06H」がロードされ、Lレジスタには「03H」がロードされる。   First, line 2801 corresponds to the first processing of the delay processing, and “0603H” is loaded into the HL register configured as one pair of the H register and the L register of the register of the CPU core 102 (see FIG. 11). . Specifically, “06H” is loaded into the H register, and “03H” is loaded into the L register.

次に、行2802を実行し、HLレジスタの値をデクリメント(1減算)する。したがって、行2802が最初に実行された後、HLレジスタの値は「0602H」となる。   Next, line 2802 is executed, and the value of the HL register is decremented (subtracted by 1). Therefore, after the line 2802 is executed for the first time, the value of the HL register becomes “0602H”.

続いて、行2803を実行し、Hレジスタに格納された値をAレジスタにロードする。そして、行2804を実行し、AレジスタとLレジスタとの論理和を算出する。行2805では、行2804で算出された論理和がゼロでなければ(NZ)、行2802(アドレスが4023Hとなる行)に戻る。したがって、Hレジスタ及びLレジスタの両方が「00H」となるまで、行2802から2805までの処理を繰り返すことになる。   Subsequently, line 2803 is executed, and the value stored in the H register is loaded into the A register. Then, the line 2804 is executed to calculate the logical sum of the A register and the L register. In the row 2805, if the logical sum calculated in the row 2804 is not zero (NZ), the processing returns to the row 2802 (the row whose address is 4023H). Therefore, the processing from the lines 2802 to 2805 is repeated until both the H register and the L register become “00H”.

つまり、図28では、維持タイマとして使用されるHレジスタ及びLレジスタに格納された「0603H」(=1539)が「0000H」になるまでデクリメントされるもので、合計1539回デクリメントが行われる。この間、図25に示す遊技制御装置メイン処理は、ステップ2505の処理で待機するため、遊技制御装置100の起動が遅延することとなる。   That is, in FIG. 28, “0603H” (= 1539) stored in the H register and L register used as the maintenance timer is decremented until “0000H”, and the decrement is performed a total of 1539 times. During this time, the game control apparatus main process shown in FIG. 25 waits in the process of step 2505, so that the activation of the game control apparatus 100 is delayed.

ここで遅延時間を具体的に算出する。遅延時間は、行2802から2805までの処理を、繰り返し回数(「0603H」=1539)分だけ実行した時間となる。そこで、行2803から2805までの各行の実行時間を算出する。各行には実行される命令が定義されており、各命令には、実行に必要なCPUのクロックサイクル数(ステート数)が対応している。したがって、1ステート当りの時間を各命令に対応するステート数に乗じることによって各命令の実行時間を算出することができる。   Here, the delay time is specifically calculated. The delay time is the time when the processes from the rows 2802 to 2805 are executed by the number of repetitions (“0603H” = 1539). Therefore, the execution time of each line from line 2803 to 2805 is calculated. Each line defines an instruction to be executed, and each instruction corresponds to the number of CPU clock cycles (number of states) necessary for execution. Therefore, the execution time of each instruction can be calculated by multiplying the time per state by the number of states corresponding to each instruction.

本発明の第1の実施形態では、クロック数20Mhzを2倍に分周した10MhzがCPUの動作クロックとなるため、1/10000000=100n秒が1ステート当りの処理時間となる。以下、具体的に各行の処理時間を算出する。   In the first embodiment of the present invention, 10 Mhz obtained by dividing the number of clocks of 20 Mhz by 2 is the CPU operation clock, so 1/10000000 = 100 nsec is the processing time per state. Hereinafter, the processing time for each row is specifically calculated.

行2802で実行されるデクリメント「DEC」命令のステート(数)は6となっている。したがって、行2802の処理時間は6×100n秒=600n秒となる。同様に、行2803で実行されるロード「LD」命令のステート(数)は4、及び、行2804で実行されるロード「OR」命令のステート(数)は4となっており、それぞれの処理時間は4×100n秒=400n秒となっている。さらに、行2805で実行されるジャンプ「JP」命令のステート(数)は行2804の演算結果が非0の場合には12、0の場合には7となっている。0の場合は遅延時間終了時だけであるため、ステート数を12とすると、処理時間は12×100n秒=1200n秒となる。   The state (number) of the decrement “DEC” instruction executed in line 2802 is 6. Therefore, the processing time of the row 2802 is 6 × 100 n seconds = 600 n seconds. Similarly, the state (number) of the load “LD” instruction executed in the line 2803 is 4 and the state (number) of the load “OR” instruction executed in the line 2804 is 4. The time is 4 × 100 n seconds = 400 n seconds. Further, the state (number) of the jump “JP” instruction executed on the line 2805 is 12 when the operation result on the line 2804 is non-zero, and 7 when the result is 0. Since 0 is only at the end of the delay time, if the number of states is 12, the processing time is 12 × 100 n seconds = 1200 n seconds.

以上より、1回の繰り返しにおける処理時間は、600n秒+400n秒+400n秒+1200n秒=2600n秒となる。そして、繰り返し回数は、1539回であるため、2600n秒×1539=4.0014m秒となり、約4秒の遅延時間となる。したがって、この場合のディレイ処理は、4秒間を計時するタイマ計時手段となっている。   From the above, the processing time in one iteration is 600 nsec + 400 nsec + 400 nsec + 1200 nsec = 2600 nsec. Since the number of repetitions is 1539, 2600 nsec × 1539 = 1.0014 msec, which is a delay time of about 4 sec. Therefore, the delay process in this case is a timer timing means for timing 4 seconds.

また、このディレイ処理中は、ユーザワークRAM104へのアクセスが全く行われない。すなわち、正当性の判定が行われる記憶領域が含まれたユーザワークRAM104の値を書き換えることなく、ディレイ処理を実行することができる。   Further, during this delay process, the user work RAM 104 is not accessed at all. That is, the delay process can be executed without rewriting the value of the user work RAM 104 including the storage area where the validity is determined.

図28で説明したように、本実施形態では、ハードウェアを用いずに、正当性判定に寄与しない、つまり、チェックサムを算出しない領域を用いてソフトウェアにより実現(維持タイマを計時)しているので、図25に示すステップ2514の正当性判定を正確に行うことができるとともに、ハードウェアでディレイ処理を実現するよりも安価に実現することができる。   As described with reference to FIG. 28, in the present embodiment, hardware is not used, and it is realized by software using a region that does not contribute to the validity determination, that is, the checksum is not calculated (the maintenance timer is timed). Therefore, it is possible to accurately perform the legitimacy determination in step 2514 shown in FIG. 25, and it can be realized at a lower cost than the delay processing by hardware.

例えば、ハードウェアでディレイ処理を実現する遊技機として、特開2002−224394号公報に開示されるような技術が知られており、この遊技機では、電源が断たれた後の復帰時に、払出しの不都合な状態が解消するまで賞媒体の払出し動作を停止できるようにすること、さらに、賞媒体の払出しに関して遊技者とホール側とでトラブルが発生しないようにすることを目的として、停電からの復帰時に、払出し制御手段が主制御手段よりも先に起動して払出し制御が開始された場合、初期化スイッチが操作されていないため、払出し動作復帰処理が実行され、その後、主制御手段から払出し再開コマンドを受信するまで、払出し動作を停止して、払出し再開可能な状態で待機する構成となっている。   For example, as a gaming machine that realizes delay processing with hardware, a technique disclosed in Japanese Patent Application Laid-Open No. 2002-224394 is known, and in this gaming machine, payout is performed at the time of return after power is turned off. In order to stop the award medium payout operation until the inconvenience of the problem is resolved, and to prevent troubles between the player and the hall with respect to the award medium payout, At the time of return, when the payout control means is activated prior to the main control means and the payout control is started, the payout operation return processing is executed because the initialization switch is not operated, and then the payout from the main control means is performed. Until the resumption command is received, the payout operation is stopped and the apparatus waits in a state where the payout can be resumed.

さらに、この遊技機では、後から起動した主制御手段は補給切れ検出スイッチや満杯検出スイッチからの検出スイッチに基づいて払出しに関するエラーを検出しない場合に、主制御手段から払出し再開コマンドが送信されてくるので、払出し制御手段はその払出し再開コマンド受信をきっかけに払出し動作を再開する構成となっている。   Further, in this gaming machine, when the main control means activated later does not detect an error relating to payout based on the detection switch from the supply replenishment detection switch or the fullness detection switch, a payout restart command is transmitted from the main control means. Therefore, the payout control means is configured to resume the payout operation in response to receipt of the payout restart command.

そして、この遊技機は、主制御手段を、払出し制御手段よりも遅延させて起動させるために、主制御手段(主制御基板39)に遅延回路90を設けて、リセット信号発生手段77からのリセット信号が、払出し制御手段(払出し制御基板46)に到達するよりも時間tだけ遅延して主制御手段に到達するように構成しているので(特開2002−224394号公報の段落[0051]〜[0053]、図9、図11参照)、遅延回路90などのハードウェアが必要であるため、コストが高くなってしまうという問題があった。また、遅延回路90はハードウェアで構成されているため、遅延の時間値をプログラムで変更できないという問題もあった。   In this gaming machine, a delay circuit 90 is provided in the main control means (main control board 39) in order to activate the main control means with a delay from the payout control means, and reset from the reset signal generating means 77. Since the signal arrives at the main control means with a delay of time t from reaching the payout control means (payout control board 46) (see paragraphs [0051] to [0051] of JP-A-2002-224394). [0053] Refer to FIG. 9 and FIG. 11) Since hardware such as the delay circuit 90 is necessary, there is a problem that the cost increases. Further, since the delay circuit 90 is configured by hardware, there is a problem in that the delay time value cannot be changed by a program.

この場合、遅延回路90に相当する機能を、主制御手段(主制御基板39)に設けたC
PUを用いてソフトウェアによって実現すれば、コスト面での課題が解決するが、CPUを用いて遅延時間を計時するためには、主制御手段(主制御基板39)のバックアップ用メモリ39bを用いなければならず、この場合、主制御手段が起動後にバックアップ用メモリ39bの正当性を確認して、バックアップ用メモリ39bが使用可能な状態になってから遅延時間を計時するので、遊技機全体の起動が遅れてしまうという課題を残していた。そのため、ソフトウェアによって遊技制御装置の起動を従属制御装置の起動よりも遅延させることによってコストダウンを図りつつも、遊技機全体の起動が遅延してしまうことを防止する遊技機が提供されることが望まれていた。
In this case, a function corresponding to the delay circuit 90 is provided in the main control means (main control board 39).
If implemented by software using a PU, the problem in terms of cost will be solved, but in order to measure the delay time using a CPU, the backup memory 39b of the main control means (main control board 39) must be used. In this case, the main control means confirms the validity of the backup memory 39b after activation, and measures the delay time after the backup memory 39b becomes usable. Was left behind. Therefore, it is possible to provide a gaming machine that prevents the activation of the entire gaming machine from being delayed while reducing the cost by delaying the activation of the gaming control apparatus from the activation of the dependent control apparatus by software. It was desired.

本実施形態に戻って、CPUコア102で使用できるレジスタの数が少ない場合には、スタック領域を利用してディレイ処理を実行するほうが有効である。ただし、正当性判定の対象となっている第1停電復旧領域701、ワークエリア702、第2停電復旧領域703、チェックサム領域704の各記憶領域を、ノイズ等によって書き換えてしまうことを極力防止したいのであれば、ディレイ処理中を通してユーザワークRAM104をRAM書込禁止状態とし、図28に示したスタック領域を利用しないディレイ処理を実行するほうが有効ともいえる。   Returning to the present embodiment, when the number of registers that can be used by the CPU core 102 is small, it is more effective to execute the delay process using the stack area. However, it is desirable to prevent as much as possible that the storage areas of the first power failure recovery area 701, work area 702, second power failure recovery area 703, and checksum area 704, which are subject to the validity determination, are rewritten due to noise or the like. In this case, it can be said that it is more effective to set the user work RAM 104 to the RAM write prohibited state during the delay process and execute the delay process not using the stack area shown in FIG.

また、動作クロック数を高く設定することによってCPUによる演算処理速度を高速化することが可能となるが、演算処理速度を高速化すると、ディレイ処理におけるループ回数(図28では「0603H」=1539回)を高速化した分だけ大きくする必要がある。しかしながら、演算処理速度を高速化しすぎると、ループ回数が大きくなりすぎてしまい、ループ回数を格納するレジスタのバイト数が所定バイト数(例えば、2バイト)を超えてしまい、プログラムの容量が大きくなってしまう。そこで、図28にて説明したように、ループ回数を格納するレジスタのバイト数が2バイトに収まる(ループ回数が65536回を超えない)ようにCPU102の動作速度(クロック数)を設定することによって、高速通信を実現しながらもプログラム容量の増大を抑えることが可能となる。   In addition, it is possible to increase the processing speed of the CPU by setting the number of operation clocks high. However, if the processing speed is increased, the number of loops in the delay processing (“0603H” in FIG. 28 = 1539). ) Needs to be increased by the speed. However, if the calculation processing speed is increased too much, the number of loops becomes too large, the number of bytes in the register for storing the number of loops exceeds a predetermined number of bytes (for example, 2 bytes), and the capacity of the program increases. End up. Therefore, as described with reference to FIG. 28, by setting the operation speed (number of clocks) of the CPU 102 so that the number of bytes of the register for storing the number of loops falls within 2 bytes (the number of loops does not exceed 65536). Thus, it is possible to suppress an increase in program capacity while realizing high-speed communication.

図29は、本発明の第1の実施形態のタイマ割込処理の手順を示すフローチャートである。このタイマ割込処理は、遊技制御装置100のCPUコア102によって実行される。   FIG. 29 is a flowchart illustrating a procedure of timer interrupt processing according to the first embodiment of this invention. This timer interrupt process is executed by the CPU core 102 of the game control apparatus 100.

遊技機の電源が投入されると、遊技制御装置メイン処理(図25及び図26参照)が実行される。そして、ステップ2517の処理で起動させたCTCによって、所定時間周期(例えば、4ミリ秒周期)でタイマ割込みが発生すると、遊技制御装置100のCPU102によって、タイマ割込処理が繰り返し実行される。ただし、これらの処理(2912〜2922の処理)は、割り込み発生毎に必ずしもすべて行なわれなくてもよい。例えば、ステップ2912の入出力処理においては、毎回入力信号を監視するが、出力処理は割り込みの発生の1回おきに実行されてもよい。つまり、1回の割込処理で一通りの処理をすべて完了するのではなく、この割込処理が複数回繰り返し実行されて一連の遊技制御処理が完了するようにしてもよい。   When the power of the gaming machine is turned on, the game control device main process (see FIGS. 25 and 26) is executed. When a timer interrupt is generated at a predetermined time period (for example, a period of 4 milliseconds) by the CTC activated in the process of step 2517, the timer interrupt process is repeatedly executed by the CPU 102 of the game control apparatus 100. However, these processes (processes 2912 to 2922) do not necessarily have to be performed every time an interrupt occurs. For example, in the input / output process of step 2912, the input signal is monitored every time, but the output process may be executed every other occurrence of an interrupt. That is, instead of completing all the processes in one interrupt process, this interrupt process may be repeatedly executed a plurality of times to complete a series of game control processes.

本実施形態のタイマ割込処理において、遊技制御装置100は、まず、レジスタのデータをスタック領域706に退避する(2911)。ここでは、遊技制御プログラムに記述された命令を実行することにより、CPUコア102の内部のレジスタ(図12参照)の中から、タイマ割込処理が呼び出される直前の処理(呼出元処理)で使用されていたものを選択して、スタック領域706に退避させる処理が行われる。   In the timer interrupt process of the present embodiment, the game control device 100 first saves the register data in the stack area 706 (2911). Here, by executing an instruction described in the game control program, it is used in a process (caller process) immediately before the timer interrupt process is called out from a register inside the CPU core 102 (see FIG. 12). A process for selecting the saved data and saving it in the stack area 706 is performed.

ただし、フラグレジスタ1200(図12参照)に関しては、図19の(D)に示すように、当該タイマ割込処理が開始する時点で既にスタック領域706に退避されているので、改めて命令を実行させる必要はない。   However, regarding the flag register 1200 (see FIG. 12), as shown in FIG. 19D, the instruction is executed again because it has already been saved in the stack area 706 when the timer interrupt processing starts. There is no need.

次に、遊技制御装置100は、入出力処理を実行する(2912)。入出力処理は、入力処理と出力処理とを含む。入力処理は、入力I/F105を介して各種センサ(特図始動SW34A、普図始動SW31A、カウントSW36A、入賞口SW32A〜32N、オーバーフローSW109、球切れSW110、枠開放SW111など)から入力される信号にチャタリング除去等の処理をし、入力情報を確定する処理である。   Next, the game control device 100 executes an input / output process (2912). The input / output process includes an input process and an output process. In the input process, signals input from various sensors (special drawing start SW 34A, universal drawing start SW 31A, count SW 36A, winning opening SW 32A to 32N, overflow SW 109, out of ball SW 110, frame opening SW 111, etc.) via the input I / F 105. This is a process of performing processing such as chattering removal and determining input information.

出力処理は、出力I/F106を介して、特図ゲーム処理(2919)及び普図ゲーム処理(2920)にて設定されたパラメータに基づいて、特図表示器120、普図表示器121、普電SOL90、及び大入賞口SOL38を制御するための信号を出力する。   The output process is performed through the output I / F 106 based on the parameters set in the special figure game process (2919) and the general figure game process (2920), and the special figure display unit 120, the general figure display unit 121, Signals for controlling the electric SOL 90 and the special winning opening SOL38 are output.

なお、前述したように、入力処理と出力処理とは1回のタイマ割り込みで同時に実行されなくてもよい。   As described above, the input process and the output process do not have to be executed simultaneously by one timer interrupt.

次に、遊技制御装置100は、各種処理で送信バッファにセットされた(コマンド)を演出制御装置150及び払出制御装置210等に出力するコマンド送信処理を行う(2913)。具体的には、演出制御装置150に特別図柄変動表示ゲームに係わる演出指令信号(演出コマンド)を出力したり、払出制御装置210に排出指令信号(払出指令信号、払出コマンド)を出力したりする。コマンド送信処理の詳細については、図31にて後述する。なお、払出コマンドについては図33にて詳細を説明し、演出コマンドについては図35にて詳細を説明する。   Next, the game control device 100 performs command transmission processing for outputting (command) set in the transmission buffer in various processings to the effect control device 150 and the payout control device 210 (2913). Specifically, an effect command signal (effect command) related to the special symbol variation display game is output to the effect control device 150, or a discharge command signal (payout command signal, payout command) is output to the payout control device 210. . Details of the command transmission processing will be described later with reference to FIG. The payout command will be described in detail with reference to FIG. 33, and the effect command will be described in detail with reference to FIG.

その後、遊技制御装置100は、特別図柄変動表示ゲームの当りはずれを判定するための大当り乱数カウンタ(図15の大当り乱数の生成領域)の値を1ずつ加算する乱数更新処理1を行う(2914)。なお、この乱数更新処理1では、特別図柄変動表示ゲームの停止図柄を決定する大当り図柄乱数カウンタ(図15の大当り図柄乱数の生成領域)の値、普通図柄変動表示ゲームの当りはずれを判定するための普図乱数カウンタ(図15の普図乱数生成領域)にも1ずつ加算する。   After that, the game control device 100 performs a random number update process 1 in which the value of the big hit random number counter (the big hit random number generation region in FIG. 15) for determining whether the special symbol variation display game is missed is incremented by one (2914). . In this random number update processing 1, in order to determine the value of the big hit symbol random number counter (the big hit symbol random number generation region in FIG. 15) for determining the stop symbol of the special symbol change display game, the hit difference of the normal symbol change display game. 1 is also added to the normal random number counter (the normal random number generation area in FIG. 15).

次に、遊技制御装置100は、乱数の初期値を更新し、乱数の時間的な規則性を崩すための初期値乱数更新処理を実行する(2915)。ステップ2915の初期値乱数更新処理は、図26に示す初期値乱数更新処理(2520)と同じなので、説明を省略する。   Next, the game control apparatus 100 updates the initial value of the random number, and executes an initial value random number update process for breaking the temporal regularity of the random number (2915). The initial value random number update process in step 2915 is the same as the initial value random number update process (2520) shown in FIG.

そして、遊技制御装置100は、特別図柄変動表示ゲームに関連した飾り特別図柄変動表示ゲームにおける変動表示パターンを決定する乱数を更新するための変動表示パターン乱数カウンタ(図15の第1変動P乱数の生成領域、第2変動P乱数の生成領域、第3変動P乱数の生成領域)の値を1ずつ加算する乱数更新処理2を行う(2916)。   Then, the game control device 100 updates the random display pattern random number counter (the first variation P random number of FIG. 15) for updating the random number for determining the variation display pattern in the decorative special symbol variation display game related to the special symbol variation display game. A random number update process 2 is performed in which the values of the generation area, the second fluctuation P random number generation area, and the third fluctuation P random number generation area) are added one by one (2916).

次に、遊技制御装置100は、各入賞口に遊技球が入賞していないかを監視するために、入賞口監視処理を行う(2917)。具体的には、第1特図始動SW37A、第2特図始動SW34A、普図始動SW31A、カウントSW36A、入賞口SW32A〜32N、から信号の入力があるか否か(遊技球の検出を示す信号が入力されているか否か)を監視する。   Next, the game control device 100 performs a winning opening monitoring process in order to monitor whether or not a gaming ball has won a winning opening (2917). Specifically, whether or not there is a signal input from the first special figure start SW 37A, the second special figure start SW 34A, the general figure start SW 31A, the count SW 36A, and the winning openings SW 32A to 32N (a signal indicating detection of a game ball) Is monitored).

このとき、大当りが発生して特別変動入賞装置36が開放中であるときには、カウントSW36Aにより遊技球の検出数を計数して、特別変動入賞装置36へ入賞した遊技球の数を計数する。この計数結果が所定数(例えば10個)になると、特別変動入賞装置36を閉止して、次のラウンドに更新する処理を行う。   At this time, when a big hit occurs and the special variation winning device 36 is open, the number of game balls detected is counted by the count SW 36A, and the number of game balls won to the special variation winning device 36 is counted. When the counted result reaches a predetermined number (for example, 10), the special variable winning device 36 is closed and the process of updating to the next round is performed.

また、このとき、普図始動SW31Aによる遊技球の検出があれば、普図保留カウンタの値が所定数未満(例えば、「4個」未満)であることを条件に「1」だけ増加させ、普図乱数カウンタ値(図15の普図乱数生成領域)が、普図保留カウンタに対応する普図始動入賞記憶領域(図15)に記憶される。   At this time, if a game ball is detected by the general chart start SW 31A, it is increased by “1” on condition that the value of the general chart hold counter is less than a predetermined number (for example, less than “four”), The common random number counter value (the common random number generation area in FIG. 15) is stored in the common figure start winning storage area (FIG. 15) corresponding to the common figure hold counter.

なお、第1特図始動SW37Aによる遊技球の検出があれば、後述する「始動口SW監視処理」にて、各種乱数値が、第1特図始動入賞記憶領域(図16)に記憶される。同様に、第2特図始動SW34Aによる遊技球の検出があれば、後述する「始動口SW監視処理」にて、各種乱数値が、第2特図始動入賞記憶領域(図17)に記憶される。   If a game ball is detected by the first special figure start SW 37A, various random numbers are stored in the first special figure start winning storage area (FIG. 16) in the “start opening SW monitoring process” described later. . Similarly, if a game ball is detected by the second special figure start SW 34A, various random numbers are stored in the second special figure start winning storage area (FIG. 17) in the “start opening SW monitoring process” described later. The

その後、遊技制御装置100は、排出球の球詰まりや、各種スイッチ、センサ等の異常などを監視するエラー監視処理を行う(2918)。   After that, the game control device 100 performs an error monitoring process for monitoring the clogging of the discharged balls, abnormalities of various switches, sensors, etc. (2918).

その後、遊技制御装置100は、特別図柄変動表示ゲームに関する処理を行う特図ゲーム処理(2919)、普通図柄変動表示ゲームに関する処理を行う普図ゲーム処理(2920)を行う。   Thereafter, the game control apparatus 100 performs a special figure game process (2919) for performing a process related to the special symbol variation display game, and a general figure game process (2920) for performing a process regarding the normal symbol variation display game.

特図ゲーム処理(2919)は、第1特図始動SW37A及び第2特図始動SW34Aで検出された始動入賞口への遊技球の入賞に基づいて抽出され、特別図柄始動入賞記憶に記憶された特別図柄乱数カウンタ値が当りか否か判定し、特図表示器120で特別図柄変動表示ゲームを実行する。なお、特図始動入賞記憶には、直ちに前記変動表示ゲームを実行することができない状態で始動入賞口に遊技球が入賞した場合に、抽出された乱数が始動入賞記憶として記憶される。なお、特図ゲーム処理の詳細は、図37にて後述する。   The special figure game process (2919) is extracted based on the winning of the game ball at the start winning opening detected by the first special figure starting SW 37A and the second special figure starting SW 34A, and stored in the special symbol starting winning memory. It is determined whether or not the special symbol random number counter value is a hit, and the special symbol display 120 executes a special symbol variation display game. The special figure starting winning memory stores the extracted random number as the starting winning memory when the game ball wins the starting winning opening in a state where the variable display game cannot be immediately executed. Details of the special game process will be described later with reference to FIG.

また、特図ゲーム処理(2919)では、特図表示器120の表示に対応する識別情報の変動表示のための処理を行う。抽出された乱数が所定の値であれば、特別図柄に関する当り状態となり、識別情報の変動表示が当り図柄で停止する。また、当り状態になると、特別変動入賞装置36に遊技球を受け入れやすい開状態になる。   In the special figure game process (2919), a process for displaying the variation of the identification information corresponding to the display on the special figure indicator 120 is performed. If the extracted random number is a predetermined value, a hit state related to the special symbol is entered, and the variation display of the identification information stops at the hit symbol. Also, when the winning state is reached, the open state is such that the special variation winning device 36 can easily accept the game ball.

普図ゲーム処理(2920)は、普図始動SW31Aで検出された普通図柄始動ゲート31への遊技球の通過に基づいて抽出され、普通図柄始動入賞記憶に記憶された普図乱数カウンタ値(2917の処理で抽出・記憶された普通図柄変動表示ゲームの結果に関する乱数)が当りか否かを判定し、普図保留カウンタの値を1だけ減算して、普図表示器121で普通図柄の変動表示ゲームを実行する。普図乱数カウンタ値が所定の値であれば、普図に関する当り状態となり、普通図柄の変動表示が当り状態で停止するためのパラメータを設定する。   The normal game process (2920) is extracted based on the passing of the game ball to the normal symbol start gate 31 detected by the normal symbol start SW 31A, and is stored in the normal symbol start winning memory (2917). It is determined whether or not the random number related to the result of the normal symbol variation display game extracted and stored in the process of (1) is a hit, the value of the general symbol hold counter is decremented by 1, and the normal symbol display 121 changes the normal symbol. Run the display game. If the common random number counter value is a predetermined value, a hit state related to the common figure is set, and a parameter is set for stopping the fluctuation display of the normal symbol in the hit state.

次に、遊技制御装置100は、遊技機1に設けられ、遊技に関する各種情報を表示するセグメントLED(特図表示器120及び普図表示器121)に出力する信号を編集する処理を行う(2921)。具体的には、特別図柄変動表示ゲームが開始されると、今回開始した特別図柄変動表示ゲームの実行回数を減じた特別図柄入賞記憶数を特図表示器120の特図記憶表示部に表示するためのパラメータを編集する。同様に、普通図柄の変動表示ゲームが開始されると、今回開始した普通図柄変動表示ゲームの実行回数を減じた普通図柄入賞記憶数を普図表示器121の普図記憶表示器に表示するためのパラメータを編集する。   Next, the game control device 100 performs processing for editing signals output to the segment LEDs (special display display 120 and general display display 121) that are provided in the gaming machine 1 and display various information related to the game (2921). ). Specifically, when the special symbol variation display game is started, the special symbol winning memory number obtained by subtracting the number of executions of the special symbol variation display game started this time is displayed on the special symbol memory display unit of the special symbol display 120. Edit the parameters for: Similarly, when the normal symbol variation display game is started, the normal symbol winning memory number obtained by reducing the number of times of execution of the normal symbol variation display game started this time is displayed on the general symbol display of the general symbol display 121. Edit the parameters.

その後、遊技制御装置100は、検査装置接続端子107を介して接続される管理用コンピュータに遊技機1の状態を出力するための外部情報を編集する外部情報編集処理を行う(2922)。外部情報には、図柄が確定したか、当りであるか、確率変動中であるか、変動時間短縮中であるか、変動表示ゲームのスタート等、変動表示ゲームの進行状態に関連する情報が含まれる。また、エラーが発生したことを示すエラー信号も含まれる。   Thereafter, the game control device 100 performs an external information editing process for editing external information for outputting the state of the gaming machine 1 to the management computer connected via the inspection device connection terminal 107 (2922). External information includes information related to the progress status of the variable display game, such as whether the symbol has been confirmed, winning, changing the probability, shortening the variable time, starting the variable display game, etc. It is. An error signal indicating that an error has occurred is also included.

次に、遊技制御装置100は、タイマ割込処理の終了を宣言する(2923)。   Next, the game control device 100 declares the end of the timer interrupt process (2923).

その後、遊技制御装置100は、スタック領域706に退避していたレジスタを復帰する復帰処理(2924)を行う。ここでは、遊技制御プログラムに記述された命令を実行することにより、ステップ2911の処理にて退避したレジスタの値を復帰させる。次いで、禁止設定されていた割り込みの許可設定をする処理を行う(2925)。   After that, the game control apparatus 100 performs a return process (2924) for restoring the registers saved in the stack area 706. Here, by executing an instruction described in the game control program, the value of the register saved in the process of step 2911 is restored. Next, processing for setting permission of the interrupt that has been prohibited is performed (2925).

そして、タイマ割込処理を終了し、遊技制御装置メイン処理(図25及び図26)に戻る。ここでは、「RET」命令ではなく「RETI」命令を実行して、呼出元の処理に戻る。そのため、スタック領域706に退避されていたフラグレジスタ1200(図12参照)の値も復帰することになり、スタックポインタ1233が示す値も、図19の(D)から図18の(B)の様に変化する。   And a timer interruption process is complete | finished and it returns to a game control apparatus main process (FIG.25 and FIG.26). Here, the “RETI” instruction is executed instead of the “RET” instruction, and the process returns to the caller process. Therefore, the value of the flag register 1200 (see FIG. 12) saved in the stack area 706 is also restored, and the value indicated by the stack pointer 1233 is also changed from (D) in FIG. 19 to (B) in FIG. To change.

なお、タイマ割込処理の先頭にて、図21に示す「レジスタバンクセレクタ」を切り替える命令2115(「LD RBS,0」又は「LD RBS,1」)を実行することにより、演算対象として用いるレジスタ群(汎用レジスタ群1220A、1220B)を切り替えることも可能である。例えば、呼出元の処理では汎用レジスタ群1220Aのレジスタを用いる一方で、当該タイマ割込処理では汎用レジスタ群1220Bのレジスタを用いるように切り替えることも可能である。   A register used as an operation target is executed by executing an instruction 2115 (“LD RBS, 0” or “LD RBS, 1”) for switching the “register bank selector” shown in FIG. 21 at the beginning of the timer interrupt processing. It is also possible to switch the group (general-purpose register groups 1220A, 1220B). For example, while the call source process uses the register of the general register group 1220A, the timer interrupt process can be switched to use the register of the general register group 1220B.

このようなレジスタバンクの切り換えを実行する場合は、タイマ割込処理の中では、呼出元の処理とは異なるレジスタ群のレジスタが使用されるため、ステップ2911にてレジスタを退避させるような処理や、ステップ2911にてレジスタを復帰させるような処理は不要である。   When such register bank switching is executed, a register group register different from the call source process is used in the timer interrupt process. In step 2911, processing for restoring the register is not necessary.

なお、当該タイマ割込処理でも、最後に「RETI」命令を実行するので、スタック領域706に退避されていたフラグレジスタ1200(図12参照)の値が復帰することになり、フラグレジスタ1200のレジスタバンクセレクタ(RBS)1301(図13参照)の値も呼出前の状態に復帰する。そのため、図21に示す「レジスタバンクセレクタ」を切り替える命令2115(「LD RBS,0」又は「LD RBS,1」)は、タイマ割込処理の先頭で1回だけ実行すればよい。   Even in the timer interrupt processing, since the “RETI” instruction is finally executed, the value of the flag register 1200 (see FIG. 12) saved in the stack area 706 is restored, and the register of the flag register 1200 is restored. The value of the bank selector (RBS) 1301 (see FIG. 13) is also restored to the state before the call. Therefore, the instruction 2115 (“LD RBS, 0” or “LD RBS, 1”) for switching the “register bank selector” shown in FIG. 21 need only be executed once at the beginning of the timer interrupt process.

そして、次のタイマ割り込みが発生するまで初期値乱数更新処理等(図26のステップ2520〜2522の処理)を繰り返す。   Then, the initial value random number update process and the like (the processes of steps 2520 to 2522 in FIG. 26) are repeated until the next timer interrupt occurs.

図30は、本発明の第1の実施形態の遊技制御装置100から、演出制御装置150及び払出制御装置210に初期化指令信号を送信する初期化指令送信処理の手順を示すフローチャートである。本処理は、図25のステップ2511の初期化指令送信処理に対応する。   FIG. 30 is a flowchart illustrating a procedure of initialization command transmission processing for transmitting an initialization command signal from the game control device 100 according to the first embodiment of the present invention to the effect control device 150 and the payout control device 210. This processing corresponds to the initialization command transmission processing in step 2511 of FIG.

遊技制御装置100は、まず、演出指令及び排出指令の送信を禁止状態に設定する(3001)。具体的には、送信制御レジスタ632(図8)のビット4を“0”に設定して、送信データレジスタ635からの信号の出力を禁止した状態に設定する。   First, the game control device 100 sets the transmission of the effect command and the discharge command to a prohibited state (3001). Specifically, the bit 4 of the transmission control register 632 (FIG. 8) is set to “0” to set the signal output from the transmission data register 635 to a prohibited state.

次に、遊技制御装置100は、起動時の演出指令を送信データレジスタ635に格納する(3002)。そして、起動時の演出指令がすべて送信データレジスタ635に格納されるまで処理を継続する(3003)。   Next, the game control apparatus 100 stores an effect command at the time of activation in the transmission data register 635 (3002). Then, the processing is continued until all the production instructions at the time of activation are stored in the transmission data register 635 (3003).

遊技制御装置100は、すべての演出指令が送信データレジスタ635に格納されると(3003の結果が「N」)、起動時の排出指令を送信データレジスタ635に格納する(3004)。そして、起動時の排出指令がすべて送信データレジスタ635に格納されるまで処理を継続する(3005)。   When all the production commands are stored in the transmission data register 635 (the result of 3003 is “N”), the game control apparatus 100 stores the discharge command at startup in the transmission data register 635 (3004). Then, the processing is continued until all the discharge commands at the time of activation are stored in the transmission data register 635 (3005).

最後に、遊技制御装置100は、ステップ3001の処理で禁止状態に設定されていた演出指令及び排出指令の送信を許可状態に設定する(3006)。具体的には、送信制御レジスタ632(図8)のビット4を“1”に設定して、送信データレジスタ635からの信号の出力を許可した状態に設定する。   Finally, the game control device 100 sets the transmission of the effect command and the discharge command that were set to the prohibited state in the process of step 3001 to the permitted state (3006). Specifically, the bit 4 of the transmission control register 632 (FIG. 8) is set to “1” to set the signal output from the transmission data register 635 to be permitted.

図31は、本発明の第1の実施形態の遊技制御装置100から、演出制御装置150及び払出制御装置210にコマンドを送信するためのコマンド送信処理の手順を示すフローチャートである。本処理は、図29のステップ2913のコマンド送信処理に対応する。   FIG. 31 is a flowchart illustrating a procedure of command transmission processing for transmitting a command from the game control apparatus 100 according to the first embodiment of the present invention to the effect control apparatus 150 and the payout control apparatus 210. This processing corresponds to the command transmission processing in step 2913 in FIG.

遊技制御装置100は、初期化指令送信処理と同様に送信制御レジスタ632(図8)のビット4を“0”に設定して、まず、演出指令及び排出指令の送信を禁止状態に設定する(3101)。   The game control device 100 sets bit 4 of the transmission control register 632 (FIG. 8) to “0” in the same manner as the initialization command transmission process, and first sets the transmission of the production command and the discharge command to a prohibited state ( 3101).

次に、遊技制御装置100は、送信待ちの演出指令が存在するか否か(今回のタイマ割込処理のタイミングで、演出制御装置150に対応する送信データレジスタ635に書き込むべきデータが存在するか否か)を判定する(3102)。送信待ちの演出指令が存在しない場合には(3102の結果が「N」)、ステップ3112以降の排出指令に関する処理を実行する。   Next, the game control device 100 determines whether or not there is an effect command waiting for transmission (whether there is data to be written in the transmission data register 635 corresponding to the effect control device 150 at the timing of the timer interrupt process this time). (No) is determined (3102). If there is no transmission instruction waiting to be transmitted (the result of 3102 is “N”), processing related to the discharge instruction after step 3112 is executed.

一方、遊技制御装置100は、送信待ちの演出指令が存在する場合には(3102の結果が「Y」)、送信待ちの演出指令に変動開始の演出指令が含まれているか否かを判定する(3103)。変動開始の演出指令とは、図35にて後述する「停止図柄指定コマンド(MODE=B0H)」と「飾り図柄変動パターン指定コマンド(MODE=B1H〜BFH)」の各々に相当するコマンドであり、演出制御装置150は、このコマンドを受信したことを契機に、表示装置8にて変動表示ゲームの実行を開始する。   On the other hand, when there is an effect command waiting for transmission (the result of 3102 is “Y”), the game control apparatus 100 determines whether or not the effect command for start of variation is included in the effect command waiting for transmission. (3103). The variation start effect command is a command corresponding to each of a “stop symbol designation command (MODE = B0H)” and a “decoration symbol variation pattern designation command (MODE = B1H to BFH)” described later in FIG. The presentation control device 150 starts execution of the variable display game on the display device 8 when this command is received.

遊技制御装置100は、送信待ちの演出指令に変動開始の演出指令が含まれている場合には(3103の結果が「Y」)、変動開始の演出指令を送信データレジスタに格納する(3104)。そして、送信待ちの演出指令に含まれているすべての変動開始の演出指令が送信データレジスタに格納されるまで処理を継続する(3105)。   When the production command for variation start is included in the production command waiting for transmission (the result of 3103 is “Y”), the game control apparatus 100 stores the production command for variation start in the transmission data register (3104). . Then, the processing is continued until all the change start effect commands included in the effect command waiting for transmission are stored in the transmission data register (3105).

遊技制御装置100は、送信待ちの演出指令に変動開始の演出指令が含まれていなかった場合(3103の結果が「N」)、又は送信待ちの演出指令に含まれている変動開始の演出指令をすべて送信データレジスタに格納した場合には(3105の結果が「Y」)、送信待ちの演出指令に他の演出指令が含まれているか否かを判定する(3106)。   The game control apparatus 100, when the production command for variation start is not included in the production command waiting for transmission (the result of 3103 is “N”), or the production command for variation start included in the production command waiting for transmission. Are stored in the transmission data register (the result of 3105 is “Y”), it is determined whether or not another effect command is included in the effect command waiting to be transmitted (3106).

遊技制御装置100は、送信待ちの演出指令に変動開始以外の演出指令が含まれていない場合には(3106の結果が「N」)、ステップ3111の処理を実行し、続いて、排出指令に関する処理を実行する。   When the effect command other than the start of variation is not included in the effect command waiting for transmission (the result of 3106 is “N”), the game control apparatus 100 executes the process of step 3111, and subsequently relates to the discharge command. Execute the process.

一方、遊技制御装置100は、送信待ちの演出指令に変動開始以外の演出指令が含まれている場合には(3106の結果が「Y」)、送信バッファ(送信データバッファレジスタ635A)に空きがあるか否かを判定する(3107)。具体的には、送信データステータスレジスタ631(図9)のビット0〜5の値(送信データの残量を示す値)が“00h”〜“1Fh”であれば、空きがあると判定される。   On the other hand, in the case where an effect command other than the start of variation is included in the effect command waiting for transmission (the result of 3106 is “Y”), the game control device 100 has an empty space in the transmission buffer (transmission data buffer register 635A). It is determined whether or not there is (3107). Specifically, if the value of bits 0 to 5 (value indicating the remaining amount of transmission data) in the transmission data status register 631 (FIG. 9) is “00h” to “1Fh”, it is determined that there is an empty space. .

送信バッファに空きがない場合には(3107の結果が「N」)、送信待ちの演出指令を次回の送信タイミングに持ち越し(3108)、ステップ3111の処理を実行し、続いて、排出指令に関する処理を実行する。   If there is no space in the transmission buffer (the result of 3107 is “N”), the production command waiting for transmission is carried over to the next transmission timing (3108), the processing of step 3111 is executed, and then the processing related to the discharge command is performed. Execute.

遊技制御装置100は、送信バッファに空きがある場合には(3107の結果が「Y」)、送信データレジスタに変動開始以外の演出指令を格納する(3109)。そして、送信バッファの空きが無くなるか、すべての演出指令が送信データレジスタに格納されるまで、ステップ3107から3110までの処理を継続する(3110)。   When there is an empty transmission buffer (the result of 3107 is “Y”), the game control apparatus 100 stores an effect command other than the start of fluctuation in the transmission data register (3109). Then, the processing from steps 3107 to 3110 is continued until the transmission buffer becomes full or all the rendering commands are stored in the transmission data register (3110).

遊技制御装置100は、送信待ちの演出指令を送信バッファに格納する処理が終了すると、送信制御レジスタ632(図8)のビット4を“1”に設定することで、ステップ3101の処理で禁止状態に設定されていた演出指令の送信を許可状態に設定する(3111)。   When the process of storing the effect command waiting for transmission in the transmission buffer ends, the game control device 100 sets the bit 4 of the transmission control register 632 (FIG. 8) to “1”, thereby prohibiting the process in step 3101. The transmission of the production command set to “3” is set to the permitted state (3111).

以上のように、コマンド送信処理において演出指令を演出制御装置150に送信する場合、変動開始の演出指令を優先して送信することによって、遊技制御装置100における変動表示ゲームの進行状態と、演出制御装置150における変動表示ゲームの進行状態との時間差が常に固定されたものとなる。そのため、変動表示ゲームが開始される毎にこの時間差が変化するような不具合を防止できるようになり、遊技制御装置100と演出制御装置150とを同期させながら、表示装置8で実行される変動表示ゲームをより確実に実行させることができる。演出指令の送信が終了すると、続いて、排出指令を払出制御装置210に送信するための処理を実行する。   As described above, when the effect command is transmitted to the effect control device 150 in the command transmission process, the state of change display game in the game control device 100 and the effect control are transmitted by giving priority to the effect command for starting the change. The time difference from the progress state of the variable display game in the device 150 is always fixed. Therefore, it becomes possible to prevent such a problem that the time difference changes every time the variable display game is started, and the variable display executed on the display device 8 while the game control device 100 and the effect control device 150 are synchronized. The game can be executed more reliably. When the transmission of the effect command is completed, processing for transmitting the discharge command to the payout control device 210 is subsequently executed.

遊技制御装置100は、まず、SW制御領域を検査し、賞球排出対象スイッチ(SW)の立ち上がりがあるか否かを監視する(3112)。賞球を排出する入賞口に遊技球が入賞すると、賞球排出対象SWがオンに設定される。そして、遊技制御装置100は、賞球の排出に該当するスイッチが存在するか否かを判定する(3113)。   The game control device 100 first checks the SW control area and monitors whether or not the prize ball discharge target switch (SW) has risen (3112). When a game ball wins a prize opening for discharging a prize ball, the prize ball discharge target SW is set to ON. Then, the game control device 100 determines whether or not there is a switch corresponding to the prize ball discharge (3113).

なお、SW制御領域とは、遊技機に備えられた各種スイッチの検出状態を、タイマ割込毎に記憶しておく記憶領域のことである。ここでは、SW制御領域のうち、遊技球検出によって賞球が排出されるスイッチのみが対象とされ、これら対象となったスイッチのうちで、「立ち上がり情報」がオンとなっているものがあるか否かを判定している。   The SW control area is a storage area for storing detection states of various switches provided in the gaming machine for each timer interrupt. Here, in the SW control area, only the switch from which the winning ball is discharged by the detection of the game ball is targeted, and among these switches, there is a switch whose “rise information” is on. It is determined whether or not.

遊技制御装置100は、賞球の排出に該当するスイッチが存在する場合(「立ち上がり情報」がオンとなっている賞球排出対象のSWが存在する場合)には(3113の結果が「Y」)、オンとなっている賞球排出対象SWの1つを選択し、選択されたSWに該当する排出指令を送信データレジスタに格納する(3114)。   The game control apparatus 100 (when the result of 3113 is “Y”) when there is a switch corresponding to the discharge of the prize ball (when there is a SW of the prize ball discharge target whose “rise information” is on). ), One of the prize ball discharge target SWs that is turned on is selected, and a discharge command corresponding to the selected SW is stored in the transmission data register (3114).

次に、その時点で「立ち上がり情報」がオンとなっている賞球排出対象のSWが、他にも存在するかを確認する。遊技制御装置100は、他の賞球排出対象のSWがオンになっていれば、オンとなっている賞球排出対象SWの1つをさらに選択し、選択されたSWに該当する排出指令を送信データレジスタに格納する。そして、すべての賞球を排出する指令が送信データレジスタに格納されるまで処理を継続する(3115)。   Next, it is confirmed whether or not there are other SWs subject to prize ball discharge whose “rise information” is on at that time. The game control device 100 further selects one of the prize ball discharge target SWs that are on if another prize ball discharge target SW is turned on, and issues a discharge command corresponding to the selected SW. Store in the transmission data register. Then, the processing is continued until a command for discharging all prize balls is stored in the transmission data register (3115).

遊技制御装置100は、賞球の排出に該当するスイッチが存在しない場合には(3113の結果が「N」)、又は賞球の排出に該当するスイッチに対応する排出指令をすべて送信データレジスタに格納した場合には、送信待ちの他の排出指令(払出制御装置210へエラー発生やエラー解除を指令するコマンドなど)が存在するか否かを判定する(3116)。   When there is no switch corresponding to the prize ball discharge (the result of 3113 is “N”), the game control apparatus 100 sends all the discharge commands corresponding to the switch corresponding to the prize ball discharge to the transmission data register. If it is stored, it is determined whether there is another discharge command waiting for transmission (a command for instructing the payout control device 210 to generate an error or to cancel the error) (3116).

遊技制御装置100は、送信待ちの他の排出指令が存在しない場合には(3116の結果が「N」)、排出指令に関する送信を許可状態に設定し(3121)、呼び出し元に戻る。   When there is no other discharge command waiting for transmission (the result of 3116 is “N”), the game control apparatus 100 sets transmission related to the discharge command to the permitted state (3121), and returns to the caller.

一方、遊技制御装置100は、送信待ちの他の排出指令が存在する場合には(3116の結果が「Y」)、送信バッファに空きがあるか否かを判定する(3117)。具体的には、送信データステータスレジスタ631(図9)のビット0〜5の値(送信データの残量を示す値)が“00h”〜“1Fh”であれば、空きがあると判定される。   On the other hand, when there is another discharge command waiting for transmission (the result of 3116 is “Y”), the game control apparatus 100 determines whether or not there is an empty transmission buffer (3117). Specifically, if the value of bits 0 to 5 (value indicating the remaining amount of transmission data) in the transmission data status register 631 (FIG. 9) is “00h” to “1Fh”, it is determined that there is an empty space. .

送信バッファに空きがない場合には(3117の結果が「N」)、送信待ちの排出指令を次回の送信タイミングに持ち越し(3118)、排出指令に関する送信を許可状態に設定し(3121)、呼び出し元に戻る。   If there is no space in the transmission buffer (the result of 3117 is “N”), the discharge command waiting for transmission is carried over to the next transmission timing (3118), the transmission related to the discharge command is set to the permitted state (3121), and called. Return to the original.

遊技制御装置100は、送信バッファに空きがある場合には(3117の結果が「Y」)、送信待ちの排出指令を送信データレジスタに格納する(3119)。そして、送信バッファの空きが無くなるか、すべての排出指令が送信データレジスタに格納されるまで、ステップ3117から3120までの処理を継続する(3120)。最後に、排出指令に関する送信を許可状態に設定し(3121)、呼び出し元に戻る。   When there is an empty transmission buffer (the result of 3117 is “Y”), the game control apparatus 100 stores a discharge command waiting for transmission in the transmission data register (3119). Then, the processing from steps 3117 to 3120 is continued until there is no space left in the transmission buffer or all discharge instructions are stored in the transmission data register (3120). Finally, transmission related to the discharge command is set to a permitted state (3121), and the process returns to the caller.

以上のように、本実施形態では、コマンド送信処理において排出指令を払出制御装置210に送信する場合に賞球排出指令を、その他の排出指令(エラー発生/解除の指令)よりも優先して送信することによって、賞球排出対象の複数のスイッチが、同一のタイマ割込周期内で同時にオンした場合であっても、確実に賞球を排出させるように構成されている。   As described above, in this embodiment, when a discharge command is transmitted to the payout control device 210 in the command transmission process, the prize ball discharge command is transmitted with priority over other discharge commands (error generation / cancellation commands). By doing so, the prize balls are surely ejected even when the plurality of switches to which the prize balls are to be ejected are simultaneously turned on within the same timer interruption period.

このように、演出指令や賞球排出指令などの制御指令を内容に応じて優先して送信して遊技が円滑に進行するように制御し、さらに、優先されなかった制御指令については次回割込発生時に送信することによって、送信漏れのない正確な指令送信を実現することが可能となる。   In this way, control commands such as production commands and prize ball discharge commands are preferentially transmitted according to the contents to control the game so that the game progresses smoothly. By transmitting at the time of occurrence, it is possible to realize accurate command transmission without transmission omission.

図32は、本発明の第1の実施形態の電源投入時の遊技制御装置100、払出制御装置210、及び演出制御装置150が行う処理、並びに、遊技制御装置100に備わるシリアル送信回路615の状態のタイミングチャートである。   FIG. 32 shows processing performed by the game control device 100, the payout control device 210, and the effect control device 150 when the power is turned on according to the first embodiment of the present invention, and the state of the serial transmission circuit 615 included in the game control device 100 It is a timing chart.

リセット信号が払出制御装置210に接続されるシリアル送信回路615B及び演出制御装置150に接続されるシリアル送信回路615Aに伝達されると、図23に示すステップ2302の処理により、各シリアル送信回路615が不定状態(3201)から初期状態(3202)に移行する。   When the reset signal is transmitted to the serial transmission circuit 615B connected to the payout control apparatus 210 and the serial transmission circuit 615A connected to the effect control apparatus 150, each serial transmission circuit 615 is processed by the process of step 2302 shown in FIG. Transition from the undefined state (3201) to the initial state (3202).

この不定状態では、シリアル送信回路615(シリアル送信回路615A、615B)から出力される信号線のレベルは、ハイレベルであるのかローレベルであるのか保証されない状態である。一方、シリアル送信回路615がリセット信号により初期化されて初期状態に遷移すると、シリアル送信回路615Bからの出力信号はオフを示すレベルに確定される。   In this indefinite state, it is not guaranteed whether the level of the signal line output from the serial transmission circuit 615 (serial transmission circuits 615A and 615B) is high level or low level. On the other hand, when the serial transmission circuit 615 is initialized by the reset signal and transits to the initial state, the output signal from the serial transmission circuit 615B is determined to a level indicating OFF.

シリアル送信回路615の初期状態は、遊技制御装置100が図25に示すステップ2511の処理で初期化指令を送信するために、初期化指令が各シリアル送信回路615に設定されるまで(3203)継続する。   The initial state of the serial transmission circuit 615 continues (3203) until the initialization command is set in each serial transmission circuit 615 in order for the game control device 100 to transmit the initialization command in the process of step 2511 shown in FIG. To do.

一方、遊技制御装置100のセキュリティ回路630にリセット信号が伝達されると、図23に示すステップ2304の処理で自己診断処理を実行し、ステップ2305の処理でセキュリティチェック処理を実行する(3204)。セキュリティチェック処理の実行後にCPU102が起動し、CPU102によって遊技制御装置メイン処理(図25及び図26)が実行される。   On the other hand, when the reset signal is transmitted to the security circuit 630 of the game control apparatus 100, the self-diagnosis process is executed in the process of step 2304 shown in FIG. 23, and the security check process is executed in the process of step 2305 (3204). After the security check process is executed, the CPU 102 is activated, and the game control apparatus main process (FIGS. 25 and 26) is executed by the CPU 102.

CPU102は、ディレイ処理の実行(3206)前に1回目のRAMクリア信号の取り込み(3205)と、ディレイ処理の実行後に2回目のRAMクリア信号の取り込み(3207)と、を行う。言い換えると、1回目のRAMクリア信号取り込み(3205)と2回目のRAMクリア信号取り込み(3207)とは、ディレイ処理(3206)を挟んで実行される。   The CPU 102 fetches the first RAM clear signal (3205) before executing the delay process (3206), and fetches the second RAM clear signal (3207) after executing the delay process. In other words, the first RAM clear signal capture (3205) and the second RAM clear signal capture (3207) are executed with a delay process (3206) interposed therebetween.

このように、2205及び2207の各時点で実行されるRAMクリア信号取り込みの間に、ディレイ処理を実行するので、ディレイ処理の間に、1回目のRAMクリア信号取り込みで取り込んだチャタリング除去等を行うことができる。   As described above, since the delay process is executed during the RAM clear signal fetching executed at the respective times 2205 and 2207, the chattering removal etc. fetched by the first RAM clear signal fetching is performed during the delay process. be able to.

ディレイ処理(3206)で処理を待機させた後に、図25に示すステップ2516及び1510の処理でRAM104の初期化処理を行い(3208)、ステップ2511の処理で初期化指令を送信してから、通常の遊技制御を行う(3209)。   After waiting in the delay process (3206), the RAM 104 is initialized in steps 2516 and 1510 shown in FIG. 25 (3208). After the initialization command is sent in step 2511, the normal process is performed. The game control is performed (3209).

なお、通常の遊技制御を実行すると、遊技状態に応じて、払出制御指令を払出制御装置210に送信するために、払出制御指令が払出制御装置210に接続されるシリアル送信回路615Bに設定される(3210)。また、通常の遊技制御の実行中には、遊技状態に応じて、演出制御指令を演出制御装置150に送信するために、演出制御指令が演出制御装置150に接続されるシリアル送信回路615Aに設定される(3211)。   When the normal game control is executed, the payout control command is set in the serial transmission circuit 615B connected to the payout control device 210 in order to send the payout control command to the payout control device 210 according to the gaming state. (3210). Further, during the execution of the normal game control, the effect control command is set in the serial transmission circuit 615A connected to the effect control device 150 in order to transmit the effect control command to the effect control device 150 according to the game state. (3211).

一方で、払出制御装置210のセキュリティ回路にリセット信号が伝達されると、払出制御装置210のセキュリティ回路は、図23に示すステップ2314の処理で自己診断処理を実行し、ステップ2315の処理でセキュリティチェック処理を実行する(3212)。セキュリティチェック処理の実行後にCPU212が起動し、CPU212によって、図23のステップ2316の処理で電源投入時の初期化処理を実行する(3213)。払出制御装置210の初期化処理が実行されると、払出制御装置210のシリアル受信回路625を、遊技制御装置100からの指令を受信可能な状態にする(3214)。   On the other hand, when the reset signal is transmitted to the security circuit of the payout control apparatus 210, the security circuit of the payout control apparatus 210 executes a self-diagnosis process in the process of step 2314 shown in FIG. Check processing is executed (3212). After executing the security check process, the CPU 212 is activated, and the CPU 212 executes the initialization process at the time of power-on in the process of step 2316 in FIG. 23 (3213). When the initialization process of the payout control device 210 is executed, the serial receiving circuit 625 of the payout control device 210 is made ready to receive a command from the game control device 100 (3214).

また、演出制御装置150にリセット信号が伝達されると、演出制御装置150は、図23のステップ2323の処理で電源投入時の初期化処理を実行する(3215)。演出制御装置150の初期化処理が実行されると、演出制御装置150のシリアル受信回路625を、遊技制御装置100からの指令を受信可能な状態にする(3216)。   When the reset signal is transmitted to the production control device 150, the production control device 150 executes the initialization process at the time of power-on in the process of step 2323 in FIG. 23 (3215). When the initialization process of the effect control device 150 is executed, the serial receiving circuit 625 of the effect control device 150 is set in a state where it can receive a command from the game control device 100 (3216).

遊技制御装置100は、ディレイ処理を実行することで、RAM104の初期化処理の実行開始のタイミングを遅延させている。言い換えると、ディレイ処理によって、演出制御装置150や払出制御装置210へ初期化指令を送信するタイミングを遅延させている。   The game control apparatus 100 delays the execution start timing of the initialization process of the RAM 104 by executing the delay process. In other words, the timing for transmitting the initialization command to the effect control device 150 and the payout control device 210 is delayed by the delay process.

このため、ディレイ処理によって、払出制御装置210に接続されるシリアル送信回路615B及び演出制御装置150に接続されるシリアル送信回路615Aが初期状態を維持する時間を十分に確保し、その間に、払出制御装置210及び演出制御装置150は、初期化処理を実行し、自身のシリアル受信回路625を介して遊技制御装置100からの指令を受信可能な状態にすることができる。   For this reason, the delay process ensures sufficient time for the serial transmission circuit 615B connected to the payout control device 210 and the serial transmission circuit 615A connected to the effect control device 150 to maintain the initial state, and during that time payout control is performed. The device 210 and the effect control device 150 can execute an initialization process so as to be able to receive a command from the game control device 100 via its own serial reception circuit 625.

したがって、ディレイ処理を設けることで、図25のように、リセット信号が、遊技制御装置100、払出制御装置210及び演出制御装置150に同時に伝達される構成の遊技機であっても、ハードウェア等で構成した遅延回路を設けることなく、各制御装置が起動を開始するタイミングを適切に設定することができる。   Therefore, by providing a delay process, as shown in FIG. 25, even if the gaming machine has a configuration in which the reset signal is simultaneously transmitted to the game control device 100, the payout control device 210, and the effect control device 150, hardware or the like The timing at which each control device starts to start can be appropriately set without providing the delay circuit configured as described above.

よって、図32のように、まず、払出制御装置210に接続されるシリアル送信回路615B及び演出制御装置150に接続されるシリアル送信回路615Aが初期状態に維持され、その状態で、払出制御装置210及び演出制御装置150のシリアル受信回路625が指令受信可能状態になり、次いで、払出制御装置210及び演出制御装置150に初期化指令を送信させることを確実に実行できるようになる。   Therefore, as shown in FIG. 32, first, the serial transmission circuit 615B connected to the payout control device 210 and the serial transmission circuit 615A connected to the effect control device 150 are maintained in the initial state. Then, the serial receiving circuit 625 of the effect control device 150 becomes ready to receive the command, and then it is possible to surely execute the sending of the initialization command to the payout control device 210 and the effect control device 150.

仮に、遊技機1への電源投入直後において、遊技制御装置100の払出制御装置210に接続されるシリアル送信回路615B及び演出制御装置150に接続されるシリアル送信回路615Aが初期状態に維持される以前に、払出制御装置210若しくは演出制御装置150のシリアル受信回路625が指令受信可能状態になると、払出制御装置210に接続されるシリアル送信回路615B及び演出制御装置150に接続されるシリアル送信回路615Aから出力される信号レベルが不安定であるから、払出制御装置210若しくは演出制御装置150にてこの不安定な信号レベルの情報を、正規な信号であると誤って受信するおそれがあり、誤作動を引き起こす可能性がある。   If the serial transmission circuit 615B connected to the payout control device 210 of the gaming control device 100 and the serial transmission circuit 615A connected to the effect control device 150 are maintained in the initial state immediately after the power to the gaming machine 1 is turned on. When the serial reception circuit 625 of the payout control device 210 or the effect control device 150 becomes ready to receive a command, the serial transmission circuit 615B connected to the payout control device 210 and the serial transmission circuit 615A connected to the effect control device 150 Since the output signal level is unstable, there is a possibility that the payout control device 210 or the production control device 150 may erroneously receive this unstable signal level information as a normal signal. May cause.

また、払出制御装置210若しくは演出制御装置150のシリアル受信回路625が指令受信可能状態になる前に、遊技制御装置100から、払出制御装置210若しくは演出制御装置150へ初期化指令を送信してしまうと、払出制御装置210や演出制御装置150で初期化指令を受信できなくなり、誤作動を引き起こす可能性がある。   Further, before the serial reception circuit 625 of the payout control device 210 or the effect control device 150 becomes ready for command reception, the game control device 100 transmits an initialization command to the payout control device 210 or the effect control device 150. Then, the payout control device 210 and the production control device 150 cannot receive the initialization command, which may cause a malfunction.

特に、本実施形態の遊技機のように、遊技制御装置100から払出制御装置210へ単方向で指令を送信する構成や、遊技制御装置100から演出制御装置150へ単方向で指令を送信する構成の場合には、指令された情報が正しく送信されているか否かを確認することが困難であるため、初期化時に処理を遅延させることが有効である。   In particular, as in the gaming machine of the present embodiment, a configuration in which a command is transmitted from the game control device 100 to the payout control device 210 in a single direction, or a configuration in which a command is transmitted from the game control device 100 to the effect control device 150 in a single direction. In this case, since it is difficult to confirm whether or not the commanded information is correctly transmitted, it is effective to delay the processing at the time of initialization.

また、図32では、RAMクリア信号の取り込みが2回である例を示したが、複数回であればよい。この複数回の間にディレイ処理を実行することによって、ディレイ処理実行直前のRAMクリア信号取り込みのチャタリング除去等にかかる時間をディレイ処理による遅延時間と重複させることができるので、処理を効率化させることができる。   FIG. 32 shows an example in which the RAM clear signal is fetched twice, but it may be a plurality of times. By executing the delay process between a plurality of times, the time required for chattering removal of the RAM clear signal fetching immediately before the execution of the delay process can be overlapped with the delay time by the delay process. Can do.

図33は、本発明の第1の実施形態の遊技制御装置100から払出制御装置210に送信される排出指令の一例を示す図である。   FIG. 33 is a diagram illustrating an example of a discharge command transmitted from the game control device 100 to the payout control device 210 according to the first embodiment of this invention.

払出制御装置210に送信される排出指令は、払出制御装置210を初期化する指令(初期化指令信号)と、賞球を排出する指令(排出指令信号)と、エラーの発生及び解除を通知する指令(エラー通知信号)があり、モード部及びアクション部からなる共通のフォーマットで送信される。   The discharge command transmitted to the payout control device 210 notifies a command to initialize the payout control device 210 (initialization command signal), a command to discharge the prize ball (discharge command signal), and the occurrence and release of an error. There is a command (error notification signal), which is transmitted in a common format consisting of a mode part and an action part.

まず、初期化指令信号について説明すると、初期化指令信号は、モード部が「80H」であり、アクション部は「00H〜7FH」のいずれかの値となる。初期化指令信号のアクション部は、払出制御装置210に設定されている認証コードに対応する値(「00H〜7FH」のいずれかの値)となる。この払出制御装置210に設定されている認証コードに対応する値は、例えば、RAM104に設定されているものとする。なお、モード部は「80H」以上の値、アクション部には「80H」未満の値が設定されており、モード部を受信する場合に「80H」未満の値が送信された場合には不正なコマンドが送信されてきたことを判別することが可能となっている。   First, the initialization command signal will be described. In the initialization command signal, the mode portion has a value of “80H” and the action portion has any value of “00H to 7FH”. The action part of the initialization command signal becomes a value (any value of “00H to 7FH”) corresponding to the authentication code set in the payout control device 210. It is assumed that a value corresponding to the authentication code set in the payout control device 210 is set in the RAM 104, for example. The mode part is set to a value of “80H” or higher, and the action part is set to a value of less than “80H”. When the mode part is received, a value of less than “80H” is transmitted. It is possible to determine that a command has been transmitted.

初期化指令信号の出力時期は、遊技制御装置100に電源投入時であり、具体的には、図25に示すステップ2511の処理である。   The output timing of the initialization command signal is when the game control apparatus 100 is powered on, and specifically, is the process of step 2511 shown in FIG.

次に、排出指令信号について説明する。払出制御装置210によって払い出される遊技媒体の個数に対応して、15個の排出指令信号が用意されている。   Next, the discharge command signal will be described. Fifteen discharge command signals are prepared corresponding to the number of game media to be paid out by the payout control device 210.

排出指令信号のモード部は「A1H〜AFH」である。なお、このモード部の下位バイトは、排出指令信号が払い出しを指令する遊技媒体の個数と一致する。また、排出指令信号のアクション部は「5EH〜50H」となる。このアクション部は、モード部の各ビットの論理を反転した値となっている。   The mode part of the discharge command signal is “A1H to AFH”. Note that the lower byte of this mode part matches the number of game media for which the discharge command signal commands payout. The action part of the discharge command signal is “5EH to 50H”. This action part has a value obtained by inverting the logic of each bit of the mode part.

例えば、1個の遊技媒体の払い出しを指令する排出指令信号のモード部は「A1H」であり、アクション部は「5EH」である。すなわち、排出指令信号は、モード部とアクション部とからなる2バイトのデータで構成されている。   For example, the mode part of the discharge command signal for instructing the payout of one game medium is “A1H”, and the action part is “5EH”. That is, the discharge command signal is composed of 2-byte data including a mode part and an action part.

なお、排出指令信号の出力時期は、一般入賞口32、第1始動入賞口37、第2始動入賞口34、特別変動入賞装置(大入賞口)36に遊技球が入賞したタイミングで出力される。   The output timing of the discharge command signal is output at the timing when the game ball is won in the general winning opening 32, the first starting winning opening 37, the second starting winning opening 34, and the special variable winning apparatus (large winning opening) 36. .

また、払出制御装置210は、排出指令信号を受信すると、受信した排出指令信号のモード部の各ビットの論理を反転した値が、アクション部の各ビットの値と一致しなければ、受信した排出指令信号に対応する個数の遊技媒体の払い出しを許可しない。   Further, when the dispensing control device 210 receives the discharge command signal, if the value obtained by inverting the logic of each bit of the mode portion of the received discharge command signal does not match the value of each bit of the action portion, the received discharge command signal is received. Dispensing of game media corresponding to the command signal is not permitted.

最後に、エラー通知信号について説明する。排出指令がエラー発生通知の場合には、モード部にエラーが発生したことを示す「C0H」が設定される。また、エラー通知信号のアクション部は、発生したエラーの種類に対応する値(「00H〜7FH」のいずれかの値)が設定される。   Finally, the error notification signal will be described. When the discharge command is an error occurrence notification, “C0H” indicating that an error has occurred is set in the mode section. In the action part of the error notification signal, a value corresponding to the type of error that has occurred (any value of “00H to 7FH”) is set.

排出指令がエラー解除通知の場合には、モード部にエラーが解除されたことを示す「C1H」が設定される。また、エラー解除信号のアクション部は、エラー通知信号の場合と同様に、発生したエラーの種類に対応する値(「00H〜7FH」のいずれかの値)が設定される。   When the discharge command is an error release notification, “C1H” indicating that the error has been released is set in the mode section. Further, the action part of the error cancellation signal is set to a value corresponding to the type of error that has occurred (any value of “00H to 7FH”), as in the case of the error notification signal.

図34は、本発明の第1の実施形態のスイッチの立ち上がりを検出する手順を示すタイムチャートである。なお、図中のfは割込周期であり、割込周期の先頭でタイマ割込が発生する。また、dは遅延時間を示す。スイッチの立ち上がり、すなわち、スイッチがオンになったか否かの判定は、図29に示したタイマ割込処理のステップ2912の入出力処理で行われる。なお、以下に示す、第1物理レベル、第2物理レベル、論理レベル、立上り情報は、タイマ割込が発生する毎に更新され、遊技機に備えられたスイッチ毎に整理されてSW制御領域(図31で前述)に記憶される。   FIG. 34 is a time chart showing a procedure for detecting the rise of the switch according to the first embodiment of this invention. In the figure, f is an interrupt cycle, and a timer interrupt is generated at the beginning of the interrupt cycle. D represents a delay time. The rise of the switch, that is, whether or not the switch has been turned on is determined in the input / output process of step 2912 of the timer interrupt process shown in FIG. Note that the first physical level, the second physical level, the logical level, and the rise information shown below are updated each time a timer interrupt occurs, and are arranged for each switch provided in the gaming machine to be the SW control area ( Stored in FIG. 31).

まず、スイッチの立ち上がり時(3401)及び立ち下がり時(3402)について説明する。CPU102は、タイマ割込発生時の入出力処理(図29のステップ2912)において、スイッチの検出信号のレベルが、前回設定された第1物理レベルと相違すると(ローレベルからハイレベル、又は、ハイレベルからローレベルに変化)、第1物理レベルを検出信号のレベルに新たに設定する。そして、所定の遅延時間が経過した後、スイッチの検出信号が、前回設定された第2物理レベルと相違する場合には、第2物理レベルを検出信号のレベルに設定する。なお、第1物理レベルと第2物理レベルとは、検出タイミングが異なるだけである。   First, the rise time (3401) and fall time (3402) of the switch will be described. In the input / output process (step 2912 in FIG. 29) when the timer interrupt occurs, the CPU 102 determines that the level of the switch detection signal is different from the previously set first physical level (from low level to high level or high level). The first physical level is newly set to the level of the detection signal. Then, when the detection signal of the switch is different from the previously set second physical level after a predetermined delay time has elapsed, the second physical level is set to the level of the detection signal. Note that the first physical level and the second physical level differ only in detection timing.

このとき、第1物理レベルと、第2物理レベルとが一致していれば、検出信号が変化したものと判断し、論理レベルに当該レベルを設定する。そして、論理レベルがローレベルからハイレベルに変化した場合には、次のタイマ割込発生から遅延時間が経過するまで、立ち上がり情報をオンに設定する。すなわち、立ち上がり情報をオンに設定した後、次のタイマ割込発生でオフに設定する。   At this time, if the first physical level and the second physical level match, it is determined that the detection signal has changed, and the level is set as the logical level. When the logic level changes from the low level to the high level, the rising information is set on until the delay time elapses after the next timer interrupt occurs. That is, after the rising edge information is set to ON, it is set to OFF when the next timer interrupt occurs.

また、本発明の第1の実施形態では、第1物理レベルと第2物理レベルの信号レベルが相違する場合、すなわち、3403に示すように、第1物理レベル検出時と、第2物理レベル検出時とで、スイッチの検出信号のレベルが相違する場合には、ノイズが発生したものとして、論理レベルを変更しないように構成されている。このように構成することによって、ノイズ発生時に誤って立上り情報がオンに設定されることを防ぎ、後述するように、賞球排出指令が誤って払出制御装置210に送信されることを防ぐことができる。   In the first embodiment of the present invention, when the signal levels of the first physical level and the second physical level are different, that is, as shown in 3403, when the first physical level is detected and when the second physical level is detected. When the level of the detection signal of the switch differs from time to time, it is configured that the logic level is not changed as noise has occurred. By configuring in this way, it is possible to prevent the rising information from being set to ON by mistake when noise occurs, and to prevent the prize ball discharge command from being erroneously transmitted to the payout control device 210, as will be described later. it can.

また、本発明の第1の実施形態では、図34のタイミングチャートに示した立上り情報がオンとなったスイッチの中に賞球排出対象となるものが含まれている場合は、送信バッファ(図6の送信データバッファレジスタ635A)に賞球排出指令が格納されることで、遊技制御装置100から払出制御装置210に賞球排出指令が送信される。また、賞球排出指令は、賞球排出の対象となる入賞スイッチ(図4における、第1特図始動SW37A、第2特図始動SW34A、カウントSW36A、及び入賞口SW32A〜入賞口SW32N)ごとに定義される。なお、本発明の第1の実施形態では、賞球排出の対象となる入賞スイッチが16個備えられている。   Further, in the first embodiment of the present invention, when a switch for which the rising edge information shown in the timing chart of FIG. 34 is turned on includes a target for prize ball discharge, a transmission buffer (FIG. The prize ball discharge command is transmitted from the game control device 100 to the payout control device 210 by storing the prize ball discharge command in the transmission data buffer register 635A). Further, the prize ball discharge command is issued for each winning switch (first special figure start SW 37A, second special figure start SW 34A, count SW 36A, and prize opening SW32A to prize opening SW32N in FIG. 4) that is the target of the prize ball discharge. Defined. Note that, in the first embodiment of the present invention, 16 winning switches that are the target of prize ball discharge are provided.

このとき、1回のタイマ割込周期内での送信で、送信バッファ内に格納されたすべての賞球排出指令が送信されないと、次回のタイマ割込発生時に、賞球排出対象のスイッチの立上り情報がオンとなって新たに発生した賞球排出指令を、送信バッファに取り込めないおそれがある。これを防止するには、新たに賞球排出指令が発生する度に、送信バッファに空きがあるか否かを確認して、空きがなければ次回送信時まで賞球排出指令を保持していなければならず、送信できない賞球排出指令を保持するための記憶領域(例えば、前述したSW制御領域の立ち上がり情報を一時的に退避させる領域など)を必要としてしまう。また、送信バッファに格納できなかった賞球排出指令を退避させる処理も必要となってしまう。   At this time, if all the prize ball discharge commands stored in the transmission buffer are not transmitted in one transmission within the timer interruption period, the rise of the switch for prize ball discharge will occur at the next timer interruption. There is a possibility that the prize ball discharge command newly generated when the information is turned on cannot be taken into the transmission buffer. To prevent this, every time a new prize ball discharge command is issued, it is checked whether or not there is a vacancy in the transmission buffer. If there is no vacancy, the prize ball discharge command must be held until the next transmission. In other words, a storage area for holding a prize ball discharge command that cannot be transmitted (for example, an area for temporarily saving the rising information of the SW control area described above) is required. In addition, it is necessary to save the prize ball discharge command that could not be stored in the transmission buffer.

例えば、賞球排出対象のスイッチが5個であり、賞球排出指令のサイズが2バイトであるならば、払出制御装置210に指令を送信するためのバッファ(送信データレジスタ635)に格納できるデータの最大バイト数を10バイトとしておけば、同一タイマ割込周期内で賞球排出対象の全てのスイッチが同時にオンしたとしても、全ての賞球排出指令をバッファに取り込むことができる。しかしながら、賞球排出対象のスイッチが5個を超えた場合には、バッファにはより多くの容量を必要とすることになる。   For example, if the number of prize ball discharge target switches is five and the size of the prize ball discharge command is 2 bytes, data that can be stored in a buffer (transmission data register 635) for transmitting the command to the payout control device 210. If the maximum number of bytes is set to 10 bytes, even if all the switches for discharging the prize balls are simultaneously turned on within the same timer interruption period, all the prize ball discharge commands can be taken into the buffer. However, if the number of prize ball discharge target switches exceeds five, the buffer needs more capacity.

本発明の第1の実施形態では、送信バッファの容量を32バイトに設定しているので、賞球排出対象のスイッチが16個以下であれば、1回の割り込み発生時にすべての賞球排出指令を遊技制御装置100から払出制御装置210に送信できるように構成されている。したがって、送信されなかった賞球排出指令を保持するための記憶領域を必要とせず、また、送信されていない賞球排出指令を退避させる処理も不要となるため、必要な記憶容量を削減し、遊技制御装置100の制御プログラムを簡略化することができる。   In the first embodiment of the present invention, since the capacity of the transmission buffer is set to 32 bytes, if there are 16 or less prize ball discharge target switches, all prize ball discharge commands are issued when one interruption occurs. Can be transmitted from the game control device 100 to the payout control device 210. Therefore, it does not require a storage area for holding a prize ball discharge command that has not been transmitted, and also eliminates the need to save a prize ball discharge command that has not been transmitted. The control program of the game control device 100 can be simplified.

図35は、本発明の第1の実施形態の遊技制御装置100から演出制御装置150に送信される演出制御コマンドの一例を示す図である。   FIG. 35 is a diagram illustrating an example of the effect control command transmitted from the game control device 100 to the effect control device 150 according to the first embodiment of this invention.

演出制御装置150に送信されるコマンドは、初期化コマンドと通常時のコマンドである演出コマンドとがあり、これらのモード部及びアクション部によって構成される共通のフォーマットで送信される。   The commands transmitted to the effect control device 150 include an initialization command and an effect command that is a normal command, and are transmitted in a common format constituted by these mode part and action part.

まず、初期化コマンドについて説明する。   First, the initialization command will be described.

初期化コマンドには、RAM104のすべての領域が初期化されたか否かを示す電源投入コマンドと、遊技機1のシリーズを特定するためのシリーズ機特定コマンドとが含まれる。また、直前の電源遮断時における遊技機1の遊技状態(低確率状態、高確率状態、入賞抑制状態、入賞促進状態)を通知するコマンドや直前の電源遮断時における特別図柄入賞記憶の数を通知するコマンドも初期化コマンドに含まれる。   The initialization command includes a power-on command indicating whether or not all areas of the RAM 104 have been initialized, and a series machine specifying command for specifying the series of the gaming machine 1. In addition, a command for notifying the gaming state (low probability state, high probability state, winning suppression state, winning promotion state) of the gaming machine 1 at the time of the previous power shutdown or the number of special symbol winning memories at the time of the previous power shutdown is notified. The command to be included is included in the initialization command.

図35に示すように、RAM104のすべての領域が初期化されたことを示す電源投入コマンドAのモード部は「80H」であり、アクション部は「01H」である。RAM104のすべての領域が初期化されたこととは、図25に示すステップ2510の処理が実行されたことである。   As shown in FIG. 35, the mode part of the power-on command A indicating that all areas of the RAM 104 have been initialized is “80H”, and the action part is “01H”. That all areas of the RAM 104 have been initialized means that the processing of step 2510 shown in FIG. 25 has been executed.

一方、RAM104のすべての領域が初期化されていないこと、つまり、RAM104の一部の領域が初期化されたことを示す電源投入コマンドBのモード部は「80H」であり、アクション部は「02H」である。RAM104のすべての領域が初期化されていないこと、つまり、RAM104の一部の領域が初期化されたこととは、図25に示すステップ2516の処理が実行されたことである。   On the other hand, the mode part of the power-on command B indicating that all areas of the RAM 104 are not initialized, that is, a part of the area of the RAM 104 has been initialized is “80H”, and the action part is “02H”. It is. That all the areas of the RAM 104 have not been initialized, that is, that a part of the area of the RAM 104 has been initialized means that the processing of step 2516 shown in FIG. 25 has been executed.

したがって、図25に示すステップ2510の処理が実行された場合には、ステップ2511の処理で、モード部が「80H」でアクション部が「01H」である電源投入コマンドAが送信される。図25に示すステップ2516の処理が実行された場合には、ステップ2511の処理で、モード部が「80H」でアクション部が「02H」である電源投入コマンドAが送信される。   Therefore, when the process of step 2510 shown in FIG. 25 is executed, a power-on command A having a mode part “80H” and an action part “01H” is transmitted in step 2511. When the process of step 2516 shown in FIG. 25 is executed, a power-on command A having a mode part “80H” and an action part “02H” is transmitted in step 2511.

演出制御装置150は、RAM104のすべての領域が初期化されたことを示す電源投入コマンドAを受信すると、RAM104のすべての領域が初期化されたことを表示装置8に表示する。   When receiving the power-on command A indicating that all areas of the RAM 104 have been initialized, the effect control apparatus 150 displays on the display device 8 that all areas of the RAM 104 have been initialized.

また、演出制御装置150は、RAM104のすべての領域が初期化されていないことを示す電源投入コマンドBを受信すると、RAM104のすべての領域が初期化されていないことを表示装置8に表示する。   Further, when receiving the power-on command B indicating that not all areas of the RAM 104 have been initialized, the effect control apparatus 150 displays on the display device 8 that all areas of the RAM 104 have not been initialized.

また、シリーズ機特定コマンドのモード部は「81H」であり、アクション部は「01H〜7FH」である。アクション部は、遊技機1のシリーズに対応する「01H」〜「7FH」のいずれかの値である。なお、遊技機1のシリーズに対応する値は、ROM103に設定されている。   Also, the mode part of the series machine specific command is “81H”, and the action part is “01H to 7FH”. The action part is one of values “01H” to “7FH” corresponding to the series of gaming machines 1. Note that values corresponding to the series of gaming machines 1 are set in the ROM 103.

また、遊技状態(低確率状態、高確率状態、入賞抑制状態、入賞促進状態)を通知するコマンドは、モード部が「90H」となっており、アクション部には、直前の電源遮断時における遊技状態別に対応付けられた値が格納される。例えば、低確率状態であればアクション部は「01H」であり、高確率状態であればアクション部は「02H」となる。演出制御装置150は、遊技状態を通知するコマンドを受信すると、遊技状態を報知するための演出を行う。   Further, the command for notifying the game state (low probability state, high probability state, winning suppression state, winning promotion state) has a mode portion of “90H”, and the action portion has a game at the time of the previous power cut-off. A value associated with each state is stored. For example, the action part is “01H” in the low probability state, and the action part is “02H” in the high probability state. When receiving the command for notifying the game state, the effect control device 150 performs an effect for notifying the game state.

また、特別図柄入賞記憶の数を通知する保留情報コマンドは、モード部が「A0H」となっており、アクション部は「00H〜04H」のいずれかの値である。アクション部は、直前の電源遮断時における始動記憶数(0〜4)に対応した値である。演出制御装置150は、保留情報コマンドを受信すると、表示装置8の記憶表示部(図83で後述する第1記憶表示部8320又は第2記憶表示部8330)部に、受信した保留情報コマンドに対応する始動記憶数を表示する。   Further, in the hold information command for notifying the number of special symbol winning memories, the mode portion is “A0H” and the action portion is any value from “00H to 04H”. The action part is a value corresponding to the starting memory number (0 to 4) at the time of the previous power shutdown. When receiving the hold information command, the effect control device 150 responds to the received hold information command in the storage display unit (first storage display unit 8320 or second storage display unit 8330 described later in FIG. 83) of the display device 8. The starting memory number to be displayed is displayed.

これらのシリーズ機特定信号、遊技状態を通知するコマンド、及び特別図柄入賞記憶の数を通知するコマンドの出力時期は、電源投入時であり、図25に示すステップ2511の処理で送信される。なお、これらの各信号と電源投入コマンドの出力順序は、いずれが先であっても後であってもよい。さらに、電源投入時に、遊技制御装置100から演出制御装置150へ通知すべき情報が他にもあれば、初期化コマンドとして一緒に送信してもよい。   The output timing of these series machine identification signals, the command for notifying the gaming state, and the command for notifying the number of special symbol winning memories is when the power is turned on, and is transmitted in the process of step 2511 shown in FIG. Note that the output order of these signals and the power-on command may be either first or second. Furthermore, when there is other information to be notified from the game control device 100 to the effect control device 150 when the power is turned on, it may be transmitted together as an initialization command.

次に、各演出コマンドについて説明する。   Next, each effect command will be described.

まず、表示装置8で実行される変動表示ゲームにおいて、始動口に遊技球が入賞したタイミングで出力され、図柄の変動開始前に実行される演出を指示する変動前演出指定コマンドについて説明する。   First, in the variable display game executed on the display device 8, a pre-change effect designation command that instructs an effect that is output at the timing when a game ball is won at the start opening and is executed before the start of symbol change will be described.

変動前演出指定コマンドのモード部は「A1H〜AFH」であり、アクション部は「01H〜7FH」のいずれかの値である。モード部は前半変動パターン番号に対応し、アクション部は後半変動パターン番号に対応する。   The mode part of the pre-change effect designation command is “A1H to AFH”, and the action part is any value of “01H to 7FH”. The mode portion corresponds to the first half variation pattern number, and the action portion corresponds to the second half variation pattern number.

演出制御装置150は、変動前演出指定コマンドを受信すると、表示装置8において識別図柄の変動開始前の演出、例えば、先読み予告としてキャラクタが登場するなどの演出が実行され、その後、図柄の変動表示を開始し、変動表示ゲームを開始する。   Upon receiving the pre-change effect designation command, the effect control device 150 executes an effect before the start of change of the identification symbol on the display device 8, for example, an effect such as the appearance of a character as a pre-reading notice, and then the change display of the symbol To start the variable display game.

表示装置8で実行される変動表示ゲームにおいて図柄の変動パターンを指示する飾り図柄変動パターン指定コマンドについて説明する。   A decorative symbol variation pattern designation command for designating a symbol variation pattern in the variation display game executed on the display device 8 will be described.

飾り図柄変動パターン指定コマンドのモード部は「B1H〜BFH」であり、アクション部は「01H〜7FH」のいずれかの値である。モード部は前半変動パターン番号に対応し、アクション部は後半変動パターン番号に対応する。   The mode part of the decorative symbol variation pattern designation command is “B1H to BFH”, and the action part is any value of “01H to 7FH”. The mode portion corresponds to the first half variation pattern number, and the action portion corresponds to the second half variation pattern number.

演出制御装置150は、飾り図柄変動パターン指定コマンドを受信すると、表示装置8において図柄の変動表示を開始し、変動表示ゲームを開始する。   When receiving the decorative symbol variation pattern designation command, the effect control device 150 starts symbol variation display on the display device 8 and starts a variation display game.

飾り図柄変動パターン指定コマンドは、表示装置8において変動表示ゲームの図柄の変動表示を開始するタイミングで送信する。具体的には、表示装置8で変動表示ゲームが終了した場合に始動記憶がある場合、又は表示装置8で変動表示ゲームが実行されていない場合に始動入賞口に遊技球が入賞した場合である。   The decorative symbol variation pattern designation command is transmitted at the timing at which the variation display game symbol variation display is started on the display device 8. Specifically, it is a case where there is a start memory when the variable display game is finished on the display device 8, or a case where a game ball is won at the start winning opening when the variable display game is not executed on the display device 8. .

次に、表示装置8における変動表示ゲームにおける停止図柄を指定する停止図柄指定コマンドについて説明する。   Next, a stop symbol designation command for designating a stop symbol in the variable display game on the display device 8 will be described.

停止図柄指定コマンドのモード部は「B0H」であり、アクション部は「01H〜7FH」のいずれかの値である。アクション部は、停止図柄に対応する値である。   The mode part of the stop symbol designation command is “B0H”, and the action part is one of the values “01H to 7FH”. The action part is a value corresponding to the stop symbol.

演出制御装置150は、停止図柄指定コマンドを受信すると、受信した停止図柄指定コマンドに基づいて、表示装置8における変動表示ゲームの停止図柄を特定する。   When receiving the stop symbol designation command, the effect control device 150 specifies the stop symbol of the variable display game on the display device 8 based on the received stop symbol designation command.

停止図柄指定コマンドは、表示装置8の変動表示ゲームの変動表示を開始するときに送信される。   The stop symbol designation command is transmitted when the variation display of the variation display game on the display device 8 is started.

続いて、変動時間が経過し、変動表示中の図柄を停止するための図柄変動停止コマンドについて説明する。   Next, a symbol variation stop command for stopping the symbol whose variation time has elapsed and displaying the variation is described.

図柄変動停止コマンドのモード部は「C0H」であり、アクション部は「01H」である。   The mode part of the symbol variation stop command is “C0H”, and the action part is “01H”.

演出制御装置150は、図柄変動停止コマンドを受信すると、表示装置8で変動表示している図柄を停止させる。   When receiving the symbol variation stop command, the effect control device 150 stops the symbol that is variably displayed on the display device 8.

図柄変動停止コマンドは、変動時間が経過したタイミングで送信される。   The symbol fluctuation stop command is transmitted when the fluctuation time has elapsed.

続いて、特別遊技状態発生中に送信される大当り関連コマンドについて説明する。   Next, a jackpot related command transmitted during the occurrence of a special gaming state will be described.

大当り関連演出指令信号のモード部は「D0H」であり、アクション部は「01H〜7FH」のいずれかの値である。アクション部は、特別遊技状態の進行状況に応じた値である。   The mode portion of the big hit related effect command signal is “D0H”, and the action portion is any value of “01H to 7FH”. The action part is a value corresponding to the progress status of the special game state.

演出制御装置150は、大当り関連コマンドを受信すると、受信した大当り関連コマンドに基づいて、特別遊技状態に関連する演出を行う。   When receiving the jackpot related command, the performance control device 150 performs an effect related to the special gaming state based on the received jackpot related command.

遊技機1においてエラーが発生した場合にエラーの発生を報知するためのエラー関連コマンドについて説明する。   An error-related command for notifying the occurrence of an error when an error occurs in the gaming machine 1 will be described.

エラー関連コマンドのモード部は「70H」であり、アクション部は「01H〜7FH」のいずれかの値である。アクション部は発生したエラーに対応した値である。   The mode part of the error-related command is “70H”, and the action part is one of values “01H to 7FH”. The action part is a value corresponding to the error that has occurred.

演出制御装置150は、エラー関連コマンドを受信すると、エラー関連コマンドに基づいて、発生したエラーを報知するための演出を行う。   When receiving the error-related command, the effect control device 150 performs an effect for notifying the error that has occurred based on the error-related command.

エラー関連コマンドは、遊技制御装置100がエラーを検出したタイミングで送信される。   The error-related command is transmitted when the game control device 100 detects an error.

なお、前述の遊技状態を通知するコマンド(モード部=「90H」)は、電源投入時だけでなく、通常の遊技中において遊技状態が変化した場合にも送信される。例えば、遊技中において低確率状態が発生したときに、モード部=「90H」かつアクション部=「01H」のコマンドが送信され、遊技中において、高確率状態が発生したときに、モード部=「90H」かつアクション部=「02H」のコマンドが送信される。   Note that the above-described command (mode portion = “90H”) for notifying the gaming state is transmitted not only when the power is turned on, but also when the gaming state changes during normal gaming. For example, when a low probability state occurs during a game, a command of mode portion = “90H” and action portion = “01H” is transmitted, and when a high probability state occurs during a game, the mode portion = “ 90H "and action part =" 02H "are transmitted.

また、前述の特別図柄入賞記憶の数を通知するコマンド(モード部=「A0H」)は、電源投入時だけでなく、通常の遊技中において始動入賞口に遊技球が入賞して始動記憶数が増加した場合にも送信される。例えば、遊技中において始動入賞口に遊技球が入賞して始動記憶数が「3」に変化したときには、モード部=「A0H」かつアクション部=「03H」の信号が送信される。   In addition, the command (mode part = “A0H”) for notifying the number of special symbol winning memories mentioned above is not only when the power is turned on, but when the game ball is won at the starting winning opening during normal games, Sent when the number increases. For example, when the game ball is won at the start winning opening during the game and the start memory number is changed to “3”, a signal of mode portion = “A0H” and action portion = “03H” is transmitted.

したがって、これらの遊技状態を通知する信号、及び特別図柄入賞記憶の数を通知する信号は、演出コマンドとしても機能することになる。   Therefore, the signal for notifying these gaming states and the signal for notifying the number of special symbol winning memories also function as effect commands.

なお、前述したように、これらの信号のうち、変動前演出指定コマンドは、他の信号よりも優先して演出制御装置150へのデータ送信を行うためのバッファ(送信データレジスタ635)に取り込まれる。これにより、遊技制御装置100における変動表示ゲームの進行状態と、演出制御装置150における変動表示ゲームの進行状態との時間差を常に固定させる。   As described above, among these signals, the pre-fluctuation effect designation command is fetched into a buffer (transmission data register 635) for transmitting data to the effect control device 150 with priority over other signals. . Thus, the time difference between the progress state of the variable display game in the game control device 100 and the progress state of the variable display game in the effect control device 150 is always fixed.

図36は、本発明の第1の実施形態の遊技制御装置100から演出制御装置150に送信される送信データの構成を示す説明図である。図36(a)は送信データの概略構成を示し、図36(b)は送信データの詳細構成を示している。なお、遊技制御装置100から払出制御装置210に送信される送信データの構成も同様である。   FIG. 36 is an explanatory diagram illustrating a configuration of transmission data transmitted from the game control device 100 to the effect control device 150 according to the first embodiment of this invention. FIG. 36A shows a schematic configuration of transmission data, and FIG. 36B shows a detailed configuration of transmission data. The configuration of transmission data transmitted from the game control device 100 to the payout control device 210 is the same.

図36(a)に示すように、1組の制御指令データは、コマンドの分類を識別するためのモードデータDCmと、実行されるコマンドの内容(機能)を示すアクションデータDCaで構成される。これらのモードデータDCm及びアクションデータDCaは、図33の賞球排出指令のMODE及びACTION、図35の演出制御コマンドのMODE及びACTIONに各々対応する。   As shown in FIG. 36 (a), one set of control command data is composed of mode data DCm for identifying the command classification and action data DCa indicating the content (function) of the command to be executed. These mode data DCm and action data DCa correspond to the prize ball discharge command MODE and ACTION shown in FIG. 33 and the effect control command MODE and ACTION shown in FIG. 35, respectively.

また、本実施形態では、送信バッファに設定されたすべての制御指令データ(最大32バイト)を1回の割込周期ですべて送信可能となるようにデータの送信速度が設定されている。したがって、遊技制御装置100の制御プログラムを複雑化させずに、演出制御装置150への指令送信を一時的に中断するなどの処理を必要とせず、また、指令送信の遅れなどによって、遊技制御装置100と演出制御装置150の各制御の進行状態がずれないようにすることが可能となる。   In this embodiment, the data transmission speed is set so that all the control command data (maximum 32 bytes) set in the transmission buffer can be transmitted in one interrupt cycle. Therefore, without complicating the control program of the game control device 100, processing such as temporarily interrupting command transmission to the effect control device 150 is not required, and the game control device may be delayed due to a delay in command transmission. It is possible to prevent the progress of each control of 100 and the effect control device 150 from deviating.

また、図36(b)に示すように、1組の制御指令データを構成するモードデータDCm及びアクションデータDCaは、8ビットのコマンドデータに、1フレームの開始であることを示すスタートビット、1ビットのパリティデータ、1フレームの終わりであることを示すストップビットが付加され、1フレームを処理単位として送信される。したがって、この1フレームの時間が、1バイトあたりのデータ送信時間(送信バッファに格納された制御指令データを1バイト送信するために必要な時間)となる。   Further, as shown in FIG. 36 (b), the mode data DCm and action data DCa constituting one set of control command data are 8 bits of command data, a start bit indicating the start of one frame, Bit parity data, a stop bit indicating the end of one frame is added, and one frame is transmitted as a processing unit. Therefore, the time of one frame is the data transmission time per byte (the time necessary for transmitting one byte of control command data stored in the transmission buffer).

すなわち、本実施形態では、非同期方式(調歩同期式)によるシリアル通信を利用して制御指令データを送信する。   That is, in this embodiment, the control command data is transmitted using serial communication using an asynchronous method (start-stop synchronization method).

演出制御装置150は、受信した1組の制御指令データ(モードデータDCm+アクションデータDCa)を解析し、表示装置8、音回路156、装飾制御装置等を制御するための制御データを生成する。   The effect control device 150 analyzes the received set of control command data (mode data DCm + action data DCa), and generates control data for controlling the display device 8, the sound circuit 156, the decoration control device, and the like.

本実施形態では、1回の割込処理で生成された一連の制御指令データを送信するときに、全ての制御指令データを、タイマ割込周期内で一時に送信するようにしている。すなわち、一連の制御指令データを全て送信データレジスタ635に格納した後で、シリアル送信回路615を送信許可状態として(送信制御レジスタ632の送信イネーブルを送信許可に設定)送信を開始する。   In this embodiment, when a series of control command data generated by one interrupt process is transmitted, all the control command data is transmitted at a time within a timer interrupt cycle. That is, after storing a series of control command data in the transmission data register 635, the serial transmission circuit 615 is set in a transmission-permitted state (transmission enable in the transmission control register 632 is set to transmission permission), and transmission is started.

従属制御装置としての演出制御装置150は、連続して受信したデータを、一連の制御指令データとして認識する。そして、この一連の制御指令データを処理単位として演出装置(例えば、表示装置8)を制御する。   The effect control device 150 as a subordinate control device recognizes continuously received data as a series of control command data. Then, the rendering device (for example, the display device 8) is controlled using this series of control command data as a processing unit.

これにより、演出制御装置150は、タイマ割込処理毎に生成された一連の制御指令データを特定でき、1回のタイマ割込処理で生成された一連の制御指令データを処理単位として演出装置を制御するので、一連の制御指令データに基づく演出を連続して(タイムラグなく)実行することができる。   Thereby, the production control device 150 can specify a series of control command data generated for each timer interrupt process, and the production control apparatus 150 can use the series of control command data generated by one timer interruption process as a processing unit. Since it controls, the production based on a series of control command data can be executed continuously (without time lag).

次に、図37を参照して、図29のタイマ割込処理における特図ゲーム処理(2918)の詳細を説明する。図37は、本発明の第1の実施形態の特図ゲーム処理の手順を示すフローチャートである。   Next, with reference to FIG. 37, the details of the special game process (2918) in the timer interruption process of FIG. 29 will be described. FIG. 37 is a flowchart showing the procedure of the special figure game process according to the first embodiment of the present invention.

遊技制御装置100は、第1始動入賞口37(図3参照)及び普通変動入賞装置33(図3参照)の第2始動入賞口への遊技球の入賞を監視し、入賞に基づき各種乱数値の記憶を行う始動口SW監視処理を実行する(3700)。なお、始動口SW監視処理についての詳細は、図39にて後述する。   The game control device 100 monitors the winning of the game ball to the first start winning port 37 (see FIG. 3) and the second starting winning port of the normal variation winning device 33 (see FIG. 3), and various random number values based on the winning. Is executed (3700). The details of the start port SW monitoring process will be described later with reference to FIG.

遊技制御装置100は、カウントSW36A(図3参照)からの入力を監視するカウントスイッチ監視処理を行う(3701)。   The game control apparatus 100 performs a count switch monitoring process for monitoring an input from the count SW 36A (see FIG. 3) (3701).

遊技制御装置100は、ステップ3706〜3712の各処理で設定される特図ゲーム処理タイマが0であるか否かを判定する(3702)。   The game control apparatus 100 determines whether or not the special figure game process timer set in each process of steps 3706 to 3712 is 0 (3702).

特図ゲーム処理タイマが0でないと判定された場合には(3702の結果が「N」)、遊技制御装置100は、特図ゲーム処理タイマを−1更新し(3703)、更新された特図ゲーム処理タイマがタイムアップして0になったか否かを判定する(3704)。特図ゲーム処理タイマがタイムアップしていない場合には(3704の結果が「N」)、遊技制御装置100はステップ3714の処理を実行する。   If it is determined that the special figure game processing timer is not 0 (the result of 3702 is “N”), the game control device 100 updates the special figure game processing timer by −1 (3703), and the updated special figure is displayed. It is determined whether or not the game processing timer has timed up to 0 (3704). If the special game process timer has not expired (the result of 3704 is “N”), the game control apparatus 100 executes the process of step 3714.

一方、特図ゲーム処理タイマが0であると判定された場合には(3702の結果が「Y」)、又は特図ゲーム処理タイマがタイムアップしたと判定された場合には(3704の結果が「Y」)、遊技制御装置100は、ゲーム処理番号を取得し、取得したゲーム処理番号に基づいて実行する処理を選択するゲーム分岐処理を行う(3705)。   On the other hand, when it is determined that the special figure game process timer is 0 (the result of 3702 is “Y”), or when it is determined that the special figure game process timer is up (the result of 3704 is “Y”), the game control apparatus 100 acquires a game process number, and performs a game branch process for selecting a process to be executed based on the acquired game process number (3705).

ゲーム処理番号が0である場合には、遊技制御装置100は、特図変動表示ゲームの変動開始を監視し、特図変動表示ゲームの変動開始の設定や演出の設定、特図変動中処理を行うために必要な情報の設定を行う特図普段処理を実行する(3706)。特図普段処理では、特図変動表示ゲームの変動に係る情報の設定を行うようになっており、始動記憶に基づく特図変動表示ゲームの実行に伴って始動記憶を1デクリメントする処理や特図変動表示ゲームにおける変動時間の設定処理等を行う。なお、特図普段処理についての詳細は、図45にて後述する。   When the game process number is 0, the game control device 100 monitors the start of fluctuation of the special figure fluctuation display game, and performs the setting of the fluctuation start of the special figure fluctuation display game, the setting of the effect, and the special figure fluctuation processing. A special figure routine process for setting information necessary for the execution is executed (3706). In the special figure routine process, information related to the fluctuation of the special figure fluctuation display game is set, and a process or special figure for decrementing the start memory by one in accordance with the execution of the special figure fluctuation display game based on the start memory. A process for setting a change time in a change display game is performed. Details of the special figure routine processing will be described later with reference to FIG.

ゲーム処理番号が1である場合には、遊技制御装置100は、特図表示中処理(3708)を行うために必要な情報(特図変動表示ゲームにおける結果の停止表示時間等)の設定を行う特図変動中処理を実行する(3707)。なお、特図変動中処理についての詳細は、図54にて後述する。   When the game process number is 1, the game control apparatus 100 sets information necessary for performing the special figure display processing (3708) (such as a stop display time of the result in the special figure variable display game). The special figure changing process is executed (3707). Details of the special figure changing process will be described later with reference to FIG.

ゲーム処理番号が2である場合には、遊技制御装置100は、特図表示中処理を実行する(3708)。特図表示中処理では、特図変動表示ゲームの結果が大当りである場合にファンファーレ・インターバル処理(3709)を行うために必要な情報が設定され、特図変動表示ゲームの結果がはずれである場合には特図普段処理(3706)を行うために必要な情報が設定される。なお、特図表示中処理についての詳細は、図55にて後述する。   When the game process number is 2, the game control apparatus 100 executes a special figure display process (3708). In the special figure display processing, when the result of the special figure fluctuation display game is a big hit, information necessary for performing the fanfare interval process (3709) is set, and the result of the special figure fluctuation display game is out of sync Is set with information necessary for performing the special figure routine processing (3706). Details of the special figure display processing will be described later with reference to FIG.

ゲーム処理番号が3である場合には、遊技制御装置100は、特別遊技状態における大入賞口の開放回数の更新等の処理を行うファンファーレ・インターバル処理を実行する(3709)。なお、この処理において、ラウンド開始コマンドが設定される。   When the game process number is 3, the game control apparatus 100 executes a fanfare interval process for performing a process such as updating the number of times the special winning opening is opened in the special game state (3709). In this process, a round start command is set.

ゲーム処理番号が4である場合には、遊技制御装置100は大入賞口開放中処理を行う(3710)。大入賞口開放中処理では、特別遊技状態が最終ラウンドでなければファンファーレ・インターバル処理(3709)を行うために必要な情報(インターバルコマンドを含む)が設定され、特別遊技状態が最終ラウンドであれば特別遊技状態の終了画面のコマンド(大当り終了コマンド)の設定や大入賞口残存球処理(3711)を行うために必要な情報が設定される。   When the game process number is 4, the game control apparatus 100 performs a special winning opening opening process (3710). In the special prize opening opening process, if the special game state is not the final round, information (including the interval command) necessary for performing the fanfare interval process (3709) is set, and if the special game state is the final round Information necessary for setting a special game state end screen command (a jackpot end command) and performing a winning ball remaining ball process (3711) is set.

ゲーム処理番号が5である場合には、遊技制御装置100は大入賞口残存球処理を行う(3711)。大入賞口残存球処理では、特別遊技状態が最終ラウンドである場合に、大入賞口を閉鎖した後に大入賞口内に残存する全ての遊技球がカウントSW36Aで検出されるまでの時間が設定される。   If the game process number is 5, the game control device 100 performs a big winning opening remaining ball process (3711). In the special winning opening remaining ball processing, when the special game state is the final round, a time is set until all the gaming balls remaining in the special winning opening are detected by the count SW 36A after the special winning opening is closed. .

ゲーム処理番号が6である場合には、遊技制御装置100は大当り終了処理を実行する(3712)。大当り終了処理では、特別遊技状態を終了する処理が行われ、特図普段処理(3706)を行うために必要な情報が設定される。   If the game process number is 6, the game control device 100 executes a jackpot end process (3712). In the big hit ending process, a process for ending the special gaming state is performed, and information necessary for performing the special figure routine process (3706) is set.

ゲーム処理番号に基づくステップ3706〜3712の処理を行った後、遊技制御装置100は、設定された各種データをセーブするテーブルデータセーブ処理を実行する(3713)。その後、遊技制御装置100は、特図1変動表示ゲームのゲーム処理タイマの更新等を行う特図1変動制御処理を実行し(3714)、特図2変動表示ゲームのゲーム処理タイマの更新等を行う特図2変動制御処理を実行し(3715)、その後、特図ゲーム処理を終了する。   After performing the processing of steps 3706 to 3712 based on the game processing number, the game control device 100 executes table data saving processing for saving various set data (3713). Thereafter, the game control device 100 executes a special figure 1 fluctuation control process for updating the game process timer of the special figure 1 variable display game (3714), and updates the game process timer of the special figure 2 variable display game. The special figure 2 variation control process to be performed is executed (3715), and then the special figure game process is terminated.

図38は、本発明の第1の実施形態の特図ゲーム処理におけるゲーム処理番号に基づいた分岐の処理を説明する図である。この分岐の処理は、図37のステップ3705で実行され、行3801〜行3807の命令が順に実行されることになる。ここでは、図12で前述した各種レジスタ、図21及び図22で前述したアセンブリ言語を用いて説明を行うことにする。   FIG. 38 is a diagram illustrating a branching process based on the game process number in the special figure game process according to the first embodiment of the present invention. This branching process is executed in step 3705 of FIG. 37, and the instructions in line 3801 to line 3807 are executed in order. Here, description will be made using the various registers described above with reference to FIG. 12 and the assembly language described with reference to FIGS. 21 and 22.

なお、図38における列3821は、遊技制御プログラムが格納されているユーザプログラムROM103のアドレスを示し、列3822は、当該アドレスに格納されているデータを示している。例えば、ユーザプログラムROM103の「4800H」のアドレスには「F5H」のデータが格納され、続く「4801H」のアドレスには「0CH」のデータが格納され、続く「4802H」のアドレスには「48H」のデータが格納され、続く「4803H」のアドレスには「3AH」のデータが格納されている。以降の「4804H」〜「480BH」のアドレスには、「10H」、「28H」、「87H」、‥‥、「09H」、「E9H」のデータが格納されている。   Note that a column 3821 in FIG. 38 indicates an address of the user program ROM 103 in which the game control program is stored, and a column 3822 indicates data stored in the address. For example, “F5H” data is stored in the “4800H” address of the user program ROM 103, “0CH” data is stored in the subsequent “4801H” address, and “48H” is stored in the subsequent “4802H” address. The data “3AH” is stored at the subsequent address “4803H”. In subsequent addresses “4804H” to “480BH”, data “10H”, “28H”, “87H”,..., “09H”, “E9H” are stored.

さらに、「480CH」と「480DH」のアドレスには「20H」と「48H」の値が格納されている。この2バイトのデータを16ビットのデータ(ただし、下位アドレス側と上位アドレス側を入れ替える)として表現したデータ「4820H」は、図37のステップ3706で実行される特図普段処理の先頭アドレスに相当する。同様に、「480EH」と「480FH」のアドレスに格納されるデータを16ビットで表現した「4840H」は、図37のステップ3707で実行される特図変動中処理の先頭アドレスに相当する。   Furthermore, the values “20H” and “48H” are stored in the addresses “480CH” and “480DH”. The data “4820H” expressing this 2-byte data as 16-bit data (however, the lower address side and the upper address side are interchanged) corresponds to the head address of the special figure routine processing executed in step 3706 of FIG. To do. Similarly, “4840H” in which the data stored in the addresses “480EH” and “480FH” is expressed in 16 bits corresponds to the start address of the special figure changing process executed in step 3707 of FIG.

以下、「4810H」以降に格納される16ビットの各データ「4860H」、「4880H」、「48A0H」、‥‥は、図37のステップ3708、3709、3710、‥‥で実行される、特図表示中処理、ファンファーレ・インターバル処理、大入賞口開放処理、‥‥のそれぞれの先頭アドレスに相当する。このようにして、アドレス値480CH〜4819Hの領域では、各処理の先頭アドレスが処理番号順に格納されることにより、所定の分岐アドレステーブルを構成している。   Hereinafter, the 16-bit data “4860H”, “4880H”, “48A0H”, etc. stored after “4810H” are executed in steps 3708, 3709, 3710,... Of FIG. This corresponds to the top address of each of the processing during display, fanfare interval processing, winning prize opening processing,. In this manner, in the area of the address values 480CH to 4819H, the start address of each process is stored in the order of the process number, thereby forming a predetermined branch address table.

行3801の命令は、HLレジスタ1212Aに、前述の分岐アドレステーブルの先頭となるアドレス値「480CH」をロードするものである。次に、行3802の命令が実行され、Aレジスタ1202Aにゲーム処理番号(図37の3705参照)がロードされる。次に、行3803の命令が実行され、Aレジスタ1202Aの値が2倍される。   The instruction in the line 3801 loads the address value “480CH” that is the head of the above-described branch address table into the HL register 1212A. Next, the instruction in line 3802 is executed, and the game processing number (see 3705 in FIG. 37) is loaded into the A register 1202A. Next, the instruction in line 3803 is executed, and the value of the A register 1202A is doubled.

次に、行3804によりAレジスタ1202Aの値がCレジスタ1205Aにロードされ、行3805によりBレジスタ1204Aに「0」の値がロードされることで、BCレジスタ1206AにAレジスタ1202Aの値が設定される。   Next, the value of the A register 1202A is loaded to the C register 1205A by the line 3804, and the value of “0” is loaded to the B register 1204A by the line 3805, so that the value of the A register 1202A is set to the BC register 1206A. The

次に、行3806によりHLレジスタ1212AにBCレジスタ1206Aの値が加算される。これにより、HLレジスタ1212Aには、ゲーム処理番号に対応する処理の分岐先のアドレスが設定される。最後に、行3807の「JP (HL)」命令を実行することで、HLレジスタ1212Aが示すアドレスに、処理を移行させる。   Next, in line 3806, the value of the BC register 1206A is added to the HL register 1212A. Thereby, the branch destination address of the process corresponding to the game process number is set in the HL register 1212A. Finally, by executing the “JP (HL)” instruction in line 3807, the processing is shifted to the address indicated by the HL register 1212A.

ここで、行3801〜行3807の各命令と、遊技制御プログラムが格納されているユーザプログラムROM103に記憶される列3722の各データとの関係について説明する。   Here, the relationship between each command in the rows 3801 to 3807 and each data in the column 3722 stored in the user program ROM 103 in which the game control program is stored will be described.

遊技制御プログラムを記述するアセンブリ言語の命令は、図21及び図22で前述したコードに変換されて、ユーザプログラムROM103に記憶されている。例えば、行3801の「LD HL,480CH」の命令は、「4800H」〜「4803H」のアドレスに配置される「F5H」、「0CH」「48H」の値に変換されて、ユーザプログラムROM103に記憶されている。行3802〜行3807の各命令も、対応するコードに変換されて、ユーザプログラムROM103の「4803H」〜「480BH」のアドレスに、順に記憶されている。   The assembly language instruction describing the game control program is converted into the code described above with reference to FIGS. 21 and 22 and stored in the user program ROM 103. For example, the instruction “LD HL, 480CH” in the row 3801 is converted into values “F5H”, “0CH”, “48H” arranged at addresses “4800H” to “4803H” and stored in the user program ROM 103. Has been. The instructions in rows 3802 to 3807 are also converted into corresponding codes and stored in order at addresses “4803H” to “480BH” of the user program ROM 103.

なお、行3808以降の記述は、特図普段処理、特図変動中処理、特図表示中処理、ファンファーレ・インターバル処理、大入賞口開放処理、‥‥の先頭アドレスの値をプログラム中に配置することを示しており、ユーザプログラムROM103の「480CH」以降のアドレスに、対応するアドレスデータが設定されることによって、前述の分岐アドレステーブルが構成されることになる。   In the description after line 3808, the special address routine process, special chart change process, special chart display process, fanfare interval process, big prize opening release process, etc. are arranged in the program. When the corresponding address data is set in the addresses after “480CH” in the user program ROM 103, the above-described branch address table is configured.

このように、HLレジスタに所定の分岐アドレステーブルの先頭アドレス(「480CH」)を設定し、処理番号(SEQNO)に応じてHLレジスタの値を更新することによって、処理番号に応じた処理を実行することができる。したがって、HLレジスタは、分岐アドレス設定レジスタとして機能する。   As described above, the start address (“480CH”) of a predetermined branch address table is set in the HL register, and the value corresponding to the process number is updated by updating the value of the HL register according to the process number (SEQNO). can do. Therefore, the HL register functions as a branch address setting register.

なお、「JP (HL)」以外に、特定のレジスタが示す値をアドレスと見なして分岐する命令が存在すれば、そのレジスタは分岐アドレス設定レジスタとして機能することになる。例えば、図21には図示していないが、IXレジスタ1231が示す値のアドレスに処理を分岐させる命令「JP (IX)」を用いていれば、IXレジスタ1231は分岐アドレス設定レジスタとして機能していることとなる。   In addition to “JP (HL)”, if there is an instruction to branch by regarding a value indicated by a specific register as an address, the register functions as a branch address setting register. For example, although not shown in FIG. 21, if the instruction “JP (IX)” for branching the process to the address indicated by the IX register 1231 is used, the IX register 1231 functions as a branch address setting register. Will be.

また、「JP (HL)」命令を用いなくても、HLレジスタが示す値をアドレスと見なして、そのアドレスに処理を分岐させるような方法は、他にもある。例えば、「PUSH HL」命令を実行して、一旦スタック領域に706にHLレジスタの値を格納し、直後に「RET」命令を実行すれば、スタック領域に706に格納してあったHLレジスタの値がプログラムカウンタ1234に格納される。その結果、HLレジスタが示す値のアドレスに処理を分岐させることができる。   Further, there is another method in which the value indicated by the HL register is regarded as an address and processing is branched to that address without using the “JP (HL)” instruction. For example, if the “PUSH HL” instruction is executed, the value of the HL register is temporarily stored in the stack area 706, and immediately after the “RET” instruction is executed, the HL register stored in the stack area 706 is stored. The value is stored in the program counter 1234. As a result, the process can be branched to the address of the value indicated by the HL register.

このような方法を用いるのであれば、HLレジスタ1212A以外のレジスタを分岐アドレス設定レジスタとして機能させることも可能である。例えば、DEレジスタ1209Aをスタック領域に706に格納した直後に「RET」命令を実行すれば、DEレジスタ1209Aが示す値のアドレスに分岐するので、この場合はDEレジスタ1209Aが分岐アドレス設定レジスタとして機能することになる。   If such a method is used, it is possible to cause a register other than the HL register 1212A to function as a branch address setting register. For example, if the “RET” instruction is executed immediately after the DE register 1209A is stored in the stack area 706, it branches to the address indicated by the DE register 1209A. In this case, the DE register 1209A functions as a branch address setting register. Will do.

なお、普図ゲーム処理についても同様に、ゲーム処理番号に基づいた分岐の処理が実行される。普図ゲーム処理における分岐の処理は、図60にて後述するステップ6008に対応する。   Similarly, the branch process based on the game process number is executed for the usual game process. The branching process in the normal game process corresponds to step 6008 described later with reference to FIG.

次に、図39を参照して、図37の特図ゲーム処理における始動口SW監視処理(3700)の詳細を説明する。図39は、本発明の第1の実施形態の始動口SW監視処理の手順を示すフローチャートである。   Next, the details of the start port SW monitoring process (3700) in the special game process of FIG. 37 will be described with reference to FIG. FIG. 39 is a flowchart illustrating the procedure of the start port SW monitoring process according to the first embodiment of this invention.

始動口SW監視処理では、遊技制御装置100は、まず第1始動入賞があるか否かの判定を行う(3900)。第1始動入賞口37への入賞があるか否かは、第1始動入賞口37への入賞があった場合に第1特図始動SW37Aから出力される遊技球の検出信号の有無によって判定される。第1始動入賞がない場合には(3900の結果が「N」)、遊技制御装置100はステップ3901の処理を実行する。これに対して、第1始動入賞がある場合には(3900の結果が「Y」)、遊技制御装置100は特図始動口SW共通処理(3904)を実行し、始動口SW監視処理を終了する。なお、特図始動口SW共通処理についての詳細は図40にて後述する。   In the start port SW monitoring process, the game control device 100 first determines whether or not there is a first start prize (3900). Whether or not there is a prize at the first start prize opening 37 is determined by the presence or absence of a detection signal of a game ball output from the first special figure start SW 37A when there is a prize at the first start prize opening 37. The If there is no first start prize (the result of 3900 is “N”), the game control device 100 executes the process of step 3901. On the other hand, when there is the first start winning (the result of 3900 is “Y”), the game control device 100 executes the special figure start port SW common process (3904) and ends the start port SW monitoring process. To do. Details of the special figure start port SW common process will be described later with reference to FIG.

遊技制御装置100は、普電作動中であるか否かを判定する(3901)。具体的には、遊技制御装置100は、普電(普通電動役物)としての普通変動入賞装置33の開閉部材が作動し、遊技球の入賞が可能な開状態となっているか否かを判定する。開閉部材が開状態であって普電作動中である場合には(3901の結果が「Y」)、遊技制御装置100はステップ3903の処理を実行する。これに対して、開閉部材が閉状態であって普電作動中でない場合には(3901の結果が「N」)、遊技制御装置100はステップ3902の処理を実行する。   The game control apparatus 100 determines whether or not a normal power operation is in progress (3901). Specifically, the game control device 100 determines whether or not the open / close member of the normal variation winning device 33 serving as a general electric (ordinary electric accessory) is in an open state in which a game ball can be won. To do. If the opening / closing member is in the open state and is operating in normal power (the result of 3901 is “Y”), the game control device 100 executes the process of step 3903. On the other hand, when the opening / closing member is in the closed state and is not operating in normal power (the result of 3901 is “N”), the game control device 100 executes the process of step 3902.

遊技制御装置100は、不正入賞エラーが発生したか否かを判定する(3902)。具体的には、遊技制御装置100は、普通変動入賞装置33の開閉部材が閉状態である状態で発生した不正な入賞があるか否かを判定する。なお、普通変動入賞装置33の開閉部材が閉状態になった後の所定期間に検出された入賞は、不正入賞ではないと判定される。不正入賞エラーが発生している場合には(3902の結果が「Y」)、遊技制御装置100は始動口SW監視処理を終了する。これに対して、不正入賞エラーが発生していない場合には(3902の結果が「N」)、遊技制御装置100はステップ3903の処理を実行する。   The game control apparatus 100 determines whether or not an illegal winning error has occurred (3902). Specifically, the game control device 100 determines whether or not there is an illegal winning that has occurred while the opening / closing member of the normal variation winning device 33 is in the closed state. Note that a winning detected in a predetermined period after the opening / closing member of the normal variation winning device 33 is closed is determined not to be an illegal winning. If an illegal winning error has occurred (the result of 3902 is “Y”), the game control device 100 ends the start port SW monitoring process. On the other hand, when an illegal winning error has not occurred (the result of 3902 is “N”), the game control device 100 executes the process of step 3903.

遊技制御装置100は、第2始動入賞(普通変動入賞装置33の第2始動入賞口34への入賞)があるか否かを判定する(3903)。普通変動入賞装置33の第2始動入賞口34への入賞があるか否かは、第2始動入賞口34への入賞があった場合に第2特図始動SW34Aから出力される遊技球の検出信号の有無によって判定される。第2始動入賞がない場合には(3903の結果が「N」)、遊技制御装置100は、始動口SW監視処理を終了する。これに対して、第2始動入賞がある場合には(3903の結果が「Y」)、遊技制御装置100は特図始動口SW共通処理を実行し(3904)、始動口SW監視処理を終了する。   The game control device 100 determines whether or not there is a second start prize (winning to the second start prize port 34 of the normal variation prize winning device 33) (3903). Whether or not there is a prize at the second start prize opening 34 of the normal variable prize winning device 33 is determined by detecting a game ball output from the second special figure start SW 34A when a prize is awarded at the second start prize slot 34. It is determined by the presence or absence of a signal. If there is no second start winning (the result of 3903 is “N”), the game control device 100 ends the start port SW monitoring process. On the other hand, when there is the second start winning (the result of 3903 is “Y”), the game control device 100 executes the special figure start port SW common process (3904) and ends the start port SW monitoring process. To do.

図40を参照して、図39の始動口SW監視処理における特図始動口SW共通処理(3904)の詳細を説明する。図40は、本発明の第1の実施形態の特図始動口SW共通処理の手順を示すフローチャートである。   With reference to FIG. 40, the details of the special view start port SW common process (3904) in the start port SW monitoring process of FIG. 39 will be described. FIG. 40 is a flowchart showing the procedure of the special figure start port SW common process according to the first embodiment of the present invention.

遊技制御装置100は、まず、対応する始動入賞フラグを設定する処理を実行する(4000)。具体的には、第1始動入賞口37と普通変動入賞装置33の第2始動入賞口34のいずれの始動口への入賞により特図始動口SW共通処理が開始されたかに基づき始動入賞フラグを設定する。始動入賞フラグとしては、第1始動入賞口37への入賞により特図始動口SW共通処理が開始された場合は特図1フラグが設定され、普通変動入賞装置33の第2始動入賞口34への入賞により特図始動口SW共通処理が開始された場合は特図2フラグが設定される。以下の処理では、特図1フラグが設定されていれば対応する処理として特図1始動記憶についての処理が行われ、特図2フラグが設定されていれば対応する処理として特図2始動記憶についての処理が行われる。   The game control device 100 first executes a process of setting a corresponding start winning flag (4000). More specifically, the start prize flag is set based on which of the first start prize opening 37 and the second start prize opening 34 of the ordinary variable prize winning device 33 is entered by the winning process. Set. As the start winning flag, when the special figure starting port SW common process is started by winning the first starting winning port 37, the special figure 1 flag is set and the second winning winning port 34 of the normal variable winning device 33 is set. When the special figure start port SW common process is started by winning, the special figure 2 flag is set. In the following processing, if the special figure 1 flag is set, the special figure 1 start storage process is performed as a corresponding process, and if the special figure 2 flag is set, the special figure 2 start storage is performed as a corresponding process. Is processed.

遊技制御装置100は、まず、遊技球が入賞した始動入賞口に対応するフラグを設定する(4000)。具体的には第1始動入賞口に遊技球が入賞した場合には第1始動入賞フラグを設定し、第2始動入賞口に遊技球が入賞した場合には第2始動入賞フラグを設定する。   First, the game control device 100 sets a flag corresponding to the start winning opening where the game ball has won (4000). Specifically, a first start winning flag is set when a game ball has won a first start winning opening, and a second start winning flag is set when a gaming ball has won a second starting winning opening.

次に、遊技制御装置100は、対応する保留の数が上限(例えば4)であるか否かを判定する(4001)。対応する保留の数とは、第1始動入賞口37に遊技球が入賞した場合には第1特図保留カウンタの値が対象となり、第2始動入賞口34に遊技球が入賞した場合には第2特図保留カウンタの値が対象となる(ともに図15参照)。   Next, the game control device 100 determines whether or not the corresponding number of holds is an upper limit (for example, 4) (4001). The corresponding number of holds is the value of the first special figure hold counter when a game ball wins the first start winning opening 37, and when the game ball wins the second start pay opening 34. The value of the second special figure hold counter is targeted (see FIG. 15 for both).

このとき、対応する保留の数が上限となっていて、これ以上対応する始動記憶を記憶できない場合には(4001の結果が「Y」)、遊技制御装置100は、始動口SW監視処理を終了する。これに対して、対応する保留が上限でない場合には(4001の結果が「N」)、遊技制御装置100は、対応する始動記憶数(即ち、第1特図保留カウンタ又は第2特図保留カウンタのうち、入賞した始動口に対応する方)を1インクリメントする処理を実行し(4002)、その後、ステップ4003の処理を実行する。   At this time, if the number of corresponding holds is the upper limit and the corresponding start memory cannot be stored any more (the result of 4001 is “Y”), the game control device 100 ends the start port SW monitoring process. To do. On the other hand, when the corresponding hold is not the upper limit (the result of 4001 is “N”), the game control device 100 sets the corresponding start memory number (that is, the first special figure hold counter or the second special figure hold). A process of incrementing one of the counters corresponding to the winning start opening) is executed (4002), and then the process of step 4003 is executed.

遊技制御装置100は、保留数情報を設定する(4003)。具体的には、対応する始動記憶数が1インクリメントされたことに基づき、始動記憶数の情報である保留数情報を設定する。なお、保留数情報は、始動記憶に関する情報を含む保留情報コマンド(図35参照)の一つとして後に演出制御装置150に送信されるようになっている。その後、遊技制御装置100は、対応する大当り判定用乱数を取得し(4004)、対応する大当り図柄乱数を取得し(4005)、さらに、対応する特図変動表示ゲームの変動パターン乱数を取得する(4006)。ここでは、図15に示される、大当り乱数、大当り図柄乱数、第1〜第3変動パターン乱数の各生成領域から、乱数値を取得する。   The game control apparatus 100 sets the number-of-holds information (4003). Specifically, on-hold number information that is information on the start memory number is set based on the corresponding start memory number being incremented by one. Note that the number-of-holds information is later transmitted to the effect control device 150 as one of the hold information commands (see FIG. 35) including information related to the start memory. Thereafter, the game control device 100 acquires a corresponding jackpot determination random number (4004), acquires a corresponding jackpot symbol random number (4005), and further acquires a variation pattern random number of the corresponding special figure variation display game ( 4006). Here, the random value is acquired from each generation region of the big hit random number, the big hit design random number, and the first to third variation pattern random numbers shown in FIG.

遊技制御装置100は、ステップ4004〜4006の処理で取得した各種乱数値を用いて、特図保留情報判定処理を実行する(4007)。この特図保留情報判定処理の詳細は、図41を参照して後述する。   The game control apparatus 100 executes a special figure hold information determination process using various random numbers acquired in the processes of steps 4004 to 4006 (4007). Details of the special figure hold information determination process will be described later with reference to FIG.

そして、遊技制御装置100は、対応する大当り判定用乱数を記憶し(4008)、対応する大当り図柄乱数を記憶し(4009)、さらに、対応する変動パターン乱数を記憶する(4010)。ここでは、遊技制御装置100は、ステップ4004〜4006の処理で取得した各種乱数値を、対応する乱数記憶領域に記憶する。   Then, the game control device 100 stores the corresponding jackpot determination random number (4008), stores the corresponding jackpot symbol random number (4009), and further stores the corresponding variation pattern random number (4010). Here, the game control apparatus 100 stores the various random number values acquired in the processes of steps 4004 to 4006 in the corresponding random number storage area.

対応する乱数記憶領域とは、処理対象の始動口が第1始動入賞口37であれば、図16にて前述した、第1特図変動表示ゲームを実行するために必要な各種乱数の保存領域のうち、第1特図保留カウンタに対応する領域が該当する。同様に、処理対象の始動口が第2始動入賞口34であれば、図17で前述した、第2特図変動表示ゲームを実行するために必要な各種乱数の保存領域のうち、第2特図保留カウンタに対応する領域が該当する。   The corresponding random number storage area is a storage area for various random numbers necessary for executing the first special figure variation display game described above with reference to FIG. 16 if the start opening to be processed is the first start winning opening 37. Among these, the area corresponding to the first special figure holding counter corresponds. Similarly, if the start opening to be processed is the second start winning opening 34, among the various random number storage areas necessary for executing the second special figure variation display game described above with reference to FIG. This corresponds to the area corresponding to the figure hold counter.

例えば、第2始動入賞口34に遊技球が入賞した結果、ステップ4002の処理にて第2特図保留カウンタが1インクリメントされて「3」となった場合は、図17における「保留3の保存領域」に割り当てられた各種乱数の保存領域に、ステップ4004〜4006の処理で取得した各種乱数値を記憶することになる。   For example, if the second special figure hold counter is incremented by 1 in the process of step 4002 to “3” as a result of winning the game ball in the second start winning opening 34, “save hold 3” in FIG. Various random number values acquired in the processes of steps 4004 to 4006 are stored in the storage area for various random numbers assigned to “area”.

次いで、遊技制御装置100は、保留情報コマンドを設定し(4011)、本処理を終了する。保留情報コマンドは、始動口への入賞によって更新された後の保留数(第1特図保留カウンタ又は第2特図保留カウンタの値)を通知するコマンドであり、直後に演出制御装置150に送信される(正確には、次回のタイマ割込処理(図29)のコマンド送信処理(2912)が実行されるタイミングで送信される)ようになっている。   Next, the game control device 100 sets a hold information command (4011), and ends this processing. The hold information command is a command for notifying the number of holds (the value of the first special figure hold counter or the second special figure hold counter) after being updated by winning at the start opening, and is sent to the effect control device 150 immediately after. (To be precise, it is transmitted at the timing when the command transmission process (2912) of the next timer interruption process (FIG. 29) is executed).

続いて、図41を参照して、図40の特図始動口SW共通処理における特図保留情報判定処理(4007)の詳細を説明する。図41は、本発明の第1の実施形態の特図保留情報判定処理の手順を示すフローチャートである。   Next, with reference to FIG. 41, the details of the special figure hold information determination process (4007) in the special figure start port SW common process of FIG. 40 will be described. FIG. 41 is a flowchart illustrating a procedure of special figure hold information determination processing according to the first embodiment of this invention.

特図保留情報判定処理では、乱数記憶領域へ新たに始動記憶が記憶される際に、すなわち、第1始動入賞口37や第2始動入賞口34(普通変動入賞装置33)に遊技球が入賞したタイミングで、当該該始動記憶に対応する結果関連情報の判定が行われる。つまり、特図保留情報判定処理では、新たに記憶された始動記憶に基づく特図変動表示ゲームの開始タイミングより前に、当該始動記憶に対応した結果関連情報の判定を行う先読処理が行われることになる。   In the special figure hold information determination process, when the start memory is newly stored in the random number storage area, that is, the game ball is won in the first start winning port 37 or the second starting winning port 34 (ordinary variable winning device 33). At this timing, the result related information corresponding to the start-up memory is determined. That is, in the special figure hold information determination process, a prefetching process for determining the result related information corresponding to the start memory is performed before the start timing of the special figure variation display game based on the newly stored start memory. It will be.

特図保留情報判定処理では、遊技制御装置100は、まず特図2始動記憶についての処理であるか否かを判定する(4100)。特図2始動記憶についての処理である場合には(4100の結果が「Y」)、常に先読み処理を実行するため、遊技制御装置100はステップ4103の処理を実行する。   In the special figure hold information determination process, the game control device 100 first determines whether or not the process is a special figure 2 start storage process (4100). In the case of the process for the special figure 2 start memory (the result of 4100 is “Y”), the game control apparatus 100 executes the process of step 4103 in order to always execute the prefetch process.

これに対して、特図2始動記憶についての処理でない場合(4100の結果が「N」)、つまり、特図1始動記憶についての処理である場合には、遊技制御装置100は、普通変動入賞装置33の作動状態が抑制状態であるか否かを判定する(4101)。普通変動入賞装置33の作動状態が抑制状態でない場合には(4101の結果が「N」)、遊技制御装置100は、特図1始動記憶に関連する先読み演出を実行することなく、特図保留情報判定処理を終了する。   On the other hand, if the process is not for the special figure 2 start memory (the result of 4100 is “N”), that is, if the process is for the special figure 1 start memory, the game control device 100 receives the normal variation prize. It is determined whether or not the operating state of the device 33 is a suppressed state (4101). When the operation state of the normal variation winning device 33 is not in the suppressed state (the result of 4101 is “N”), the game control device 100 does not execute the pre-reading effect related to the special FIG. The information determination process ends.

これに対して、普通変動入賞装置33が抑制状態である場合には、遊技制御装置100は、大当り中であるか否かを判定する(4102)。遊技状態が特別遊技状態であって、大当り中である場合には(4102の結果が「Y」)、遊技制御装置100は、特図1始動記憶に対する先読み演出をせずに、特図保留情報判定処理を終了する。   On the other hand, when the normal variation winning device 33 is in the restrained state, the game control device 100 determines whether or not the big hit is being made (4102). When the gaming state is the special gaming state and the jackpot is being hit (the result of 4102 is “Y”), the game control device 100 does not perform the pre-reading effect on the special figure 1 start memory, and the special figure holding information. The determination process ends.

これに対して、大当り中でない場合には(4102の結果が「N」)、遊技制御装置100は、始動記憶に対して大当り乱数が大当り判定値と一致するかを判定し、大当りである場合には大当りの種類や変動パターンを決定する特図大当り判定処理を実行する(4103)。なお、特図大当り判定処理についての詳細は、図42にて後述する。   On the other hand, when it is not a big hit (the result of 4102 is “N”), the game control device 100 determines whether the big hit random number matches the big hit determination value with respect to the start memory, and is a big hit. The special figure jackpot determination process for determining the type and variation pattern of the jackpot is executed (4103). Details of the special figure big hit determination process will be described later with reference to FIG.

遊技制御装置100は、ステップ4103の処理で一時的に記憶される大当り種類を特定する情報及び変動パターンを特定する情報を用いて、変動前演出指定コマンドを設定する(4104)。変動前演出指定コマンドは、後述する図43及び図44の変動パターンテーブルを用いて設定され、一旦、遊技制御装置100のRAM104に記憶される。そして、次回のタイマ割込処理(図29参照)が実行されて、変動前演出指定コマンドが遊技制御装置100から演出制御装置150に送信されると、演出制御装置150の変動パターン情報記憶領域に記憶される。   The game control apparatus 100 sets a pre-change effect designating command using information for specifying the jackpot type and information for specifying the change pattern that are temporarily stored in the process of step 4103 (4104). The pre-change effect designation command is set using a change pattern table shown in FIGS. 43 and 44 described later, and is temporarily stored in the RAM 104 of the game control apparatus 100. Then, when the next timer interrupt process (see FIG. 29) is executed and the pre-change effect designation command is transmitted from the game control device 100 to the effect control device 150, the change pattern information storage area of the effect control device 150 is stored. Remembered.

図42を参照して、図41の特図保留情報判定処理における特図大当り判定処理(4103)の詳細を説明する。なお、後述の図46の特図1変動開始処理(特図2変動開始処理)における特図大当り判定処理(4103)を実行する際にも、図42の処理が行われる。図42は、本発明の第1の実施形態の特図大当り判定処理の手順を示すフローチャートである。   The details of the special figure jackpot determination process (4103) in the special figure hold information determination process of FIG. 41 will be described with reference to FIG. The process of FIG. 42 is also performed when executing the special figure big hit determination process (4103) in the special figure 1 fluctuation start process (special figure 2 fluctuation start process) of FIG. 46 described later. FIG. 42 is a flowchart illustrating a procedure of special figure jackpot determination processing according to the first embodiment of this invention.

特図大当り判定処理では、判定対象の始動記憶の大当り種類及び変動パターンを決定する処理が行われる。なお、図41の特図保留情報判定処理の特図大当り判定処理を実行する場合は、乱数記憶領域へ新たに記憶された始動記憶が判定対象となるが、図46の特図1変動開始処理(特図2変動開始処理)の特図大当り判定処理を実行する場合は、変動開始となる始動記憶が判定対象となる。すなわち、特図大当り判定処理は、複数の呼び出し元から参照される共通モジュールとなっている。   In the special figure jackpot determination process, a process of determining the jackpot type and variation pattern of the start memory to be determined is performed. Note that when the special figure jackpot determination process of the special figure hold information determination process of FIG. 41 is executed, the start memory newly stored in the random number storage area becomes the determination target, but the special figure 1 fluctuation start process of FIG. When executing the special figure jackpot determination process (special figure 2 fluctuation start process), the start-up memory at which the fluctuation starts is a determination target. That is, the special figure jackpot determination process is a common module that is referred to by a plurality of callers.

遊技制御装置100は、まず、特図確変フラグはオンになっているか否かを判定する(4200)。そして、特図確変フラグがオンの場合には(4200の結果が「Y」)、遊技制御装置100は、確変状態における、すなわち特図確率が高確率時の大当り判定を実行する(4201)。なお、特図確変フラグは、特図表示中処理(図37のステップ3708)においてオン/オフに設定される。   The game control apparatus 100 first determines whether or not the special figure probability changing flag is on (4200). When the special figure probability change flag is on (the result of 4200 is “Y”), the game control apparatus 100 executes jackpot determination in the probability change state, that is, when the special figure probability is high (4201). The special figure certainty flag is set to ON / OFF in the special figure display processing (step 3708 in FIG. 37).

特図確変フラグがオンでない場合には(4200の結果が「N」)、遊技制御装置100は、非確変状態、すなわち特図確率が低確率時の大当り判定を実行する(4202)。   If the special figure probability change flag is not on (the result of 4200 is “N”), the game control apparatus 100 executes a jackpot determination when the probability of special figure is low, that is, when the special figure probability is low (4202).

次に、遊技制御装置100は、対応する始動記憶が大当りであるか否かを判定する(4203)。すなわち、始動記憶の大当り乱数の値が、大当り判定値と一致するか否かを判定する。   Next, the game control device 100 determines whether or not the corresponding start memory is a big hit (4203). That is, it is determined whether or not the value of the jackpot random number in the start memory matches the jackpot determination value.

そして、大当りである場合には(4203の結果が「Y」)、遊技制御装置100は、対応する始動記憶の大当り図柄乱数を用いて、確変大当りや通常大当りといった大当りの種類を決定する(4204)。さらに、大当り時変動パターン設定処理を実行する(4205)。大当り時変動パターン設定処理の詳細については、図43にて後述する。   If it is a big hit (the result of 4203 is “Y”), the game control device 100 determines the type of big hit such as a probability big hit or a normal big hit using the corresponding big hit symbol random number of the start memory (4204). ). Further, a big hit hour variation pattern setting process is executed (4205). Details of the big hit hour variation pattern setting process will be described later with reference to FIG.

これに対し、対応する始動記憶が大当りではない場合には(4203の結果が「N」)、遊技制御装置100は、大当りの種類が「はずれ」となったことをRWMに一時的に記憶する(4206)。さらに、はずれ時変動パターン設定処理を実行する(4207)。はずれ時変動パターン設定処理の詳細については、図43にて後述する。   On the other hand, when the corresponding start memory is not a big hit (the result of 4203 is “N”), the game control apparatus 100 temporarily stores in the RWM that the type of the big hit is “out of place”. (4206). Further, the deviation variation pattern setting process is executed (4207). Details of the variation pattern setting process at the time of loss will be described later with reference to FIG.

最後に、遊技制御装置100は、はずれを含む大当り種類を特定する情報と、変動パターンを特定する情報を一時的にRWMに記憶する(4208)。特定する情報とは、変動パターン番号である。その後、遊技制御装置100は、特図大当り判定処理を終了する。   Finally, the game control apparatus 100 temporarily stores information for specifying the jackpot type including the disparity and information for specifying the variation pattern in the RWM (4208). The information to be specified is a variation pattern number. Thereafter, the game control device 100 ends the special figure jackpot determination process.

続いて、図43を参照して、変動パターンを設定する処理について説明する。図43は、本発明の第1の実施形態の大当り時変動パターン設定処理及びはずれ時変動パターン設定処理の手順を示すフローチャートである。   Next, with reference to FIG. 43, processing for setting a variation pattern will be described. FIG. 43 is a flowchart showing the procedure of the big hit time fluctuation pattern setting process and the loss time fluctuation pattern setting process according to the first embodiment of the present invention.

まず、大当り時変動パターン設定処理について説明する。遊技制御装置100は、まず、大当り時のグループ選択テーブルを取得し、準備する(4300)。グループ選択テーブルには、変動パターンが属するグループが定義されている。大当り時のグループ選択テーブルの詳細については、図48(A)にて後述する。   First, the big hit time variation pattern setting process will be described. The game control apparatus 100 first acquires and prepares a group selection table for a big hit (4300). The group to which the variation pattern belongs is defined in the group selection table. Details of the big hit group selection table will be described later with reference to FIG.

次に、遊技制御装置100は、第1変動パターン乱数を取得する(4301)。第1変動パターン乱数は、変動パターンが属するグループを選択するための2バイトの乱数である。続いて、遊技制御装置100は、ステップ4300の処理で準備したグループ選択テーブルと、ステップ4301の処理で取得された第1変動パターン乱数に基づいてグループ番号を取得する圧縮値振分処理を実行する(4302)。圧縮値振分処理の詳細については、図44にて後述する。   Next, the game control apparatus 100 acquires a first variation pattern random number (4301). The first variation pattern random number is a 2-byte random number for selecting a group to which the variation pattern belongs. Subsequently, the game control device 100 executes a compressed value distribution process for acquiring a group number based on the group selection table prepared in the process of step 4300 and the first variation pattern random number acquired in the process of step 4301. (4302). Details of the compressed value distribution processing will be described later with reference to FIG.

変動パターン番号が取得されると、遊技制御装置100は、大当り時の後半変動パターン選択テーブルを指定する(4303)。さらに、1バイトの第2変動パターン乱数を取得し(4304)、指定された後半変動パターン選択テーブルからグループ番号及び第2変動パターン乱数に基づいて後半変動パターン番号を取得する(4305)。   When the variation pattern number is acquired, the game control device 100 designates the latter-half variation pattern selection table at the time of big hit (4303). Further, a 1-byte second fluctuation pattern random number is obtained (4304), and a latter half fluctuation pattern number is obtained from the designated latter half fluctuation pattern selection table based on the group number and the second fluctuation pattern random number (4305).

一方、はずれ時変動パターン設定処理の場合には、遊技制御装置100は、はずれ時のグループ選択テーブルを取得し、準備する(4320)。はずれ時のグループ選択テーブルの詳細については、図48(B)にて後述する。   On the other hand, in the case of the variation pattern setting process at the time of loss, the game control device 100 acquires and prepares a group selection table at the time of loss (4320). Details of the group selection table at the time of loss will be described later with reference to FIG.

次に、遊技制御装置100は、第1変動パターン乱数を取得し(4321)、前半変動パターンの変動パターン番号を取得する圧縮値振分処理を実行する(4322)。   Next, the game control apparatus 100 acquires a first variation pattern random number (4321), and executes a compressed value distribution process for acquiring a variation pattern number of the first variation pattern (4322).

その後、遊技制御装置100は、はずれ時の後半変動パターン選択テーブルを指定する(4323)。さらに、第2変動パターン乱数を取得し(4324)、指定された後半変動パターン選択テーブルからグループ番号及び第2変動パターン乱数に基づいて後半変動パターン番号を取得する(4325)。   After that, the game control device 100 designates the latter-half variation pattern selection table at the time of loss (4323). Further, the second variation pattern random number is obtained (4324), and the latter half variation pattern number is obtained from the designated latter half variation pattern selection table based on the group number and the second variation pattern random number (4325).

変動パターン番号と後半変動パターン番号を取得すると、すなわち、ステップ4305又は4325の処理を終了すると、遊技制御装置100は、普通変動入賞装置33の開放頻度が高い促進状態であるか否かを判定する(4306)。   When the variation pattern number and the latter-half variation pattern number are acquired, that is, when the processing of step 4305 or 4325 is finished, the game control device 100 determines whether or not the regular variation winning device 33 is in an accelerated state with a high release frequency. (4306).

促進状態でない場合には(4306の結果が「N」)、遊技制御装置100は、保留数が所定数以上であるか否かを判定する(4307)。保留数が所定数以上でない場合には(4307の結果が「N」)、変動表示ゲームの実行時間を通常とする非短縮状態を指定する(4308)。   If it is not in the promotion state (the result of 4306 is “N”), the game control device 100 determines whether or not the number of holds is a predetermined number or more (4307). If the number of holdings is not equal to or greater than the predetermined number (the result of 4307 is “N”), a non-shortened state in which the execution time of the variable display game is set to normal is designated (4308).

一方、遊技制御装置100は、入賞促進状態の場合(4306の結果が「Y」)、又は、保留数が所定数以上の場合には(4307の結果が「Y」)、変動表示ゲームの実行時間を短縮させる短縮状態を指定する(4309)。   On the other hand, when the game control device 100 is in the winning promotion state (result of 4306 is “Y”), or when the number of holdings is a predetermined number or more (result of 4307 is “Y”), the game control device 100 executes the variable display game. A shortened state for shortening the time is designated (4309).

続いて、遊技制御装置100は、前半変動パターン選択テーブルを指定する(4310)。さらに、第3変動パターン乱数を取得し(4311)、指定された前半変動パターン選択テーブルから対応する前半変動パターン番号を取得する(4312)。その後、本処理を終了する。   Subsequently, the game control device 100 designates the first half variation pattern selection table (4310). Further, the third fluctuation pattern random number is acquired (4311), and the corresponding first half fluctuation pattern number is obtained from the designated first half fluctuation pattern selection table (4312). Thereafter, this process is terminated.

次に、上述した大当り時変動パターン設定処理及びはずれ時変動パターン設定処理における圧縮値振分処理の詳細について説明する。図44は、本発明の第1の実施形態の圧縮値振分処理の手順を示すフローチャートである。   Next, the details of the compression value distribution process in the above-described big hit time fluctuation pattern setting process and the loss time fluctuation pattern setting process will be described. FIG. 44 is a flowchart illustrating the procedure of the compressed value distribution process according to the first embodiment of this invention.

圧縮値振分処理は、1バイトに圧縮された圧縮振分コード(第1判定値)から振分値を算出し、算出された振分値(第2判定値)及び取得した第1変動パターン乱数に基づいて、対象となる当り/はずれの変動パターン選択テーブル(図47参照)よりグループ番号を取得する処理である。   In the compressed value distribution process, a distribution value is calculated from a compressed distribution code (first determination value) compressed to 1 byte, the calculated distribution value (second determination value) and the acquired first variation pattern This is processing for acquiring a group number from a target hit / off variation pattern selection table (see FIG. 47) based on a random number.

従来、圧縮されていない2バイトの振分値をグループ選択テーブルより取得し、第1変動パターン乱数の値(選択値)がマイナスになるまで、選択値から順に振分値を減算し、選択値がマイナスになる場合の振分値に対応付けられたグループ番号をグループ選択テーブルから取得していた。   Conventionally, an uncompressed 2-byte distribution value is acquired from the group selection table, and the distribution value is subtracted in order from the selection value until the value of the first variation pattern random number (selection value) becomes negative. The group number associated with the distribution value when the value becomes negative is acquired from the group selection table.

これに対し、本発明の第1の実施形態では、2バイトの振分値の代わりに1バイトに圧縮された圧縮振分コードを振分値として利用する。   On the other hand, in the first embodiment of the present invention, instead of the 2-byte distribution value, a compressed distribution code compressed to 1 byte is used as the distribution value.

ここで、変動パターン乱数及び振分値について説明する。変動パターン乱数は、例えば、1999を上限値として、0〜1999までの2000の値を循環する乱数である。これに対し振分値は、変動パターン乱数にグループ番号がそれぞれ振り分けられる(割り振られる)乱数値の幅を表す数値であり、変動パターン乱数の値の区切り値となる。   Here, the fluctuation pattern random number and the distribution value will be described. The fluctuation pattern random number is, for example, a random number that circulates 2000 values from 0 to 1999 with 1999 as an upper limit value. On the other hand, the distribution value is a numerical value that represents the width of the random value to which the group number is assigned (allocated) to the variable pattern random number, and is a delimiter value of the variable pattern random value.

図47(B)を参照して説明すると、はずれ時のグループ番号「01」には、値が0〜1471の1472個の変動パターン乱数が振り分けられており、振分値は「1472」である。取得した変動パターン乱数が、01〜06のいずれのグループに該当するかは、変動パターン乱数の値から変動パターン「01」の振分値「1472」、グループ番号「02」の振分値「400」、と順次減算処理して求める。減算処理の結果、変動パターン乱数の値がマイナスになるところが変動パターン乱数に振り分けられたグループ番号である。このように、遊技制御装置100は、変動パターン乱数の値からグループ番号「01」の振分値、「02」の振分値、と順次減算することで、値がマイナスになる振分値に対応付けられたグループ番号を取得する。   Referring to FIG. 47 (B), 1472 variable pattern random numbers with values of 0 to 1471 are allocated to the group number “01” at the time of loss, and the distribution value is “1472”. . Which group of the obtained variation pattern random numbers 01 to 06 corresponds to the distribution value “1472” of the variation pattern “01” and the distribution value “400” of the group number “02” from the value of the variation pattern random number. ”, And sequentially subtracting them. As a result of the subtraction process, the place where the value of the fluctuation pattern random number becomes negative is the group number assigned to the fluctuation pattern random number. As described above, the game control device 100 sequentially subtracts the distribution value of the group number “01” and the distribution value of “02” from the value of the variation pattern random number to obtain a distribution value that becomes negative. Get the associated group number.

本処理では、以上の処理を実行して、入賞時に取得した変動パターン乱数からグループ番号を取得する。   In this process, the above process is executed, and the group number is acquired from the variation pattern random number acquired at the time of winning.

遊技制御装置100は、まず、図43のステップ4301又は4321の処理で準備したグループ選択テーブル(選択テーブル)の先頭のデータが振り分けなしのコード(例えば、「0」)であるか否かをチェックし、判定する(4401、4402)。例えば、はずれ変動においてリーチなしの場合には、振り分けの必要がないため、振り分けなしのコードが先頭に定義されている。選択テーブルの先頭のデータが振り分けなしのコードである場合には(4402の結果が「Y」)、振り分けなしに該当するグループ番号を取得し(4409)、本処理を終了する。   First, the game control apparatus 100 checks whether or not the top data of the group selection table (selection table) prepared in the process of step 4301 or 4321 in FIG. 43 is a non-sorted code (for example, “0”). The determination is made (4401, 4402). For example, when there is no reach in the deviation variation, there is no need for distribution, so a code without distribution is defined at the top. If the top data of the selection table is a code without sorting (the result of 4402 is “Y”), the group number corresponding to no sorting is acquired (4409), and this processing is terminated.

一方、選択テーブルの先頭のデータが振り分けなしのコードではない場合には(4402の結果が「N」)、遊技制御装置100は、対象の第1変動パターン乱数の値を一時記憶領域にロードし、選択値Sとしてセットする(4403)。   On the other hand, if the top data of the selection table is not a code with no sorting (the result of 4402 is “N”), the game control device 100 loads the value of the target first variation pattern random number into the temporary storage area. The selected value S is set (4403).

次に、遊技制御装置100は、選択テーブルの1段目(最上段)の圧縮振分コード(振分値f)を取得して準備する(4404)。例えば、大当り時のグループ選択テーブルを用いる場合には、図48(A)の1行目の圧縮振分コード「10010010」を取得して準備する。なお、本願において、振分値(圧縮振分コード)fの書き込まれた行と、グループ番号の書き込まれた次の行との2行分を合わせて「1段」と呼ぶ。   Next, the game control apparatus 100 acquires and prepares the first (topmost) compression allocation code (allocation value f) of the selection table (4404). For example, when using the group selection table at the time of big hit, the compression allocation code “10010010” on the first line in FIG. 48A is acquired and prepared. In the present application, the two rows of the row in which the distribution value (compression distribution code) f is written and the next row in which the group number is written are collectively referred to as “one stage”.

次に、遊技制御装置100は、圧縮振分コードfに基づいて振分値Fを算出する圧縮振分コード変換処理を実行する(4405)。圧縮振分コード変換処理は8ビットのバイナリデータから所定の変換式に上位2ビットと下位6ビットの数値を代入して振分値Fを算出する。具体的には、圧縮振分コード「10010010」からは、振分値「288」を得ることができる。圧縮振分コード変換処理の詳細については、図45にて後述する。   Next, the game control device 100 executes a compressed distribution code conversion process for calculating a distribution value F based on the compression distribution code f (4405). In the compression distribution code conversion process, a distribution value F is calculated by substituting numerical values of upper 2 bits and lower 6 bits into a predetermined conversion formula from 8-bit binary data. Specifically, the distribution value “288” can be obtained from the compression distribution code “10010010”. Details of the compression distribution code conversion processing will be described later with reference to FIG.

次に、遊技制御装置100は、選択値Sからステップ4405の処理で算出した振分値Fを減算し(4406)、減算後の選択値sがマイナスになるか否かを判定する(4407)。ここでは、選択値sがマイナスになる振分値Fと対応付けられたグループ番号を取得するので、選択値Sの取り得る最大値よりも各振り分けの振分値を合計した値のほうが大きくなるように設定されていれば、選択値と選択テーブルの最下段の行の振分値とが一致しなくてもよい。   Next, the game control device 100 subtracts the distribution value F calculated in the process of step 4405 from the selection value S (4406), and determines whether or not the selection value s after the subtraction is negative (4407). . Here, since the group number associated with the distribution value F that makes the selection value s negative is acquired, the total value of the distribution values of each distribution is larger than the maximum value that the selection value S can take. If so, the selection value and the distribution value in the lowermost row of the selection table do not need to match.

減算後の選択値sがマイナスになる場合には(4407結果が「Y」)、遊技制御装置100は、対応するグループ番号を取得し(4409)、本処理を終了する。   If the selected value s after subtraction is negative (4407 result is “Y”), the game control apparatus 100 acquires the corresponding group number (4409), and ends this process.

一方、減算後の選択値sがマイナスにはならない場合には(4407結果が「N」)、遊技制御装置100は、選択テーブルの次の行の圧縮振分コードを取得し(4408)、選択値がマイナスになるまでステップ4405〜4408の処理を繰り返し実行する。ここで、選択値sは、繰り返し実行される処理(4406)では選択値Sとして使用され、前回の減算結果から引き続いて次の振分値を減算する。   On the other hand, when the selection value s after subtraction does not become negative (4407 result is “N”), the game control device 100 acquires the compression distribution code of the next row of the selection table (4408) and selects it. Steps 4405 to 4408 are repeatedly executed until the value becomes negative. Here, the selection value s is used as the selection value S in the repeatedly executed process (4406), and the next distribution value is subtracted from the previous subtraction result.

次に、前述した圧縮値振分処理における圧縮振分コード変換処理の詳細について説明する。図45は、本発明の第1の実施形態の圧縮振分コード変換処理の手順を示すフローチャートである。この圧縮値振分処理は、遊技制御装置が備える判定値変換手段にて行われる。   Next, details of the compression distribution code conversion process in the above-described compression value distribution process will be described. FIG. 45 is a flowchart illustrating a procedure of compression allocation code conversion processing according to the first embodiment of this invention. This compressed value distribution process is performed by a determination value conversion means provided in the game control device.

圧縮振分コード変換処理は、8ビットに圧縮して判定値記憶手段に記憶されている圧縮振分コードfのうち、上位2ビットをn、下位6ビットをaとし、所定の変換式「F=b×a」に各値を代入して振分値「F」を算出する処理である。なお、bは、任意の正の値をとり、必ずしも整数である必要はないが、好適な値として「4」が挙げられる。なお、本実施形態においては、特に断りがない限りbを「4」として説明する。 In the compression distribution code conversion process, the upper 2 bits of the compression distribution code f compressed to 8 bits and stored in the judgment value storage means are n and the lower 6 bits are a, and a predetermined conversion formula “F = B n × a ”is a process of substituting each value to calculate the distribution value“ F ”. Note that b takes an arbitrary positive value and does not necessarily have to be an integer, but a preferable value is “4”. In the present embodiment, “b” is described as “4” unless otherwise specified.

遊技制御装置100は、まず、ステップ4404又は4408の処理で取得した圧縮振分コードの上位2ビットをチェックし(4501)、上位2ビットによる値をnにセットする(4502)。   The game control apparatus 100 first checks the upper 2 bits of the compressed distribution code acquired in the process of step 4404 or 4408 (4501), and sets the value of the upper 2 bits to n (4502).

次に、遊技制御装置100は、圧縮振分コードの下位6ビットをチェックし(4503)、下位6ビットによる値をaにセットする(4504)。   Next, the game control apparatus 100 checks the lower 6 bits of the compressed distribution code (4503) and sets the value of the lower 6 bits to a (4504).

次に、遊技制御装置100は、変換式「F=b×a」を計算する(4505)。具体的には、圧縮振分コードを上述の「10010010」にすると、nは上位2ビットの値「10」、つまり10進数における「2」を、aは下位6ビットの値「010010」、つまり10進数における「18」とする。そして、n及びaの値を変換式に代入すると、「F=4×18」であり、Fには「288」が算出される。 Next, the game control device 100 calculates the conversion formula “F = b n × a” (4505). Specifically, when the compression distribution code is “10010010” described above, n is a value of upper 2 bits “10”, that is, “2” in decimal number, and a is a value of lower 6 bits “010010”, that is, The decimal number is “18”. Then, when the values of n and a are substituted into the conversion formula, “F = 4 2 × 18”, and “288” is calculated for F.

最後に、遊技制御装置100は、得られた値「F」を振分値にセットし(4506)、本処理を終了する。   Finally, the game control device 100 sets the obtained value “F” to the distribution value (4506), and ends this process.

図46は、本発明の第1の実施形態の圧縮振分コードの構成を説明する図である。圧縮振分コードは、前述のように、上位nビットに対応する第1ビット、及び、下位aビットに対応する第2ビットで構成されている。本実施形態では、圧縮振分コードfは8ビットとなっており、さらに、第1ビット(n)は上位2ビット、第2ビット(a)は下位6ビットとなっている。   FIG. 46 is a diagram illustrating the configuration of the compression distribution code according to the first embodiment of this invention. As described above, the compression distribution code includes the first bit corresponding to the upper n bits and the second bit corresponding to the lower a bits. In this embodiment, the compression distribution code f is 8 bits, the first bit (n) is the upper 2 bits, and the second bit (a) is the lower 6 bits.

第1ビット(n)は、2ビットで構成されるため、0〜11、つまり10進数での0〜3の値が設定される。同様に、第2ビット(a)は、6ビットで構成されるため、0〜111111、つまり10進数での0〜63の値が設定される。しかし、aの値が0の場合には変換式の結果がnの値にかかわらず0になってしまうため、ここでは1〜63の値を設定することとする。   Since the first bit (n) is composed of 2 bits, a value of 0 to 11, that is, a decimal value of 0 to 3 is set. Similarly, since the second bit (a) is composed of 6 bits, a value of 0 to 111111, that is, a decimal value of 0 to 63 is set. However, when the value of a is 0, the result of the conversion formula is 0 regardless of the value of n, and therefore, here, a value of 1 to 63 is set.

したがって、変換式(F=b×a)において、Fの範囲は、1(=4×1)〜4032(=4×63)となる。変換式及び振分値「F」についての詳細な説明は、図58で後述する。 Therefore, the conversion formula (F = b n × a) , the range of F becomes 1 (= 4 0 × 1) ~4032 (= 4 3 × 63). A detailed description of the conversion formula and the distribution value “F” will be described later with reference to FIG.

図47は、本発明の第1の実施形態におけるbを4とした場合の圧縮振分コードが表現可能な最小値と最大値を表す図であり、(A)は振分値の最小値、(B)は振分値の最大値を表す。   FIG. 47 is a diagram showing the minimum value and the maximum value that can be expressed by the compressed distribution code when b is 4 in the first embodiment of the present invention, and (A) is the minimum value of the distribution value, (B) represents the maximum value of the distribution value.

図47(A)(B)に示すように、振分値Fの最小値は「1」であり、最大値は「4032」である。1バイトでは通常は255までの値が表現可能であるが、本発明の第1の実施形態では、b=4の変換式を使用するため、1バイトで最大4032まで表現可能となる。ただし、変換式の特性上、64以上252未満の値であって4の倍数ではない値は算出することができない。同様に、253以上1008未満の値であって16の倍数ではない値は算出することができない。しかし、本実施形態では、後述するように、変動パターンを選択する場合に大きな不都合は生じない。   As shown in FIGS. 47A and 47B, the minimum value of the distribution value F is “1”, and the maximum value is “4032”. Normally, up to 255 values can be expressed in one byte, but in the first embodiment of the present invention, a conversion formula of b = 4 is used, so that up to 4032 can be expressed in one byte. However, due to the characteristics of the conversion formula, a value that is not less than 64 and less than 252 and not a multiple of 4 cannot be calculated. Similarly, a value that is not less than 253 and less than 1008 and is not a multiple of 16 cannot be calculated. However, in this embodiment, as will be described later, there is no great inconvenience when selecting a variation pattern.

次に、グループ選択テーブルの詳細について説明する。図48は、本発明の第1の実施形態のグループ選択テーブルを説明する図であり、(A)は抽選結果が大当りの場合に選択される当りグループ選択テーブル、(B)は抽選結果がはずれの場合に選択されるはずれグループ選択テーブルである。2つのテーブルの構造は同一である。   Next, details of the group selection table will be described. 48A and 48B are diagrams for explaining the group selection table according to the first embodiment of the present invention. FIG. 48A is a hit group selection table selected when the lottery result is a big win, and FIG. 48B is a difference in lottery result. This is a loss group selection table selected in the case of. The structure of the two tables is the same.

グループ選択テーブルは、通常変動、ノーマルリーチ、プレミアムリーチ等の各種変動に対応するグループ番号及び振分値を定義するテーブルである。振分値は、変動パターン乱数の区切りを示す値であるため、各振分値と各グループ番号とは、1対1の関係で1行毎に定義される。各グループには、図49にて後述するように、一又は複数の後半変動パターンが対応する。   The group selection table is a table that defines group numbers and distribution values corresponding to various variations such as normal variation, normal reach, and premium reach. Since the distribution value is a value indicating a delimiter of the variation pattern random number, each distribution value and each group number are defined for each row in a one-to-one relationship. As will be described later with reference to FIG. 49, each group corresponds to one or a plurality of latter half fluctuation patterns.

振分値fは圧縮振分コードとして1バイトで表現され、図48では、説明のため「;(セミコロン)」右側に、計算された振分値Fを示している。なお、1列目の「DB(Define Byte)」は、1バイトの定数が定義されていることを示す。テーブル中の「;(セミコロン)」の右側に記された変換式の計算と変動パターン名(通常変動及びリーチA〜E)は、プログラムリストのコメントに相当する部分なので、実際には遊技制御装置100が読み込まないようにするか、テーブルに書き込まないようにする。   The distribution value f is expressed by 1 byte as a compressed distribution code. In FIG. 48, the calculated distribution value F is shown on the right side of “; (semicolon)” for the sake of explanation. Note that “DB (Define Byte)” in the first column indicates that a 1-byte constant is defined. The calculation of the conversion formula and the variation pattern name (normal variation and reach A to E) written on the right side of “; (semicolon)” in the table are portions corresponding to the comments in the program list. 100 is not read or written to the table.

図49及び図50を参照して、図43の変動パターンの決定(ステップ4305、4325、及び4312)やステップ4209における変動パターン番号の決定について説明する。図49は、本発明の第1の実施形態の後半変動パターンテーブルである。また、図50は、本発明の第1の実施形態の前半変動パターンテーブルである。   With reference to FIGS. 49 and 50, determination of the variation pattern (steps 4305, 4325, and 4312) in FIG. 43 and determination of the variation pattern number in step 4209 will be described. FIG. 49 is a second half variation pattern table according to the first embodiment of this invention. FIG. 50 is a first half variation pattern table according to the first embodiment of the present invention.

図49(A)は、図43のステップ4303の処理において、対応する始動記憶が大当りと判定された場合に指定されるテーブルであり、特図変動表示ゲームの後半の変動パターンが決定される。   FIG. 49A is a table that is designated when the corresponding start-up memory is determined to be a big hit in the process of step 4303 in FIG. 43, and the second half fluctuation pattern of the special figure fluctuation display game is determined.

まず、対応する始動記憶の第1変動パターン乱数の値に応じて圧縮値振分処理で取得されたグループ番号に基づいて、グループが特定される。ここで、グループ番号「02」は「リーチA」、番号「03」は「リーチB」、番号「04」は「リーチC」、番号「05」は「リーチD」、番号「06」は「リーチE」に対応する。   First, a group is specified based on the group number acquired by the compression value distribution process according to the value of the first variation pattern random number in the corresponding startup memory. Here, the group number “02” is “reach A”, the number “03” is “reach B”, the number “04” is “reach C”, the number “05” is “reach D”, and the number “06” is “ Corresponds to “Reach E”.

次に、対応する始動記憶の第2変動パターン乱数の値に応じて、後半変動パターン番号19h〜5Bhのいずれかが選択される。ここで、後半変動パターン番号19h〜1Bhはノーマルリーチに対応する「リーチA」変動であり、番号「19h」は変動時間10秒の「リーチA短変動」、番号「1Ah」は変動時間11秒の「リーチA中変動」、番号「1Bh」は変動時間12秒の「リーチA長変動」を示す。その他のグループについても同様であり、後半変動パターン番号59h〜5AhはSPリーチに対応する「リーチE」変動であり、番号「59h」は変動時間50秒の「リーチE短変動」、番号「5Ah」は変動時間51秒の「リーチE中変動」、番号「5Bh」は変動時間52秒の「リーチE長変動」を示す。   Next, one of the second half variation pattern numbers 19h to 5Bh is selected according to the value of the second variation pattern random number in the corresponding start memory. Here, the latter half variation pattern numbers 19h to 1Bh are “reach A” variations corresponding to normal reach, the number “19h” is “reach A short variation” with a variation time of 10 seconds, and the number “1Ah” is the variation time of 11 seconds. The “variation during reach A” and the number “1Bh” indicate “reach A length variation” with a variation time of 12 seconds. The same applies to the other groups. The latter half variation pattern numbers 59h to 5Ah are “reach E” variations corresponding to SP reach, the number “59h” is “reach E short variation” with a variation time of 50 seconds, and the number “5Ah”. "" Fluctuation during reach E "with a fluctuation time of 51 seconds, and" 5Bh "indicates" Reach E length fluctuation "with a fluctuation time of 52 seconds.

図49(B)は、図43のステップ4323の処理において、対応する始動記憶が大当りでないと判定された場合に指定されるテーブルであり、特図変動表示ゲームの後半の変動パターンが決定される。ここでは、図49(A)と異なるところを説明する。   FIG. 49B is a table that is specified when it is determined in step 4323 in FIG. 43 that the corresponding start-up memory is not a big hit, and the second half variation pattern of the special figure variation display game is determined. . Here, a difference from FIG. 49A will be described.

大当りが発生する場合には、リーチが発生しない通常変動(グループ番号「01」)は選択されなかったが、はずれの場合には、通常変動が選択される。一方、大当りが確定するSPリーチ(例えば、リーチE)については、はずれ時には選択されないようになっている。   When the big hit occurs, the normal fluctuation (group number “01”) in which no reach occurs is not selected, but when the big hit occurs, the normal fluctuation is selected. On the other hand, the SP reach (for example, reach E) in which the big hit is fixed is not selected at the time of loss.

このように、変動パターンの決定には、まず、第1変動パターン乱数を用いて後半変動のリーチ種類(なしを含む)に対応するグループ番号を決定し、次に第2変動パターン乱数を用いて後半変動パターン(変動時間)を決定する。そして、後半変動パターンを示す後半変動パターン番号と、第3変動パターン乱数とを用いて、前半変動パターンを決定する(図50参照)。   As described above, for determining the variation pattern, first, the first variation pattern random number is used to determine the group number corresponding to the reach type (including none) of the latter half variation, and then the second variation pattern random number is used. Determine the second half fluctuation pattern (fluctuation time). Then, the first half variation pattern is determined using the second half variation pattern number indicating the second half variation pattern and the third variation pattern random number (see FIG. 50).

続いて、図50を参照して、前半変動パターンテーブルについて説明する。図50に示すように、前半変動パターンは、グループ番号及び第3変動パターン乱数に基づいて決定される。   Next, the first half variation pattern table will be described with reference to FIG. As shown in FIG. 50, the first half variation pattern is determined based on the group number and the third variation pattern random number.

前半変動パターンには、「前半キャラクタA出現変動」と、「前半キャラクタB出現変動」と、「前半キャラクタなし変動」と、「前半キャラクタなし変動」の変動時間を短縮した「前半短縮変動」とがある。それぞれの変動時間は、10秒、10秒、10秒、1秒に設定されている。   The first-half variation pattern includes “first-half character A appearance variation”, “first-half character B appearance variation”, “first-half character no variation”, and “first-half character no variation”. There is. Each variation time is set to 10 seconds, 10 seconds, 10 seconds, and 1 second.

グループ番号が「01」、すなわち、通常変動が選択された場合には、さらに、非短縮状態又は短縮状態であるかに応じて前半変動パターンが決定される。非短縮状態又は短縮状態のいずれの場合でも、第3変動パターン乱数の値が0〜5のときに「前半キャラクタA出現変動」が選択される。一方、第3変動パターン乱数の値が6〜400であって、非短縮状態の場合には、「前半キャラクタなし変動」が選択され、一方、短縮状態の場合には、「前半短縮変動」が選択される。   When the group number is “01”, that is, when the normal variation is selected, the first half variation pattern is further determined depending on whether the state is the non-shortened state or the shortened state. In either the non-shortened state or the shortened state, “first character A appearance change” is selected when the value of the third change pattern random number is 0 to 5. On the other hand, when the value of the third variation pattern random number is 6 to 400 and the non-shortened state is selected, “first-half character-less variation” is selected, whereas in the shortened state, “first half shortened variation” is selected. Selected.

また、グループ番号が「02」、すなわち、「リーチA」変動(ノーマルリーチ)が選択された場合には、第3変動パターン乱数の値が0〜200の場合に「前半キャラクタA出現変動」を選択し、第3変動パターン乱数の値が201〜205の場合に「前半キャラクタB出現変動」を選択し、第3変動パターン乱数の値が206〜400の場合に「前半キャラクタなし変動」を選択する。   When the group number is “02”, that is, when “reach A” variation (normal reach) is selected, “first half character A appearance variation” is selected when the third variation pattern random number is 0 to 200. Then, when the value of the third variation pattern random number is 201 to 205, “first half character B appearance variation” is selected, and when the value of the third variation pattern random number is 206 to 400, “variation without first half character” is selected. .

さらに、「リーチB」〜「リーチC」では、期待度が高くなる順に「前半キャラクタB出現変動」が選択される割合が高くなり、一方で、「前半キャラクタなし変動」を選択する確率が低くなるように設定されている。   Furthermore, in “reach B” to “reach C”, the ratio of selecting “first character B appearance variation” increases in the order of increasing expectation, while the probability of selecting “first character non-character variation” is low. It is set to be.

本発明の第1の実施形態では、通常変動、かつ、短縮状態の場合にのみ、「前半短縮変動」が設定されている。そして、「リーチなし変動」は、大当りの種類が「はずれ」である場合に高い確率で選択される。また、「リーチなし変動」の場合には「前半キャラクタなし変動」が選択される確率は低く、「前半短縮変動」又は「前半キャラクタなし変動」が選択される確率が高い。   In the first embodiment of the present invention, the “first half shortening variation” is set only in the case of the normal variation and the shortened state. Then, “variation without reach” is selected with a high probability when the type of jackpot is “out of place”. In addition, in the case of “variation without reach”, the probability that “change without first-half character” is selected is low, and the probability that “variation without first-half character” or “variation without first-half character” is selected is high.

したがって、保留記憶数が多く、かつ、はずれの場合には「リーチなし・前半短縮変動」が選択される確率が高いので、全体の平均変動時間が短縮される。そして、保留記憶数が少なく、かつ、はずれの場合には「リーチなし・前半キャラクタなし変動」が選択される確率が高くなっている。   Therefore, when there is a large number of reserved memories and there is a loss, there is a high probability that “no reach / first half shortened variation” will be selected, so the overall average variation time is shortened. In the case where the number of reserved storage is small and there is a loss, there is a high probability that “no reach / no first half character fluctuation” is selected.

本実施形態では、リーチを伴なう変動(「リーチA」〜「リーチE」)や、「リーチなし・前半キャラクタA出現変動」を、保留記憶数の数に関係なく共通の変動時間が設定された共通変動態様とする。これらの変動態様は、特図の大当り結果と、第1〜第3変動パターン乱数とによって決定されるので、決定処理を行う時点における保留記憶数の数に依存することなく決定されるものである。つまり、同一の保留記憶であれば、特図保留情報判定処理(図41)の特図大当り判定処理(4104)により決定される変動態様と、特図1(特図2)変動開始処理(図53)の特図大当り判定処理(5306)による決定される変動態様とが一致する。   In this embodiment, common fluctuation times are set for fluctuations with reach (“reach A” to “reach E”) and “no reach / first character A appearance fluctuation” regardless of the number of reserved memory numbers. The common variation mode. Since these fluctuation modes are determined by the jackpot result of the special figure and the first to third fluctuation pattern random numbers, they are determined without depending on the number of the reserved storage numbers at the time of performing the determination process. . That is, if it is the same hold storage, the fluctuation mode determined by the special figure big hit determination process (4104) of the special figure hold information determination process (FIG. 41) and the special figure 1 (special figure 2) fluctuation start process (FIG. The variation mode determined by the special figure jackpot determination process (5306) of 53) matches.

これに対して、「リーチなし・前半短縮変動」や「リーチなし・前半キャラクタなし変動」は、保留記憶数に基づいていずれかが選択される変動パターンであるので、固有変動態様とする。これらの変動態様は、特図の大当り結果と、第1〜第3変動パターン乱数のみならず、決定処理を行う時点における保留記憶数に依存して決定されるものである。つまり、同一の保留記憶であっても、特図保留情報判定処理(図41)の特図大当り判定処理(4104)により決定される変動態様と、特図1(特図2)変動開始処理(図53)の特図大当り判定処理(5306)により決定される変動態様とが一致するとは限らない。ただし、前者の処理で決定された変動態様が固有変動態様であれば、後者の処理で決定された変動態様も固有変動態様となるように設定されている。   On the other hand, “no reach / first half shortening variation” and “no reach / first half character variation” are variation patterns in which either one is selected based on the number of reserved storages, and thus are inherent variation modes. These fluctuation modes are determined not only based on the jackpot result of the special figure and the first to third fluctuation pattern random numbers, but also depending on the number of reserved memories at the time when the determination process is performed. That is, even in the same hold storage, the variation mode determined by the special figure jackpot determination process (4104) of the special figure hold information determination process (FIG. 41) and the special figure 1 (special figure 2) fluctuation start process ( The variation mode determined by the special figure jackpot determination process (5306) of FIG. 53) does not always match. However, if the variation mode determined in the former process is an inherent variation mode, the variation mode determined in the latter process is also set to be the inherent variation mode.

なお、これらの前半変動パターンには、前半変動パターン番号が設けられているが、始動入賞時及び変動開始時のどちらのタイミングで決定された前半変動パターンかによって前半変動パターン番号が異なっている。   These first-half variation patterns are provided with first-half variation pattern numbers, but the first-half variation pattern numbers differ depending on whether the first-half variation pattern is determined at the timing of starting winning or variation start.

本テーブルを用いる図42の特図大当り判定処理は、遊技球が第1始動入賞口37又は普通変動入賞装置33の第2始動入賞口34に入賞したときに実行される特図保留情報判定処理(図41)で対象の始動記憶の結果を先読みするために実行され、さらに、後述する特図1(特図2)変動開始処理(図46)でも実行される。   The special figure jackpot determination process of FIG. 42 using this table is a special figure hold information determination process that is executed when a game ball wins the first start winning opening 37 or the second starting winning opening 34 of the normal variation winning apparatus 33. (FIG. 41) is executed in order to prefetch the result of the target start-up storage, and is also executed in the special figure 1 (special figure 2) fluctuation start process (FIG. 46) described later.

これは、始動入賞時と変動開始時とでは、保留記憶数が異なったり、遊技状態が異なったりする。すなわち、始動入賞時と変動開始時とでは、図42の特図大当り判定処理における処理結果が異なる場合があり、選択される前半変動パターンも異なる場合がある。このため、始動入賞時及び変動開始時のどちらの場合に決定した前半変動パターン番号かが判別できるようにしている。   This is because the number of stored memories is different or the game state is different at the time of starting winning and at the start of variation. That is, the processing result in the special figure big hit determination process of FIG. 42 may be different between the start winning prize and the fluctuation start, and the selected first half fluctuation pattern may be different. Therefore, it is possible to determine whether the first half variation pattern number is determined at the time of starting winning or at the start of variation.

ここでは、始動入賞時に決定した前半変動パターン番号の頭文字を「A」とし、変動開始時に決定した前半変動パターン番号の頭文字を「B」とする。そして、「前半キャラクタA出現変動」の場合はE/Cに続く番号を「1h」とし、「前半キャラクタB出現変動」の場合は「2h」とし、「前半キャラクタなし変動」の場合は「3h」とし、「前半短縮変動」の場合は「4h」とする。このように、互いに共通するモジュールを用いる。   Here, the first letter of the first variation pattern number determined at the time of starting winning is “A”, and the first letter of the first variation pattern number determined at the start of fluctuation is “B”. In the case of “first character A appearance variation”, the number following E / C is “1h”, in the case of “first character B appearance variation”, it is “2h”, and in the case of “first character non-character variation”, “3h”. And “4h” in the case of “first half shortening fluctuation”. In this way, modules that are common to each other are used.

なお、図85で後述するが、本実施形態では、「前半キャラクタA出現変動」では「キャラクタA」が出現し、「前半キャラクタB出現変動」では「キャラクタB」が出現するようになっている。   As will be described later with reference to FIG. 85, in this embodiment, “Character A” appears in “First half character A appearance variation”, and “Character B” appears in “First half character B appearance variation”. .

続いて、本実施形態における特図変動表示ゲームの大当りを説明する。図51は、本発明の第1の実施の形態の大当りの種類を説明する図であり、(A)は特図1変動表示ゲーム、(B)は特図2変動表示ゲームで大当りとなった場合を示している。   Subsequently, the jackpot of the special figure variation display game in the present embodiment will be described. FIGS. 51A and 51B are diagrams for explaining the types of jackpots according to the first embodiment of the present invention. FIG. 51A is a special figure 1 variation display game, and FIG. 51B is a special figure 2 variation display game. Shows the case.

本実施形態における特図変動表示ゲームの大当りには、15R確変大当り、15R潜伏大当り、2R確変大当り、15R通常大当り(時短あり)、15R通常大当り(時短なし)の5種類が含まれる。大当りの種類及び実行された特図変動表示ゲーム(特図1又は特図2)に応じて大当り種別コードが設定される。   The big hits of the special figure variation display game in this embodiment include five types of 15R probability big hit, 15R latent big hit, 2R probability big hit, 15R normal big hit (with time), and 15R normal big hit (without time). The jackpot type code is set according to the type of jackpot and the special figure variation display game executed (Special Figure 1 or Special Figure 2).

15R確変大当りは、15ラウンドの特別遊技状態が終了した後、特図変動表示ゲームの当選確率が高確率となる高確率状態に設定され、さらに、普通変動入賞装置33の作動状態が開放頻度の高い促進状態に設定される。促進状態は、大当り終了後の変動カウンタの数が10000回に到達するまで継続されるが、高確率状態で特図変動表示ゲームが10000回実行されて大当りが発生しないことは事実上あり得ないため、実質的に次の大当りまで継続されることになる。なお、大当り終了後の変動カウンタの値は、大当り終了後に特図変動表示ゲームが実行された回数となる。   The 15R probability variation jackpot is set to a high probability state in which the winning probability of the special figure variation display game is high after the 15th round of special game state is completed, and the operation state of the normal variation winning device 33 is the release frequency. Set to a high acceleration state. The promotion state is continued until the number of fluctuation counters after the jackpot is reached 10,000 times, but it is virtually impossible that the special figure fluctuation display game is executed 10,000 times in a high probability state and the jackpot is not generated. Therefore, it will continue until the next big hit. The value of the fluctuation counter after the big hit ends is the number of times that the special figure fluctuation display game is executed after the big hit ends.

15R潜伏大当りは、15ラウンドの特別遊技状態が終了した後、高確率状態に設定され、さらに、普通変動入賞装置33の作動状態が開放頻度の低い抑制状態に設定される。2R確変大当りは、2ラウンドの特別遊技状態が終了した後、高確率状態に設定され、さらに、促進状態に設定される。促進状態は、実質的に次の大当りまで継続される。   The 15R latent big hit is set to a high probability state after the 15-round special game state is completed, and the operating state of the normal variation winning device 33 is set to a suppressed state with a low opening frequency. The 2R probability variation big hit is set to a high probability state after the special game state of two rounds is finished, and further set to a promotion state. The accelerated state continues substantially until the next jackpot.

15R通常大当り(時短有り)は、15ラウンドの特別遊技状態が終了した後、低確率状態に設定され、さらに、促進状態に設定される。促進状態は、大当り終了後の変動カウンタの数が100回に到達するまで継続される。15R通常大当り(時短なし)は、15ラウンドの特別遊技状態が終了した後、低確率状態に設定され、さらに、抑制状態に設定される。   The 15R normal big hit (with a short time) is set to a low probability state after the 15-round special gaming state is completed, and further set to a promotion state. The promotion state is continued until the number of variation counters after the big hit reaches 100 times. The 15R normal big hit (no time saving) is set to a low-probability state after the 15-round special gaming state is finished, and further set to a suppression state.

また、遊技者にとって、15R通常大当り(時短なし)と15R潜伏大当りとの区別がつきにくくなるため、確率状態を曖昧に報知することによって遊技者に期待感を与え、興趣を高めることができる。このとき、所定の条件を満たした場合に確率状態を報知するようにしてもよい。   Further, since it becomes difficult for the player to distinguish between the 15R normal big hit (no short time) and the 15R latent big hit, it is possible to give the player a sense of expectation and enhance interest by notifying the probability state indefinitely. At this time, the probability state may be notified when a predetermined condition is satisfied.

(A)及び(B)を参照すると、いずれの場合であっても大当り発生後に60%の確率で確率状態が高確率となるが、特図1変動表示ゲームで大当りが発生した場合のほうが特図2変動表示ゲームで大当りが発生した場合よりも不利となるように設定されている。具体的には、特図2変動表示ゲームで大当りが発生した場合には、普通変動入賞装置33の作動状態が必ず促進状態になるが、特図1変動表示ゲームの場合には促進状態にならない場合がある。また、特図1変動表示ゲームでは、2R確変大当りが発生する場合があるため、獲得できる遊技媒体の期待値が小さくなる。   Referring to (A) and (B), in any case, the probability state has a high probability with a probability of 60% after the occurrence of the big hit, but the special win is more likely to occur in the special figure 1 variable display game. FIG. 2 is set to be disadvantageous as compared to the case where a big hit occurs in the variable display game. Specifically, when a big hit is generated in the special figure 2 variable display game, the operation state of the normal variable prize-winning device 33 is always in the accelerated state, but in the special figure 1 variable display game, it is not in the accelerated state. There is a case. In addition, in the special figure 1 variable display game, 2R probability variation big hit may occur, so the expected value of the game medium that can be acquired becomes small.

次に、図52を参照して、図37の特図ゲーム処理における特図普段処理(3706)の詳細を説明する。図52は、本発明の第1の実施形態の特図普段処理の手順を示すフローチャートである。   Next, with reference to FIG. 52, the details of the special figure routine process (3706) in the special figure game process of FIG. 37 will be described. FIG. 52 is a flowchart showing the procedure of the special figure routine processing according to the first embodiment of the present invention.

特図普段処理では、遊技制御装置100は、まず、保留された特図2始動記憶があるか否かを判定する(5200)。   In the special figure routine process, the game control device 100 first determines whether or not there is a special figure 2 start memory that has been put on hold (5200).

特図2始動記憶がある場合には(5200の結果が「Y」)、遊技制御装置100は、特図2変動開始処理を実行し(5201)、その後、図37に示した特図ゲーム処理で特図変動中処理が実行されるように特図ゲーム処理番号を1に設定する(5204)。   If there is a special figure 2 start memory (the result of 5200 is “Y”), the game control device 100 executes a special figure 2 variation start process (5201), and then the special figure game process shown in FIG. Then, the special figure game process number is set to 1 so that the special figure changing process is executed (5204).

さらに、遊技制御装置100は、特図2変動開始処理によって算出され、決定した前半変動パターン及び後半変動パターンに対応する合計変動時間を特図ゲーム処理タイマに設定する(ステップ5205)。その後、特図普段処理を終了する。なお、ステップ5205の処理で変動時間が特図ゲーム処理タイマに設定されるので、変動時間が経過するまでは、図37の特図変動中処理(3707)は実行されない。   Furthermore, the game control apparatus 100 sets the total variation time corresponding to the determined first half variation pattern and the second half variation pattern calculated in the special diagram 2 variation start process in the special diagram game processing timer (step 5205). Thereafter, the special figure routine processing is terminated. Note that since the variation time is set in the special figure game process timer in the process of step 5205, the special figure variation processing (3707) in FIG. 37 is not executed until the variation time has elapsed.

一方、特図2始動記憶がない場合には(5200の結果が「N」)、遊技制御装置100は、保留された特図1始動記憶があるか否かを判定する(5202)。特図1始動記憶がある場合には(5202の結果が「N」)、特図1変動開始処理を実行する(5203)。その後、特図ゲーム処理番号を1に設定する(5204)。さらに、特図1変動開始処理で算出され、決定した変動時間を特図ゲーム処理タイマに設定し(5205)、特図普段処理を終了する。   On the other hand, when there is no special figure 2 start memory (the result of 5200 is “N”), the game control device 100 determines whether or not there is a special special figure 1 start memory (5202). When there is special figure 1 start memory (the result of 5202 is “N”), special figure 1 fluctuation start processing is executed (5203). Thereafter, the special figure game process number is set to 1 (5204). Furthermore, the fluctuation time calculated and determined in the special figure 1 variation start process is set in the special figure game process timer (5205), and the special figure routine process is terminated.

特図1始動記憶がないと判定された場合には(5202の結果が「N」)、遊技制御装置100は、客待ちデモフラグの設定があるか否かを判定する(5206)。客待ちデモフラグの設定がある場合には(5206の結果が「Y」)、遊技制御装置100は特図普段処理を終了する。これに対して、客待ちデモフラグの設定がない場合には(5206の結果が「N」)、遊技制御装置100は、客待ちデモフラグをセットする(5207)。さらに、客待ちデモコマンドを設定し(5208)、特図普段処理を終了する。   When it is determined that there is no special figure 1 start memory (the result of 5202 is “N”), the game control device 100 determines whether or not a customer waiting demo flag is set (5206). If the customer waiting demo flag is set (the result of 5206 is “Y”), the game control device 100 ends the special figure routine processing. On the other hand, when the customer waiting demo flag is not set (the result of 5206 is “N”), the game control device 100 sets the customer waiting demo flag (5207). Furthermore, a customer waiting demonstration command is set (5208), and the special figure routine processing is terminated.

なお、ステップ5207の処理でセットされた客待ちデモコマンドは、後に演出制御装置150に送信される。演出制御装置150は、この客待ちデモコマンドの受信に基づき、例えば表示装置8の表示部に客待ちデモ画像を表示する処理を実行する。   The customer waiting demo command set in the process of step 5207 is transmitted to the effect control device 150 later. The production control device 150 executes, for example, a process of displaying the customer waiting demo image on the display unit of the display device 8 based on the reception of the customer waiting demo command.

図52に示したように、本実施形態では、遊技制御装置100は、特図2始動記憶がある場合に当該特図2始動記憶に基づく特図2変動表示ゲームを、特図1始動記憶に基づく特図1変動表示ゲームよりも優先的に実行する。   As shown in FIG. 52, in this embodiment, the game control apparatus 100 changes the special figure 2 variation display game based on the special figure 2 start memory to the special figure 1 start memory when there is the special figure 2 start memory. It is executed preferentially over the special figure 1 variation display game based on it.

次に、図53を参照して、図52の特図普段処理における特図1/特図2変動開始処理(ステップ5203、ステップ5201)の詳細を説明する。図53は、本発明の第1の実施形態の特図1/特図2変動開始処理の手順を示すフローチャートである。   Next, with reference to FIG. 53, the details of the special figure 1 / special figure 2 variation start process (step 5203, step 5201) in the special figure ordinary process of FIG. 52 will be described. FIG. 53 is a flowchart illustrating the procedure of the special figure 1 / special figure 2 fluctuation start process according to the first embodiment of this invention.

まず、特図1変動開始処理では、遊技制御装置100は、第1特図変動表示ゲームに関する各種乱数の保存領域(図16参照)のうち、次回の変動の対象となる領域、すなわち保留1個目に対応する保留乱数記憶領域を指定する(5300)。次に、ステップ5300の処理で指定した記憶領域から大当り乱数、大当り図柄乱数、第1〜第3変動パターン乱数を取得した後、保留1〜3個目に対応する保留乱数記憶領域に、保留2〜4個目に対応する保留乱数記憶領域(次回以降の変動に対応する記憶領域)の各乱数をシフトする(5301)。そして、特図1の保留数を1減算し(5302)、ステップ5306以降の処理を実行する。   First, in the special figure 1 fluctuation start process, the game control device 100, among various random number storage areas (see FIG. 16) related to the first special figure fluctuation display game, the area subject to the next fluctuation, that is, one hold. A reserved random number storage area corresponding to the eye is designated (5300). Next, after acquiring the big hit random number, the big hit symbol random number, and the first to third variation pattern random numbers from the storage area designated in the processing of step 5300, the hold 2 is stored in the hold random number storage area corresponding to the first to third hold. The random numbers in the reserved random number storage area corresponding to the fourth (the storage area corresponding to the subsequent fluctuations) are shifted (5301). Then, 1 is subtracted from the number of holds in FIG. 1 (5302), and the processing after step 5306 is executed.

次いで、遊技制御装置100は、ステップ5301の処理で取得した保留1個目の各種乱数を用いて、図42に示した特図大当り判定処理を実行する(5306)。次に、図42の特図大当り判定処理のステップ4209の処理において一時的に記憶した情報を用いて、演出制御装置150に送信する飾り図柄変動パターンコマンドを設定する(5307)。飾り図柄変動パターンコマンドは、表示装置8で実行される飾り特図変動表示ゲームの内容を決めるコマンドである。   Next, the game control device 100 executes the special figure jackpot determination process shown in FIG. 42 using the various first random numbers held in the process of step 5301 (5306). Next, using the information temporarily stored in step 4209 of the special figure jackpot determination process of FIG. 42, a decorative symbol variation pattern command to be transmitted to the effect control device 150 is set (5307). The decorative symbol variation pattern command is a command for determining the content of the decorative special symbol variation display game executed on the display device 8.

さらに、遊技制御装置100は、保留情報コマンドを設定する(5308)。前述したように、保留情報コマンドは特図1又は特図2の保留数を通知するコマンドであり、ここでは、特図1又は特図2のうち、変動対象の特図の保留数を設定する。そして、ステップ5309において図52の特図普段処理のステップ5205の処理で設定した、決定した変動パターンに対応する変動時間を取得し(5309)、その後、特図1変動開始処理を終了する。   Furthermore, the game control device 100 sets a hold information command (5308). As described above, the hold information command is a command for notifying the number of hold of the special figure 1 or the special figure 2, and here, the hold number of the special figure to be changed is set in the special figure 1 or the special figure 2. . Then, in step 5309, the variation time corresponding to the determined variation pattern set in the processing in step 5205 of the special figure normal processing in FIG. 52 is acquired (5309), and then the special figure 1 variation start process is terminated.

同様に、特図2変動開始処理では、遊技制御装置100は、前述の特図1変動開始処理のステップ5300〜5302の処理に対応してステップ5303〜5305の処理を実行する。   Similarly, in the special figure 2 fluctuation start process, the game control apparatus 100 executes the processes of steps 5303 to 5305 in correspondence with the processes of steps 5300 to 5302 of the special figure 1 fluctuation start process described above.

遊技制御装置100は、第2特図変動表示ゲームに関する各種乱数の保存領域(図17参照)のうち、次回の変動の対象となる領域、すなわち保留1個目に対応する保留乱数記憶領域を指定する(5303)。次に、ステップ5303の処理で指定した記憶領域から大当り乱数、大当り図柄乱数、第1〜第3変動パターン乱数を取得した後、保留1〜3個目に対応する保留乱数記憶領域に、保留2〜4個目に対応する保留乱数記憶領域(次回以降の変動に対応する記憶領域)の各乱数をシフトする(5304)。そして、特図2の保留数を1減算し(5305)、ステップ5306以降の処理を実行する。   The game control device 100 designates an area to be subjected to the next change, that is, a reserved random number storage area corresponding to the first hold among the various random number storage areas (see FIG. 17) related to the second special figure change display game. (5303). Next, after acquiring the big hit random number, the big hit symbol random number, and the first to third variation pattern random numbers from the storage area designated in the processing of step 5303, the hold 2 is stored in the hold random number storage area corresponding to the first to third hold. Each random number in the reserved random number storage area corresponding to the fourth (the storage area corresponding to the next and subsequent fluctuations) is shifted (5304). Then, 1 is subtracted from the number of holdings in FIG. 2 (5305), and the processing after step 5306 is executed.

なお、ステップ5306では、ステップ5304の処理で取得した保留1個目の各種乱数を用いて、図42に示した特図大当り判定処理を実行することになる。   In step 5306, the special figure jackpot determination process shown in FIG. 42 is executed using the first various random numbers held in the process of step 5304.

このように、特図1又は特図2の変動が開始されるときにも特図大当り判定処理が実行されることで、飾り特図変動表示ゲームの表示内容が決定される。   As described above, the special contents big hit determination process is executed even when the fluctuation of the special figure 1 or the special figure 2 is started, thereby determining the display content of the decoration special figure fluctuation display game.

次に、図54を参照して、図37の特図ゲーム処理における特図変動中処理(ステップ3707)の詳細を説明する。図54は、本発明の第1の実施形態の特図変動中処理の手順を示すフローチャートである。   Next, with reference to FIG. 54, the details of the special figure changing process (step 3707) in the special figure game process of FIG. 37 will be described. FIG. 54 is a flowchart showing the procedure of the special figure changing process according to the first embodiment of this invention.

特図変動中処理は、特図変動表示ゲームにおける識別情報の停止表示時間の設定や、特図表示中処理を行うために必要な情報の設定等を行う。   In the special figure changing process, the stop display time of the identification information in the special figure changing display game, the setting of information necessary for performing the special figure display process, and the like are performed.

遊技制御装置100は、まず、実行中の特図変動表示ゲームが大当りであるか否かを判定する(5400)。例えば、停止図柄パターン情報がはずれ図柄パターン情報か否かによって判定する。実行中の特図変動表示ゲームが大当りではない場合には(5400の結果が「N」)、遊技制御装置100は、特図を停止させる時間としてはずれ用停止時間を設定する(5401)。一方、実行中の特図変動表示ゲームが大当りである場合には(5400の結果が「Y」)、特図を停止させる時間として大当り用の停止時間を設定する(5402)。   First, the game control device 100 determines whether or not the special figure variation display game being executed is a big hit (5400). For example, the determination is made based on whether or not the stop symbol pattern information is off symbol information. When the special figure variation display game being executed is not a big hit (the result of 5400 is “N”), the game control device 100 sets a stop time for losing as a time for stopping the special figure (5401). On the other hand, when the special figure fluctuation display game being executed is a big hit (the result of 5400 is “Y”), a big hit stop time is set as a time to stop the special figure (5402).

その後、遊技制御装置100は、飾り図柄停止コマンドを設定する(5403)。続いて、特図ゲーム処理番号に「2」を設定し(5404)、設定した停止時間を特図ゲーム処理タイマに設定する(5405)。その後、本処理を終了する。   After that, the game control device 100 sets a decorative symbol stop command (5403). Subsequently, “2” is set to the special figure game process number (5404), and the set stop time is set to the special figure game process timer (5405). Thereafter, this process is terminated.

次に、図55を参照して、図37の特図普段処理における特図表示中処理(ステップ3708)の詳細を説明する。図55は、本発明の第1の実施形態の特図表示中処理の手順を示すフローチャートである。   Next, with reference to FIG. 55, the details of the special figure display process (step 3708) in the special figure ordinary process of FIG. 37 will be described. FIG. 55 is a flowchart showing a procedure of special figure display processing according to the first embodiment of this invention.

特図表示中処理では、特図変動表示ゲームの結果が大当りである場合にファンファーレ・インターバル処理(ステップ3709)を行うために必要な情報が設定され、特図変動表示ゲームの結果がはずれである場合に特図普段処理(ステップ3706)を行うために必要な情報が設定される。   In the special figure display process, information necessary for performing the fanfare interval process (step 3709) when the result of the special figure fluctuation display game is a big hit is set, and the result of the special figure fluctuation display game is out of place. In this case, information necessary for performing the special figure routine processing (step 3706) is set.

遊技制御装置100は、まず、実行中の特図変動表示ゲームが大当りであるか否かを判定する(5500)。実行中の特図変動表示ゲームが大当りである場合には(5500の結果が「Y」)、普電作動状態を抑制状態に設定し(5501)、ファンファーレの時間を特図ゲーム処理タイマに設定する(5502)。   The game control apparatus 100 first determines whether or not the special figure variation display game being executed is a big hit (5500). If the special figure fluctuation display game being executed is a big hit (the result of 5500 is “Y”), the normal power operation state is set to the suppressed state (5501), and the fanfare time is set to the special figure game processing timer. (5502).

次に、遊技制御装置100は、特図ゲーム処理番号に「3」を設定し(5503)、ファンファーレコマンドを設定する(5504)。その後、本処理を終了する。   Next, the game control device 100 sets “3” as the special figure game process number (5503), and sets a fanfare command (5504). Thereafter, this process is terminated.

一方、実行中の特図変動表示ゲームが大当りではない場合には(5500の結果が「N」)、遊技制御装置100は、特図ゲーム処理タイマに「0」を設定し(5505)、特図ゲーム処理番号に「0」を設定する(5506)。   On the other hand, when the special figure fluctuation display game being executed is not a big hit (the result of 5500 is “N”), the game control device 100 sets “0” in the special figure game processing timer (5505), The figure game process number is set to “0” (5506).

次に、遊技制御装置100は、大当り後変動カウンタをインクリメントし(5507)、大当り後変動カウンタが所定の上限数に到達したか否かを判定する(5508)。大当り後変動カウンタは、特別遊技状態が終了してから実行された変動表示ゲーム数をカウントするカウンタである。カウンタ値は大当りである変動表示ゲームが終了する都度、ゼロに設定される。大当り後変動カウンタの上限値は、後述するステップ4906又は4908で設定され、当該上限値は特定遊技状態が終了するまでの回転数となる。大当り後変動カウンタが所定の上限数に到達していない場合には(5508の結果が「N」)、本処理を終了する。   Next, the game control device 100 increments the after-hit variation counter (5507) and determines whether or not the after-hit variation counter has reached a predetermined upper limit number (5508). The after-hit variation counter is a counter that counts the number of variation display games executed after the special gaming state is completed. The counter value is set to zero each time the variable display game that is a big hit ends. The upper limit value of the after-hit variation counter is set in step 4906 or 4908 described later, and the upper limit value is the number of rotations until the specific gaming state is finished. If the after-hit variation counter has not reached the predetermined upper limit (the result of 5508 is “N”), this processing is terminated.

これに対し、大当り後変動カウンタが所定の上限数に到達している場合には(5508の結果が「Y」)、遊技制御装置100は、現在の普電作動状態が入賞促進状態であるか否かを判定し(5509)、入賞促進状態である場合には(5509の結果が「Y」)、普電の作動状態を抑制状態に設定する(5510)。ステップ5510の設定により、特定遊技状態が終了することとなる。その後、本処理を終了する。また、入賞促進状態ではない場合には(5509の結果が「N」)、普電の作動状態を変更せずに、本処理を終了する。   On the other hand, if the after-hit variation counter has reached a predetermined upper limit (the result of 5508 is “Y”), the game control device 100 determines whether the current normal power operation state is a winning promotion state. It is determined whether or not (5509), and in the winning promotion state (the result of 5509 is “Y”), the normal operation state is set to the suppressed state (5510). With the setting in step 5510, the specific gaming state is ended. Thereafter, this process is terminated. If it is not in the winning promotion state (the result of 5509 is “N”), this process is terminated without changing the operating state of the ordinary power transmission.

次に、図56を参照して、図37の特図普段処理における大当り終了処理(ステップ3712)の詳細を説明する。図56は、本発明の第1の実施形態の大当り終了処理の手順を示すフローチャートである。大当り終了処理では、特別遊技状態を終了する処理が行われ、特図普段処理を行うために必要な情報が設定される。   Next, with reference to FIG. 56, the details of the big hit end process (step 3712) in the special figure ordinary process of FIG. 37 will be described. FIG. 56 is a flowchart showing the procedure of the jackpot end process according to the first embodiment of this invention. In the big hit ending process, a process for ending the special gaming state is performed, and information necessary for performing the special figure ordinary process is set.

遊技制御装置100は、まず、大当り後変動カウンタに「0」を設定する。次に、直前の大当りが確変大当りであるか否かを判定する(5601)。直前の大当りが確変大当りである場合には(5601の結果が「Y」)、特図確変フラグをオンに設定し(5602)、確変大当りではない場合には(5601の結果が「N」)、特図確変フラグをオフに設定する(5603)。   The game control device 100 first sets “0” in the after-hit variation counter. Next, it is determined whether or not the last big hit is a probable big hit (5601). When the previous big hit is a probable big hit (result of 5601 is “Y”), the special figure probable flag is set to ON (5602), and when it is not the probable big hit (result of 5601 is “N”). Then, the special figure probability changing flag is set to OFF (5603).

次に、遊技制御装置100は、促進状態の発生条件が成立しているか否かを判定する(5604)。促進状態の発生条件が成立している場合には(5604の結果が「Y」)、大当り後変動カウンタの上限数を設定する(5605)。大当り後変動カウンタの上限数は、図51に示した大当り種類を示す図に基づいて設定される。さらに、遊技制御装置100は、普電作動状態を促進状態に設定する(5606)。   Next, the game control device 100 determines whether or not the conditions for generating the promotion state are satisfied (5604). If the condition for generating the acceleration state is satisfied (the result of 5604 is “Y”), the upper limit number of the big hit post-variation counter is set (5605). The upper limit number of the big hit post-variation counter is set based on the big hit type shown in FIG. Further, the game control device 100 sets the normal power operation state to the accelerated state (5606).

一方、促進状態の発生条件が成立していない場合には(5604の結果が「N」)、遊技制御装置100は、普電作動状態を抑制状態に設定する(5607)。   On the other hand, when the conditions for generating the promotion state are not satisfied (the result of 5604 is “N”), the game control device 100 sets the normal power operation state to the suppression state (5607).

普電作動状態を設定すると、遊技制御装置100は、特図ゲーム処理タイマに「0」を設定する(5608)。次に、特図ゲーム処理番号に「0」を設定し(5609)、大当り終了コマンドを設定する(5610)。その後、本処理を終了する。   When the normal power operation state is set, the game control device 100 sets “0” in the special figure game processing timer (5608). Next, “0” is set in the special figure game process number (5609), and a jackpot end command is set (5610). Thereafter, this process is terminated.

図57は、本発明の第1の実施形態の変動パターンのグループを説明する図であり、(A)は各グループの当り時/はずれ時の振分値Fと期待度を表し、(B)は各グループと変動パターン乱数の値との対応を表す。   FIG. 57 is a diagram for explaining a group of variation patterns according to the first embodiment of the present invention. FIG. 57 (A) shows a distribution value F and an expectation degree at the time of hit / out of each group, and FIG. Represents the correspondence between each group and the value of the variation pattern random number.

図57(A)に示すように、グループには通常変動及びリーチ変動A〜Eがあり、各グループはそれぞれグループ番号が対応する。また、各グループには大当り期待度が規定されており、通常変動では期待度0%、リーチAでは期待度0.2%、リーチBでは期待度1.1%、リーチCでは期待度6.6%、リーチDでは63.1%、リーチEでは100%と、リーチA<リーチB<リーチC<リーチD<リーチEの順に期待度が高い。   As shown in FIG. 57 (A), groups have normal fluctuations and reach fluctuations A to E, and each group corresponds to a group number. Also, each group has a jackpot expectation, which is 0% for normal fluctuations, 0.2% for Reach A, 1.1% for Reach B, 1.1% for Reach C, and 6. 6%, reach D is 63.1%, reach E is 100%, and the expectations are high in the order of reach A <reach B <reach C <reach D <reach E.

変動パターン毎の振分値Fは、当り時用とはずれ時用とにそれぞれ規定され、当り/はずれ変動パターン選択テーブルにおいて1バイトの圧縮振分コードfとして保持される(図48参照)。各振分値Fは変換式「F=4×a」の結果に対応する値が設定される。 The distribution value F for each variation pattern is defined for each of the hitting time and the off-time use, and is held as a 1-byte compression distribution code f in the hit / missing variation pattern selection table (see FIG. 48). Each distribution value F is set to a value corresponding to the result of the conversion formula “F = 4 n × a”.

図57(B)では、各グループに対応する変動パターン乱数値を示す。変動パターン乱数は入賞時に取得し、当り/はずれに関わらず同一の乱数を用いる。例えば、遊技制御装置100は、入賞時に値が「1300」の変動パターン乱数を取得すると、変動表示ゲームの結果がはずれの場合には通常変動を取得するが、変動表示ゲームの結果が当りの場合にはリーチDを取得する。   FIG. 57B shows the variation pattern random value corresponding to each group. Fluctuation pattern random numbers are acquired at the time of winning a prize, and the same random numbers are used regardless of winning / losing. For example, when the game control apparatus 100 acquires a fluctuation pattern random number having a value of “1300” at the time of winning a prize, the game control apparatus 100 acquires normal fluctuation when the result of the fluctuation display game is out of place, but when the result of the fluctuation display game is win Reach D is acquired.

次に、変換式及び振分値「F」の特性について説明する。図58は、圧縮振分コードが表現可能な値を帯状に表した図である。帯の右側の縦の破線は、中央値4032を示す。   Next, the characteristics of the conversion formula and the distribution value “F” will be described. FIG. 58 is a diagram showing values that can be expressed by the compression distribution code in a band shape. The vertical dashed line on the right side of the band shows the median value 4032.

図58に示すように、本発明の第1の実施形態では、圧縮振分コードは、値の範囲全体を均一に圧縮するのではなく、小さな値の方が細かく設定可能となるように圧縮している。具体的には、中央値よりも大きな値では、64刻みの値しか設定できないが、中央値よりも小さな値である1〜63は1刻みの値を、64〜252は4刻みの値を設定可能であり、小さな値の方がより細かな振り分け設定が可能となっている。   As shown in FIG. 58, in the first embodiment of the present invention, the compression distribution code does not compress the entire range of values uniformly, but compresses so that a smaller value can be set more finely. ing. Specifically, when the value is larger than the median value, only a value in 64 increments can be set. However, values 1 to 63 that are smaller than the median value are set in increments of 1 and 64 to 252 are set in increments of 4. This is possible, and a smaller value enables a finer distribution setting.

例えば、振分値Fが1の場合(F=4×1)と2の場合(F=4×2)とを比較すると、振り分け率がそれぞれ1/2000又は2/2000となり、振分値Fの値が1異なるだけで該当する変動パターンの出現率が2倍に変化してしまうため、遊技性能に大きな違いが生じてしまう。それに対し、例えば、振分値Fが1472の場合(F=4×23)と1536の場合(F=4×24)とを比較すると、振り分け率がそれぞれ1472/2000又は1536/2000となり、これにより生じる変動パターンの出現率の差異は微差であるため遊技性能に大きな影響はない。つまり、小刻みな設定が必要となる小さな値に対しては細かく設定可能とする形式で、圧縮振分コードは設けられている。 For example, when the distribution value F is 1 (F = 4 0 × 1) and 2 (F = 4 0 × 2), the distribution ratio is 1/2000 or 2/2000, respectively. Since the appearance rate of the corresponding variation pattern changes twice as long as the value F is different by 1, the game performance greatly differs. On the other hand, for example, when the distribution value F is 1472 (F = 4 3 × 23) and 1536 (F = 4 3 × 24), the distribution ratio is 1472/2000 or 1536/2000, respectively. The difference in the appearance rate of the variation pattern caused by this is a slight difference, so that the game performance is not greatly affected. In other words, the compression distribution code is provided in a format that allows fine setting for small values that need to be set in small increments.

遊技機における遊技では、超プレミアムリーチとして稀にしか実行されない変動パターン(例えば、稀にしか登場しないレアキャラ)や、はずれ変動のように高頻度で実行される変動パターンに基づいて変動表示ゲームが実行される。本実施形態では、値が小さいほど所定の範囲内で設定可能な値の数を多くすることにより、振分値を1バイトに圧縮しながら、実行頻度の低い変動パターンについては細かく振り分け可能とし、実行頻度の高い変動パターンについては精度を大きく低下させることなく振り分け可能としている。   In gaming on a gaming machine, a fluctuation display game is executed based on a fluctuation pattern that is rarely executed as a super premium reach (for example, rare characters that rarely appear) or a fluctuation pattern that is frequently executed such as outlier fluctuation. Is done. In the present embodiment, the smaller the value, the greater the number of values that can be set within a predetermined range, so that it is possible to finely distribute the fluctuation pattern with low execution frequency while compressing the distribution value to 1 byte, It is possible to sort the fluctuation pattern having a high execution frequency without greatly reducing the accuracy.

また、従来2バイトで表現していた振分値を1バイトの圧縮振分コードに置き換えても、1から63までは全ての値を振分値に設定できるため、従来設定されていた振分値を変更することなく細かな振り分けを行うことが可能となっている。   In addition, even if the distribution value that was conventionally expressed in 2 bytes is replaced with a 1-byte compressed distribution code, all values from 1 to 63 can be set as distribution values. It is possible to perform fine sorting without changing the value.

図59は、本発明の第1の実施形態のグループ選択テーブル(A)と従来のグループ選択テーブル(B)とを対比するために表す図である。(B)の1列目の「DW(Define Word)」は、2バイトの定数が定義されていることを示す。   FIG. 59 is a diagram illustrating the group selection table (A) according to the first embodiment of this invention for comparison with the conventional group selection table (B). “DW (Define Word)” in the first column of (B) indicates that a 2-byte constant is defined.

従来のグループ選択テーブルに書き込まれる振分値は、バイナリデータとしてそのまま値を取得できるが、本実施形態の振分値(圧縮振分コード)でも63よりも小さい値は、b=1(n=1)であるため、そのまま値を取得することができる。例えば、振分値が1及び19の場合には、従来の振分値の上位8ビットはすべて「0」であり、従来の振分値の下位8ビットと、本願の圧縮振分コードは同じビットデータである。 The distribution value written in the conventional group selection table can be obtained as binary data as it is, but the distribution value (compression distribution code) of the present embodiment is smaller than 63 by b n = 1 (n = 1), the value can be acquired as it is. For example, when the distribution values are 1 and 19, the upper 8 bits of the conventional distribution value are all “0”, and the lower 8 bits of the conventional distribution value are the same as the compression distribution code of the present application. Bit data.

このように、小さな値(1〜63)の振分値であれば、ビットデータを変更することなく1単位(圧縮振分コードの下位6ビット)で表現することが可能である。   Thus, if the distribution value is a small value (1 to 63), it can be expressed in one unit (the lower 6 bits of the compressed distribution code) without changing the bit data.

なお、本実施形態の遊技機においては、グループ選択テーブル(図48)における振分値が2バイト構成で、後半変動パターンテーブル(図49)における振分値や、前半変動パターンテーブル(図50)における振分値が1バイト構成となっているが、何れのテーブルの振分値であっても、任意のバイト数に設定することは可能である。   In the gaming machine of the present embodiment, the distribution value in the group selection table (FIG. 48) has a 2-byte configuration, the distribution value in the second half variation pattern table (FIG. 49), and the first half variation pattern table (FIG. 50). Although the distribution value in 1 has a 1-byte structure, any number of distribution values in any table can be set to an arbitrary number of bytes.

また、本実施形態の遊技機においては、グループ選択テーブル(図48)における振分値のみを圧縮コードを用いて表現しているが、後半変動パターンテーブル(図49)における振分値や、前半変動パターンテーブル(図50)における振分値を、圧縮コードを用いて表現することも可能である。   In the gaming machine of the present embodiment, only the distribution value in the group selection table (FIG. 48) is expressed using the compression code, but the distribution value in the second half variation pattern table (FIG. 49) and the first half The distribution value in the variation pattern table (FIG. 50) can also be expressed using a compression code.

次に、前述したタイマ割込み処理における普図ゲーム処理(図29の2920)の詳細について説明する。図60は、本発明の第1の実施形態の普図ゲーム処理の手順を示すフローチャートである。   Next, the details of the usual game process (2920 in FIG. 29) in the timer interrupt process described above will be described. FIG. 60 is a flowchart showing the procedure of the usual game process according to the first embodiment of the present invention.

普図ゲーム処理では、普通図柄始動ゲート31の入力の監視と、普図変動表示ゲームに関する処理全体の制御、普図の表示の設定を行う。普図ゲーム処理を実行する遊技制御装置100は、普図制御手段(第1制御手段)を構成する。なお、普図変動表示ゲームは、特図変動表示ゲームとは独立して実行される。   In the usual game process, the input of the normal symbol start gate 31 is monitored, the overall process related to the usual figure variation display game is controlled, and the display of the ordinary figure is set. The game control device 100 that executes the usual game process constitutes a usual figure control means (first control means). It should be noted that the common map variation display game is executed independently of the special map variation display game.

遊技制御装置100は、まず、普図始動SW31Aへの遊技球の入賞を監視するゲートスイッチ監視処理を実行する(6001)。ゲートスイッチ監視処理では、普通図柄始動ゲート31に遊技球が入賞すると、普図変動表示ゲームの当りを決定するための当り乱数を抽出する。なお、ゲートスイッチ監視処理の詳細については、図61を参照して、後述する。   First, the game control device 100 executes a gate switch monitoring process for monitoring the winning of a game ball to the normal start SW 31A (6001). In the gate switch monitoring process, when a game ball wins the normal symbol start gate 31, a winning random number for determining the winning of the normal variation display game is extracted. Details of the gate switch monitoring process will be described later with reference to FIG.

次に、遊技制御装置100は、普電入賞スイッチ監視処理を実行する(6002)。普電入賞スイッチ監視処理では、第2始動入賞口34に設けられた第2始動口スイッチ34Aのカウント数、すなわち、第2始動入賞口34に入賞した遊技球の数を監視する。なお、普電入賞スイッチ監視処理の詳細については、図62を参照して、後述する。   Next, the game control device 100 executes a general power winning switch monitoring process (6002). In the general electric winning switch monitoring process, the count number of the second starting opening switch 34A provided in the second starting winning opening 34, that is, the number of game balls won in the second starting winning opening 34 is monitored. Details of the general power prize winning switch monitoring process will be described later with reference to FIG.

次に、遊技制御装置100は、当該ゲーム処理タイマが既にタイムアップしたか否か、又は、普図ゲーム処理タイマを1減算して更新し、当該ゲーム処理タイマがタイムアップしたか否かをチェックする(6003)。そして、普図ゲーム処理タイマがタイムアップしたか否かを判定する(6004)。   Next, the game control device 100 checks whether or not the game processing timer has already expired, or updates the ordinary game processing timer by subtracting 1 and updates the game processing timer. (6003). Then, it is determined whether the usual game process timer has expired (6004).

遊技制御装置100は、普図ゲーム処理タイマがタイムアップしたと判定した場合には(6004の結果が「Y」)、普図ゲーム処理番号に対応する処理に分岐させるために参照する普図ゲームシーケンス分岐テーブルをレジスタに設定する(6005)。   When the game control device 100 determines that the normal game process timer has expired (the result of 6004 is “Y”), the game control device 100 refers to the normal game referred to for branching to the process corresponding to the normal game process number. The sequence branch table is set in the register (6005).

遊技制御装置100は、さらに、普図ゲームシーケンス分岐テーブルを用いて普図ゲーム処理番号に対応する処理の分岐先アドレスを取得する(6006)。その後、普図ゲーム処理番号に対応する処理を実行する(6008)。   The game control apparatus 100 further acquires the branch destination address of the process corresponding to the usual game process number using the usual game sequence branch table (6006). Thereafter, a process corresponding to the usual game process number is executed (6008).

遊技制御装置100は、普図ゲーム処理番号が「0」の場合には(6008の結果が「0」)、普図普段処理を実行する(6009)。普図普段処理は、普図変動表示ゲームの変動開始を監視し、普図変動表示ゲームの結果の抽選、及び普図変動中処理を行うために必要な情報の設定などを行う。なお、普図普段処理の詳細については、図63及び図64を参照して、後述する。   When the usual game process number is “0” (the result of 6008 is “0”), the game control apparatus 100 executes the usual figure normal process (6009). The usual figure normal process monitors the start of fluctuation of the usual figure fluctuation display game, performs lottery of the result of the usual figure fluctuation display game, and sets information necessary for performing the process during the usual figure fluctuation. Note that details of the normal daily processing will be described later with reference to FIGS. 63 and 64.

遊技制御装置100は、普図ゲーム処理番号が「1」の場合には(6008の結果が「1」)、普図変動中処理を実行する(6010)。普図変動中処理は、普図表示中処理を行うために必要な情報の設定等を行う。なお、普図変動中処理の詳細については、図67を参照して、後述する。   When the usual game process number is “1” (the result of 6008 is “1”), the game control device 100 executes the usual figure changing process (6010). In the process of changing the ordinary map, information necessary for performing the process of displaying the ordinary map is set. The details of the process during normal map change will be described later with reference to FIG.

遊技制御装置100は、普図ゲーム処理番号が「2」の場合には(6008の結果が「2」)、普図表示中処理を実行する(6011)。普図表示中処理は、普図変動表示ゲームの遊技結果が当りであれば、普電サポート状態に応じた普通変動入賞装置33の開放時間の設定や、普図当り中処理を行うために必要な情報の設定等を行う。なお、普図表示中処理の詳細については、図69を参照して後述する。   When the usual game process number is “2” (the result of 6008 is “2”), the game control apparatus 100 executes the usual figure display process (6011). If the game result of the normal map fluctuation display game is a hit, the processing during the normal map display is necessary for setting the opening time of the normal variable winning device 33 according to the general power support state and performing the processing during the normal map display. To set various information. The details of the normal map display process will be described later with reference to FIG.

遊技制御装置100は、普図ゲーム処理番号が「3」の場合には(6008の結果が「3」)、普図当り中処理を実行する(6012)。普図当り中処理は、普図変動表示ゲームの当りが終了するか否かを判定する処理や、普電残存球処理を行うために必要な情報の設定等を行う。なお、普図当り中処理の詳細については、図71を参照して後述する。   When the usual game process number is “3” (the result of 6008 is “3”), the game control apparatus 100 executes the process during the usual figure (6012). The process for hitting the base map is a process for determining whether or not the hit of the base map fluctuation display game is completed, and setting information necessary for performing the baseball remaining ball process. Details of the process during the normal hitting will be described later with reference to FIG.

遊技制御装置100は、普図ゲーム処理番号が「4」の場合には(6008の結果が「4」)、普電残存球処理を実行する(6013)。普電残存球処理は、普図変動表示ゲームの当りラウンドが最終ラウンドであれば、第2始動入賞口34内にある残存球が排出されるための時間を設定する処理や、普図当り終了処理を行うために必要な情報の設定などを行う。なお、普電残存球処理の詳細については、図73を参照して後述する。   When the normal game process number is “4” (the result of 6008 is “4”), the game control apparatus 100 executes the general electric power remaining ball process (6013). The baseball remaining ball process is a process for setting the time for the remaining balls in the second start winning opening 34 to be discharged, or the end of the baseball figure if the round round of the base map fluctuation display game is the final round. Set information necessary for processing. Details of the ordinary electric ball remaining ball process will be described later with reference to FIG.

遊技制御装置100は、普図ゲーム処理番号が「5」の場合には(6008の結果が「5」)、普図当り終了処理を実行する(6014)。普図当り終了処理は、普図普段処理(6009)を行うために必要な情報の設定等を行う。なお、普図当り終了処理の詳細については、図75を参照して後述する。   When the usual game process number is “5” (the result of 6008 is “5”), the game control device 100 executes the usual figure end process (6014). In the process for ending the usual figure, information necessary for performing the usual figure process (6009) is set. Note that details of the universal hitting end process will be described later with reference to FIG.

各処理番号に対応する処理が完了すると、遊技制御装置100は、普図表示器121の変動を制御するためのテーブルを準備し(6015)、普図表示器121における図柄変動制御処理を実行する(6016)。   When the process corresponding to each process number is completed, the game control device 100 prepares a table for controlling the fluctuation of the general-purpose display 121 (6015), and executes the symbol fluctuation control process in the general-purpose display 121. (6016).

一方、遊技制御装置100は、普図ゲーム処理タイマがタイムアップしていないと判定した場合には(6004の結果が「N」)、ステップ6015以降の処理を実行する。   On the other hand, when it is determined that the usual game process timer has not timed up (the result of 6004 is “N”), the game control apparatus 100 executes the processes after step 6015.

次に、前述の普図ゲーム処理におけるゲートスイッチ監視処理(図60の6001)の詳細について説明する。図61は、本発明の第1の実施形態のゲートスイッチ監視処理の手順を示すフローチャートである。   Next, details of the gate switch monitoring process (6001 in FIG. 60) in the above-described ordinary game process will be described. FIG. 61 is a flowchart illustrating a procedure of gate switch monitoring processing according to the first embodiment of this invention.

遊技制御装置100は、まず、普図始動SW31Aに入力があるか否かをチェックして判定する(6101、6102)。普図始動SW31Aに入力がない場合には(6102の結果が「N」)、ゲートスイッチ監視処理を終了する。一方、普図始動SW31Aに入力がある場合には(6102の結果が「Y」)、普図保留(普図始動記憶)数が上限値未満(例えば所定数4)か否かをチェックし(6103)、普図保留数が上限値未満か否かを判定する(6104)。ここでは、図15の普図保留カウンタの値を普図保留数としている。   The game control apparatus 100 first checks and determines whether or not there is an input to the normal start SW 31A (6101, 6102). If there is no input to the normal start SW 31A (the result of 6102 is “N”), the gate switch monitoring process is terminated. On the other hand, when there is an input to the general map start SW 31A (the result of 6102 is “Y”), it is checked whether or not the number of general map hold (normal map start memory) is less than the upper limit value (for example, the predetermined number 4) ( 6103), it is determined whether the number of reserved drawings is less than the upper limit (6104). Here, the value of the usual figure reservation counter in FIG.

普図保留数が上限値未満である場合には(6104の結果が「Y」)、遊技制御装置100は、普図保留数を更新(+1)し(6105)、普図保留数に対応する乱数セーブ領域のアドレスを算出する(6106)。ここでは、図15の普図乱数保存領域として設定された4つの領域(保留1〜保留4)の中から、1つの領域を決定するためにアドレスを算出する。   If the number of reserved drawings is less than the upper limit (the result of 6104 is “Y”), the game control apparatus 100 updates (+1) the number of reserved drawings (6105), and corresponds to the number of reserved drawings. The address of the random number saving area is calculated (6106). Here, an address is calculated in order to determine one area from the four areas (hold 1 to hold 4) set as the normal random number storage area in FIG.

そして、遊技制御装置100は、当り乱数をRWMの乱数セーブ領域にセーブし(6107)、ゲートスイッチ監視処理を終了する。なお、セーブした当り乱数(当り判定用乱数値)は、普図始動記憶となる。ここでは、図15の普図乱数生成領域から取得した乱数値をセーブする。   Then, the game control apparatus 100 saves the winning random number in the random number saving area of the RWM (6107), and ends the gate switch monitoring process. The saved winning random number (random value for winning determination) is stored as a normal start-up memory. Here, the random number value acquired from the normal random number generation area of FIG. 15 is saved.

普図保留数が上限値未満でない場合には(6104の結果が「N」)、遊技制御装置100は、ゲートスイッチ監視処理を終了する。   In the case where the number of reserved symbols is not less than the upper limit value (the result of 6104 is “N”), the game control device 100 ends the gate switch monitoring process.

次に、前述の普図ゲーム処理における普電入賞スイッチ監視処理(図60の6002)の詳細について説明する。図62は、本発明の第1の実施形態の普電入賞スイッチ監視処理の手順を示すフローチャートである。   Next, the details of the general power prize winning switch monitoring process (6002 in FIG. 60) in the above-described general game process will be described. FIG. 62 is a flowchart showing the procedure of the general power winning switch monitoring process according to the first embodiment of this invention.

普図入賞スイッチ監視処理は、普図変動表示ゲームの当り中に第2始動入賞口に所定数の遊技球が入賞すると、普図変動表示ゲームの当り状態を終了させる処理である。   The general-purpose winning switch monitoring process is a process for ending the hit state of the general-purpose variable display game when a predetermined number of game balls have won the second start winning opening during the general-purpose variable display game.

遊技制御装置100は、まず、普図変動表示ゲームの当りが発生しているか否かをチェックし、判定する(6201、6202)。普図変動表示ゲームの当りが発生していない場合には(6202の結果が「N」)、遊技制御装置100は、普電入賞スイッチ監視処理を終了する。一方、普図変動表示ゲームが当りである場合には(6202の結果が「Y」)、第2始動口スイッチ(始動口2スイッチ)34Aに入力があるか否かをチェックし(6203)、第2始動口スイッチ34Aに入力があるか否かを判定する(6204)。第2始動口スイッチ34Aに入力がない場合には(6204の結果が「N」)、普電入賞スイッチ監視処理を終了する。   The game control device 100 first checks and determines whether or not a win-win game has occurred (6201, 6202). When the win for the normal variation display game has not occurred (the result of 6202 is “N”), the game control apparatus 100 ends the general power prize switch monitoring process. On the other hand, when the normal map change display game is a win (the result of 6202 is “Y”), it is checked whether or not there is an input to the second start port switch (start port 2 switch) 34A (6203). It is determined whether there is an input to the second start port switch 34A (6204). If there is no input to the second start port switch 34A (the result of 6204 is “N”), the ordinary power prize winning switch monitoring process is terminated.

一方、第2始動口スイッチ34Aに入力がある場合には(6204の結果が「Y」)、遊技制御装置100は、普電カウント数を更新(+1)する(6205)。そして、更新された普電カウント数が上限値(例えば2個)に達したか否かをチェックし(6206)、普電カウント数が上限値に達したか否かを判定する(6207)。この上限値は、普通変動入賞装置33の1回の開放での第2始動入賞口34への最大入賞数である。   On the other hand, when there is an input to the second start port switch 34A (the result of 6204 is “Y”), the game control apparatus 100 updates (+1) the common power count number (6205). Then, it is checked whether or not the updated ordinary power count has reached an upper limit (for example, 2) (6206), and it is determined whether or not the ordinary power count has reached an upper limit (6207). This upper limit value is the maximum number of winnings in the second start winning opening 34 when the ordinary variable winning device 33 is opened once.

普電カウント数が上限値に達していない場合には(6207の結果が「N」)、遊技制御装置100は、普電入賞スイッチ監視処理を終了する。一方、普電カウント数が上限値に達した場合には(6207の結果が「Y」)、普図変動表示ゲームの当り状態を終了するべく、後述の普図当り中処理の普電作動移行設定処理(図29)で使用するポインタとして、普図当り中処理制御ポインタ領域に当り終了の値であるポインタ(4)をセットし(6208)、普図ゲーム処理タイマを0クリアし(6209)、普電入賞スイッチ監視処理を終了する。   When the power transmission count number does not reach the upper limit (the result of 6207 is “N”), the game control device 100 ends the power transmission winning switch monitoring process. On the other hand, when the normal power count reaches the upper limit (the result of 6207 is “Y”), the normal power shift operation of the normal power per-game process described later is completed in order to end the hit state of the normal signal fluctuation display game. As a pointer used in the setting process (FIG. 29), the pointer (4), which is a hit end value, is set in the normal process control pointer area (6208), and the normal game process timer is cleared to 0 (6209). Then, the ordinary power prize winning switch monitoring process is terminated.

次に、前述した普図ゲーム処理における普図普段処理(図60のステップ6009)の詳細について説明する。図63は、本発明の第1の実施形態の普図普段処理の前半の手順を示すフローチャートである。図64は、本発明の第1の実施形態の普図普段処理の後半の手順を示すフローチャートである。   Next, the details of the usual figure routine process (step 6009 in FIG. 60) in the aforementioned ordinary figure game process will be described. FIG. 63 is a flowchart showing the first half of the routine routine processing according to the first embodiment of this invention. FIG. 64 is a flowchart showing the second half of the routine routine processing according to the first embodiment of this invention.

遊技制御装置100は、まず、普図保留数が0であるか否かをチェックし(6301)、普図保留数が0であるか否かを判定する(6302)。普図保留数が0の場合には(6302の結果が「Y」)、次に実行されるタイマ割込み処理の普図ゲーム処理で普図普段処理を実行させるために、普図普段処理移行設定処理1を実行する(6303)。その後、普図普段処理を終了する。   The game control device 100 first checks whether or not the number of reserved drawings is 0 (6301), and determines whether or not the number of reserved drawings is 0 (6302). If the number of pending maps is 0 (the result of 6302 is “Y”), in order to cause the routine to execute the routine in the routine game processing of the timer interrupt processing to be executed next, Process 1 is executed (6303). Thereafter, the normal processing is terminated.

一方、遊技制御装置100は、普図保留数が0でない場合には(6302の結果が「N」)、普図ゲームモードフラグ(普図ゲームモードフラグ領域のフラグ)に基づいて、普図当り確率を高確率(促進状態、普図高確状態、第1状態)にするか否かを判定する(6304)。大当り終了処理等において、普図ゲームモードフラグとして普図高確率&普電サポートありフラグが設定されている場合(普電作動状態が促進状態に設定されている場合)に、遊技制御装置100は、ステップ6305から6311までの処理を実行して、普図変動表示ゲームの結果が普図当りとなる普図当り確率を高確率(促進状態、普図高確状態)にし、普図当りを抽選する。大当り終了処理等において、普図ゲームモードフラグとして普図高確率&普電サポートありフラグが設定されない場合(普電作動状態が抑制状態に設定されている場合であり、低確率&普電サポートなしフラグが設定されたままである場合)に、遊技制御装置100は、ステップ6314から6317までの処理を実行して、普図変動表示ゲームの結果が普図当り(特別結果)となる普図当り確率を低確率(抑制状態、普図低確状態、第2状態)にし、普図当りを抽選する。なお、本実施形態では、普図当り確率が0である場合も、低確率状態であるものとする。   On the other hand, in the case where the number of pending drawings is not 0 (the result of 6302 is “N”), the game control device 100 determines the number of times of the usual drawing based on the usual game mode flag (flag of the usual game mode flag area). It is determined whether or not the probability is set to a high probability (promotion state, normal high-accuracy state, first state) (6304). In the big hit end process or the like, when the ordinary figure high probability & ordinary power support flag is set as the ordinary figure game mode flag (when the ordinary electric operation state is set to the accelerated state), the game control device 100 , Steps 6305 to 6311 are executed to increase the probability per base map where the result of the base map fluctuation display game is per base map (promotion state, base state high accuracy state), and lots per base map To do. In the big hit end processing, etc., when the normal figure high probability & normal power support flag is not set as the general game game mode flag (the normal power operation state is set to the suppressed state, low probability & no general power support) When the flag is still set), the game control device 100 executes the processing from steps 6314 to 6317, and the probability per base map that the result of the base map fluctuation display game is per base map (special result) Is set to a low probability (suppressed state, ordinary figure low-accuracy state, second state), and lottery per lot. In the present embodiment, it is assumed that even if the probability per ordinary map is 0, the state is in a low probability state.

なお、所定の条件を満たしている場合には、普図当り確率は高確率(普図高確状態)に維持される。本実施形態において、所定の条件は、少なくとも大当り状態(特別遊技状態)でないことを含み、例えば、大当り終了後(特別遊技状態の終了後)に時短遊技状態(通常時短遊技状態又は確変時短遊技状態)になり、かつ、図55のステップ5508の処理において時間短縮変動回数が上限数に到達しない(時短遊技状態が終了していない)ことである。所定の条件を満たしていない場合には、特別遊技状態時が含まれる。しかし、所定の条件は、種々設定可能であり、これに限定されない。例えば、所定の条件は、転落抽選により時短遊技状態が終了していないことを含めてもよい。   In addition, when the predetermined condition is satisfied, the probability per ordinary figure is maintained at a high probability (ordinary figure highly accurate state). In the present embodiment, the predetermined condition includes that at least the jackpot state (special game state) is not included. For example, the short-time game state (the normal time short game state or the probability change short game state) after the jackpot end (after the special game state ends) ) And the number of time reduction fluctuations does not reach the upper limit number in the process of step 5508 in FIG. 55 (the time-saving gaming state has not ended). When the predetermined condition is not satisfied, the special game state is included. However, the predetermined condition can be set in various ways, and is not limited to this. For example, the predetermined condition may include that the time-saving gaming state has not ended due to the falling lottery.

現在の普図当り確率を高確率にする場合には(6304の結果が「Y」)、遊技制御装置100は、RWMの乱数セーブ領域から当り乱数をロードして準備する(6305)。さらに、普図当り確率が高確率である場合の当り判定用の下限判定値を設定する(6306)。その後、当り乱数の値が下限判定値未満であるか否かをチェック、つまり、ステップ6305の処理でロードされた当り乱数の値が、当該当り乱数の当り判定値の下限値未満であるかをチェックする(6307)。そして、当り乱数の値が下限判定値未満であるか否かを判定する(6308)。ここでは、図15の普図乱数保存領域(保留1)から乱数をロードして、判定が行われる。   When the current probability of hitting a normal map is set to a high probability (the result of 6304 is “Y”), the game control device 100 prepares by loading a hit random number from the random number save area of the RWM (6305). Further, a lower limit determination value for hit determination when the probability of hitting the normal map is high is set (6306). Thereafter, it is checked whether or not the value of the hit random number is less than the lower limit judgment value, that is, whether or not the value of the hit random number loaded in the processing of step 6305 is less than the lower limit value of the hit judgment value of the hit random number. Check (6307). Then, it is determined whether or not the value of the hit random number is less than the lower limit determination value (6308). Here, a random number is loaded from the usual random number storage area (hold 1) in FIG.

遊技制御装置100は、当り乱数の値が下限判定値未満でない場合(6308の結果が「N」)、すなわち、当り乱数の値が下限判定値以上の場合には、普図変動表示ゲームで当り結果となる確率が高確率状態である場合の上限判定値を設定する(6309)。なお、当り乱数が取りうる範囲が0〜250である場合に、例えば、後述の図77のように普図当りの確率が高確率(促進状態)の201/251であれば、下限判定値は例えば0であり、上限判定値は例えば200である。   When the value of the hit random number is not less than the lower limit determination value (the result of 6308 is “N”), that is, when the value of the hit random number is greater than or equal to the lower limit determination value, An upper limit determination value is set when the resulting probability is a high probability state (6309). In addition, when the range that the winning random number can take is 0 to 250, for example, as shown in FIG. 77 described later, if the probability per ordinary map is 201/251 with a high probability (accelerated state), the lower limit determination value is For example, it is 0, and the upper limit determination value is 200, for example.

遊技制御装置100は、当り乱数の値が上限判定値よりも大きいか否かをチェック、すなわち、ステップ6305の処理で読み込まれた当り乱数の値が、当該当り乱数の当り判定値の上限値よりも大きいかをチェックする(6310)。そして、当り乱数の値が上限判定値よりも大きいか否かを判定する(6311)。   The game control device 100 checks whether or not the value of the hit random number is larger than the upper limit determination value, that is, the value of the hit random number read in the process of step 6305 is larger than the upper limit value of the hit determination value of the hit random number. Is also larger (6310). Then, it is determined whether or not the value of the hit random number is larger than the upper limit determination value (6311).

遊技制御装置100は、当り乱数の値が上限判定値よりも大きくない、すなわち、当り乱数の値が上限判定値以下の場合には(6311の結果が「N」)、RWMの当りフラグ領域に当り情報をセーブする(6312)。さらに、普図停止図柄に当り時の停止図柄番号を設定し(6313)、ステップ6320以降の処理を実行する。当り時の停止図柄番号は、当り図柄乱数から抽選(振分)により決定される。   When the value of the hit random number is not larger than the upper limit determination value, that is, when the value of the hit random number is equal to or smaller than the upper limit determination value (the result of 6311 is “N”), the game control device 100 sets the hit flag area of the RWM. The winning information is saved (6312). Furthermore, the stop symbol number at the time of hitting is set for the normal symbol stop symbol (6313), and the processing after step 6320 is executed. The stop symbol number at the time of winning is determined by lottery (distribution) from the winning symbol random number.

また、遊技制御装置100は、当り乱数の値が下限判定値未満の場合(6308の結果が「Y」)、もしくは、当り乱数の値が上限値よりも大きい場合には(6311の結果が「Y」)、RWMの当りフラグ領域にはずれ情報をセーブする(6318)。さらに、普図停止図柄にはずれ時の停止図柄番号を設定し(6319)、ステップ6320以降の処理を実行する。はずれ時の停止図柄番号は、はずれ図柄乱数から抽選(振分)により決定される。はずれ時又は当り時の停止図柄ひいては停止図柄番号は、例えば3種類程度(はずれ、当り1、当り2など)準備されている。   In addition, the game control apparatus 100 determines that if the value of the hit random number is less than the lower limit determination value (result of 6308 is “Y”), or if the value of the hit random number is larger than the upper limit value (result of 6311 is “ Y "), the shift information is saved in the hit flag area of RWM (6318). Furthermore, the stop symbol number at the time of deviation is set as the normal symbol stop symbol (6319), and the processing after step 6320 is executed. The stop symbol number at the time of loss is determined by lottery (assignment) from the loss symbol random number. For example, about three types of stop symbols at the time of disconnection or hitting, and therefore stop symbol numbers, are prepared (disconnection, hit 1, hit 2, etc.).

一方、遊技制御装置100は、現在の普図当り確率が高確率でない場合(抑制状態、普図低確状態)には(6304の結果が「N」)、RWMの乱数セーブ領域から当り乱数をロードして準備し(6314)、普図当り確率が低確率状態である場合(抑制状態、普図低確状態)の当り判定用の判定値を設定する(6315)。そして、ステップ6314の処理でロードした当り乱数とステップ6315の処理で設定した判定値とが一致するか否かをチェックし(6316)、当該当り乱数と当該判定値とが一致するか否かを判定する(6317)。   On the other hand, when the current probability per base map is not high (inhibited state, normal state low probability state) (result of 6304 is “N”), the game control device 100 obtains a per-random number from the RWM random number save area. It is loaded and prepared (6314), and a determination value for hit determination is set (6315) when the probability of hitting a normal figure is in a low probability state (suppressed state, normal figure low-accuracy state). Then, it is checked whether or not the hit random number loaded in step 6314 and the judgment value set in step 6315 match (6316), and whether or not the hit random number and the judgment value match. Determination is made (6317).

このとき、当り判定用の判定値を、当り乱数が取りうる値の範囲(乱数の更新範囲)外に設定しておくことにより、当たりを発生させないようにすることができる。また、当り判定用の判定値が乱数の更新範囲内であっても、判定値の個数が少なければ(例えば1個)、極めて低確率で当たりとなるように構成できる。   At this time, by setting the determination value for the hit determination outside the range of values that can be taken by the hit random number (random number update range), it is possible to prevent the hit from occurring. Even if the determination value for the hit determination is within the update range of the random number, if the number of the determination values is small (for example, one), the hit can be made with a very low probability.

なお、低確率の普図当り確率をゼロに設定する代わりに、低確率の場合に普図当りであっても普通変動入賞装置33を作動させないようにしてよい。(例えば、ステップ6314から6317の処理に代えて、後述の普図当り中処理の普電作動移行設定処理(図29)で使用するポインタとして、普図当り中処理制御ポインタ領域に当り終了の値であるポインタ(4)を予めセットして維持しておく)。あるいは、低確率の普図当り確率をゼロに設定する代わりに、ステップ6314から6317の処理を省略して、普図当り確率が低確率状態(抑制状態)である場合に、普図当りの判定を行わなくするようなプログラムを作成してもよい。   Note that instead of setting the probability per ordinary figure with a low probability to zero, the normal variation winning device 33 may not be operated even if it is per ordinary figure when the probability is low. (For example, instead of the processing of steps 6314 to 6317, the value of the hit end value for the middle processing control pointer area as a pointer to be used in the normal operation transition setting processing (FIG. 29) of the middle processing per below-mentioned) The pointer (4) is set and maintained in advance). Alternatively, instead of setting the low probability per ordinary map to zero, the processing of steps 6314 to 6317 is omitted, and the per-general judgment is determined when the probability per ordinary figure is in a low probability state (suppressed state). You may make the program which does not carry out.

また、図77にて後述するように、抽出される普図乱数に対応して普図変動表示ゲームの結果を設定するようにしてもよい。そして、抑制状態の場合には、いずれの普図乱数が取得された場合であっても常に普図変動表示ゲームの結果がはずれとなるようにすればよい。   In addition, as will be described later with reference to FIG. 77, the result of the normal fluctuation display game may be set corresponding to the extracted normal random number. In the suppressed state, the result of the normal fluctuation display game may be always lost even if any of the normal random numbers is acquired.

なお、普図変動表示ゲームが特定結果となって普通変動入賞装置33を作動させることを可能とする状態を第1状態とする場合に、前述の高確率(普図高確状態)は第1状態に含まれる。普図変動表示ゲームを実行しながらも普通変動入賞装置33を作動させることを不能とする状態を第2状態とする場合に、第2状態には、普図当り確率がゼロの低確率の状態(普図低確状態)と、普図当りであっても普通変動入賞装置33を作動させない状態と、普図当りの判定を行わない状態などが含まれる。   In the case where the first state is the state in which the normal variation display game becomes a specific result and the normal variation winning device 33 can be operated, the above-described high probability (normal representation high accuracy state) is the first. Included in the state. When the second state is a state in which the normal variation winning device 33 cannot be operated while the normal variation display game is executed, the second state includes a low probability state with a probability per unit of zero. (Ordinary state of low probability), a state in which the normal variation winning device 33 is not operated even in the case of a normal figure, a state in which the determination per common figure is not performed, and the like are included.

また、大当り終了処理等において、普図ゲームモードフラグは、特図変動表示ゲームの結果(大当りの種類や、大当り/はずれの結果)に対応して、普図高確率&普電サポートありフラグ又は低確率&普電サポートなしフラグに設定されている(ステップ5606、5607等)。したがって、ステップ6304の処理を実行する遊技制御装置100は、作動状態選択手段として機能し、特図変動表示ゲームの結果(大当りの種類や、大当り/はずれの結果)に対応して、第1状態と第2状態とを切り替える制御を行う。遊技制御装置100(作動状態選択手段)は、普図変動表示ゲーム(第1変動表示ゲーム)の結果とは独立して、特図変動表示ゲーム(第2変動表示ゲーム)の結果に対応して、第1状態と第2状態とを切り替える。   In addition, in the big hit end processing, etc., the normal figure game mode flag corresponds to the result of the special figure fluctuation display game (type of big hit or the result of big hit / out of hit). The low probability & no ordinary power support flag is set (steps 5606, 5607, etc.). Therefore, the game control apparatus 100 that executes the process of step 6304 functions as an operation state selection means, and corresponds to the result of the special figure variation display game (the type of jackpot or the result of jackpot / out of game) in the first state. And control for switching between the second state and the second state. The game control device 100 (operating state selection means) responds to the result of the special figure fluctuation display game (second fluctuation display game) independently of the result of the general figure fluctuation display game (first fluctuation display game). The first state and the second state are switched.

遊技制御装置100は、当り乱数と判定値とが一致する場合には(6317の結果が「Y」)、当りフラグ領域に当り情報をセーブする(6312)。さらに、普図停止図柄に当り時の停止図柄番号を設定し(6313)、ステップ6320以降の処理を実行する。   When the hit random number matches the determination value (the result of 6317 is “Y”), the game control apparatus 100 saves the hit information in the hit flag area (6312). Furthermore, the stop symbol number at the time of hitting is set for the normal symbol stop symbol (6313), and the processing after step 6320 is executed.

また、遊技制御装置100は、当り乱数と判定値とが一致しない場合には(6317の結果が「N」)、当りフラグ領域にはずれ情報をセーブする(6318)。さらに、普図停止図柄にはずれ時の停止図柄番号を設定し(6319)、ステップ6320以降の処理を実行する。   Further, when the winning random number does not match the determination value (the result of 6317 is “N”), the game control apparatus 100 saves the deviation information in the winning flag area (6318). Furthermore, the stop symbol number at the time of deviation is set as the normal symbol stop symbol (6319), and the processing after step 6320 is executed.

次に、遊技制御装置100は、RWMの乱数セーブ領域を0クリアする(6320)。そして、普図停止図柄領域にステップ6313又は6319の処理で設定された停止図柄番号をセーブする(6321)。さらに、普図停止図柄番号に対応する信号を、普図停止図柄番号に対応する信号を試験信号出力データ領域にセーブする(6322)。   Next, the game control device 100 clears the RWM random number save area to 0 (6320). Then, the stop symbol number set in the process of step 6313 or 6319 is saved in the normal symbol stop symbol area (6321). Further, the signal corresponding to the universal symbol stop symbol number and the signal corresponding to the universal symbol stop symbol number are saved in the test signal output data area (6322).

次に、遊技制御装置100は、当り乱数セーブ領域をシフトし(6323)、ステップ6323の処理でシフトされた後の空き領域をクリアする(6324)。さらに、普図保留数を1減算して更新する(6325)。ここでは、図15の普図乱数保存領域(保留2〜保留4)の値が、普図乱数保存領域(保留1〜保留3)にシフトされる。   Next, the game control apparatus 100 shifts the winning random number saving area (6323), and clears the empty area after the shifting in the process of Step 6323 (6324). Further, the number of usual orders held is subtracted and updated (6325). Here, the value of the usual random number storage area (hold 2 to hold 4) in FIG. 15 is shifted to the usual random number storage area (hold 1 to hold 3).

次に、遊技制御装置100は、普図ゲームモードフラグに基づいて、促進状態(即ち普電サポート中、普図高確率)であるか否かを判定する(6326)。そして、促進状態の場合には(6326の結果が「Y」)、促進状態(普電サポート時)の普図変動表示ゲームの変動時間を設定する(6327)。一方、普電サポート中でない場合には(6326の結果が「N」)、抑制状態(普電サポートなし時)の普図変動表示ゲームの変動時間を設定する(6328)。   Next, the game control device 100 determines whether or not it is in the promotion state (that is, during normal power support, normal high probability) based on the normal game mode flag (6326). If the game is in the accelerated state (the result of 6326 is “Y”), the variation time of the normal map variation display game in the accelerated state (when supporting ordinary electric power) is set (6327). On the other hand, when the power transmission support is not in progress (the result of 6326 is “N”), the variation time of the general map variation display game in the suppressed state (when there is no power transmission support) is set (6328).

本実施形態において、促進状態と抑制状態の普図変動表示ゲームの変動時間は同程度の時間(図77参照)が設定されている。抑制状態(普図当り確率が低確率状態である場合、普電サポートがない場合)も促進状態(普図当り確率が高確率状態である場合、普電サポートが有る場合)と同じく普図変動表示ゲームを短くすることで、時短時の普図変動表示ゲームの開始地点が早くなる。なお、ステップ6326から6328までの処理の代わりに、単に共通の変動時間を設定してもよい。なお、抑制状態(普電サポートなし時)の普図変動表示ゲームの変動時間を、促進状態(普電サポート(あり)時)の普図変動表示ゲームの変動時間より若干長くすることもできる。   In this embodiment, the same variation time (see FIG. 77) is set for the variation time of the usual variation display game in the accelerated state and the suppressed state. In the restrained state (when the probability per base figure is low, when there is no general power support), the normal state changes as well as the acceleration state (when the probability per base figure is high, when there is general power support) By shortening the display game, the start point of the normal time fluctuation display game at the time of shortening becomes faster. Instead of the processing from steps 6326 to 6328, a common variation time may be simply set. It should be noted that the fluctuation time of the general-purpose variable display game in the suppressed state (when there is no general power support) can be slightly longer than the variable time of the general-purpose variable display game in the accelerated state (when the general power support is present).

そして、遊技制御装置100は、ステップ6327又は6328の処理で設定された変動時間を普図ゲーム処理タイマ領域にセーブする(6329)。   Then, the game control apparatus 100 saves the variation time set in the process of step 6327 or 6328 in the usual game process timer area (6329).

最後に、遊技制御装置100は、次に実行されるタイマ割込み処理における普図ゲーム処理で普図変動中処理が実行されるように、普図変動中処理移行設定処理を実行する(6330)。その後、普図普段処理を終了する。   Lastly, the game control device 100 executes the normal change process transition setting process so that the normal change process is executed in the normal game process in the timer interrupt process to be executed next (6330). Thereafter, the normal processing is terminated.

次に、前述した普図普段処理における普図普段処理移行設定処理1(図64のステップ6303)の詳細について説明する。図65は、本発明の第1の実施形態の普図普段処理移行設定処理1の手順を示すフローチャートである。   Next, the details of the normal figure normal process transition setting process 1 (step 6303 in FIG. 64) in the normal figure normal process described above will be described. FIG. 65 is a flowchart showing the procedure of the normal routine transition setting process 1 according to the first embodiment of this invention.

遊技制御装置100は、まず、処理番号を0に設定し(6501)、普図ゲーム処理番号領域にステップ6501で設定された処理番号(0)をセーブする(6502)。そして、普電不正監視期間フラグ領域に不正監視期間中フラグをセーブし(6503)、普図普段処理移行設定処理を終了する。   The game control device 100 first sets the process number to 0 (6501), and saves the process number (0) set in step 6501 in the usual game process number area (6502). Then, the fraud monitoring period flag is saved in the ordinary power fraud monitoring period flag area (6503), and the normal chart normal process transition setting process is terminated.

次に、前述した普図普段処理における普図変動中処理移行設定処理(図64の6330)の詳細について説明する。図66は、本発明の第1の実施形態の普図変動中処理移行設定処理の手順を示すフローチャートである。   Next, the details of the process for setting a process for changing a normal map in the normal process of the normal map described above (6330 in FIG. 64) will be described. FIG. 66 is a flowchart illustrating a procedure of a process for setting a transition to a normal map change according to the first embodiment of this invention.

遊技制御装置100は、まず、処理番号を1に設定し(6601)、普図ゲーム処理番号領域に6601で設定された処理番号(1)をセーブする(6602)。   The game control apparatus 100 first sets the process number to 1 (6601), and saves the process number (1) set in 6601 in the usual game process number area (6602).

そして、遊技制御装置100は、普図変動開始に関する信号を試験信号出力データ領域にセーブし(6603)、さらに、普図変動制御フラグ領域に変動中フラグをセーブする(6604)。次に、普図変動制御タイマ領域に図64のステップ6327又は6328で設定された変動時間に対応する変動タイマ初期値をセーブし(6605)、普図変動中処理移行設定処理を終了する。   Then, the game control apparatus 100 saves the signal related to the start of the normal fluctuation in the test signal output data area (6603), and further saves the changing flag in the normal fluctuation control flag area (6604). Next, the fluctuation timer initial value corresponding to the fluctuation time set in step 6327 or 6328 of FIG. 64 is saved in the normal fluctuation control timer area (6605), and the normal movement changing process transition setting process is terminated.

次に、上述の普図ゲーム処理における普図変動中処理(図60のステップ6010)の詳細について説明する。図67は、本発明の第1の実施形態の普図変動中処理の手順を示すフローチャートである。   Next, the details of the process during normal map change (step 6010 in FIG. 60) in the above-described normal game process will be described. FIG. 67 is a flow chart showing the procedure for processing during normal map change according to the first embodiment of this invention.

図66に示す普図変動中処理移行設定処理で、普図変動制御タイマ領域に普図変動表示ゲームの変動時間に対応する変動タイマ初期値が設定されるため、普図変動表示ゲームの変動時間が経過するまで、普図ゲーム処理において、普図変動中処理は実行されず、図柄変動制御処理が実行されるため、変動時間分だけ普通図柄が変動し続ける。   66, since the change timer initial value corresponding to the change time of the general-purpose change display game is set in the normal-use change control timer area, the change time of the normal-use change display game is changed. Until the time elapses, the normal symbol variation process is not executed in the normal symbol game process, and the symbol variation control process is performed. Therefore, the normal symbol continues to fluctuate for the variation time.

普図変動中処理において、遊技制御装置100は、次に実行されるタイマ割込み処理の普図ゲーム処理で普図表示中処理(6011)が実行されるように、普図表示中処理移行設定処理を実行し(6701)、普図表示中処理を終了する。   In the normal map changing process, the game control device 100 performs the normal chart display process transition setting process so that the normal chart display process (6011) is executed in the normal game process of the timer interrupt process to be executed next. Is executed (6701), and the processing for displaying the normal map is terminated.

普図表示中処理移行設定処理は、上述した普図変動中処理(図67のステップ6701)で実行される処理である。図68は、本発明の第1の実施形態の普図表示中処理移行設定処理の手順を示すフローチャートである。   The normal map display process transition setting process is a process executed in the above-described normal map change process (step 6701 in FIG. 67). FIG. 68 is a flowchart illustrating a procedure of a process for setting a transition to a normal display process according to the first embodiment of this invention.

普図表示中処理移行設定処理は、普図変動表示ゲームにおける普通図柄の停止時間(普図表示時間)が経過した場合、普図表示中処理に移行させる処理である。   The normal map display process transition setting process is a process of shifting to the normal map display process when the normal symbol stop time (normal map display time) in the general map display game has elapsed.

遊技制御装置100は、処理番号を2に設定し(6801)、ステップ6801の処理で設定した処理番号(2)を普図ゲーム処理番号領域にセーブする(6802)。   The game control apparatus 100 sets the process number to 2 (6801), and saves the process number (2) set in the process of step 6801 in the usual game process number area (6802).

次に、遊技制御装置100は、普図変動表示ゲームにおける普通図柄の停止時間である普図表示時間を設定し(6803)、ステップ6803の処理で設定された普図表示時間を普図ゲーム処理タイマ領域にセーブする(6804)。   Next, the game control device 100 sets a normal figure display time which is a stop time of a normal symbol in the normal figure change display game (6803), and uses the normal figure display time set in the process of step 6803 as a normal figure game process. Save in the timer area (6804).

そして、遊技制御装置100は、普図変動表示ゲームが終了すること(普図変動終了)に関する信号を、普図変動終了に関する信号を試験信号出力データ領域にセーブし(6805)、普図変動制御フラグ領域に普図停止フラグをセーブし(6806)、普図表示中処理移行設定処理を終了する。   Then, the game control device 100 saves a signal related to the end of the normal map change game (end of the normal map change) and a signal related to the end of the normal map change in the test signal output data area (6805), and the normal map change control. The usual figure stop flag is saved in the flag area (6806), and the ordinary figure display process transition setting process is terminated.

次に、上述の普図ゲーム処理における普図表示中処理(図60のステップ6011)の詳細について説明する。図69は、本発明の第1の実施形態の普図表示中処理の手順を示すフローチャートである。   Next, details of the processing for displaying a normal map (step 6011 in FIG. 60) in the above-described normal game processing will be described. FIG. 69 is a flow chart showing a procedure for processing during normal map display according to the first embodiment of this invention.

普図表示中処理は、普図変動表示ゲームにおける普通図柄の停止時間が経過するまで実行されない処理で、現在の普電サポート状態に対応する普通変動入賞装置33の開放時間(普電開放時間)を決定する処理である。   The normal display display process is a process that is not executed until the stop time of the normal symbol in the normal map change display game has elapsed, and the opening time of the normal variable winning device 33 corresponding to the current general power support state (normal power open time) It is a process to determine.

遊技制御装置100は、まず、RWMの当りフラグ領域から当りフラグをロードし(6901)、当りフラグ領域をクリアする(6902)。そして、ステップ6901の処理でロードされた当りフラグに基づいて、普通図柄が停止した普図変動表示ゲームが当りであるか否かをチェックし(6903)、普図変動表示ゲームが当りであるか否かを判定する(6904)。   The game control device 100 first loads a hit flag from the hit flag area of the RWM (6901), and clears the hit flag area (6902). Then, based on the hit flag loaded in the process of step 6901, it is checked whether or not the normal figure fluctuation display game with the normal symbol stopped is winning (6903). It is determined whether or not (6904).

遊技制御装置100は、普図変動表示ゲームが当りでない場合には(6904の結果が「N」)、普電開放時間を決定しないので、普図普段処理移行設定処理1を実行し(6905)、普図表示中処理を終了する。普図普段処理移行設定処理1は、図65で説明したものと同じである。   The game control device 100 does not determine the normal power release time when the normal map change display game is not hit (the result of 6904 is “N”), and therefore executes the normal map normal process transition setting process 1 (6905). Then, the processing for displaying the normal map is terminated. The usual figure transition setting process 1 is the same as that described with reference to FIG.

遊技制御装置100は、普図変動表示ゲームが当りである場合には(6904の結果が「Y」)、普図ゲームモードフラグ(普図ゲームモードフラグ領域のフラグ)を確認し、現在の普電サポート状態が促進状態であるか否かを判定する(6906)。   The game control device 100 checks the normal game mode flag (the normal game mode flag area flag) when the normal game display game is a win (the result of 6904 is “Y”), and the current general game game flag is displayed. It is determined whether the power support state is an accelerated state (6906).

遊技制御装置100は、現在の普電サポート状態が促進状態である場合には(6906の結果が「Y」)、普図乱数に対応する普電開放時間(例えば1000ミリ秒×4回、図77参照)を設定し(6907)、促進状態の当り開始ポインタとして0を設定し(6908)、ステップ6911に移行する。当り開始ポインタは、後述の普図当り中処理の普電作動移行設定処理(図72)で使用されるポインタである。   When the current power transmission support state is the promotion state (the result of 6906 is “Y”), the game control device 100 opens the power transmission time corresponding to the random number (for example, 1000 milliseconds × 4 times, FIG. 77) is set (6907), 0 is set as the start pointer for the acceleration state (6908), and the process proceeds to step 6911. The hit start pointer is a pointer used in the normal operation transition setting process (FIG. 72) of the normal hit process described later.

一方、遊技制御装置100は、現在の普電サポート状態が促進状態でない場合には(6906の結果が「N」)、抑制状態の普電開放時間(本実施形態では0)を設定し(6909)、抑制状態の当り開始ポインタとして4を設定し(6910)、ステップ6911に移行する。   On the other hand, when the current general power support state is not the promotion state (the result of 6906 is “N”), the game control device 100 sets the general power release time (0 in this embodiment) in the suppressed state (6909). ), 4 is set as the hit start pointer in the suppressed state (6910), and the process proceeds to step 6911.

なお、普電サポート中でなければ、普図当り確率が低確率(ゼロ)であるため、ステップ6906、6909及び6910の処理を省略してもよい。また、データ量を減らすために、抑制状態(普電サポートなし時)と促進状態(普電サポート時)の普電開放時間を同じにしてもよい。   If the power transmission support is not in progress, the probability per normal map is low (zero), so the processing in steps 6906, 6909, and 6910 may be omitted. Moreover, in order to reduce the amount of data, the open time of the power transmission in the suppression state (when no power transmission support is available) and the promotion state (when power transmission support is available) may be the same.

遊技制御装置100は、普図当り中処理制御ポインタ領域に6908、ステップ6910で設定された現在の普電サポート状態に対応する当り開始の値をセーブする(6911)。また、ステップ6907、6909で設定された現在の普電サポート状態に対応する普電開放時間を普図ゲーム処理タイマ領域にセーブし(6912)、普図当り中処理を実行すべく普図当り中処理移行設定処理を実行し(6913)、普図表示中処理を終了する。ステップ6912の処理で普図ゲーム処理タイマ領域に普電開放時間がセーブされているので、普電開放時間が経過してから普図当り中処理が実行される。   The game control device 100 saves the hit start value corresponding to the current general power support state set in step 6910 in the middle processing control pointer area 6908 in the normal figure (6911). In addition, the open time corresponding to the current normal power support state set in steps 6907 and 6909 is saved in the normal game processing timer area (6912), and the normal call is being processed to execute the normal call processing. A process transition setting process is executed (6913), and the process for displaying a normal diagram is terminated. Since the normal power release time is saved in the normal game processing timer area in the process of step 6912, the normal hit processing is executed after the normal power release time has elapsed.

次に、上述の普図表示中処理における普図当り中処理移行設定処理(図69の6913)の詳細について説明する。図70は、本発明の第1の実施形態の普図当り中処理移行設定処理の手順を示すフローチャートである。   Next, the details of the process for setting the transition to the normal map process (6913 in FIG. 69) in the process for displaying the normal map will be described. FIG. 70 is a flowchart illustrating a procedure of a normal process transition setting process according to the first embodiment of this invention.

普図当り中処理移行設定処理は、普電ソレノイド90を制御するためのデータ等を設定する処理である。   The normal process transition setting process is a process for setting data for controlling the general-purpose solenoid 90 and the like.

遊技制御装置100は、まず、処理番号を3に設定し(7001)、ステップ7001の処理で設定された処理番号(3)を普図ゲーム処理番号領域にセーブする(7002)。   The game control apparatus 100 first sets the process number to 3 (7001), and saves the process number (3) set in the process of step 7001 in the usual game process number area (7002).

そして、遊技制御装置100は、普図変動表示ゲームで当りが発生すること(普図当り)に関する信号を、普図当りに関する信号を試験信号出力データ領域にセーブし(7003)、普通変動入賞装置33を開放するように普電ソレノイド90を制御するために、普電ソレノイド出力制御データにONデータをセーブする(7004)。   Then, the game control device 100 saves a signal relating to the occurrence of a win in the usual figure variation display game (per ordinary figure) and a signal relating to the usual figure in the test signal output data area (7003), and the normal fluctuation winning device. In order to control the ordinary electric solenoid 90 so as to open 33, ON data is saved in the ordinary electric solenoid output control data (7004).

次に、遊技制御装置100は、普図変動表示ゲームの当りが発生している間に、第2始動入賞口34に入賞した遊技球の数をカウントする普電カウント数領域をリセットする(7005)。さらに、普通変動入賞装置33が閉じている間に第2始動入賞口34に入賞した遊技球の数を示す普電不正入賞数を記憶する普電不正入賞数領域をリセットする(7006)。そして、普通変動入賞装置33が開放されるので、普電不正監視期間フラグ領域に不正監視期間外フラグをセーブし(7007)、普図当り中処理移行設定処理を終了する。   Next, the game control device 100 resets the general electric power count number area for counting the number of game balls won in the second start winning opening 34 while the winning of the normal figure change display game has occurred (7005). ). In addition, the normal power illegal winning number area for storing the number of illegal electric power winnings indicating the number of game balls won in the second start winning opening 34 while the normal variation winning device 33 is closed is reset (7006). Then, since the normal variation winning device 33 is released, the fraud monitoring out-of-period monitoring flag is saved in the general electric power fraud monitoring period flag area (7007), and the normal processing transition setting process is terminated.

次に、上述の普図ゲーム処理における普図当り中処理(図60のステップ6012)の詳細について説明する。図71は、本発明の第1の実施形態の普図当り中処理の手順を示すフローチャートである。   Next, the details of the normal hit process (step 6012 in FIG. 60) in the above-described normal game process will be described. FIG. 71 is a flow chart showing the procedure for the normal hit processing of the first embodiment of the present invention.

普図当り中処理は、普図当りの状態を示す普図当り中処理制御ポインタ(0〜4)を更新する処理である。   The process for the normal map is a process for updating the process control pointer (0-4) for the normal map indicating the status of the normal map.

遊技制御装置100は、普図当り中処理制御ポインタをロードして準備した後(7101)、ステップ7101の処理でロードされた普図当り中処理制御ポインタが当りを終了させる値(4)であるか否かをチェックし(7102)、普図当り中処理制御ポインタが当りを終了させる値であるか否かを判定する(7103)。   The game control apparatus 100 is a value (4) that the processing control pointer loaded in the processing of step 7101 ends the winning after loading the processing control pointer during processing of the normal drawing and preparing (7101). It is checked whether or not the processing control pointer during the normal drawing is a value for ending the hit (7103).

普図当り中処理制御ポインタが当りを終了させる値でない場合には(7103の結果が「N」)、遊技制御装置100は、普図当り中処理制御ポインタの値を更新(+1)し(7104)、普図当り中処理制御ポインタの値に対応した普電ソレノイドの制御を実行する普電作動移行設定処理を実行し(7105)、普図当り処理を終了する。   If the normal processing control pointer does not end the hit (the result of 7103 is “N”), the game control device 100 updates (+1) the normal processing control pointer value (7104). ), A normal operation transition setting process for executing the control of the general electric solenoid corresponding to the value of the normal process control pointer is executed (Step 7105), and the normal map process is terminated.

一方、普図当り中処理制御ポインタが当りを終了させる値である場合には(7103の結果が「Y」)、遊技制御装置100は、ステップ7104の処理を実行せずに、普電作動移行設定処理を実行し(7105)、普図当り処理を終了する。   On the other hand, if the process control pointer during the normal hit is a value for ending the hit (the result of 7103 is “Y”), the game control device 100 does not execute the process of step 7104, but shifts to the normal operation mode. A setting process is executed (Step 7105), and the normal hit process is terminated.

次に、前述した普図当り中処理における普電作動移行設定処理(図71のステップ7105)の詳細について説明する。図72は、本発明の第1の実施形態の普電作動移行設定処理の手順を示すフローチャートである。普電作動移行設定処理は、普図当り中処理制御ポインタの値に対応した処理を実行する。   Next, the details of the normal power operation transition setting process (step 7105 in FIG. 71) in the above-described normal process will be described. FIG. 72 is a flowchart illustrating the procedure of the normal power operation transition setting process according to the first embodiment of this invention. The normal power operation transition setting process executes a process corresponding to the value of the normal process control pointer.

遊技制御装置100は、まず、普図当り中処理制御ポインタの値に応じて処理を分岐させる(7201)。   The game control apparatus 100 first branches the process according to the value of the process control pointer during the normal game (7201).

ステップ7201の処理で、普図当り中処理制御ポインタの値が0又は2である場合には、遊技制御装置100は、普通変動入賞装置33を閉塞する時間を示すウェイト時間を設定し(7202)、ステップ7202の処理で設定されたウェイト時間を普図ゲーム処理タイマ領域にセーブする(7203)。そして、普通変動入賞装置33を閉塞状態にするように普電ソレノイド90を制御するために、普電ソレノイド出力データ領域にOFFデータをセーブし(7204)、普電作動移行設定処理を終了する。なお、処理番号は更新されず3のままであるので、ウェイト時間が経過すると普図当り中処理が実行され、図71のステップ7104の処理で普図当り中処理制御ポインタが更新(+1)される。   In the process of step 7201, when the value of the process control pointer during the normal game is 0 or 2, the game control device 100 sets a wait time indicating the time for closing the normal variation winning device 33 (7202). The wait time set in the process of step 7202 is saved in the usual game process timer area (7203). Then, in order to control the ordinary electric solenoid 90 so that the normal variation winning device 33 is closed, OFF data is saved in the ordinary electric solenoid output data area (7204), and the ordinary electric operation transition setting process is ended. Since the process number is not updated and remains 3, the normal process is executed when the wait time elapses, and the normal process control pointer is updated (+1) in step 7104 of FIG. 71. The

次に、ステップ7201の処理で、普図当り中処理制御ポインタの値が1又は3である場合には、遊技制御装置100は、現在の普電サポート状態に対応する普電開放時間(ステップ6907の処理と同じ時間)を設定し(7205)、ステップ7205の処理で設定された普電開放時間を普図ゲーム処理タイマ領域にセーブする(7206)。そして、普通変動入賞装置33を開放状態にするように普電ソレノイド90を制御するために、普電ソレノイド出力データ領域にONデータをセーブし(7207)、普電作動移行設定処理を終了する。なお、処理番号は更新されず3のままであるので、普電開放時間が経過すると普図当り中処理が実行され、図71のステップ7104の処理で普図当り中処理制御ポインタが更新(+1)される。   Next, in the process of step 7201, when the value of the process control pointer during normal chart is 1 or 3, the game control device 100 determines that the normal power open time corresponding to the current general power support state (step 6907). Is set (7205), and the normal power release time set in step 7205 is saved in the normal game process timer area (7206). Then, in order to control the ordinary electric solenoid 90 so that the normal variation winning device 33 is opened, ON data is saved in the ordinary electric solenoid output data area (Step 7207), and the ordinary electric operation transition setting process is terminated. Since the process number is not updated and remains 3, the normal process is executed when the open time of the normal power elapses, and the normal process control pointer is updated (+1) in step 7104 of FIG. )

次に、ステップ7201の処理で、普図当り中処理制御ポインタの値が4である場合に、遊技制御装置100は、当り状態を終了し普電残存球処理を実行すべく、処理番号を4に設定し(7208)、ステップ7208の処理で設定された処理番号を普図ゲーム処理番号領域にセーブする(7209)。さらに、普通変動入賞装置33が閉塞状態であった場合に第2始動入賞口34への入賞を検出しても普電不正入賞数としてカウントしない時間を示す普電残存球処理時間を設定し、普電残存球処理時間を普図ゲーム処理タイマ領域にセーブする(7210)。そして、普通変動入賞装置33を閉塞状態にするように普電ソレノイド90を制御するために、普電ソレノイド出力データ領域にOFFデータをセーブし(7211)、普電作動移行設定処理を終了する。   Next, in the process of step 7201, when the value of the process control pointer during the normal figure is 4, the game control device 100 sets the process number to 4 in order to end the hit state and execute the normal power remaining ball process. (Step 7208), and the processing number set in Step 7208 is saved in the usual game processing number area (Step 7209). In addition, when the normal variation winning device 33 is in a closed state, even if a winning to the second start winning opening 34 is detected, a setting time for the remaining power ball is set to indicate a time not counted as a number of illegal power winnings. The ordinary power remaining ball processing time is saved in the usual game processing timer area (7210). Then, in order to control the ordinary electric solenoid 90 so that the normal variation winning apparatus 33 is closed, OFF data is saved in the ordinary electric solenoid output data area (7211), and the ordinary electric operation transition setting process is ended.

以上のように、普通変動入賞装置33の開放回数が3回の場合には、普図当り中処理移行設定処理のステップ7004の処理で開放状態となった後、普図変動表示ゲームの当りの発生中には普通変動入賞装置33の閉塞状態から開放状態への変換(ラウンド)が2回行われ、2ラウンドが終了すると普図変動表示ゲームの当りが終了する。   As described above, in the case where the number of times the normal variation winning device 33 is released is 3, the game is changed to the open state in step 7004 of the normal processing transition setting processing, and then the winning of the normal variation display game is won. During the occurrence, the conversion (round) from the closed state to the open state of the normal variation winning device 33 is performed twice, and when the two rounds are completed, the win for the normal variation display game is terminated.

次に、前述した普図ゲーム処理における普図残存球処理(図60のステップ6013)の詳細について説明する。図73は、本発明の第1の実施形態の普図残存球処理の手順を示すフローチャートである。   Next, the details of the general-purpose remaining ball process (step 6013 in FIG. 60) in the general-game process described above will be described. FIG. 73 is a flowchart showing the procedure of the universal remaining ball processing according to the first embodiment of this invention.

図72に示す普電作動移行設定処理で普図ゲーム処理タイマ領域に普電残存球処理時間が設定されるので、普電残存球処理時間が経過するまで、普図ゲーム処理において普電残存球処理が実行されない。   Since the ordinary electric game remaining ball processing time is set in the ordinary game processing timer area in the ordinary electric operation transition setting process shown in FIG. 72, the ordinary electric ball remaining in the ordinary game processing until the ordinary electric ball remaining time has elapsed. Processing is not executed.

遊技制御装置100は、次に実行されるタイマ割込み処理の普図ゲーム処理で普図当り終了処理(6014)が実行されるように、普図当り終了処理移行設定処理を実行し(7301)、普図残存球処理を終了する。   The game control device 100 executes a per-game end process transition setting process (7301) so that a normal-game end process (6014) is executed in a normal game process of a timer interrupt process to be executed next (7301). The usual figure remaining ball processing is terminated.

次に、上述した普図残存球処理における普図当り終了移行設定処理(図73のステップ7301)の詳細について説明する。図74は、本発明の第1の実施形態の普図当り終了処理移行設定処理の手順を示すフローチャートである。   Next, the details of the normal figure end transition setting process (step 7301 in FIG. 73) in the above-described general figure remaining sphere process will be described. FIG. 74 is a flow chart showing a procedure of a universal hit process transition setting process according to the first embodiment of this invention.

普図当り終了処理移行設定処理は、普図当り終了処理に移行させるとともに、普図エンディング時間を設定して、使用された各記憶領域をリセットする処理である。   The usual figure end process transition setting process is a process for shifting to the usual figure end process, setting a common figure ending time, and resetting each used storage area.

遊技制御装置100は、まず、処理番号を5に設定し(7401)、ステップ7401で設定された処理番号を普図ゲーム処理番号領域にセーブする(7402)。そして、普図エンディング時間を設定し(7403)、設定された普図エンディング時間を普図ゲーム処理タイマ領域にセーブする(7404)。   The game control apparatus 100 first sets the process number to 5 (7401), and saves the process number set in step 7401 in the usual game process number area (7402). Then, the usual time ending time is set (7403), and the set usual time ending time is saved in the usual time game processing timer area (7404).

次に、遊技制御装置100は、普通変動入賞装置33の作動が終了したこと(普電作動終了)に関する信号を、試験信号出力データ領域にセーブする(7405)。   Next, the game control device 100 saves a signal related to the end of the operation of the normal variation winning device 33 (end of normal power operation) in the test signal output data area (7405).

そして、遊技制御装置100は、普電カウント数領域をリセットし(7406)、普図当り中処理制御ポインタ領域をリセットして(7407)、普図当り終了処理移行設定処理を終了する。   Then, the game control device 100 resets the ordinary power count number area (7406), resets the ordinary process control pointer area per ordinary figure (7407), and ends the ordinary figure end process transition setting process.

次に、前述した普図ゲーム処理における普図当り終了処理(図60のステップ6014)の詳細について説明する。図75は、本発明の第1の実施形態の普図当り終了処理のフローチャートである。   Next, the details of the normal game end process (step 6014 in FIG. 60) in the above-described general game process will be described. FIG. 75 is a flowchart of a universal hit end process according to the first embodiment of this invention.

普電作動移行設定処理で、普図ゲーム処理タイマ領域に普図エンディング時間が設定されるので、普図エンディング時間が経過するまで、普図ゲーム処理において普図当り終了処理が実行されない。   In the ordinary power operation transition setting process, the ordinary figure ending time is set in the ordinary game ending timer area. Therefore, the ordinary game ending process is not executed in the ordinary game ending process until the ordinary figure ending time elapses.

普図当り終了処理で、遊技制御装置100は、次に実行されるタイマ割込み処理の普図ゲーム処理で普図普段処理(6009)が実行されるように、普図普段処理移行設定処理2を実行し(7501)、普図当り終了処理を終了する。   In the usual figure end process, the game control device 100 performs the usual figure normal process transition setting process 2 so that the usual figure routine process (6009) is executed in the usual figure game process of the timer interruption process to be executed next. This is executed (7501), and the end processing for the usual figure is ended.

普図普段処理移行設定処理2は、上述した普図当り終了処理(図75のステップ7501)で実行される処理である。図76は、本発明の第1の実施形態の普図普段処理移行設定処理2の手順を示すフローチャートである。   The usual figure normal process transition setting process 2 is a process executed in the above-described usual figure end process (step 7501 in FIG. 75). FIG. 76 is a flowchart showing the procedure of the normal routine transition setting process 2 according to the first embodiment of this invention.

遊技制御装置100は、まず、処理番号を0に設定し(7601)、普図ゲーム処理番号領域に設定された処理番号(0)をセーブする(7602)。次に、普図当りが終了したこと(普電当り終了)に関する信号を試験信号出力データ領域にセーブする(7603)。そして、普電不正監視期間フラグ領域に不正監視期間中フラグをセーブして(7604)、普図普段処理移行設定処理2を終了する。   The game control apparatus 100 first sets the process number to 0 (7601), and saves the process number (0) set in the usual game process number area (7602). Next, a signal related to the end of the normal call (end of normal call) is saved in the test signal output data area (7603). Then, the fraud monitoring period flag is saved in the ordinary power fraud monitoring period flag area (7604), and the normal chart normal process transition setting process 2 is terminated.

図77は、本発明の第1の実施形態における普図乱数と普通変動入賞装置33の開放パターンとの対応を説明する図であり、(A)は抑制状態、(B)は促進状態を示す。   FIGS. 77A and 77B are diagrams for explaining the correspondence between the common random number and the open pattern of the normal variation winning device 33 according to the first embodiment of the present invention, where FIG. 77A shows a suppressed state and FIG. 77B shows an accelerated state. .

(A)に示すように、普電サポート状態が抑制状態の場合には、普図乱数の範囲に応じて変動時間が変化するが、普図変動表示ゲームの結果は常にはずれとなり、普通変動入賞装置33が開放しないように設定されている。具体的には、普図乱数の値が0〜50の場合には変動時間が0.8秒、51〜100の場合には変動時間が0.9秒、101〜150の場合には変動時間が1.0秒、151〜200の場合には変動時間が1.1秒、201〜250の場合には変動時間が1.2秒となっている。   As shown in (A), when the ordinary power support state is in the restrained state, the variation time changes according to the range of the ordinary random number, but the result of the ordinary variation display game is always out of place, and the normal variation prize is won. The device 33 is set not to be opened. Specifically, when the value of the normal random number is 0 to 50, the variation time is 0.8 seconds, when the value is 51 to 100, the variation time is 0.9 seconds, and when the random number is 101 to 150, the variation time. Is 1.0 seconds, 151 to 200, the fluctuation time is 1.1 seconds, and 201 to 250, the fluctuation time is 1.2 seconds.

一方、(B)に示すように、普電サポート状態が促進状態の場合には、普図乱数の範囲が0〜200までの間であれば、普図変動表示ゲームの結果が当りとなる。このとき、普図乱数の値に応じた変動時間(0.8秒又は1.2秒)で普図変動表示ゲームが実行され、普図乱数の値に対応する開放パターンで普通変動入賞装置33が開放される。なお、普図乱数の範囲が201〜250までの間の場合には、普図変動表示ゲームの結果がはずれとなり、普通変動入賞装置33は開放されない。   On the other hand, as shown in (B), when the ordinary power support state is the promotion state, if the ordinary random number range is between 0 and 200, the result of the ordinary variable display game is a hit. At this time, the normal variation display game is executed with a variation time (0.8 seconds or 1.2 seconds) according to the value of the usual random number, and the normal variation winning device 33 with an open pattern corresponding to the value of the ordinary random number. Is released. When the range of the normal random number is between 201 and 250, the result of the normal variation display game is lost, and the normal variation winning device 33 is not released.

図78及び図79は、本発明の第1の実施形態における普通変動入賞装置33の開放動作等を示すタイミングチャートである。図78は従来の制御、図79は本実施形態の制御を示す。   78 and 79 are timing charts showing the opening operation and the like of the normal variation winning device 33 in the first embodiment of the present invention. FIG. 78 shows conventional control, and FIG. 79 shows control of this embodiment.

特別遊技状態(大当りラウンド)が終了すると、大当り終了処理(図37のステップ3712、図56)によって、普図当り確率は低確率(抑制状態)から高確率(促進状態)に変化する。   When the special game state (big hit round) ends, the big hit probability changes from the low probability (suppressed state) to the high probability (promoted state) by the big hit end processing (step 3712 in FIG. 37, FIG. 56).

大当りラウンド中に普図カウント(普図始動SW31Aへの入力又は普図保留)があると、大当り終了時を超えて、普電サポートがない場合の変動時間(ステップ6328において設定)で普図変動(普図変動表示ゲーム)が行われてしまうことがある。このとき、従来の遊技機では、図78に示すように、抑制状態において普図変動時間(t1)が長くなるように(普通変動入賞装置33が開放されにくくなるように)設定されているため(例えば、10秒)、特別遊技状態が終了してから実行中の普図変動表示ゲームが終了するまでの間(t2)、促進状態での普図変動表示ゲームが実行されなくなってしまう。そして、実際に普通変動入賞装置33が作動するのは促進状態で最初に普図変動表示ゲームに当選してからとなってしまう(t3)。したがって、従来技術では、普電サポートによる普通変動入賞装置33の開放の開始が遅れることになり、遊技の興趣が損なわれるおそれがある。   If there is a normal figure count (input to the general figure start SW 31A or a general figure hold) during the big hit round, the normal figure changes in the fluctuation time (set in step 6328) when there is no general electric support beyond the end of the big hit. (Usually variable display game) may be played. At this time, in the conventional gaming machine, as shown in FIG. 78, the normal time fluctuation time (t1) is set to be long in the restrained state (so that the normal fluctuation winning device 33 is not easily opened). (For example, for 10 seconds) The normal fluctuation display game in the accelerated state is not executed during the period from the end of the special gaming state to the end of the running normal fluctuation display game (t2). Then, the normal variation winning device 33 actually operates only after winning the normal variation display game in the accelerated state (t3). Therefore, in the prior art, the start of the opening of the normally variable winning device 33 by the ordinary electric power support is delayed, and there is a possibility that the interest of the game is impaired.

一方、本実施形態において、普図当り確率が低確率(抑制状態)である特別遊技状態中に、普図変動表示ゲームの結果が当りとならないように設定されているので、普通変動入賞装置33の開放も行われない。そのため、抑制状態における普図変動表示ゲームの変動時間を短時間(t4、0.8〜1.2秒)に設定することが可能となっている。そのため、特別遊技状態終了後、短時間(t5)で、促進状態における普図変動表示ゲームを開始可能となり、従来技術と比較して実際に普通変動入賞装置33が作動するまでの時間を短時間(t6)にすることが可能となる。したがって、本実施形態では、興趣が損なわれることなく大当り終了後の遊技を行うことが可能となっている。   On the other hand, in the present embodiment, the normal variation winning game device 33 is set so that the result of the normal variation display game is not hit during the special game state in which the probability per ordinary diagram is low (suppressed state). Is not released. Therefore, it is possible to set the fluctuation time of the normal fluctuation display game in the suppressed state to a short time (t4, 0.8 to 1.2 seconds). Therefore, after the special game state is completed, it is possible to start the normal variation display game in the accelerated state in a short time (t5), and the time until the normal variation prize winning device 33 actually operates is shorter than that in the conventional technique. (T6) can be achieved. Therefore, in this embodiment, it is possible to play a game after the big hit without losing interest.

図80及び図81は、本発明の第1の実施形態における始動記憶をシフトさせる処理のプログラムの一例を示す図である。図80及び図81に示すプログラムは、図46のステップ4601の処理に対応する。図80はKレジスタを利用してプログラムのコード量を削減したプログラムであって、図81はKレジスタを利用しないプログラムである。   FIG. 80 and FIG. 81 are diagrams showing an example of a program for processing for shifting the start memory in the first embodiment of the present invention. The programs shown in FIGS. 80 and 81 correspond to the process of step 4601 in FIG. FIG. 80 is a program in which the code amount of the program is reduced using the K register, and FIG. 81 is a program that does not use the K register.

図80を参照すると、まず、行8001に示すように、Kレジスタに「28H」を設定し、その後、行8002に示すように、LDK命令によって指定された下位アドレスとKレジスタに設定された上位アドレスとを組み合わせたアドレスにアクセスする。このように、CPUコア102はKレジスタに固有の上位アドレスを設定する固有値設定手段をなす。   Referring to FIG. 80, first, “28H” is set in the K register as shown in line 8001, and then the lower address specified by the LDK instruction and the upper address set in the K register are set as shown in line 8002. Access an address combined with an address. In this way, the CPU core 102 serves as a unique value setting means for setting a unique upper address in the K register.

前述のように、保留2に対応する始動記憶を保留1に対応する領域にシフトする場合には、図16に示したように、保留2に対応する始動記憶のアドレス「2838H」〜「283FH」に格納されたデータを、保留1に対応する始動記憶にアドレス「2830H」〜「2837H」に移動させる。行8002では、アドレス2838Hに格納されたデータをAレジスタに格納し、行8003でAレジスタに格納されたデータをアドレス2830Hに格納することによってデータを移動させている。同様に、「2839H」〜「283FH」に格納されたデータを、「2831H」〜「2837H」に移動させることによって保留2に対応する始動記憶を保留1に対応する領域にシフトさせる。   As described above, when the start memory corresponding to the hold 2 is shifted to the area corresponding to the hold 1, the addresses “2838H” to “283FH” of the start memory corresponding to the hold 2 are shown in FIG. Are moved to addresses “2830H” to “2837H” in the start memory corresponding to the hold 1. In row 8002, the data stored in the address 2838H is stored in the A register, and in step 8003, the data stored in the A register is stored in the address 2830H, thereby moving the data. Similarly, the data stored in “2839H” to “283FH” is moved to “2831H” to “2837H” to shift the start memory corresponding to the hold 2 to the area corresponding to the hold 1.

なお、保留3に対応する始動記憶を保留2に対応する始動記憶にシフトさせる処理、及び保留4に対応する始動記憶を保留3に対応する始動記憶にシフトさせる処理も、図に示すように、後半のプログラムによって実行される。   The process of shifting the start memory corresponding to the hold 3 to the start memory corresponding to the hold 2 and the process of shifting the start memory corresponding to the hold 4 to the start memory corresponding to the hold 3 are also shown in the figure. It is executed by the second half program.

図81は、図80と同様に、始動記憶の消化にともなって、始動記憶をシフトさせる処理のプログラムを示しており、図80のプログラムを実行した場合と同じ処理が実行される。しかしながら、図81に示すプログラムでは、2バイトのアドレスを直接指定している(例えば、行8122の「2838H」)。   FIG. 81 shows a processing program for shifting the start memory as the start memory is digested, as in FIG. 80, and the same processing as that when the program of FIG. 80 is executed is executed. However, in the program shown in FIG. 81, a 2-byte address is directly specified (for example, “2838H” in line 8122).

以上のように、図80に示すプログラムでは、始動記憶が格納された領域のアドレスを指定するために1バイトの下位アドレスのみを指定すればよい(8010)。これに対し、図81に示すプログラムでは、アドレスの指定に2バイトの容量を要し(8130)、図80に示したプログラムよりも多くの容量を必要とする。したがって、始動記憶を格納する領域のように、連続した領域にデータを格納し、これらのデータにアクセスする場合には、図80に示したプログラムのように、上位アドレスをKレジスタに予め保持してデータにアクセスするようにすることによってプログラムの容量を削減することができる。   As described above, in the program shown in FIG. 80, only the lower address of 1 byte needs to be specified in order to specify the address of the area where the start-up memory is stored (8010). In contrast, the program shown in FIG. 81 requires a 2-byte capacity for address designation (8130), and requires a larger capacity than the program shown in FIG. Therefore, when data is stored in a continuous area, such as the area for storing the start memory, and when accessing these data, the upper address is held in the K register in advance as in the program shown in FIG. Thus, the program capacity can be reduced by accessing the data.

また、前述のように、Kレジスタ(上位アドレス指定レジスタ)に固有のアドレス値(上位アドレス、例えば、「28H」)を予め設定しておくことによって、その後、下位アドレスのみ指定すれば所定の領域にアクセスできるため、CPUコア(演算処理手段)102の処理負担を軽減することもできる。   In addition, as described above, a specific address value (upper address, for example, “28H”) is set in advance in the K register (upper address specifying register). Therefore, the processing load on the CPU core (arithmetic processing means) 102 can be reduced.

図82は、本発明の第1の実施形態のサブルーチン(サブモジュール)を構成するプログラムの一例を示す図である。(A)及び(B)は、プログラム中に記述されたサブルーチン呼び出しの命令(CALL命令又はRST命令)を実行した際に呼び出されるサブルーチンの一例を示している。これに対して(C)は、割込信号の発生により呼び出されるサブルーチンの一例を示している。   FIG. 82 is a diagram showing an example of a program configuring a subroutine (submodule) according to the first embodiment of this invention. (A) and (B) show an example of a subroutine called when a subroutine calling instruction (CALL instruction or RST instruction) described in the program is executed. On the other hand, (C) shows an example of a subroutine called by the generation of an interrupt signal.

まず(A)は、呼出元のルーチンで格納されたフラグレジスタの値が、呼出先のサブルーチンにおける処理過程で書き換えられないように構成したプログラムの例である。このサブルーチンは、5200Hのアドレスから処理を開始する例となっており、最初に「PUSH FLG」の命令を実行することで、フラグレジスタの値をスタック領域に退避している(行8211)。   First, (A) is an example of a program configured such that the value of the flag register stored in the call source routine is not rewritten in the process of the call destination subroutine. This subroutine is an example in which processing is started from an address of 5200H, and the value of the flag register is saved in the stack area by first executing the instruction “PUSH FLG” (line 8211).

なお、呼出元のルーチンで格納されたフラグレジスタ以外のレジスタであっても、サブルーチン内で書き換えられないように構成する場合は、「PUSH」命令を用いて、該当するレジスタをスタック領域に退避することができる。例えば、行8212に示すように、「PUSH HL」の命令を実行することで、HLレジスタの値をスタック領域に退避することができる。   Note that even if a register other than the flag register stored in the call source routine is configured so that it cannot be rewritten in the subroutine, the corresponding register is saved in the stack area using the “PUSH” instruction. be able to. For example, as shown in the row 8212, by executing the instruction “PUSH HL”, the value of the HL register can be saved in the stack area.

そして、サブルーチンに記述された一連のプログラムを実行終了した場合は、「POP」命令を実行して、スタック領域に退避しておいたHLレジスタ及びフラグレジスタの値を復帰させてから(行8213、8214)、「RET」命令を実行して呼出元の処理に戻るようになっている(行8215)。   When the execution of the series of programs described in the subroutine is finished, the “POP” instruction is executed to restore the values of the HL register and flag register saved in the stack area (line 8213, 8214), the “RET” instruction is executed to return to the caller process (line 8215).

一方(B)は、サブルーチンにおける処理過程にて演算結果をフラグレジスタに設定し、そのフラグレジスタの値を呼出元のルーチンに返すプログラムの一例である。このサブルーチンは、5100Hのアドレスから処理を開始する例となっており、(A)のように「PUSH」「POP」命令を用いて、フラグレジスタの値をスタック領域に出し入れするような処理を行っていない。   On the other hand, (B) is an example of a program that sets an operation result in the flag register in the process of the subroutine and returns the value of the flag register to the calling routine. This subroutine is an example of starting processing from an address of 5100H. As shown in (A), using the “PUSH” and “POP” instructions, processing is performed such that the value of the flag register is put into and out of the stack area. Not.

そして、サブルーチンに記述された一連のプログラムを実行終了した場合は、AレジスタとEレジスタの値の論理和を演算することでフラグレジスタに演算結果が設定され(行8221)、さらに、Dレジスタの値をAレジスタにロードしてから(行8222)、「RET」命令を実行して呼出元に戻るようになっている(行8223)。   When the execution of a series of programs described in the subroutine is completed, the operation result is set in the flag register by calculating the logical sum of the values of the A register and the E register (line 8221). After the value is loaded into the A register (line 8222), the “RET” instruction is executed to return to the caller (line 8223).

この(B)のようなサブルーチンの構成は、サブルーチン内で所定の演算を実行するとともに、その演算結果をフラグレジスタに格納し、さらに格納されたフラグレジスタの値が呼出元のルーチンに戻されてからも活用されるような場合に適している。そのため、呼び出されるサブルーチンのプログラムには、フラグレジスタの値をスタック領域に出し入れする「PUSH」「POP」命令が記述されていない。   The structure of the subroutine as shown in (B) executes a predetermined operation in the subroutine, stores the operation result in the flag register, and returns the stored flag register value to the calling source routine. It is suitable for the case where it is used from the beginning. Therefore, the “PUSH” and “POP” instructions for loading / unloading the value of the flag register into / from the stack area are not described in the subroutine program to be called.

このようなサブルーチンの構成は、予め共通化した処理を遊技制御プログラムの様々な箇所で実行させる場合に適しており、共通化した処理のブロックを予めサブルーチンとしてプログラム中に配置しておいて、呼出元となるプログラムでCALL命令(又はRST命令)を実行することで実現できる。   Such a subroutine configuration is suitable for executing a common process in various places in the game control program. The common process block is arranged in the program as a subroutine in advance and called. This can be realized by executing a CALL instruction (or RST instruction) in the original program.

ただし、プログラム製作者の立場を考慮すると、(A)のようにサブルーチンで用いたフラグレジスタと呼出元ルーチンで用いるフラグレジスタとを別個のものとして扱いたい場合もあれば、(B)のようにサブルーチンで用いたフラグレジスタと呼出元ルーチンで用いるフラグレジスタとを同一のものとして扱いたい場合もある。   However, considering the position of the program producer, there are cases where the flag register used in the subroutine and the flag register used in the caller routine are to be handled separately as in (A), as in (B). In some cases, it is desirable to treat the flag register used in the subroutine and the flag register used in the call source routine as the same.

そのため、サブルーチンを呼び出す目的に応じて、フラグレジスタの値を退避させるか否かの選択を行う必要がある。したがって、サブルーチンを構成するプログラムに「PUSH」「POP」命令を記述するか否かによって、フラグレジスタをスタック領域に出し入れするか否かを選択できるように構成しておくことが好ましいことになる。   Therefore, it is necessary to select whether to save the value of the flag register according to the purpose of calling the subroutine. Therefore, it is preferable that the flag register is selected so as to be taken into or out of the stack area depending on whether or not the “PUSH” and “POP” instructions are described in the program constituting the subroutine.

一方(C)は、タイマ割込などの割込信号で呼び出されるサブルーチン(割込処理)を構成したプログラムの例である。このサブルーチンが呼び出されると、図19(D)に示すように、「PUSH」命令を実行しなくてもフラグレジスタの値がスタック領域に退避される。このとき、呼出元ルーチンで使用していたレジスタ群のバンクが0(表レジスタ)であれば、フラグレジスタのRBSのビットは「0」となっている。   On the other hand, (C) is an example of a program that constitutes a subroutine (interrupt processing) called by an interrupt signal such as a timer interrupt. When this subroutine is called, as shown in FIG. 19D, the value of the flag register is saved in the stack area without executing the “PUSH” instruction. At this time, if the bank of the register group used in the call source routine is 0 (table register), the RBS bit of the flag register is “0”.

なお、このサブルーチンは、呼出元ルーチンで実行中の処理を任意のタイミングで中断して実行されるため、呼び出されたサブルーチンで用いられるフラグレジスタの値と、呼出元のルーチンで使用しているフラグレジスタの値には相関がない。そのため、呼出元のルーチンで使用しているフラグレジスタの値が、割込処理のサブルーチン内で変更されると、処理結果が予期しないものとなる。   Since this subroutine is executed by interrupting the processing being executed in the calling source routine at an arbitrary timing, the value of the flag register used in the called subroutine and the flag used in the calling source routine There is no correlation between register values. For this reason, if the value of the flag register used in the calling source routine is changed in the interrupt processing subroutine, the processing result becomes unexpected.

それ故に、割込処理のサブルーチンが呼び出されたときは、例外なくフラグレジスタの値をスタック領域に退避させる必要がある。(C)の構成であれば、フラグレジスタの値をスタック領域に退避させる「PUSH」命令のコードが不要となるので、割込処理のサブルーチンを記述するプログラムのコード量を削減することができる。   Therefore, when the interrupt processing subroutine is called, it is necessary to save the value of the flag register to the stack area without exception. With the configuration of (C), the code of the “PUSH” instruction that saves the value of the flag register in the stack area becomes unnecessary, so that the code amount of the program describing the interrupt processing subroutine can be reduced.

ちなみに(C)の割込処理のサブルーチンは、5300Hのアドレスから処理を開始する例となっている。そして、行8231の「LD RBS,1」を実行すると、フラグレジスタのRBSのビットが「1」となる。これにより、使用可能なレジスタ群が、呼出元ルーチンで使用していたバンク0(表レジスタ)から、バンク1(裏レジスタ)に切り替えられる。このとき、バンク0のレジスタ群の各レジスタに格納された値はそのまま保持され、割込処理のサブルーチンでは、バンク1のレジスタ群のレジスタを用いて実行される。   Incidentally, the interrupt processing subroutine (C) is an example in which processing is started from an address of 5300H. Then, when “LD RBS, 1” in the row 8231 is executed, the RBS bit of the flag register becomes “1”. As a result, the usable register group is switched from bank 0 (front register) used in the call source routine to bank 1 (back register). At this time, the value stored in each register of the bank 0 register group is held as it is, and the interrupt processing subroutine is executed using the register of the bank 1 register group.

さらに、割込処理のサブルーチンの最後で「RETI」を実行することによって、呼出元の処理に戻るようになっている(行8232)。このとき、スタック領域に退避してあったフラグレジスタの値が復帰することで、フラグレジスタのRBSのビットが「0」に復帰し、以降使用されるレジスタ群のバンクが0に戻される。   Further, by executing “RETI” at the end of the interrupt processing subroutine, the processing returns to the calling source processing (line 8232). At this time, the value of the flag register saved in the stack area is restored, so that the RBS bit of the flag register is restored to “0”, and the bank of the register group used thereafter is restored to 0.

なお(A)のサブルーチンにおいて、使用可能なレジスタ群をバンク1(裏レジスタ)に切り替える場合は、行8211の「PUSH FLG」を実行した後に、「LD RBS,1」の命令を実行すればよい。これにより、フラグレジスタのRBSのビットが「1」となり、使用可能なレジスタ群が、呼出元ルーチンで使用していたバンク0(表レジスタ)から、バンク1(裏レジスタ)に切り替わる。この場合は、行8214の「POP FLG」を実行することで、フラグレジスタのRBSのビットを「0」に復帰させ、呼出元の処理に戻る直前にレジスタ群のバンクを0に戻すことになる。   In the subroutine (A), when the usable register group is switched to the bank 1 (back register), the instruction “LD RBS, 1” may be executed after executing “PUSH FLG” in the row 8211. . As a result, the RBS bit of the flag register is set to “1”, and the usable register group is switched from bank 0 (front register) used in the call source routine to bank 1 (back register). In this case, by executing “POP FLG” in the row 8214, the RBS bit of the flag register is returned to “0”, and the bank of the register group is returned to 0 immediately before returning to the calling process. .

また(B)のサブルーチンにおいて、使用可能なレジスタ群をバンク1(裏レジスタ)に切り替える場合は、プログラム中で「LD RBS,1」の命令を実行すればよいが、呼出元ルーチンに戻る直前で「LD RBS,0」の命令を実行しておく必要がある。   In the subroutine (B), when the usable register group is switched to the bank 1 (back register), the instruction “LD RBS, 1” may be executed in the program, but immediately before returning to the calling routine. The instruction “LD RBS, 0” needs to be executed.

以上、図82の(A)〜(C)に示したように、本実施形態では、呼出元のルーチンで、プログラム中に記述されたサブルーチン呼び出しの命令(CALL命令又はRST命令)を実行した場合や、割込信号が発生した場合には、サブルーチンが呼び出され、その際に、呼出元のルーチンに含まれる戻りアドレスの値をスタック領域に格納する構成となっている。   As described above, as shown in FIGS. 82A to 82C, in this embodiment, a subroutine call instruction (CALL instruction or RST instruction) described in the program is executed in the call source routine. When an interrupt signal is generated, a subroutine is called, and at this time, the return address value included in the calling source routine is stored in the stack area.

この場合において、割込信号は呼出元のルーチンの実行中のアドレスとは無関係に発生するものであるので、(C)に示すような割込処理のサブルーチンを呼び出す際は、割込信号が発生した時点におけるフラグレジスタ1200の値は、呼出先のルーチンの処理中で破壊されないように、スタック領域に退避しておくことが好ましい。   In this case, since the interrupt signal is generated regardless of the address under execution of the calling source routine, an interrupt signal is generated when calling the interrupt processing subroutine as shown in (C). It is preferable to save the value of the flag register 1200 at the point of time in the stack area so that it is not destroyed during the processing of the called routine.

そのため、図19の(D)に示すように、呼出元のルーチンに含まれる戻りアドレスの値だけでなく、フラグレジスタ1200の値もスタック領域に格納して、呼出先の処理に移行させる構成となっている。これにより、呼出先のルーチンのプログラム中にフラグレジスタをスタック領域に格納するための命令(「PUSH FLG」)を記述しなくても、フラグレジスタの値が自動的にスタック領域に格納されるため、プログラムのコード量を節約することができる。   Therefore, as shown in FIG. 19D, not only the return address value included in the call source routine, but also the value of the flag register 1200 is stored in the stack area, and the process proceeds to the call destination processing. It has become. As a result, the value of the flag register is automatically stored in the stack area even if an instruction (“PUSH FLG”) for storing the flag register in the stack area is not described in the program of the called routine. , Can save the code amount of the program.

これに対して、呼出元のルーチンに記述されたCALL命令等の呼出の命令を実行する場合は、(A)に示すように、呼出元のルーチンで設定されたフラグレジスタ1200の値を呼出先のルーチンの処理中で破壊しないように構成すべき場合もある一方で、(B)に示すように、呼出先のルーチンの処理中で設定されたフラグレジスタ1200の値を、呼出元のルーチンに戻して演算に利用することもあり得る。つまり、呼出元のルーチンで設定されたフラグレジスタ1200の値をスタック領域に退避すべきか否かはケースバイケースである。   On the other hand, when a call instruction such as a CALL instruction described in the call source routine is executed, the value of the flag register 1200 set in the call source routine is set as shown in FIG. However, as shown in (B), the value of the flag register 1200 set during the processing of the call destination routine is changed to the call source routine. It may be returned and used for calculation. That is, whether or not the value of the flag register 1200 set in the call source routine should be saved in the stack area is case by case.

そのため、図19の(C)に示すように、呼出元のルーチンに含まれる戻りアドレスの値のみを格納して、フラグレジスタ1200の値はスタック領域に格納しない状態で、呼出先の処理に移行させる構成となっている。そして、呼出先のルーチンのプログラム中に、プログラム中にフラグレジスタ1200の値をスタック領域に格納する命令(例えば、「PUSH FLG」)を記述するか否かにより、値を退避するか否かが選択できる構成となっている。   For this reason, as shown in FIG. 19C, only the return address value included in the call source routine is stored, and the value of the flag register 1200 is not stored in the stack area, and the process proceeds to the call destination process. It is the composition which makes it. Whether or not the value is to be saved depends on whether or not an instruction (for example, “PUSH FLG”) that stores the value of the flag register 1200 in the stack area is described in the program of the called routine. The configuration is selectable.

さらに、図82の(A)〜(C)に示したように、本実施形態では、汎用レジスタのバンクを切り変える機能を有しているので、呼出先のルーチン内でバンクを切り替えることにより、呼出元とは異なるレジスタを活用することができる。   Further, as shown in (A) to (C) of FIG. 82, the present embodiment has a function of switching the bank of the general-purpose registers. Therefore, by switching the bank in the called routine, A register different from the caller can be used.

特に(C)に示した割込処理のサブルーチンでは、フラグレジスタの値を復帰させる命令を実行しなくても、処理の最後で「RETI」を実行することによって、スタック領域に退避してあったフラグレジスタの値が自動的に復帰する構成となっている。そのため、サブルーチン内で、フラグレジスタの値を復帰させる命令を実行しなくても、呼出元ルーチンに戻るときにバンクを戻すことが出来るので、よりプログラムのコード量を節約できるようになっている。   In particular, in the interrupt processing subroutine shown in (C), even if an instruction for restoring the value of the flag register is not executed, “RETI” is executed at the end of the processing to save the stack area. The flag register value is automatically restored. Therefore, it is possible to return the bank when returning to the call source routine without executing an instruction for restoring the value of the flag register in the subroutine, so that the code amount of the program can be further saved.

図83〜図85は、本発明の第1の実施形態において、表示装置8で実行される飾り特図変動表示ゲームの画面遷移を説明する図である。   FIGS. 83 to 85 are diagrams for explaining screen transitions of the decorative special figure variation display game executed by the display device 8 in the first embodiment of the present invention.

画面(a)は変動開始前の状態を示し、始動記憶が消化されると、画面(b)に示すように、図柄表示領域8310にて各識別図柄が変動を開始する。なお、図柄表示領域8310の下方には第1記憶表示部8320と第2記憶表示部8330とが設定される。これらの各記憶表示部には、保留記憶があることを示すマーク(通常の保留記憶表示)8340と、保留記憶がないことを示すマーク8350が表示される。その後、画面(c)に示すように、左図柄、右図柄の順に識別図柄の変動が停止され、最終的には中図柄の変動が停止して、画面(d)に示すように変動停止した状態となる。   The screen (a) shows the state before the start of variation, and when the start-up memory is exhausted, as shown in the screen (b), each identification symbol starts to vary in the symbol display area 8310. A first storage display unit 8320 and a second storage display unit 8330 are set below the symbol display area 8310. In each of these storage display units, a mark (normal hold storage display) 8340 indicating that there is a hold memory and a mark 8350 indicating that there is no hold storage are displayed. After that, as shown in the screen (c), the variation of the identification symbol is stopped in the order of the left symbol and the right symbol, and finally the variation of the middle symbol is stopped, and the variation is stopped as shown in the screen (d). It becomes a state.

このとき、左図柄と右図柄が同一の図柄で停止した場合には、画面(e)に示すようにリーチ状態となり(リーチA)、その後、中図柄の変動が継続される。そして、変動表示ゲームの結果がはずれの場合には、画面(f)に示すように、左右の識別図柄とは異なる図柄で中図柄が停止する。また、変動表示ゲームの結果が大当りとなる場合には、画面(g)に示すように、左右の識別図柄と同じ識別図柄で中図柄が停止する。変動表示ゲームで大当りとなると、前述したように特別遊技状態に遷移し、遊技者は多くの遊技価値を得ることが可能となる。   At this time, when the left symbol and the right symbol are stopped at the same symbol, the reach state is reached (reach A) as shown in the screen (e), and then the variation of the middle symbol is continued. If the result of the variable display game is out of place, as shown in the screen (f), the middle symbol stops with a symbol different from the left and right identification symbols. Further, when the result of the variable display game is a big hit, as shown in the screen (g), the middle symbol stops at the same identification symbol as the left and right identification symbols. When a big win is obtained in the variable display game, as described above, a transition is made to the special game state, and the player can obtain a lot of game values.

また、画面(e)で示したリーチは、通常のリーチ(ノーマルリーチ、リーチA)であるが、画面(e)の代わり又は画面(e)に示したリーチの後に、画面(h)に示すように、中図柄が回転して表示されるリーチBが発生する場合がある。リーチBが発生する場合には、リーチAと比較して変動表示ゲームの結果が大当りとなる確率が大きくなるように設定されている。   Further, the reach shown on the screen (e) is a normal reach (normal reach, reach A), but instead of the screen (e) or after the reach shown on the screen (e), it is shown on the screen (h). In addition, there may be a reach B in which the middle symbol is displayed by being rotated. When reach B occurs, the probability that the result of the variable display game is a big hit is set to be greater than that of reach A.

さらに、画面(i)には、中図柄の位置に識別図柄が付された円筒状の回転体が表示されるリーチCを示している。また、画面(j)には、識別情報が付された重り形状のものを引き上げることによって中図柄の変動表示を行うリーチDを示している。さらに、画面(k)には、識別情報が付された紙をめくることで中図柄の変動表示を行うリーチEを示している。   Further, the screen (i) shows a reach C in which a cylindrical rotating body with an identification symbol attached at the position of the middle symbol is displayed. Further, the screen (j) shows a reach D for performing variable display of the middle symbol by pulling up the weight-shaped one with identification information. Furthermore, the screen (k) shows a reach E that performs a variable display of the middle symbols by turning the paper with the identification information attached.

リーチC〜Eは、順に変動表示ゲームの結果が大当りとなる確率が大きくなるように設定されており、いずれもリーチBよりも確率が大きくなるように設定されている。また、いずれのリーチもノーマルリーチ(リーチA)から発展して発生するようにしてもよいし、左図柄及び右図柄が同じ図柄で停止した後にすぐに発生するようにしてもよい。   The reach C to E are set so that the probability that the result of the variable display game will be a big hit in order increases, and all of the reach C to E are set to have a higher probability than the reach B. In addition, any reach may be developed from normal reach (reach A), or may be generated immediately after the left symbol and the right symbol stop at the same symbol.

また、画面(l)及び画面(m)は別のリーチ態様の一例を示している。これらのリーチは、ノーマルリーチ(リーチA)から発展するようにしてもよいし、リーチB〜Eから発展するようにしてもよい。   The screen (l) and the screen (m) show an example of another reach mode. These reach may be developed from normal reach (reach A) or may be developed from reach B to E.

画面(l)に示すリーチは、リーチ発生後にキャラクタが登場し、中図柄の識別情報を変動表示させる演出が実行される。リーチA〜Eから発展した場合には、先に発生したリーチに対応するキャラクタを表示させるようにしてもよい。   In the reach shown in the screen (l), a character appears after the occurrence of the reach, and an effect of variably displaying the identification information of the middle symbol is executed. In the case of development from the reach A to E, a character corresponding to the reach that has occurred first may be displayed.

画面(m)に示すリーチは、リーチ発生後、識別情報を右端に移動させ、自分(味方)キャラクタと敵キャラクタとが戦闘を行う演出が実行される。このとき、自分キャラクタが戦闘に勝利すると、大当りが確定する。また、リーチA〜Eから発展した場合には、先に発生したリーチに対応するようにキャラクタを変更してもよい。また、敵キャラクタによって大当りの種類が示唆されるようにしてもよい。   In the reach shown on the screen (m), after the reach occurs, the identification information is moved to the right end, and an effect is produced in which the own (friend) character and the enemy character battle each other. At this time, if your character wins the battle, the big hit is confirmed. Further, in the case of development from reach A to E, the character may be changed so as to correspond to the reach that has occurred first. Also, the type of jackpot may be suggested by the enemy character.

また、画面(n)は、変動開始後の状態を示しているが、始動記憶のうちの一つに対して先読み報知が実行されている。具体的には、始動入賞時に設定された前半変動パターン番号がキャラクタA又はキャラクタBが出現する前半変動を行うものであった場合に、先読み報知が実行される。このとき、記憶表示部にて、通常の保留記憶表示8340とは表示態様が異なる特定の保留記憶表示8510が表示されることで、先読みの報知が行われる。   Further, the screen (n) shows the state after the start of fluctuation, but the prefetch notification is executed for one of the start memories. Specifically, the prefetch notification is executed when the first half variation pattern number set at the time of starting winning is for performing the first half variation in which the character A or the character B appears. At this time, the pre-read notification is performed by displaying a specific hold storage display 8510 having a display mode different from that of the normal hold storage display 8340 on the storage display unit.

その後、始動記憶が消化され(画面(o))、先読み報知がなされた始動記憶に基づく変動表示ゲームが開始されると(画面(p))、キャラクタが出現する予告演出が実行される(画面(q)、画面(r))。   After that, when the start memory is digested (screen (o)) and the variable display game based on the start memory for which the pre-read notification has been made is started (screen (p)), a notice effect in which the character appears is executed (screen). (Q), screen (r)).

画面(q)ではキャラクタA(第1のキャラクタ)8520が出現し、画面(r)ではキャラクタB(第2のキャラクタ)8530が出現している。これらのキャラクタAとBは、互いに表示態様が異なるものが好ましい。ただし、互いに表示態様が同じものであっても、出現するキャラクタの大きさ、出現数、移動速度などをキャラクタAとBとで各々異ならせるようにして、遊技者に各々が区別できるようにしているものであれば、特に限定はされない。   Character A (first character) 8520 appears on screen (q), and character B (second character) 8530 appears on screen (r). These characters A and B preferably have different display modes. However, even if the display modes are the same, the size, number of appearances, moving speed, etc. of the appearing characters are made different between the characters A and B so that the player can distinguish them. If it is, it will not be specifically limited.

本実施形態では、前半変動(一部の識別図柄の変動が停止してリーチ状態が発生する前の状態)でキャラクタが出現するようになっている。その後、左右の識別図柄が停止し、リーチ状態が発生する(画面(s))。このとき、スーパーリーチ若しくは通常のリーチが発生する。なお、このリーチ状態のときに、前述のキャラクタが出現するようにしてもよい。   In the present embodiment, the character appears in the first half of the change (a state before the change of some of the identification symbols stops and the reach state occurs). Thereafter, the left and right identification symbols are stopped and a reach state is generated (screen (s)). At this time, super reach or normal reach occurs. Note that the character described above may appear in this reach state.

ここで、本実施形態において、割込み処理が呼び出された場合に、スタック領域に、フラグレジスタの値と、戻りアドレス値が格納される順序について説明する。   Here, in this embodiment, the order in which the value of the flag register and the return address value are stored in the stack area when an interrupt process is called will be described.

まず、図86は、本発明の第1の実施形態とは対照的に、割込み処理が呼び出された場合に、先に戻りアドレス値をスタック領域に格納し、その後、フラグレジスタの値をスタック領域に格納することを仮定した場合の図である。この図86の(A)〜(C)により、割込み処理ルーチンの実行過程において、スタック領域に退避されたデータがどのように変化するかを説明する。   First, in FIG. 86, in contrast to the first embodiment of the present invention, when interrupt processing is called, the return address value is first stored in the stack area, and then the value of the flag register is stored in the stack area. FIG. 86A to 86C, how the data saved in the stack area changes during the execution of the interrupt processing routine will be described.

なお、図86の「FLG」は1バイトのフラグレジスタの値を示している。また、「ADR_H」は戻りアドレスの上位バイトの値を示し、「ADR_L」は戻りアドレスの下位バイトの値を示しており、「ADR_H」と「ADR_L」を組み合わせることで、2バイトの戻りアドレス値が構成される。   Note that “FLG” in FIG. 86 indicates the value of the 1-byte flag register. “ADR_H” indicates the value of the upper byte of the return address, “ADR_L” indicates the value of the lower byte of the return address, and the return address value of 2 bytes is obtained by combining “ADR_H” and “ADR_L”. Is configured.

まず、図86の(A)は、割込み処理が発生して、戻りアドレス値及びフラグレジスタの値が、スタック領域に格納された直後の状態である。次いで、割込み処理ルーチン内で「PUSH」や「CALL」の命令が実行されると、図86の(B)に示すように、スタック領域に別の退避データが蓄積される。   FIG. 86A shows a state immediately after an interrupt process occurs and the return address value and the flag register value are stored in the stack area. Next, when a “PUSH” or “CALL” instruction is executed in the interrupt processing routine, another save data is accumulated in the stack area as shown in FIG.

次いで、以降の割込み処理ルーチン内で「POP」命令等が実行されると、蓄積された退避データが徐々に復帰し、割込み処理ルーチンの最後の段階になると図86の(A)の状態に戻ることになる。そして、割込み処理ルーチンの最後で「RETI」命令を実行すると、スタック領域から「FLG」の値がフラグレジスタに復帰して格納されるともに、「ADR_H」と「ADR_L」の戻りアドレス値が復帰してプログラムカウンタに格納されることで、割込信号が発生した時点に対応する呼出元ルーチンのアドレスに処理が移り、以降の処理を継続することになる。   Next, when the “POP” instruction or the like is executed in the subsequent interrupt processing routine, the stored saved data is gradually restored, and when the final stage of the interrupt processing routine is reached, the state returns to the state of FIG. It will be. When the “RETI” instruction is executed at the end of the interrupt processing routine, the value of “FLG” is returned from the stack area to the flag register and stored, and the return address values of “ADR_H” and “ADR_L” are restored. By storing in the program counter, the process moves to the address of the call source routine corresponding to the time when the interrupt signal is generated, and the subsequent processes are continued.

なお、「RETI」命令が実行されるまでは、この割込み処理ルーチンの実行中でのスタックポインタの値は、フラグレジスタの値が格納されている領域のアドレス(図では29F9H)よりも、常に小さな値(2980H〜29F8H)の範囲で増減する。   Until the “RETI” instruction is executed, the value of the stack pointer during execution of this interrupt processing routine is always smaller than the address (29F9H in the figure) of the area where the value of the flag register is stored. Increase or decrease within the range of values (2980H to 29F8H).

ただし、割込み処理ルーチンのプログラムにバグ等があるときは、スタックポインタの値が想定している範囲を外れてしまう恐れがある。例えば「POP」命令が、プログラム開発者が意図している回数よりも1回だけ余分に実行されると、スタックポインタの値が、フラグレジスタの値が格納されている領域のアドレス(29F9H)を一時的に指し示してしまうことになる。そして、この状態で「PUSH」命令を1回だけ実行すると、29F9Hのアドレスに退避されている「FLG」の値に、別の値が上書きされてしまうことになる。   However, if there is a bug in the interrupt processing routine program, the stack pointer value may fall outside the expected range. For example, if the “POP” instruction is executed once more than the number intended by the program developer, the value of the stack pointer is set to the address (29F9H) of the area where the value of the flag register is stored. It will point temporarily. If the “PUSH” instruction is executed only once in this state, another value is overwritten on the value of “FLG” saved at the address 29F9H.

このようなバグが存在する場合は、割込み処理ルーチンの最後で「RETI」命令を実行する段階になったとき、図86の(C)に示すように、29FAH〜29FBHのアドレスに退避された「ADR_H」と「ADR_L」を書き換えることなく、29F9Hのアドレスに退避された「FLG」のみを異常な値に書き換えるという状態が発生する恐れがある。   When such a bug exists, when the “RETI” instruction is executed at the end of the interrupt processing routine, as shown in FIG. 86 (C), “evacuated to addresses 29FAH to 29FBH” There is a possibility that only “FLG” saved in the address 29F9H is rewritten to an abnormal value without rewriting “ADR_H” and “ADR_L”.

この場合、復帰後のフラグレジスタに格納される値が異常値になっているため、以降の処理が正常に動作せずに障害が発生することが考えられる。しかしながら、プログラムカウンタに復帰する戻りアドレス値(「ADR_H」と「ADR_L」)は正常な値であるので、割込み処理ルーチンの最後で「RETI」命令を実行すると、プログラムが暴走することなく呼出元のルーチンに戻って処理を継続することになる。   In this case, since the value stored in the flag register after the return is an abnormal value, it is considered that the subsequent processing does not operate normally and a failure occurs. However, since the return address values ("ADR_H" and "ADR_L") that return to the program counter are normal values, if the "RETI" instruction is executed at the end of the interrupt processing routine, the program does not run out of control. Return to the routine and continue processing.

そのため、遊技機の開発期間中では、開発者がプログラム中のバグの存在に気づかない可能性がある。仮に、障害の発生に気づいても、プログラムが暴走しない可能性が高いが故に、障害の発生要因を特定することが困難になるおそれがある。   Therefore, during the game machine development period, the developer may not be aware of the presence of bugs in the program. Even if the occurrence of a failure is noticed, there is a high possibility that the program will not run out of control, so it may be difficult to identify the cause of the failure.

一方、図87は、本発明の第1の実施形態と同様に、割込み処理が呼び出された場合に、先にフラグレジスタの値をスタック領域に格納し、その後、戻りアドレス値をスタック領域に格納した場合の図である。この図87の(A)〜(C)により、割込み処理ルーチンの実行過程において、スタック領域に退避されたデータがどのように変化するかを説明する。なお、図87の「FLG」、「ADR_H」、「ADR_L」も、図86と同様の構成である。   On the other hand, FIG. 87 shows that the flag register value is first stored in the stack area and then the return address value is stored in the stack area when interrupt processing is called, as in the first embodiment of the present invention. FIG. 87A to 87C, how the data saved in the stack area changes in the execution process of the interrupt processing routine will be described. Note that “FLG”, “ADR_H”, and “ADR_L” in FIG. 87 have the same configuration as in FIG.

まず、図87の(A)は、割込み処理が発生して、戻りアドレス値及びフラグレジスタの値が、スタック領域に格納された直後の状態である。次いで、割込み処理ルーチン内で「PUSH」や「CALL」の命令を実行すると、図87の(B)に示すように、スタック領域に別の退避データが蓄積される。   First, FIG. 87A shows a state immediately after an interrupt process occurs and the return address value and the flag register value are stored in the stack area. Next, when a “PUSH” or “CALL” instruction is executed in the interrupt processing routine, another save data is accumulated in the stack area as shown in FIG.

次いで、以降の割込み処理ルーチン内で「POP」命令等が実行されると、蓄積された退避データが徐々に復帰し、割込み処理ルーチンの最後の段階になると図87の(A)の状態に戻ることになる。そして、割込み処理ルーチンの最後で「RETI」命令を実行すると、スタック領域から「FLG」の値がフラグレジスタに復帰して格納されるともに、「ADR_H」と「ADR_L」の戻りアドレス値が復帰してプログラムカウンタに格納されることで、割込信号が発生した時点に対応する呼出元ルーチンのアドレスに処理が移り、以降の処理を継続することになる。   Next, when a “POP” instruction or the like is executed in the subsequent interrupt processing routine, the stored saved data is gradually restored, and when the final stage of the interrupt processing routine is reached, the state returns to the state of FIG. It will be. When the “RETI” instruction is executed at the end of the interrupt processing routine, the value of “FLG” is returned from the stack area to the flag register and stored, and the return address values of “ADR_H” and “ADR_L” are restored. By storing in the program counter, the process moves to the address of the call source routine corresponding to the time when the interrupt signal is generated, and the subsequent processes are continued.

なお、「RETI」命令が実行されるまでは、この割込み処理ルーチンの実行中でのスタックポインタの値は、戻りアドレス値が格納されている領域のアドレス(図では29F9H)よりも、常に小さな値(2980H〜29F8H)の範囲で増減する。   Until the “RETI” instruction is executed, the value of the stack pointer during execution of this interrupt processing routine is always smaller than the address (29F9H in the figure) of the area where the return address value is stored. Increase or decrease within the range of (2980H to 29F8H).

このとき、前述の図86と同様に、割込み処理ルーチンのプログラムにバグ等があると、スタックポインタの値が想定している範囲を外れてしまう恐れがある。この場合、スタック領域に待避されている「ADR_L」、「ADR_H」、「FLG」などの値が別の値が上書きされてしまう恐れがあり、割込み処理ルーチンの最後で「RETI」命令を実行したときに、フラグレジスタの値が正常に復帰しなくなってしまう。   At this time, as in the case of FIG. 86 described above, if there is a bug or the like in the interrupt processing routine program, the value of the stack pointer may fall outside the expected range. In this case, values such as “ADR_L”, “ADR_H”, and “FLG” saved in the stack area may be overwritten with another value, and the “RETI” instruction is executed at the end of the interrupt processing routine. Sometimes, the value of the flag register does not return to normal.

しかしながら、前述の図86とは異なり、図87の構成であれば、スタック領域に退避された「ADR_H」と「ADR_L」の値を書き換えずに、スタック領域に退避された「FLG」のみを書き換えることは、あり得ない。その理由は、図87の(C)に示すように、スタック領域へのデータの出し入れの順序に特徴があるが故に、「FLG」が異常値に書き換えられるときには、その上方に待避されている「ADR_H」と「ADR_L」の値も、書き換えられていると考えられるからである。   However, unlike FIG. 86 described above, with the configuration of FIG. 87, only “FLG” saved in the stack area is rewritten without rewriting the values of “ADR_H” and “ADR_L” saved in the stack area. That is impossible. The reason for this is that, as shown in FIG. 87C, there is a feature in the order of data input / output to / from the stack area. Therefore, when “FLG” is rewritten to an abnormal value, it is saved above it. This is because the values of “ADR_H” and “ADR_L” are also considered to be rewritten.

このようにして、割込み処理ルーチンの最後で図87の(C)の状態となり、この状態で「RETI」命令を実行するすると、29F9H〜29FAHのアドレスに退避された異常なアドレス値がプログラムカウンタに格納されるので、呼出元のルーチンに戻れず、プログラムが暴走することになる。   In this way, the state shown in FIG. 87C is reached at the end of the interrupt processing routine. When the “RETI” instruction is executed in this state, the abnormal address value saved to the addresses 29F9H to 29FAH is stored in the program counter. Since it is stored, it cannot return to the calling routine, and the program will run out of control.

すなわち、本実施形態と同様の図87の構成であれば、復帰後のフラグレジスタに格納される値が異常値になるような場合には、「RETI」命令実行後のプログラムカウンタにも異常なアドレス値が必ず格納される。そのため、割込み処理ルーチンにバグがあれば、遊技機の開発期間中にプログラムが暴走して、開発者が障害の発生に気づきやすい構成となるのである。したがって、図86の構成よりも、プログラムのバグが発見しやすい遊技機を実現することが可能となる。   That is, with the configuration of FIG. 87 similar to the present embodiment, if the value stored in the flag register after return becomes an abnormal value, the program counter after execution of the “RETI” instruction is also abnormal. The address value is always stored. Therefore, if there is a bug in the interrupt processing routine, the program runs out of control during the development period of the gaming machine, and the developer can easily recognize the occurrence of the failure. Therefore, it is possible to realize a gaming machine in which program bugs are easier to find than in the configuration of FIG.

次に、本実施形態において、割込み処理が呼び出された場合にスタック領域に格納される、フラグレジスタの値のバイト数と、戻りアドレス値のバイト数との関係について説明する。   Next, in the present embodiment, the relationship between the number of bytes of the flag register value and the number of bytes of the return address value stored in the stack area when the interrupt process is called will be described.

まず、図88は、本発明の第1の実施形態とは対照的に、フラグレジスタの値のバイト数と、戻りアドレス値のバイト数とを、ともに2バイトで構成することを仮定した場合の図である。この図88の(A)〜(D)により、割込み処理の開始直後及び終了直前におけるスタック領域内の退避データの状態と、CALL命令により呼び出されたサブルーチンの開始直後及び終了直前におけるスタック領域内の退避データの状態について説明する。   First, in FIG. 88, in contrast to the first embodiment of the present invention, it is assumed that the number of bytes of the flag register value and the number of bytes of the return address value are both composed of 2 bytes. FIG. 88 (A) to 88 (D), the status of the saved data in the stack area immediately after the start and immediately before the end of the interrupt processing, and the state in the stack area immediately after the start of the subroutine called by the CALL instruction and immediately before the end. The state of saved data will be described.

なお、図88の「FLG」は2バイトのフラグレジスタの値を示している。また、「ADRW_H」と「ADRW_L」は、当該割込み処理の発生時に格納される戻りアドレス値の上位バイトと下位バイトの値を示している。また、「ADR2_H」と「ADR2_L」、及び「ADR1_H」と「ADR1_L」は、当該割込み処理が発生するよりも前に格納されたアドレス値の上位バイトと下位バイトである。なお、「ADR3_H」と「ADR3_L」は、割込み処理が発生することに替えて、CALL命令によるサブルーチンが開始された場合に格納される戻りアドレス値の上位バイトと下位バイトの値を示している。   Note that “FLG” in FIG. 88 indicates the value of the 2-byte flag register. Further, “ADRW_H” and “ADRW_L” indicate the values of the upper byte and the lower byte of the return address value stored when the interrupt process occurs. Further, “ADR2_H” and “ADR2_L”, and “ADR1_H” and “ADR1_L” are the upper byte and the lower byte of the address value stored before the interrupt processing occurs. Note that “ADR3_H” and “ADR3_L” indicate the upper byte and lower byte values of the return address value stored when the subroutine by the CALL instruction is started instead of the occurrence of the interrupt processing.

まず、図88の(A)は、割込み処理が発生して、戻りアドレス値及びフラグレジスタの値が、スタック領域に格納された直後の状態である。この割込み処理の最後のステップにおいては、「RETI」命令が実行されることで、スタック領域から2バイトのフラグレジスタの値と、2バイトの戻りアドレス値が復帰する。なお、スタック領域へのデータの格納状況に対応してスタックポインタの値も増減するようになっており、「RETI」命令実行後に呼出元の処理に復帰した際には、スタック領域は図88の(B)に示す状態となっている。   First, FIG. 88A shows a state immediately after an interrupt process occurs and the return address value and the flag register value are stored in the stack area. In the last step of this interrupt processing, the “RETI” instruction is executed, whereby the 2-byte flag register value and 2-byte return address value are restored from the stack area. It should be noted that the value of the stack pointer is also increased or decreased in accordance with the storage status of data in the stack area, and when returning to the calling process after execution of the “RETI” instruction, the stack area is shown in FIG. The state shown in FIG.

一方、割込み処理が発生するのではなく、呼出元の処理でCALL命令を実行してサブルーチンを呼び出した場合は、図88の(C)に示すように、戻りアドレス値のみがスタック領域に格納され、フラグレジスタの値は格納されない。そして、このサブルーチンの最後のステップにおいては、「RET」命令が実行されることで、スタック領域から2バイトの戻りアドレス値のみが復帰する。なお、スタック領域へのデータの格納状況に対応してスタックポインタの値も増減するようになっており、「RET」命令実行後に呼出元の処理に復帰した際には、スタック領域は図88の(B)に示す状態となっている。   On the other hand, when the subroutine is called by executing the CALL instruction in the call source process instead of the interrupt process, only the return address value is stored in the stack area as shown in FIG. The value of the flag register is not stored. In the last step of this subroutine, only the 2-byte return address value is restored from the stack area by executing the “RET” instruction. It should be noted that the value of the stack pointer is also increased or decreased in accordance with the storage status of data in the stack area, and when returning to the calling process after executing the “RET” instruction, the stack area is The state shown in FIG.

ただし、CALL命令で呼び出したサブルーチンのプログラムにバグがあり、サブルーチンの最後で、「RET」命令の代わりに、誤って「RETI」命令を実行してしまった場合は、図88の(C)に示す状態から「ADR3_H」と「ADR3_L」の値を戻りアドレス値としてプログラムカウンタに復帰させるだけでなく、「ADR2_H」と「ADR2_L」の値を2バイトのフラグレジスタの値と見なして復帰させてしまうことになる。そのため、「RETI」命令実行後に呼出元の処理に復帰した際には、スタック領域は図88の(D)に示す状態となってしまう。   However, there is a bug in the subroutine program called by the CALL instruction, and if the “RETI” instruction is executed by mistake instead of the “RET” instruction at the end of the subroutine, the process shown in FIG. From the state shown, not only the values of “ADR3_H” and “ADR3_L” are returned to the program counter as return address values, but also the values of “ADR2_H” and “ADR2_L” are regarded as values of the 2-byte flag register and returned. It will be. Therefore, when the process returns to the calling source after executing the “RETI” instruction, the stack area is in the state shown in FIG.

その後、呼出元の処理でさらに「RET」命令を実行すると、図88の(D)の状態から、「ADR1_H」と「ADR1_L」の戻りアドレス値を取得して、プログラムカウンタに復帰させ、そのアドレスに移行してしまうことになる。これは、呼出元の処理で「RET」命令を実行した場合に取得されるべき本来の戻りアドレス値(図88の(B)の「ADR2_H」と「ADR2_L」)とは異なるアドレスに、処理が移行することに相当する。   Thereafter, when the “RET” instruction is further executed in the calling source process, the return address values of “ADR1_H” and “ADR1_L” are acquired from the state of FIG. 88D, and the program counter is returned to that address. Will be transferred to. This is because the processing is performed at an address different from the original return address values (“ADR2_H” and “ADR2_L” in FIG. 88B) that should be acquired when the “RET” instruction is executed in the calling source processing. This is equivalent to migrating.

この場合、本来実行すべき処理とは異なる処理が行われるため、何らかの障害が発生するはずであるが、誤って取得した「ADR1_H」と「ADR1_L」の戻りアドレス値は、プログラム上にアドレス値として使用されている値である。故に、プログラムが暴走することなく呼出元のルーチンに戻って処理を継続することになる。   In this case, since a process different from the process that should be originally performed is performed, some kind of failure should occur. However, the return address values of “ADR1_H” and “ADR1_L” that are acquired by mistake are used as address values on the program. This is the value being used. Therefore, the program returns to the calling routine without continuing the runaway and the processing is continued.

そのため、遊技機の開発期間中では、開発者がプログラム中のバグの存在に気づかない可能性がある。仮に、障害の発生に気づいても、プログラムが暴走しない可能性が高いが故に、障害の発生要因を特定することが困難になるおそれがある。   Therefore, during the game machine development period, the developer may not be aware of the presence of bugs in the program. Even if the occurrence of a failure is noticed, there is a high possibility that the program will not run out of control, so it may be difficult to identify the cause of the failure.

一方、図89は、本発明の第1の実施形態と同様に、フラグレジスタの値のバイト数と、戻りアドレス値のバイト数とを、異ならせて構成した場合の図である。この図89の(A)〜(C)により、割込み処理の開始直後及び終了直前におけるスタック領域内の退避データの状態と、CALL命令により呼び出されたサブルーチンの開始直後及び終了直前におけるスタック領域内の退避データの状態について説明する。   On the other hand, FIG. 89 is a diagram in the case where the number of bytes of the flag register value is different from the number of bytes of the return address value, as in the first embodiment of the present invention. 89 (A) to 89 (C), the state of the saved data in the stack area immediately after the start and immediately before the end of the interrupt processing, and the stack area in the stack area immediately after the start and immediately before the end of the subroutine called by the CALL instruction. The state of saved data will be described.

なお、図89の「ADR1_H」、「ADR1_L」、「ADR2_H」、「ADR2_L」「ADR3_H」、「ADR3_L」も、図88と同様の構成である。ただし、図89の「FLG」が1バイトで構成されている点は、図88と異なっている。   Note that “ADR1_H”, “ADR1_L”, “ADR2_H”, “ADR2_L”, “ADR3_H”, and “ADR3_L” in FIG. 89 have the same configuration as in FIG. However, “FLG” in FIG. 89 is different from FIG. 88 in that it is composed of 1 byte.

まず、図89の(A)は、呼出元の処理でCALL命令を実行してサブルーチンを呼び出した場合において、戻りアドレス値がスタック領域に格納された直後の状態である。この場合は、戻りアドレス値のみがスタック領域に格納され、フラグレジスタの値は格納されない。そして、このサブルーチンの最後のステップにおいては、「RET」命令が実行されることで、スタック領域から2バイトの戻りアドレス値のみが復帰する。なお、スタック領域へのデータの格納状況に対応してスタックポインタの値も増減するようになっており、「RET」命令実行後に呼出元の処理に復帰した際には、スタック領域は図89の(B)に示す状態となっている。   First, FIG. 89A shows a state immediately after the return address value is stored in the stack area when the CALL instruction is executed in the calling source process to call a subroutine. In this case, only the return address value is stored in the stack area, and the value of the flag register is not stored. In the last step of this subroutine, only the 2-byte return address value is restored from the stack area by executing the “RET” instruction. It should be noted that the value of the stack pointer is also increased or decreased according to the data storage status in the stack area, and when returning to the caller process after executing the “RET” instruction, the stack area is shown in FIG. The state shown in FIG.

ただし、CALL命令で呼び出したサブルーチンのプログラムにバグがあり、サブルーチンの最後で、「RET」命令の代わりに、誤って「RETI」命令を実行してしまった場合は、図89の(A)に示す状態から「ADR3_H」と「ADR3_L」の値を戻りアドレス値としてプログラムカウンタに復帰させるだけでなく、「ADR2_L」の値を1バイトのフラグレジスタの値と見なして復帰させてしまうことになる。そのため、「RETI」命令実行後に呼出元の処理に復帰した際には、スタック領域は図89の(C)に示す状態となってしまう。   However, if there is a bug in the subroutine program called by the CALL instruction and the “RETI” instruction is executed by mistake instead of the “RET” instruction at the end of the subroutine, FIG. 89 (A) shows From the state shown, not only the values of “ADR3_H” and “ADR3_L” are returned to the program counter as return address values, but also the value of “ADR2_L” is regarded as the value of the 1-byte flag register. Therefore, when returning to the caller process after executing the “RETI” instruction, the stack area is in the state shown in FIG.

その後、呼出元の処理でさらに「RET」命令を実行すると、図89の(C)の状態から、「ADR1_L」と「ADR2_H」の値を戻りアドレス値として取得してプログラムカウンタに格納し、さらにプログラムカウンタが示す場所へ移行してしまうことになる。これは、呼出元の処理で「RET」命令を実行した場合に取得されるべき本来の戻りアドレス値(図89の(A)の「ADR2_H」と「ADR2_L」)とは異なるアドレスに、処理が移行することに相当する。   Thereafter, when the “RET” instruction is further executed in the calling source process, the values of “ADR1_L” and “ADR2_H” are acquired as return address values from the state of FIG. 89C and stored in the program counter. It will move to the place indicated by the program counter. This is because the processing is performed at an address different from the original return address values (“ADR2_H” and “ADR2_L” in FIG. 89A) to be acquired when the “RET” instruction is executed in the calling source processing. This is equivalent to migrating.

この場合、誤って取得したアドレスのうち、「ADR2_H」がアドレスの下位バイトと認識され、「ADR1_L」がアドレスの上位バイトと認識されるので、実際には正しい組み合わせになっていないアドレスが生成されることになり、プログラム上にアドレス値として使用されていないアドレス値になると考えられる。そのため、以降に「RET」命令を実行したときに、プログラムカウンタには異常なアドレス値が格納されることになり、それ故にCPUが暴走する可能性が高くなる。そのため、割込み処理ルーチンにバグがあれば、遊技機の開発期間中にプログラムが暴走して、開発者が障害の発生に気づきやすい構成となるのである。したがって、図88の構成よりも、プログラムのバグが発見しやすい遊技機を実現することが可能となる。   In this case, among the addresses acquired in error, “ADR2_H” is recognized as the lower byte of the address and “ADR1_L” is recognized as the upper byte of the address, so an address that is not actually in the correct combination is generated. Therefore, it is considered that the address value is not used as an address value on the program. Therefore, when the “RET” instruction is subsequently executed, an abnormal address value is stored in the program counter, and therefore, the possibility of the CPU running out of control increases. Therefore, if there is a bug in the interrupt processing routine, the program runs out of control during the development period of the gaming machine, and the developer can easily recognize the occurrence of the failure. Therefore, it is possible to realize a gaming machine in which program bugs are easier to find than in the configuration of FIG.

以上のように構成することによって、フラグレジスタ及び戻りアドレスをスタック領域に退避させる場合にノイズ等によってスタック領域に格納されたデータが書き換えられて障害が発生した場合であっても、障害を早期に発見可能となるため、障害発生時の原因特定が容易になり、開発効率を向上させることが可能となる。   By configuring as described above, even when the flag register and the return address are saved in the stack area, even if the data stored in the stack area is rewritten due to noise or the like, the failure is caused early. Since it becomes possible to identify the cause, it becomes easy to identify the cause when a failure occurs, and it is possible to improve development efficiency.

なお、本実施形態では、ゲートスイッチ監視処理(図60のステップ6001)において、普図始動SW31Aによる遊技球の検出があったときに、普図乱数カウンタ値(図15の普図乱数生成領域)の値を普図始動入賞記憶領域(図15)に記憶しているが、普図変動表示ゲームに関する乱数であれば、別の乱数を記憶するようにしてもよい。例えば、乱数生成回路608にて普図変動表示ゲームに関する乱数を生成(ハード乱数を生成)しておき、普図始動SW31Aによる遊技球の検出があったときに、この生成した乱数を普図始動入賞記憶領域(図15)に記憶するようにしてもよい。   In this embodiment, in the gate switch monitoring process (step 6001 in FIG. 60), when a game ball is detected by the general chart start SW 31A, the general random number counter value (the general random number generation area in FIG. 15). Is stored in the usual figure start winning storage area (FIG. 15), but another random number may be stored as long as it is a random number related to the usual figure variation display game. For example, a random number generation circuit 608 generates a random number related to a general fluctuation display game (a hard random number is generated), and when a general game start SW 31A detects a game ball, the generated random number is normally started. You may make it memorize | store in a prize memory | storage area | region (FIG. 15).

また、本実施形態では、特図始動口SW共通処理(図40)のステップ4004〜4006の処理において、図15に示される大当り乱数、大当り図柄乱数、第1〜第3変動パターン乱数の各生成領域から乱数値を取得しているが、特図変動表示ゲームに関する乱数であれば、別の乱数を取得するようにしてもよい。例えば、乱数生成回路608にて、大当り乱数、大当り図柄乱数、第1〜第3変動パターン乱数の全部又は一部を生成(ハード乱数を生成)しておき、ステップ4004〜4006の処理の実行時に、この生成した乱数を取得するようにしてもよい。   Further, in the present embodiment, each of the big hit random numbers, big hit symbol random numbers, and first to third variation pattern random numbers shown in FIG. 15 is generated in the processing of steps 4004 to 4006 of the special figure start port SW common processing (FIG. 40). Although the random number value is acquired from the area, another random number may be acquired as long as it is a random number related to the special figure variation display game. For example, the random number generation circuit 608 generates all or part of the jackpot random number, jackpot symbol random number, and first to third variation pattern random numbers (generates a hard random number), and executes the processing of steps 4004 to 4006 The generated random number may be acquired.

ここで、本発明とは対照的な従来技術と本発明との対比を行う。   Here, the contrast between the prior art and the present invention as opposed to the present invention is performed.

まず、特許文献Aとして特開2009−183500号公報に開示されるような遊技機が知られており、この遊技機では、従来よりもプログラムコードを削減し、記憶手段の記憶容量を削減するために、CPUからI/O空間を介してアクセス可能な記憶領域を少なくとも有する記憶手段を備えている。   First, a gaming machine as disclosed in Japanese Patent Application Laid-Open No. 2009-183500 is known as Patent Document A. In this gaming machine, in order to reduce the program code and reduce the storage capacity of the storage means than before. In addition, storage means having at least a storage area accessible from the CPU via the I / O space is provided.

そして、この遊技機では、特許文献Aの段落[0137]〜[0142]に記載があるように、LD命令、IN命令、OUT命令を適宜使い分けることで、プログラム全体のステート数やプログラムコード量を削減している。   In this gaming machine, as described in paragraphs [0137] to [0142] of Patent Document A, the LD instruction, the IN instruction, and the OUT instruction are properly used, so that the number of states and the program code amount of the entire program can be reduced. Reduced.

さらに、この遊技機では、特許文献Aの図13に記載があるように、指定したRAM領域からレジスタにデータを格納するLD命令や、逆に、レジスタから指定したRAM領域にデータを格納するLD命令を用いている。   Further, in this gaming machine, as described in FIG. 13 of Patent Document A, an LD instruction for storing data from a designated RAM area into a register, or conversely, an LD for storing data into a RAM area designated from a register. Instruction is used.

具体的には、RAM領域の2810H番地のデータをAレジスタに格納するための「LD A,(2810H)」、AレジスタのデータをRAM領域の2810H番地に格納するための「LD (2810H),A」、RAM領域の2810H番地のデータをHLレジスタに格納するための「LD HL,(2810H)」、HLレジスタのデータをRAM領域の2810H番地に格納するための「LD (2810H),HL」などが該当する。   Specifically, “LD A, (2810H)” for storing data at address 2810H in the RAM area in the A register, and “LD (2810H), for storing data in register A at address 2810H in the RAM area. A ”,“ LD HL, (2810H) ”for storing the data at address 2810H in the RAM area in the HL register, and“ LD (2810H), HL ”for storing the data in the HL register at address 2810H in the RAM area And so on.

これらの命令は、特許文献Aの図13にも記載があるが、3バイトのプログラムコード量を要する命令である。なお、プログラムコードとは、任意の命令を、命令コード部(オペコード部)とアドレス部(オペランド部)との組み合せを用いて所定バイト数の数値で表現したものである。   Although these instructions are also described in FIG. 13 of Patent Document A, they are instructions that require a 3-byte program code amount. The program code is an arbitrary instruction expressed by a numerical value of a predetermined number of bytes using a combination of an instruction code part (opcode part) and an address part (operand part).

命令コード部は、命令同士を識別するために必要なコードであり、例えば、「LD A,(2810H)」のような、指定されたRAM領域のデータをAレジスタに格納するためのLD命令であれば、「3AH」などの1バイトの値が割り当てられている。一方、アドレス部はRAM領域のアドレスを指定するためのコードであり、例えば、2810H番地へのアクセスを指定する場合は、「28H」「10H」という2バイトの値がプログラムにて設定される。   The instruction code portion is a code necessary for identifying instructions, and is an LD instruction for storing data in a designated RAM area in the A register, such as “LD A, (2810H)”, for example. If there is, a 1-byte value such as “3AH” is assigned. On the other hand, the address portion is a code for designating the address of the RAM area. For example, when designating access to address 2810H, a 2-byte value of “28H” and “10H” is set by the program.

このようなLD命令は、遊技プログラムにて頻繁に使用されるものであるから、プログラム全体のコード量を削減するためには、命令をできるだけ少ないバイト数で表現できることが好ましいのは言うまでもない。しかしながら、RAM領域のアドレスを指定する際には、アドレス部に少なくとも2バイトのコードを割り当てる必要がある上に、命令同士を識別するための命令コード部のコードが少なくとも1バイト必要となるため、このようなLD命令を表現するためのプログラムコードは、2バイト以下に削減することは不可能である。   Since such LD instructions are frequently used in game programs, it is needless to say that the instructions can be expressed with as few bytes as possible in order to reduce the code amount of the entire program. However, when specifying the address of the RAM area, it is necessary to assign a code of at least 2 bytes to the address part, and at least 1 byte of the code of the instruction code part for identifying the instructions is required. The program code for expressing such an LD instruction cannot be reduced to 2 bytes or less.

そこで本発明は、上記のような問題点を解決するために、遊技制御プログラム全体のコード量を削減することを目的としている。   Therefore, the present invention aims to reduce the code amount of the entire game control program in order to solve the above-described problems.

例えば、本発明の第1の実施形態によれば、上位アドレス指定レジスタを用いることにより、RAM(更新情報記憶手段)にアクセスするための命令を、少ないバイト数のコードで実現することが可能となる。そのため、遊技制御プログラムに当該命令を用いることで、遊技制御プログラム全体のコード量を削減することが可能となる。   For example, according to the first embodiment of the present invention, an instruction for accessing a RAM (update information storage means) can be realized with a code having a small number of bytes by using an upper address specification register. Become. Therefore, the code amount of the entire game control program can be reduced by using the instruction for the game control program.

なお、上位アドレス指定レジスタ自体は1バイトのレジスタであるので、特定アドレスの前後各128バイト(又は前後各127バイト)の範囲内からデータを取り出すことを目的として、当該特定アドレスを指定するためにわざわざ2バイトのレジスタを用いるような方法と比較すると、アドレス指定のためのレジスタ構成が簡素化されている。   Since the upper address specification register itself is a 1-byte register, in order to specify the specific address for the purpose of extracting data from the range of 128 bytes before and after the specific address (or 127 bytes before and after each specific address). Compared to a method using two-byte registers, the register configuration for addressing is simplified.

また、Kレジスタ(上位アドレス指定レジスタ)に固有のアドレス値(“28H”)を設定すること(固有値設定手段)によって、リセット(起動)信号が発生した際に、CPU(演算処理手段)によってKレジスタに固有のアドレス値を設定する処理を行う必要がなくなる。したがって、リセット後、遊技制御プログラムでKレジスタに固有のアドレス値を設定しなくても、RAMにデータを読み書きすることが可能となる。さらに、CPUの処理負担が軽減され、遊技制御プログラムのコード量を削減することも可能となる。   Further, by setting a unique address value (“28H”) in the K register (upper address designation register) (unique value setting means), when a reset (startup) signal is generated, the CPU (arithmetic processing means) performs K There is no need to set a unique address value in the register. Therefore, after resetting, it is possible to read / write data from / to the RAM without setting a unique address value in the K register in the game control program. Further, the processing load on the CPU is reduced, and the code amount of the game control program can be reduced.

また、RAMに記憶された情報の更新を規制するRAMアクセス規制回路を備え、所定の起動信号が発生するとRAMアクセス規制回路によりRAMの更新禁止状態となり、その後、CPUコアの動作が開始されてRAMの更新禁止状態が解除され、次いで、上位アドレス指定レジスタにより指定されるアドレスに記憶された情報を用いて遊技制御が開始されるので、誤ったタイミングでRAMの値が更新されることを防止できる。   In addition, a RAM access restriction circuit for restricting the update of information stored in the RAM is provided, and when a predetermined activation signal is generated, the RAM access restriction circuit causes the RAM to be prohibited from being updated. Since the update prohibition state is released, and then game control is started using information stored at the address specified by the upper address specification register, it is possible to prevent the RAM value from being updated at an incorrect timing. .

さらに、本発明の第1の実施形態によれば、始動記憶などを保持するワークエリアと、スタック領域とが異なる上位アドレスとなる領域に保持されるため、乱数更新時などに誤ってスタック領域に格納されたデータを更新することを防止することができるため、誤動作を防ぐことができる。   Furthermore, according to the first embodiment of the present invention, the work area that holds the start-up memory and the like and the stack area are held in an area having a different upper address. Since the stored data can be prevented from being updated, malfunction can be prevented.

特に、始動記憶を保持する領域(例えば、図16、図17、図53A、図53Bに例示するような乱数記憶領域、あるいは図15に例示する普図乱数保存領域)は、変動表示ゲームを開始する際に、格納されている乱数がシフトされることになるが、これらの領域の上位アドレスはすべて同一(28H)になるように設定されているので、シフトの処理を行う際に上位アドレス指定レジスタの値を変更する必要がなく、処理が簡素化される。   In particular, the area that holds the start memory (for example, the random number storage area illustrated in FIG. 16, FIG. 17, FIG. 53A, or FIG. 53B, or the universal random number storage area illustrated in FIG. 15) starts the variable display game. The stored random numbers will be shifted, but since the upper addresses of these areas are all set to be the same (28H), the upper address is designated when the shift process is performed. There is no need to change the register value, and the processing is simplified.

また、ワークエリアの下位アドレスが一致する領域であって、上位アドレスがスタック領域と同じ領域を使用禁止領域に設定することによって、上位アドレスの値を間違っている状態で始動記憶を更新しようするとCPUがリセットされ、誤作動を防止することができる。   In addition, if the lower address of the work area is the same and the upper address is the same as the stack area, the CPU is used to update the start-up memory when the upper address value is incorrect by setting the use prohibited area. Is reset to prevent malfunction.

次に、特許文献Bとして特開平10−033804号公報に開示されるようなパチンコ機が知られており、パチンコ機の制御装置のプログラムにおいては、遊技状態に対応して異なる命令が実行されるように、プログラム内部で分岐の処理が行われている。この特許文献Bでは、段落[0072]〜[0073]に記載があるように、プロセスフラグの値に応じて制御を分岐させる処理がなされ、その分岐の際には、基本回路30のROMに記憶されているプロセスジャンプテーブル(特許文献Bの図13)を参照して行なわれる。   Next, a pachinko machine as disclosed in Japanese Patent Application Laid-Open No. 10-033804 is known as Patent Document B, and in the program of the control device of the pachinko machine, different instructions are executed corresponding to the gaming state. As described above, branch processing is performed in the program. In Patent Document B, as described in paragraphs [0072] to [0073], a process for branching control is performed in accordance with the value of a process flag, and in that branch, the process is stored in the ROM of the basic circuit 30. This is performed with reference to the process jump table (FIG. 13 of Patent Document B).

一方、パチンコ機の制御装置などに用いられるCPUとして、特許文献Cとして特開平11−232099号公報に開示されるZ80系のCPUが知られている。Z80系の命令には、特許文献Cの段落[0020]に示されるような「JP(HL)」の命令が用意されている。この命令は、HLレジスタに格納された値をアドレスと認識させて、そのアドレスで示されるプログラムの箇所に処理を分岐させるものである。なお、CPUが起動した時点では、HLレジスタの値は不定な値が格納されている。   On the other hand, as a CPU used for a control device of a pachinko machine or the like, a Z80 CPU disclosed in Japanese Patent Application Laid-Open No. 11-232099 as Patent Document C is known. As a Z80 series command, a “JP (HL)” command as shown in paragraph [0020] of Patent Document C is prepared. This instruction causes the value stored in the HL register to be recognized as an address, and branches the process to the location of the program indicated by the address. Note that when the CPU is activated, the value of the HL register is an indefinite value.

特許文献Bの従来技術の遊技機のプログラムにて分岐の処理を行う場合には、特許文献CのCPUの「JP(HL)」が用いられることがあり、この場合、HLレジスタに分岐先のアドレスの値を格納してから、「JP(HL)」の命令を実行する構成となる。   When branch processing is performed in the prior art gaming machine program of Patent Literature B, the “JP (HL)” of the CPU of Patent Literature C may be used. In this case, the branch destination is stored in the HL register. After storing the address value, the “JP (HL)” instruction is executed.

しかしながら、特許文献Bの従来技術の遊技機などは、ノイズ環境に晒されているために、CPUが暴走する危険を有している。特に、特許文献Cのような従来のCPUを用いた場合は、遊技機の電源が投入されてCPUが起動を開始した直後では、HLレジスタの値が不定な値であるために、誤ってプログラム中の「JP(HL)」命令が実行された場合には、分岐先が不定なためにCPUが暴走するおそれがあった。   However, since the gaming machine of the prior art of Patent Document B is exposed to a noise environment, there is a risk that the CPU may run away. In particular, when a conventional CPU such as Patent Document C is used, the value of the HL register is an indefinite value immediately after the game machine is turned on and the CPU starts up. When the “JP (HL)” instruction is executed, the CPU may run away because the branch destination is indefinite.

そこで、本発明は、上記のような問題点を解決するために、ノイズ環境でも正常にCPUを動作させることを目的としている。   SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to operate a CPU normally even in a noisy environment in order to solve the above problems.

例えば、本発明の第1の実施形態によれば、固有値設定手段(図12の初期値設定回路)を備えており、起動信号(リセット信号)が発生すると、固有値設定手段により分岐アドレス設定レジスタに固有のアドレス値が設定されるので、遊技制御プログラム開始直後にノイズ等が発生して、誤って特定の命令を実行してしまった場合であっても、固有のアドレス値で示されるアドレスに処理を分岐させることができる。そのため、遊技制御プログラム開始直後にノイズ等が発生しても、演算処理手段の暴走を防止することができる。   For example, according to the first embodiment of the present invention, the eigenvalue setting means (initial value setting circuit of FIG. 12) is provided, and when a start signal (reset signal) is generated, the eigenvalue setting means sets the branch address setting register. Since a unique address value is set, even if a noise or the like occurs immediately after the game control program starts and a specific command is executed by mistake, the processing is performed to the address indicated by the unique address value. Can be branched. Therefore, even if noise or the like occurs immediately after the start of the game control program, the runaway of the arithmetic processing means can be prevented.

すなわち、固有のアドレス値で示されるアドレス(例えば、遊技制御プログラムのリセットアドレス)には、演算処理手段が暴走したときに実行すべきプログラムの命令(リセット処理等の命令)が予め配置されているので、遊技制御プログラム開始直後にノイズ等が発生しても対処することが可能となる。   That is, a program instruction (an instruction for reset processing, etc.) to be executed when the arithmetic processing means runs away is arranged in advance at an address (for example, a reset address of the game control program) indicated by a unique address value. Therefore, even if noise or the like occurs immediately after the start of the game control program, it can be dealt with.

また、本発明の第1の実施形態では、分岐アドレス設定レジスタを用いて、特図変動表示ゲームの制御状態(ゲーム処理番号に対応する各遊技状態)に対応した分岐処理を行っているので、制御状態が順次切り替わっても、その都度、切り換えられた制御状態に対応する分岐先の処理が行えるように、効率的な遊技制御プログラムが構成できるようになっている。なお、普図変動表示ゲームの制御状態に対応した分岐処理も、分岐アドレス設定レジスタを用いて行うようにしてもよい。   In the first embodiment of the present invention, the branch address setting register is used to perform branch processing corresponding to the control state of the special figure variation display game (each game state corresponding to the game process number). An efficient game control program can be configured so that a branch destination process corresponding to the switched control state can be performed each time the control state is sequentially switched. Note that the branching process corresponding to the control state of the normal map display game may also be performed using the branch address setting register.

さらに、本発明の第1の実施形態によれば、電源投入時の際に、遊技制御プログラムが開始される前に、初期値設定回路(固有値設定手段)1241によってCPUコア102に備えるスタックポインタに初期値がハード的に設定される。そのため、遊技制御プログラムの実行が開始された直後にノイズ等が原因で割込処理が発生しても、呼出元のルーチンの戻りアドレスをスタック領域に確実に格納することができ、割込処理から呼出元のルーチンに復帰する際にも問題なく処理を継続することができる。   Furthermore, according to the first embodiment of the present invention, when the power is turned on, before the game control program is started, the initial value setting circuit (unique value setting means) 1241 sets the stack pointer provided in the CPU core 102. The initial value is set in hardware. Therefore, even if an interrupt process occurs due to noise or the like immediately after the execution of the game control program starts, the return address of the calling routine can be reliably stored in the stack area. When returning to the calling routine, processing can be continued without any problem.

また、分岐アドレス設定レジスタ(HLレジスタ)にリセットアドレス値が格納された状態で、特定の命令(JP(HL))が実行された場合であっても、スタックポインタの値を設定できる。   Further, even when a specific instruction (JP (HL)) is executed with the reset address value stored in the branch address setting register (HL register), the value of the stack pointer can be set.

なお、遊技制御中に異常が発生して、リセット回路610B(セキュリティ回路630)によりCPUコア102がリセットされるような場合であっても、CPUコア102の処理がリセットアドレスに戻される。   Even if an abnormality occurs during game control and the CPU core 102 is reset by the reset circuit 610B (security circuit 630), the processing of the CPU core 102 is returned to the reset address.

この場合、初期値設定回路1241によってスタックポインタに初期値がハード的に設定されなくても、リセットアドレスからの命令を実行した直後に、ソフトウェアによりスタックポインタに初期値を設定する(図25の遊技制御装置メイン処理のステップ2502A)ので、あらゆるリセット状態に対応してスタックポインタに初期値を設定することが可能となる。なお、同様の理由により、上位アドレス指定レジスタにもソフトウェアによって初期値を設定している(図25の遊技制御装置メイン処理のステップ2502B)。   In this case, even if the initial value is not set in the stack pointer by the initial value setting circuit 1241, the initial value is set in the stack pointer by software immediately after the instruction from the reset address is executed (the game shown in FIG. 25). Since step 2502A) of the control device main process, it becomes possible to set an initial value to the stack pointer corresponding to any reset state. For the same reason, an initial value is also set in the upper address designation register by software (step 2502B of the game control device main process in FIG. 25).

さらに、遊技制御プログラムは、呼出元のルーチンに記述されたCALL命令等の呼出の命令が実行された場合(第1の呼出条件が成立した場合)や、呼出元のルーチンの命令実行中に所定の割込信号が発生した場合(第2の呼出条件が成立した場合)には、呼出元のルーチンに含まれる戻りアドレスの値をスタック領域に格納して、呼出先の処理に移行するような構成となっている。   Further, the game control program is executed when a call instruction such as a CALL instruction described in the call source routine is executed (when the first call condition is satisfied) or during execution of the instruction of the call source routine. When the interrupt signal is generated (when the second call condition is satisfied), the return address value included in the call source routine is stored in the stack area, and the process proceeds to the call destination process. It has a configuration.

この場合において、後者の所定の割込信号は、呼出元のルーチンの実行中のアドレスとは無関係に発生するものであるので、割込信号が発生した時点におけるフラグレジスタ1200の値は、呼出先のルーチンの処理中で破壊されないように、スタック領域に退避しておくことが好ましい。   In this case, since the latter predetermined interrupt signal is generated regardless of the address during execution of the call source routine, the value of the flag register 1200 at the time when the interrupt signal is generated is determined by the call destination. It is preferable to save in the stack area so as not to be destroyed during the processing of this routine.

そこで、後者の第2の呼出条件が成立した場合は、図19の(D)に示すように、呼出元のルーチンに含まれる戻りアドレスの値だけでなく、フラグレジスタ1200の値もスタック領域に格納して、呼出先の処理に移行させている。そのため、後者の第2の呼出条件が成立した場合には、呼出先のルーチンのプログラム中にフラグレジスタをスタック領域に格納するための命令(「PUSH FLG」)を記述しなくても、フラグレジスタの値が自動的にスタック領域に格納されるため、プログラムのコード量を節約することができる。   Therefore, when the latter second calling condition is satisfied, as shown in FIG. 19D, not only the value of the return address included in the calling source routine but also the value of the flag register 1200 is stored in the stack area. It is stored and transferred to the call destination process. Therefore, if the latter second calling condition is satisfied, the flag register can be stored even if an instruction (“PUSH FLG”) for storing the flag register in the stack area is not described in the program of the called routine. Since the value of is automatically stored in the stack area, the code amount of the program can be saved.

これに対して、前者のように、呼出元のルーチンに記述されたCALL命令等の呼出の命令を実行する場合は、呼出元のルーチンで設定されたフラグレジスタ1200の値を呼出先のルーチンの処理中で破壊してはいけない場合もあるが、呼出先のルーチンの処理中で設定されたフラグレジスタ1200の値を、呼出元のルーチンに戻して演算に利用することもあり得る。よって、呼出元のルーチンで設定されたフラグレジスタ1200の値をスタック領域に退避すべきか否かはケースバイケースであることから、呼出先のルーチンのプログラム中に、プログラム中にフラグレジスタ1200の値をスタック領域に格納する命令(例えば、「PUSH FLG」)を記述して、値を退避するか否かを決定したほうが都合が良い。   On the other hand, when a call instruction such as a CALL instruction described in the call source routine is executed as in the former case, the value of the flag register 1200 set in the call source routine is set to the value of the call destination routine. Although there is a case where it cannot be destroyed during the processing, the value of the flag register 1200 set during the processing of the call destination routine may be returned to the call source routine and used for the calculation. Therefore, whether or not the value of the flag register 1200 set in the call source routine should be saved in the stack area is case by case. Therefore, during the program of the call destination routine, the value of the flag register 1200 is included in the program. It is more convenient to describe an instruction (for example, “PUSH FLG”) for storing the value in the stack area and determine whether to save the value.

ゆえに、前者の第1の呼出条件が成立した場合は、図19の(C)に示すように、呼出元のルーチンに含まれる戻りアドレスの値はスタック領域に格納するものの、フラグレジスタ1200の値を自動的にスタック領域に格納することはしない。   Therefore, when the former first calling condition is satisfied, as shown in FIG. 19C, the value of the flag register 1200 is stored although the value of the return address included in the calling source routine is stored in the stack area. Is not automatically stored in the stack area.

なお、図19の(D)及び図87に示すように、スタック領域には、先にフラグレジスタの値を格納して、後から戻りアドレスの値を設定しているので、戻りアドレスの値を破壊することなくフラグレジスタの値のみを破壊するような事態は発生しない。そのため、図86で例示した構成の遊技機のように、呼出先の割込処理ルーチンでフラグレジスタの値が破壊された状態のまま、スムーズに呼出元のルーチンに戻って処理を継続してしまうことはない。   As shown in FIG. 19D and FIG. 87, since the flag register value is first stored in the stack area and the return address value is set later, the return address value is set. A situation in which only the value of the flag register is destroyed without destruction does not occur. Therefore, as in the gaming machine having the configuration illustrated in FIG. 86, the process returns to the calling source routine smoothly and continues with the flag register value being destroyed in the calling destination interrupt processing routine. There is nothing.

また、図19の(D)及び図89に示すように、スタック領域に格納される戻りアドレスの値は2バイト構成であるのに対して、スタック領域に格納されるフラグレジスタの値は1バイト構成となっている。このように、スタック領域に格納される戻りアドレスとフラグレジスタとのバイト数を異ならせることで、呼出先のルーチンで誤ってフラグレジスタの値を戻りアドレスとして復帰させた場合には、図88で例示した構成の遊技機のような不具合が発生することがなく、以降の処理では戻りアドレスの取得が不可能となるので、プログラムのバグ等を発見しやすい。   Further, as shown in FIG. 19D and FIG. 89, the value of the return address stored in the stack area is 2 bytes, whereas the value of the flag register stored in the stack area is 1 byte. It has a configuration. As described above, when the return address stored in the stack area and the number of bytes of the flag register are different from each other, the value of the flag register is erroneously returned as the return address in the call destination routine. There is no problem as in the gaming machine having the exemplified configuration, and the return address cannot be obtained in the subsequent processing, so that it is easy to find a bug in the program.

さらに、図21及び図48(C)に示すように、「LD RBS,1」の命令(又は「LD RBS,0」の命令)を実行することによって、汎用レジスタのバンクを切り変える機能を有しているので、呼出先のルーチン内でバンクを切り替えることにより、呼出元とは異なるレジスタを活用することができる。   Further, as shown in FIG. 21 and FIG. 48C, there is a function of switching the bank of general-purpose registers by executing the “LD RBS, 1” instruction (or “LD RBS, 0” instruction). Therefore, a register different from the call source can be utilized by switching the bank in the call destination routine.

なお、図14に示したように、第1の実施形態では、ユーザワークRAM104において上位アドレスの境界、すなわち、上位アドレスが「28H」の領域と「29H」の領域との境界を連続してアクセスすることが可能となっていたが、この境界に使用禁止領域を設けるようにしてもよい。   As shown in FIG. 14, in the first embodiment, in the user work RAM 104, the upper address boundary, that is, the boundary between the upper address “28H” area and the “29H” area is continuously accessed. However, a use-prohibited area may be provided at this boundary.

さらに、特許文献Dとして特開2009−142566号公報に開示されるようなパチンコ機が知られており、遊技機を制御するためのプログラムの容量削減を図るために、パチンコ機の主制御基板において、CPUからIOにアクセスするためのイン/アウトコマンドが出力された時、エリア区分判定部が、アドレス値に応じて、アクセス先をIO、RAMのいずれかに切り換え、その結果に応じてIO識別信号又はチップセレクタ信号をアクティブにする構成が開示されている。   Further, a pachinko machine as disclosed in Japanese Patent Application Laid-Open No. 2009-142666 is known as Patent Document D. In order to reduce the capacity of a program for controlling a gaming machine, the main control board of the pachinko machine When an in / out command for accessing the IO from the CPU is output, the area classification determination unit switches the access destination to either IO or RAM according to the address value, and identifies the IO according to the result A configuration for activating a signal or chip selector signal is disclosed.

この特許文献Dの遊技機の構成では、イン/アウトコマンドを用いてRAMの一部(疑似RAM領域)にアクセス可能となり、この時、RAMの先頭アドレスを含む連続領域にワーク及び疑似RAM領域を割り当てるとともに、終端アドレスを開始点としてアドレスが小さくなる側に順次データが蓄積されるようにスタック領域を割り当てるように構成されている。   In the configuration of the gaming machine disclosed in Patent Document D, a part of the RAM (pseudo RAM area) can be accessed using in / out commands. In addition to the allocation, the stack area is allocated so that data is sequentially accumulated on the side where the address becomes smaller, starting from the end address.

一般に、スタックをRAMのどの領域に割り当てるかは、制御装置の設計者の裁量に任せたほうが、設計の自由度が増すために都合が良い。そのため、CPUの起動時にはスタックポインタの初期値は不定な値にしておき、CPUがプログラムの実行を開始した後に、ソフトウェアによりスタックポインタの初期値を設定する構成が好ましい。したがって、この特許文献Dの遊技機においても、CPUの起動時のスタックポインタの初期値は、不定な値となっているものと考えられる。   In general, it is more convenient to leave the stack to which area of the RAM is left to the discretion of the control device designer because the degree of design freedom increases. Therefore, it is preferable that the initial value of the stack pointer is set to an indefinite value when the CPU is activated, and the initial value of the stack pointer is set by software after the CPU starts executing the program. Therefore, even in the gaming machine of this Patent Document D, it is considered that the initial value of the stack pointer when the CPU is activated is an indefinite value.

しかしながら、スタックポインタの初期値が不定な状態で、ノイズ等により割込み信号が発生すると、不定な値で示された領域をスタック領域と見なしたままで、CPUが処理を行ってしまうおそれがあった。この場合でも、CPUは、割込み処理ルーチンに処理を移してしまうことになり、割込み処理ルーチンの最後にRETIなどの命令を実行しても、その時点でスタックポインタが指し示している領域には戻りアドレスの値が格納されている保障がないため、CPUが暴走するおそれもあった。その結果、想定外の大当り等が発生するなどして正規な遊技を行えないおそれがあった。   However, when an interrupt signal is generated due to noise or the like when the initial value of the stack pointer is indefinite, there is a possibility that the CPU may perform processing while the area indicated by the indefinite value is regarded as the stack area. Even in this case, the CPU moves the processing to the interrupt processing routine. Even if an instruction such as RETI is executed at the end of the interrupt processing routine, the return address is stored in the area pointed to by the stack pointer at that time. Since there is no guarantee that the value is stored, the CPU may run away. As a result, there is a possibility that a regular game cannot be performed due to an unexpected big hit or the like.

そのため、ノイズ環境に晒されているパチンコ機等の遊技機では、スタック領域を設定するための設計の自由度よりも、CPUが暴走しないように構成することを重視したほうがよいという課題があった。   For this reason, pachinko machines and other gaming machines that are exposed to a noise environment have a problem that it is better to focus on the configuration so that the CPU does not run out of control rather than the degree of design freedom for setting the stack area. .

また、従来の遊技機においては、RAM領域内に割り当てられるスタック領域には、CPUが遊技プログラム実行中に所定のサブモジュールを呼び出した際に、呼び出し元のモジュールのアドレスの値が、戻りアドレス値として格納されるものがあった。そして、呼び出し先のサブモジュールの実行後に、スタック領域に格納してあった戻りアドレスの値をプログラムカウンタに戻すことで、CPUの処理が呼び出し元のモジュールに復帰するようになっていた。   In the conventional gaming machine, the stack area allocated in the RAM area has the return address value of the address of the caller module when the CPU calls a predetermined submodule while the game program is being executed. There was something stored as. Then, after the callee submodule is executed, the value of the return address stored in the stack area is returned to the program counter, so that the CPU processing returns to the caller module.

例えば、特許文献E(特開2008−080004号公報)に開示された遊技機では、特許文献Eの図22に示すように、RST命令を実行すると、呼び出し元のモジュールの戻りアドレスの値をスタックに格納して、呼び出し先のサブモジュールに移行する。その後、呼び出し先のサブモジュールの終了時にRET命令を実行することで、スタック領域に格納されていた戻りアドレスの値をプログラムカウンタに戻し、呼び出し元のモジュールに復帰する。なお、特許文献Eの段落[0148]に示すように、CALL命令を用いても同様の処理が行われる。   For example, in the gaming machine disclosed in Patent Document E (Japanese Patent Laid-Open No. 2008-080004), as shown in FIG. 22 of Patent Document E, when an RST instruction is executed, the return address value of the calling module is stacked. And move to the called submodule. Thereafter, by executing a RET instruction at the end of the callee submodule, the return address value stored in the stack area is returned to the program counter, and the caller module is restored. Note that, as shown in paragraph [0148] of Patent Document E, similar processing is performed even when a CALL instruction is used.

また、特許文献Eでは、従来よりも、プログラムのメンテナンス性及び処理速度を維持しつつ、不正改造抑制及び不正改造発見容易性向上を実現するために、ROMの0008H番地から000FH番地には、変動停止コマンド送信処理のプログラムを格納し、ROMの0020H番地から0027H番地には、賞球数コマンド送信処理のプログラムを格納するとともに、これらのプログラムをRST命令を用いて呼び出すようにしている。   Further, in Patent Document E, there is a change from 0008H to 000FH in ROM in order to suppress unauthorized modification and improve ease of discovery of unauthorized modification while maintaining program maintainability and processing speed. A program for stop command transmission processing is stored, and a program for command ball number command transmission processing is stored at addresses 0020H to 0027H of the ROM, and these programs are called using an RST instruction.

なお、特許文献EのようにRST命令やCALL命令を実行しなくても、タイマ割込等の割込が発生した場合に、呼び出し元のモジュールの戻りアドレスの値をスタックに格納して、呼び出し先のサブモジュール(タイマ割込みの処理モジュール)に移行する処理を行う遊技機もある。   Even if an RST instruction or CALL instruction is not executed as in Patent Document E, when an interrupt such as a timer interrupt occurs, the return address value of the calling module is stored in the stack and called. There is also a gaming machine that performs processing to shift to the previous submodule (timer interrupt processing module).

例えば、特許文献F(特開2001−212330号公報)に開示された遊技機では、特許文献Fの段落[0071]〜[0073]に示すように、タイマ割込等の割込が発生すると、呼び出し元のモジュールの戻りアドレスの値をスタックに格納して、呼び出し先のサブモジュール(タイマ割込みの処理モジュール)に移行する。その後、呼び出し先のサブモジュールの終了時にRETI命令を実行することで、スタックに格納してあった戻りアドレスの値をプログラムカウンタに戻し、呼び出し元のモジュールに復帰する。   For example, in the gaming machine disclosed in Patent Document F (Japanese Patent Laid-Open No. 2001-212330), as shown in paragraphs [0071] to [0073] of Patent Document F, when an interrupt such as a timer interrupt occurs, The return address value of the caller module is stored in the stack, and the process proceeds to the callee submodule (timer interrupt processing module). Thereafter, the RETI instruction is executed when the callee submodule ends, thereby returning the value of the return address stored in the stack to the program counter and returning to the caller module.

このようなタイマ割込みの処理を行うときは、特許文献G(特開2004−089476号公報)の図5や特許文献H(特開2006−068568号公報)の図6(c)に示すように、処理の先頭にて、フラグレジスタの値をAFレジスタとしてスタックに格納することが通常行われる。なお、このスタックに格納されたフラグレジスタの値は、特許文献Gの図5に示されるように、タイマ割込みの処理を終了してRETI命令を実行する際に元のフラグレジスタへ復帰するようになっている。   When such timer interrupt processing is performed, as shown in FIG. 5 of Patent Document G (Japanese Patent Laid-Open No. 2004-089476) and FIG. 6 (c) of Patent Document H (Japanese Patent Laid-Open No. 2006-068568). In general, the flag register value is stored in the stack as an AF register at the beginning of the process. As shown in FIG. 5 of Patent Document G, the value of the flag register stored in the stack is restored to the original flag register when the timer interrupt processing is finished and the RETI instruction is executed. It has become.

しかし、呼び出し元のモジュールで用いられていたレジスタの値が、呼び出し先のサブモジュールで変更されてしまうと、CPUの演算処理に支障をきたしてしまう。そのため、従来の遊技機では、特許文献Gの図5のS11に示すように、処理の先頭でPUSH命令を用いてレジスタの値をスタック領域に退避する処理が通常行われ、処理の最後でPOP命令を用いてレジスタの値をスタック領域から復帰させる処理が行われる。このとき、特許文献Hの図6(c)に示すように、スタック領域には、様々なレジスタの値が一時的に格納される。そのため、呼び出し先のモジュール内にて、PUSH命令やPOP命令を記述する必要があり、プログラム容量が増えてしまう要因となっていた。   However, if the value of the register used in the caller module is changed in the callee submodule, the CPU processing will be hindered. Therefore, in the conventional gaming machine, as shown in S11 of FIG. 5 of Patent Document G, the process of saving the register value to the stack area using the PUSH instruction is usually performed at the beginning of the process, and the POP is performed at the end of the process. Processing for restoring the value of the register from the stack area using an instruction is performed. At this time, as shown in FIG. 6C of Patent Document H, various register values are temporarily stored in the stack area. For this reason, it is necessary to describe a PUSH instruction or a POP instruction in the callee module, which increases the program capacity.

このようなPUSH命令及びPOP命令を用いて、レジスタの値をスタックから出し入れする処理は、特許文献Eに開示されたタイマ割り込みの処理に限らず、特許文献Dに示したようなRST命令(あるいはCALL命令)を用いて呼び出されるサブモジュール内でも、頻繁に行われている。そのため、このようなサブモジュール内にもPUSH命令やPOP命令を記述する必要があり、プログラム容量が増えてしまう要因となっていた。   The process of putting a register value in and out of the stack using such a PUSH instruction and a POP instruction is not limited to the timer interrupt process disclosed in Patent Document E, but an RST instruction as shown in Patent Document D (or This is also frequently done in submodules called using the CALL instruction. For this reason, it is necessary to describe a PUSH instruction or a POP instruction in such a submodule, which increases the program capacity.

なお、前者のタイマ割込みの処理では、フラグレジスタの値を無条件にスタックに格納する必要があったのに対して、後者のRST命令(あるいはCALL命令)を用いて呼び出されるサブモジュールの処理では、フラグレジスタを退避すべきか否かは、モジュールの目的によって一意に定まっていなかった。そこで、このような条件を満たしつつも、プログラム容量を削減するための工夫が必要とされていた。   In the former timer interrupt process, the value of the flag register had to be stored in the stack unconditionally, whereas in the latter module process called using the latter RST instruction (or CALL instruction) Whether or not the flag register should be saved has not been uniquely determined by the purpose of the module. Therefore, a device for reducing the program capacity while satisfying such conditions has been required.

次に、第1の実施形態の変形例について説明する。第1の実施形態では、1バイトの圧縮振分コードを第1ビット(上位2ビット)及び第2ビット(下位6ビット)に分けて変換式に代入し、振分値を算出した。これに対して、第1変形例では、圧縮振分コードの各ビットを分けずに振分値を算出する。   Next, a modification of the first embodiment will be described. In the first embodiment, the 1-byte compressed distribution code is divided into the first bit (upper 2 bits) and the second bit (lower 6 bits) and substituted into the conversion formula to calculate the distribution value. On the other hand, in the first modification, the distribution value is calculated without dividing each bit of the compression distribution code.

以下、第1変形例について図90から図93を参照して説明する。なお、第1の実施形態と共通する事項については記載を省略し、相違する事項のみ説明する。   Hereinafter, a first modification will be described with reference to FIGS. 90 to 93. In addition, description is abbreviate | omitted about the matter which is common in 1st Embodiment, and only the matter which is different is demonstrated.

図90は、本発明の第1の実施形態の第1変形例の圧縮振分コード変換処理2の手順を示すフローチャートである。   FIG. 90 is a flowchart illustrating a procedure of the compression distribution code conversion processing 2 according to the first modification of the first embodiment of this invention.

圧縮振分コード変換処理2は、圧縮振分コードの値「f」が所定の範囲の値である場合には、fから200を減算し、所定の範囲の値ではない場合には、fに10を積算して振替値「F」を算出する処理である。なお、減算する値及び積算する値は、それぞれ任意の値を設定可能である。   In the compression distribution code conversion process 2, 200 is subtracted from f when the value “f” of the compression distribution code is within a predetermined range, and when the value is not within the predetermined range, the value is changed to f. 10 is a process of calculating the transfer value “F” by accumulating 10. Note that any value can be set as the value to be subtracted and the value to be accumulated.

遊技制御装置100は、まず、図44のステップ4404又は4408の処理で取得した圧縮振分コードの値「f」をチェックし(9001)、fが201から255の範囲の値であるかを判定する(9002)。値「f」は圧縮振分コードのビットデータをバイナリデータとしてそのまま値を取得する。   First, the game control apparatus 100 checks the value “f” of the compression allocation code acquired in the process of step 4404 or 4408 in FIG. 44 (9001), and determines whether f is a value in the range of 201 to 255. (9002). As the value “f”, the bit data of the compression distribution code is directly acquired as binary data.

fが201から255ではない場合には(9002の結果が「N」)、遊技制御装置100は、fに10を積算した値を振分値「F」として算出する(9003)。一方、fが201から255である場合には(9002の結果が「Y」)、遊技制御装置100は、fから200を減算した値を振分値「F」として算出する(9004)。   When f is not 201 to 255 (the result of 9002 is “N”), the game control apparatus 100 calculates a value obtained by adding 10 to f as a distribution value “F” (9003). On the other hand, when f is 201 to 255 (the result of 9002 is “Y”), the game control apparatus 100 calculates a value obtained by subtracting 200 from f as the distribution value “F” (9004).

次に、遊技制御装置100は、算出したFを振分値に設定し(9006)、本処理を終了する。なお、ステップ9001、9002及び9003の処理に代えて、fが所定の範囲の値の場合には、F=fとし、fが所定の範囲の値ではない場合には、fに任意の数値を演算してFを算出するようにしてもよい。   Next, the game control device 100 sets the calculated F to the distribution value (9006), and ends this process. In place of the processing of steps 9001, 9002, and 9003, if f is a value in a predetermined range, F = f. If f is not a value in the predetermined range, an arbitrary numerical value is set to f. F may be calculated by calculation.

図91は、本発明の第1の実施形態の第1変形例の圧縮振分コードの値「f」と振分値算出法及び振分値「F」の対応をまとめた図である。   FIG. 91 is a table summarizing the correspondence between the compression distribution code value “f”, the distribution value calculation method, and the distribution value “F” according to the first modification of the first embodiment of the present invention.

圧縮振分コードの値「f」は、1から255の値をとる。fが1から200である場合には、fに10を積算するため、振分値「F」は10から2000の範囲において10刻みで算出される。また、fが201から255である場合には、fから200を減算するため、振分値「F」は1から55の範囲において1刻みで算出される。   The value “f” of the compression distribution code takes a value from 1 to 255. When f is 1 to 200, 10 is added to f, so the distribution value “F” is calculated in increments of 10 in the range of 10 to 2000. Also, when f is 201 to 255, 200 is subtracted from f, so the distribution value “F” is calculated in increments of 1 to 55.

図92は、本発明の第1の実施形態の第1変形例の変動パターン選択テーブルを説明する図であり、(A)は抽選結果が大当りの場合に選択される当り変動パターン選択テーブル、(B)は抽選結果がはずれの場合に選択されるはずれ変動パターン選択テーブルである。   FIG. 92 is a diagram for explaining a variation pattern selection table according to the first modification of the first embodiment of the present invention. FIG. 92A is a hit variation pattern selection table selected when the lottery result is a big win, B) is a deviation variation pattern selection table selected when the lottery result is a deviation.

本実施形態の振分値「F」の算出法は、テーブル中の「;(セミコロン)」の右側に記された変換式の計算に示すように、遊技機の開発者は圧縮振分コードから振分値「F」を容易に算出することができる。   The calculation method of the distribution value “F” of the present embodiment is as follows. As shown in the calculation of the conversion formula written on the right side of “; (semicolon)” in the table, the game machine developer uses the compression distribution code. The distribution value “F” can be easily calculated.

図93は、本発明の第1の実施形態の第1変形例の圧縮振分コードが表現可能な値を説明する図である。   FIG. 93 is a diagram illustrating values that can be expressed by the compression distribution code according to the first modification of the first embodiment of this invention.

図93に示すように、振分値「F」は1から55まで1刻みで設定可能であり、実行頻度の低い変動パターンについては細かく振り分け可能である。また60から2000までは10刻みで設定可能であるため、本発明の第1の実施形態と比較して、小さい間隔で振分値の設定が可能である。   As shown in FIG. 93, the distribution value “F” can be set in increments of 1 to 55, and a fluctuation pattern with low execution frequency can be finely distributed. Further, since it can be set in increments of 10 from 60 to 2000, it is possible to set the distribution value at a small interval as compared with the first embodiment of the present invention.

以上のように、本発明の第1の実施形態の第1変形例によれば、振分値「F」を1/10に圧縮して記憶容量を削減しつつ、Fが小さな値(1〜55)である場合には、振分値を細かく設定可能である。   As described above, according to the first modification of the first embodiment of the present invention, the distribution value “F” is compressed to 1/10 to reduce the storage capacity, and F is a small value (1 to 1). 55), the distribution value can be set finely.

また、上述のとおり、圧縮状態のコード(圧縮振分コード)から振分値「F」の算出が容易である。   Further, as described above, it is easy to calculate the distribution value “F” from the code in the compressed state (compression distribution code).

第1の実施形態では、変動パターン選択テーブルに、変動パターン番号を重複せずに配置した。これに対して、第2変形例では、一の判定結果に複数の振分値を設定可能とすることで、つまり、変動パターン選択テーブルに同一番号の変動パターン番号を複数の振分値に設定可能とすることで、きめ細かな振分値の設定及び振分処理を可能とする。   In the first embodiment, the variation pattern numbers are arranged in the variation pattern selection table without overlapping. On the other hand, in the second modification, a plurality of distribution values can be set for one determination result, that is, the variation pattern numbers having the same number are set to the plurality of distribution values in the variation pattern selection table. By making it possible, fine distribution value setting and distribution processing can be performed.

以下、第1の実施形態の第2変形例について図94から図96を参照して説明する。なお、第1の実施形態と共通する事項については記載を省略し、相違する事項のみ説明する。   Hereinafter, a second modification of the first embodiment will be described with reference to FIGS. 94 to 96. In addition, description is abbreviate | omitted about the matter which is common in 1st Embodiment, and only the matter which is different is demonstrated.

図94は、本発明の第1の実施形態の第2変形例のはずれ変動パターン選択テーブルを説明する図である。本変形例では、振分値の算出は、変換式「F=b×a」を用いる。また、圧縮値振分処理は、図44を参照し、圧縮振分コード変換処理は、図45を参照する。 FIG. 94 is a diagram for explaining a deviation variation pattern selection table according to the second modification of the first embodiment of the present invention. In this modification, the distribution value is calculated using the conversion formula “F = b n × a”. For the compressed value distribution process, refer to FIG. 44, and for the compressed value code conversion process, refer to FIG.

図94のテーブルの1段目及び2段目を参照すると、ともに「01」の変動パターン番号が配置されている。このように、同一の変動パターン番号の複数段にわたる配置が本変形例の特徴である。   Referring to the first and second stages of the table of FIG. 94, both the variation pattern numbers “01” are arranged. Thus, the arrangement of the same variation pattern number over a plurality of stages is a feature of this modification.

1段目の振分値は1472であるため、例えば、変動パターン乱数の値が1471の場合には、1段目での計算(1471−1472=−1)がマイナスとなり(S1907)、遊技制御装置100は、当該変動パターン乱数から「01」の変動パターン番号を取得する。   Since the distribution value of the first stage is 1472, for example, when the value of the fluctuation pattern random number is 1471, the calculation (1471-1472 = -1) in the first stage becomes negative (S1907), and the game control The apparatus 100 acquires the variation pattern number “01” from the variation pattern random number.

また、例えば、変動パターン乱数の値が1473の場合には、選択値は1段目での計算(1473−1472=1)ではマイナスにならないが、2段目での計算(1−28=−27)においてマイナスになるため(S1904〜1908)、遊技制御装置100は、2段目の変動パターン番号「01」を取得する。   For example, when the value of the variation pattern random number is 1473, the selection value does not become negative in the calculation at the first stage (1473-1472 = 1), but the calculation at the second stage (1-28 =- 27) (S1904 to 1908), the game control apparatus 100 acquires the second-stage variation pattern number “01”.

このように、値が0〜1499の変動パターン乱数に対して、変動パターン番号「01」を振り分けることができる。つまり、変換式では1500を算出できないが、変換式の算出可能な値である1472と28とを合計することで、1500の振分値を設定可能とする。中でも、下位6ビットは1〜63の範囲の値をとるため、1〜63の任意の値を2段目に配置することができる。そのため、変換式の算出値が64間隔であっても、1〜63の任意の値を2段目に配置することによって、算出不可能な範囲(例えば、1473から1535の範囲)に、1刻みで振分値の設定が可能となる。   As described above, the fluctuation pattern number “01” can be assigned to the fluctuation pattern random numbers having values of 0 to 1499. In other words, 1500 cannot be calculated by the conversion formula, but the distribution value of 1500 can be set by adding 1472 and 28 which are values that can be calculated by the conversion formula. In particular, since the lower 6 bits take a value in the range of 1 to 63, an arbitrary value of 1 to 63 can be arranged in the second stage. For this reason, even if the calculated value of the conversion formula is 64 intervals, by placing an arbitrary value from 1 to 63 in the second stage, it can be calculated in a range that cannot be calculated (for example, a range from 1473 to 1535) by one step. The distribution value can be set with.

図95は、本発明の第1の実施形態の第2変形例の振分値の設定可能な値を説明する図として、1472を起点として振分値の設定可能な値を示す図である。   FIG. 95 is a diagram illustrating values that can be set for the distribution value according to the second modification of the first embodiment of the present invention, and illustrates values that can be set for the distribution value starting from 1472. FIG.

図95に示す、1472から1536へと向かう上側の矢印は、本発明の第1の実施形態における振分値の設定可能な値が64刻みであり、1473〜1535へは設定不能であることを示す。これに対して図95の下側の3本の矢印は、本変形例において、1472から1刻みで任意の値を設定可能であることを示す。   The upper arrow from 1472 to 1536 shown in FIG. 95 indicates that the settable value of the distribution value in the first embodiment of the present invention is in increments of 64 and cannot be set to 1473 to 1535. Show. On the other hand, the three arrows on the lower side of FIG. 95 indicate that an arbitrary value can be set in increments of 1472 from 1472 in this modification.

このように、振分値として、1472から1536までの値のみならず、1から最大値までの値において、1刻みで任意の値を設定可能である。そのため、任意の振り分け率を正確に実現できる。   In this way, as the distribution value, not only the values from 1472 to 1536 but also the values from 1 to the maximum value can be set to any value in increments of 1. Therefore, an arbitrary distribution rate can be realized accurately.

図96は、本発明の第1の実施形態の第2変形例の圧縮振分コードの構成例を表す図であり、(A)は第1ビット(n)が上位2ビット、第2ビット(a)が下位6ビットで構成される図、(B)は第1ビット(n)が上位1ビット、第2ビット(a)が下位7ビットで構成される図である。   FIG. 96 is a diagram illustrating a configuration example of a compression distribution code according to the second modification of the first embodiment of the present invention. FIG. 96A illustrates the first bit (n) as the upper 2 bits and the second bit ( (a) is a diagram composed of the lower 6 bits, and (B) is a diagram composed of the first bit (n) as the upper 1 bit and the second bit (a) as the lower 7 bits.

図96(A)に示すように、2ビット+6ビットでは、第1ビット(a)は0〜63の範囲の値をとるため、図95の下側の矢印のとおり、b×aが64間隔の算出不可能な範囲を補う働きをする。 As shown in FIG. 96A, in the case of 2 bits + 6 bits, the first bit (a) takes a value in the range of 0 to 63, so that b 0 × a is 64 as indicated by the arrow on the lower side of FIG. It works to compensate for the range that cannot be calculated.

次に、図96(B)に示す、1ビット+7ビットでは、第1ビット(a)は0〜127の範囲の値をとるため、b=128とする変換式においてb×aは128間隔の算出不可能な範囲を補う働きをする。つまり、b=128では、128×a(aは1〜127)を2段目に配置すれば、1から16256まで全て1刻みで振分値の設定が可能となる。 Next, in 1 bit + 7 bits shown in FIG. 96B, since the first bit (a) takes a value in the range of 0 to 127, b 0 × a is 128 intervals in the conversion formula where b = 128. It works to compensate for the range that cannot be calculated. That is, when b = 128, if 128 0 × a (a is 1 to 127) is arranged in the second stage, it is possible to set the distribution value in steps of 1 to 16256.

「bの最大値」(例えば、4=64)は、変換式における算出値の最大間隔(1刻み、4刻み、16刻み、64刻みのうちの最大値である64刻み)である。そのため、間隔を補う働きをする「aの最大値+1」が「bの最大値」と等しいか大きい場合には、1からbの最大値まで1刻みで振分値の設定が可能である。 “Maximum value of b n ” (for example, 4 3 = 64) is the maximum interval of calculated values in the conversion formula (1 step, 4 steps, 16 steps, 64 steps which is the maximum value among 64 steps). Therefore, when either serves to compensate for the distance "maximum value + 1 a" equals the "maximum value of b n" large, can be set in distribution values 1 increments from 1 to the maximum value of b n is there.

つまり、1ビット+7ビットでは、1<b≦128と設定することで、1から最大値である16256まで1刻みで振分値の設定が可能であり、2ビット+6ビットでは、1<b≦4と設定することで、1から最大値である4032まで1刻みで振分値の設定が可能となる。特に、「bの最大値=aの最大値+1」の場合には、変換式で算出可能な最大値までを、最大でも2段配置すれば、1刻みで設定可能である。 In other words, in 1 bit + 7 bits, setting 1 <b ≦ 128 makes it possible to set the distribution value in increments of 1 to 16256, which is the maximum value. In 2 bits + 6 bits, 1 <b ≦ By setting 4, the distribution value can be set in increments of 1 from 4032 which is the maximum value. Particularly, in the case of "the maximum value of b n = the maximum value of a +1" is the maximum value that can be calculated by the conversion formula, when the two-stage arrangement at maximum can be set in 1 increments.

このように、2段配置においては、「bの最大値≦aの最大値+1」となるように第1ビットと第2ビットとを分け、bに任意の値を設定することで、1からbの最大値まで1刻みで振分値の設定が可能である。 Thus, in the two-stage arrangement, divided first bit and the second bit to be "a maximum value of the maximum value ≦ a in b n +1", by setting an arbitrary value to b, 1 To the maximum value of b n can be set in increments of one.

さらに、同一の変動パターン番号の振分値を2段配置に限定せずに、多段配置としても良い。例えば、2ビット+6ビットでのb=64とした場合には、変換式「64×a」の64×aの間隔において、64×aが4096刻みで、64×aが64刻みで、64×aが1刻みで、当該間隔を補うことができる。そのため、同一の変動パターン番号の振分値を2段、3段、4段と配置することで、1から16515072(64×63)までの値を1刻みに設定可能である。なお、16515072をバイナリデータとして表すと3バイトが必要である。 Furthermore, the distribution value of the same variation pattern number is not limited to the two-stage arrangement, but may be a multi-stage arrangement. For example, when b = 64 in 2 bits + 6 bits, 64 2 × a is in 4096 increments and 64 1 × a is in 64 increments in the 64 3 × a interval of the conversion formula “64 n × a”. Therefore, the interval can be compensated by 64 0 × a in increments of 1. For this reason, values from 1 to 16515072 (64 3 × 63) can be set in increments of 1 by arranging the distribution values of the same variation pattern number in two, three, and four stages. If 16515072 is expressed as binary data, 3 bytes are required.

以上のように、本発明の第1の実施形態の第2変形例では、変換式が算出できない値でもテーブル内に同一の変動パターン番号の振分値を複数段に配置することで、精度の高い振り分けを実現することができる。   As described above, in the second modification of the first embodiment of the present invention, even if a value for which a conversion formula cannot be calculated, the distribution values of the same variation pattern number are arranged in a plurality of stages in the table, so High distribution can be realized.

特に、「bの最大値=aの最大値+1」とすると、1段で表現しきれなかった値の間隔を2段目で補うのに好適となる。 In particular, when “maximum value of b n = maximum value of a + 1” is satisfied, it is suitable to compensate for the interval of values that could not be expressed in the first stage in the second stage.

このように、本発明の第1の実施形態の第2変形例では、振分値全体を2バイトで構成するよりは、必要な箇所のみ2段(2バイト)とするだけなので、全体的な記憶容量を抑えつつ、任意の振分率を正確に実現できるようになる。つまり、変換式「F=4×a」では表せない振分値を設定したい箇所だけを2段(計2バイト)とすることで、全てを2バイトの振分値とした場合に比べて記憶容量を削減しつつ、第1の実施形態と共通のモジュールを使用して、より詳細に所望の振分値を設定することができる。 Thus, in the second modification of the first embodiment of the present invention, the entire distribution value is only composed of two stages (2 bytes) rather than being composed of 2 bytes. Arbitrary distribution ratios can be accurately realized while suppressing the storage capacity. In other words, compared to the case where all the 2-byte distribution values are set by making only two places (total 2 bytes) where the distribution values that cannot be expressed in the conversion formula “F = 4 n × a” are set. A desired distribution value can be set in more detail using a module common to the first embodiment while reducing the storage capacity.

なお、本変形例において、圧縮振分コード変換処理を圧縮振分コード変換処理2にかえて実行してもよい。   In this modification, the compression distribution code conversion process may be executed instead of the compression distribution code conversion process 2.

本発明の第1の実施形態の第2変形例では、テーブルに同一の変動パターン番号の振分値を複数段配置した。これに対して、第3変形例では、変換式で算出できない値を振分値に設定したい場合には、本来の振分値よりも大きな値を示す圧縮振分コードをテーブルの最下段に配置する。   In the second modification of the first embodiment of the present invention, a plurality of distribution values having the same variation pattern number are arranged in the table. On the other hand, in the third modified example, when it is desired to set a distribution value that cannot be calculated by the conversion formula, a compression distribution code indicating a value larger than the original distribution value is arranged at the bottom of the table. To do.

以下、第3変形例について図97及び図98を参照して説明する。なお、第1の実施形態と共通する事項については記載を省略し、相違する事項のみ説明する。   The third modification will be described below with reference to FIGS. 97 and 98. In addition, description is abbreviate | omitted about the matter which is common in 1st Embodiment, and only the matter which is different is demonstrated.

図97は、本発明の第1の実施形態の第3変形例のはずれ変動パターン選択テーブルである。最上段の変動パターン番号が「01」ではなく「02」であり、「01」は最下段に配置されている点が、本変形例の特徴である。   FIG. 97 is a deviation variation pattern selection table of the third modified example of the first embodiment of the present invention. The feature of this modification is that the variation pattern number at the top is not “01” but “02”, and “01” is arranged at the bottom.

変動パターン番号「01」に振り分けたい本来の振分値は1500であるが、変換式から1500は算出できない。そのため、変動パターン番号「02」から「05」を「01」よりも先に振り分け、「02」から「05」の振分値の合計をもって「01」を振り分ける仕組みとする。   The original distribution value to be distributed to the fluctuation pattern number “01” is 1500, but 1500 cannot be calculated from the conversion formula. Therefore, the variation pattern numbers “02” to “05” are distributed before “01”, and “01” is distributed based on the total of the distribution values from “02” to “05”.

図97に示すように、変動パターン番号「02」から「05」の振分値の合計は500である。圧縮振分処理のループ処理(図44参照)において、変動パターン乱数の値が500未満のものは、「02」から「05」のいずれかに振り分けられ、変動パターン乱数の値が500を超えるものは、「01」に振り分けられる。   As shown in FIG. 97, the total of the distribution values of the variation pattern numbers “02” to “05” is 500. In the loop process of compression distribution processing (see FIG. 44), the variable pattern random number value less than 500 is distributed to any of “02” to “05”, and the variable pattern random number value exceeds 500 Are sorted into “01”.

図98は、本発明の第1の実施形態の第3変形例の変動パターン番号と変動パターン乱数の値との対応を表す図である。   FIG. 98 is a diagram illustrating the correspondence between the variation pattern numbers and the variation pattern random number values according to the third modification of the first embodiment of the present invention.

これまでの本発明の第1の実施形態及び各変形例と異なり、変動パターン番号「01」に対応する変動パターン乱数の値は、500〜1999の値に設定される。ここで、実際の振り分け数は1500であるが、振分値Fは1536である。振分値Fが振り分け数よりも大きいのは、ステップ4407の処理で変動パターン番号「01」に該当する選択値を全てマイナスにするためであり、振分値と実際の振り分け数とは必ずしも同じ値である必要はない。   Unlike the first embodiment and each modification of the present invention thus far, the value of the variation pattern random number corresponding to the variation pattern number “01” is set to a value of 500 to 1999. Here, the actual distribution number is 1500, but the distribution value F is 1536. The reason why the distribution value F is larger than the number of distributions is to make all the selection values corresponding to the variation pattern number “01” negative in the processing of step 4407, and the distribution value and the actual number of distributions are not necessarily the same. It doesn't have to be a value.

このように、変動パターン番号「02」、「03」、「04」、「05」には変換式で算出できる任意の値の振分値を設定し、「01」の振分値には実際の振り分け数よりも大きい値を設定してテーブルの最下段に配置することで、遊技制御装置100は、取得した変動パターン乱数から各変動パターン番号へと正確に振り分けることができる。   In this way, an arbitrary value distribution value that can be calculated by the conversion formula is set in the variation pattern numbers “02”, “03”, “04”, and “05”, and the distribution value “01” is actually set. By setting a value larger than the number of distributions and placing it at the bottom of the table, the game control device 100 can accurately distribute the obtained variation pattern random numbers to the variation pattern numbers.

以上のように、変換式では算出できない振り分け数であっても、変動パターン選択テーブルの最下段に実際の振り分け数(変動パターン乱数の上限値)よりも大きな振分値として配置することで、記憶容量を削減しつつ、正確な振り分けが可能である。   As described above, even if the number of distributions cannot be calculated by the conversion formula, it is stored as a distribution value larger than the actual distribution number (upper limit value of the variation pattern random number) at the bottom of the variation pattern selection table. Accurate sorting is possible while reducing capacity.

なお、本変形例において、圧縮振分コード変換処理を圧縮振分コード変換処理2にかえて実行してもよい。   In this modification, the compression distribution code conversion process may be executed instead of the compression distribution code conversion process 2.

また、本願で説明する圧縮データ(圧縮振分コード)は、全ての実施の形態及び変形例において、変動パターン乱数の振り分けの他、大当り乱数の判定や普図の判定に用いてもよく、また、スロットマシンでの乱数判定に用いてもよい。   In addition, in all the embodiments and modifications, the compressed data (compression distribution code) described in the present application may be used for determination of a big hit random number or determination of a normal figure in addition to distribution of a random number of variation patterns. It may be used for random number determination in a slot machine.

(第2の実施形態)
第1の実施形態では、第2特図変動表示ゲームが第1特図変動表示ゲームよりも優先して実行されるように構成されていたが、第2の実施形態では、第2特図変動表示ゲーム及び第1特図変動表示ゲームの区別なく、入賞した順序で特図変動表示ゲームが実行される。
(Second Embodiment)
In the first embodiment, the second special figure fluctuation display game is configured to be executed in preference to the first special figure fluctuation display game. However, in the second embodiment, the second special figure fluctuation display game is executed. The special figure change display game is executed in the order of winning without distinguishing between the display game and the first special figure change display game.

そこで、第1の実施形態では、始動記憶に大当り乱数、大当り図柄乱数、変動パターン乱数が含まれていたが、第2の実施形態では、さらに、第1始動入賞口37に遊技球が入賞したか、第2始動入賞口34に遊技球が入賞したかを区別する、すなわち、実行される特図変動表示ゲームが第1特図変動表示ゲームであるか、又は、第2特図変動表示ゲームであるかを区別するための特図識別bitが始動記憶に含まれる。また、始動記憶の上限も実質的には8個となるので、ユーザワークRAM104において、8ブロック分の乱数の保存領域を確保し、これを保留1〜保留8として割り当てるものとする。   Therefore, in the first embodiment, the big hit random number, the big hit symbol random number, and the fluctuation pattern random number are included in the start memory, but in the second embodiment, a game ball is also won in the first start winning opening 37. Or whether the game ball has won the second start winning opening 34, that is, the special figure fluctuation display game to be executed is the first special figure fluctuation display game, or the second special figure fluctuation display game Is included in the startup memory. In addition, since the upper limit of the starting storage is practically eight, a storage area for random numbers of eight blocks is secured in the user work RAM 104, and this is assigned as reserved 1 to reserved 8.

図99は、本発明の第2の実施形態のユーザワークRAM104の一例を示す図である。図99に示すユーザワークRAM104には、上位アドレスの境界(RAMのアドレスが「28FFH」から「2900H」に変化する境界線を含んだ領域)に使用禁止領域が設けられている。このように、上位アドレスが変化(「28H」から「29H」に変化)する境界に使用禁止領域を設けることによって、上位アドレスを変更せずに連続した領域にアクセスしようとすることなどを防ぐことが可能となり、誤作動を防止することができる。   FIG. 99 is a diagram illustrating an example of the user work RAM 104 according to the second embodiment of this invention. In the user work RAM 104 shown in FIG. 99, a use prohibition area is provided at an upper address boundary (an area including a boundary line where the RAM address changes from “28FFH” to “2900H”). In this way, by providing a use-prohibited area at the boundary where the higher address changes (changes from “28H” to “29H”), it is possible to prevent attempts to access consecutive areas without changing the upper address. And malfunction can be prevented.

例えば、このような境界線の前後のエリアに、Aレジスタ1202Aの値を一括して格納することを考える。この場合、上位アドレス指定レジスタであるKレジスタ1230の値を「28H」に固定した状態で、「INC L」命令(図21参照)を実行してLレジスタ1211Aの値を増加させながら、「LDK (L),A」の命令(図21参照)を実行させることになる。   For example, consider that the values of the A register 1202A are collectively stored in areas before and after such a boundary line. In this case, while the value of the K register 1230, which is the upper address designation register, is fixed to “28H”, the “INK L” instruction (see FIG. 21) is executed to increase the value of the L register 1211A, The instruction (L), A ”(see FIG. 21) is executed.

このとき「INC L」命令の実行により、Lレジスタ1211Aの値が「FFH」から「00H」に変化するタイミングがある。これは、Aレジスタ1202Aの値の格納先が境界線を跨ぐタイミングであるが、正しい格納先を指定するためには、以降のKレジスタ1230の値を「29H」に変更する必要がある。そのため、本来であれば、遊技プログラムにてKレジスタ1230の値を「29H」に変更する命令を実行しなければならないが、プログラム製作者が見落としてしまうおそれがある。   At this time, there is a timing when the value of the L register 1211A changes from “FFH” to “00H” by the execution of the “INC L” instruction. This is the timing when the storage location of the value of the A register 1202A crosses the boundary, but in order to specify the correct storage location, it is necessary to change the value of the subsequent K register 1230 to “29H”. Therefore, originally, an instruction to change the value of the K register 1230 to “29H” must be executed in the game program, but there is a possibility that the program producer may miss it.

なお、図99では、ワークエリアが、上位アドレスが「28H」と「29H」となる2つの領域に分散して設定されているが、ワークエリアを上位アドレス「28H」の領域に限定してもよい。この場合であっても、遊技制御装置100のCPU102は、初期化処理を実行する際に、ユーザワークRAM104の全域(上位のアドレスが互いに異なる領域、具体的には上位のアドレスが「28H」及び「29H」になる全ての領域)に対して、データの読み書きを行うことになる。これは、ワークエリア以外の領域(例えば、スタック領域など)でも、初期化を行う必要があるからである。   In FIG. 99, the work area is set to be distributed in two areas whose upper addresses are “28H” and “29H”, but the work area may be limited to the area of the upper address “28H”. Good. Even in this case, when the CPU 102 of the game control device 100 executes the initialization process, the entire area of the user work RAM 104 (an area where the upper addresses are different from each other, specifically, the upper address is “28H” and Data is read from and written to all the areas “29H”. This is because it is necessary to initialize the area other than the work area (for example, the stack area).

そして、初期化処理が完了した時点で、上位アドレス指定レジスタであるKレジスタ1230の値が「28H」に設定され、以後、停電処理が発生するまでの間は、Kレジスタ1230の値を「28H」に維持したまま、CPU102によって遊技制御を継続する。   When the initialization process is completed, the value of the K register 1230, which is an upper address designation register, is set to “28H”. After that, until the power failure process occurs, the value of the K register 1230 is set to “28H”. , The game control is continued by the CPU 102.

このように構成することによって、Kレジスタに設定された値を変更する頻度を大幅に低減させることができるので、レジスタの値を変更する処理の実行回数を削減することができる。したがって、プログラム容量をさらに削減することが可能となり、また、遊技制御処理の高速化を期待できる。   With this configuration, the frequency of changing the value set in the K register can be greatly reduced, so that the number of executions of the process of changing the register value can be reduced. Therefore, it is possible to further reduce the program capacity and to expect a high speed game control process.

図100及び図101は、本発明の第2の実施形態の特図変動表示ゲームを実行するために必要な各種乱数の保存領域を示す図であり、図100は保留1から4、図101は保留5から8に対応する各種乱数の保存領域を示す。   100 and 101 are diagrams showing storage areas for various random numbers required for executing the special figure variation display game of the second embodiment of the present invention. FIG. A storage area for various random numbers corresponding to the reservations 5 to 8 is shown.

本実施形態では、図100及び図101に示すように、第3変動パターン乱数を格納する領域の先頭bitを特図識別bitとする。   In the present embodiment, as shown in FIGS. 100 and 101, the top bit of the area for storing the third variation pattern random number is set as the special figure identification bit.

なお、図40の特図始動口SW共通処理を実行する際に、ステップ4004〜4006で取得した各種乱数値を、ステップ4008〜4010にて対応する乱数記憶領域に記させることになるが、対応する領域が第1の実施形態とは異なっている。第2の実施形態においての対応する乱数記憶領域とは、第1特図保留カウンタと第2特図保留カウンタとの合算値に対応する領域である。   In addition, when executing the special figure start port SW common process of FIG. 40, various random number values acquired in steps 4004 to 4006 are recorded in the corresponding random number storage areas in steps 4008 to 4010. The area to be different is different from the first embodiment. The corresponding random number storage area in the second embodiment is an area corresponding to the total value of the first special figure reservation counter and the second special figure reservation counter.

例えば、第1始動入賞口37若しくは第2始動入賞口34に遊技球が入賞した結果、第1特図保留カウンタと第2特図保留カウンタとの合算値が「2」となった場合は、図100における「保留2の保存領域」に割り当てられた各種乱数の保存領域に、ステップ4004〜4006で取得した各種乱数値を記憶することになる。このとき、第1始動入賞口37への入賞であれば「保留2の保存領域」の特図識別bitには「0」が設定され、第2始動入賞口34への入賞であれば「保留2の保存領域」の特図識別bitには「1」が設定される。   For example, when the game ball is won at the first start winning opening 37 or the second starting winning opening 34, the sum of the first special figure holding counter and the second special figure holding counter becomes “2”. The various random number values acquired in steps 4004 to 4006 are stored in the various random number storage areas assigned to the “hold 2 storage area” in FIG. At this time, if the winning is to the first start winning opening 37, “0” is set in the special figure identification bit of “hold 2 storage area”, and if the winning is to the second starting winning opening 34, “hold” is set. “1” is set in the special figure identification bit of “2 storage area”.

同様に、第1始動入賞口37若しくは第2始動入賞口34に遊技球が入賞した結果、第1特図保留カウンタと第2特図保留カウンタとの合算値が「7」となった場合は、図101における「保留7の保存領域」に割り当てられた各種乱数の保存領域に、ステップ4004〜4006で取得した各種乱数値を記憶することになる。このとき、第1始動入賞口37への入賞であれば「保留7の保存領域」の特図識別bitには「0」が設定され、第2始動入賞口34への入賞であれば「保留7の保存領域」の特図識別bitには「1」が設定される。   Similarly, when the game ball is won at the first start winning opening 37 or the second starting winning opening 34, the total value of the first special figure holding counter and the second special figure holding counter becomes “7”. In FIG. 101, various random number values acquired in steps 4004 to 4006 are stored in the various random number storage areas assigned to the “hold 7 storage area”. At this time, if the winning is to the first start winning opening 37, “0” is set in the special figure identification bit of “hold 7 storage area”, and if the winning is to the second starting winning opening 34, “hold” “1” is set in the special figure identification bit of “7 storage area”.

図102は、本発明の第2の実施形態の特図保留情報判定処理の手順を示すフローチャートである。なお、第1の実施形態の特図保留情報判定処理と共通の処理については、図41と同じ符号を割り当てて記載を省略する。   FIG. 102 is a flowchart illustrating the procedure of special figure hold information determination processing according to the second embodiment of this invention. In addition, about the process common with the special figure pending | holding information determination process of 1st Embodiment, the code | symbol same as FIG. 41 is allocated and description is abbreviate | omitted.

本発明の第2の実施形態では、遊技制御装置100は、特図1と特図2とを区別せずに始動記憶を扱うので、第1の実施形態におけるステップ4100〜ステップ4102のような条件を設定せずに無条件で特図大当り判定処理(4103)を実行する。   In the second embodiment of the present invention, the game control device 100 handles the start-up memory without distinguishing between the special figure 1 and the special figure 2, so that conditions such as step 4100 to step 4102 in the first embodiment are used. The special figure big hit determination process (4103) is executed unconditionally without setting.

図103は、本発明の第2の実施形態の特図普段処理の手順を示すフローチャートである。なお、第1の実施形態と共通の処理については、図45と同じ符号を割り当てて記載を省略する。   FIG. 103 is a flowchart showing the procedure of the special figure routine processing according to the second embodiment of the present invention. In addition, about the process common to 1st Embodiment, the same code | symbol as FIG. 45 is allocated and description is abbreviate | omitted.

本発明の第2の実施形態では、特図2始動記憶を優先して消化しない。そこで、まず、遊技制御装置100は、特図1及び特図2の保留数を合計し(5500)、合計保留数が0より大きいか否か、すなわち、特図1又は特図2の保留があるか否かを判定する(5501)。そして、保留がある場合には、ステップ5502において次の保留が特図1の保留であるか否かを判定する。そして、保留が特図1である場合には、特図1変動開始処理(4503)を実行する。また、保留が特図1でなく特図2である場合には、特図2変動開始処理(4504)を実行する。   In the second embodiment of the present invention, the special figure 2 start memory is not preferentially digested. Therefore, first, the game control device 100 sums up the number of holdings of the special figure 1 and the special figure 2 (5500), and whether or not the total number of holdings is larger than 0, that is, the holding of the special figure 1 or the special figure 2 is not. It is determined whether or not there is (5501). If there is a hold, it is determined in step 5502 whether or not the next hold is the hold in FIG. Then, when the hold is special figure 1, special figure 1 fluctuation start processing (4503) is executed. Further, when the holding is not FIG. 1 but FIG. 2, the special figure 2 fluctuation start process (4504) is executed.

なお、特図1変動開始処理と特図2変動開始処理のいずれの処理を行ったかにかかわらず、図46の処理において、遊技制御装置100は、図100の保留1の保存領域を、次回の変動の対象として指定する(4600若しくは4603)。さらに、この指定された記憶領域から大当り乱数、大当り図柄乱数、第1〜第3変動パターン乱数を取得した後、保留1〜7個目に対応する保留乱数記憶領域(図100及び図101)に、保留2〜8個目に対応する保留乱数記憶領域(次回以降の変動に対応する記憶領域:図100及び図101参照)の各乱数をシフトし(4601若しくは4604)、以降の処理(4602若しくは4605)の処理を実行することになる。   Regardless of whether the special figure 1 fluctuation start process or the special figure 2 fluctuation start process is performed, in the process of FIG. 46, the game control device 100 sets the storage area of the hold 1 in FIG. It is specified as the object of change (4600 or 4603). Furthermore, after acquiring the big hit random number, the big hit symbol random number, and the first to third variation pattern random numbers from the designated storage area, the reserved random number storage areas (FIG. 100 and FIG. 101) corresponding to the first to seventh reservations are stored. Each random number in the reserved random number storage area corresponding to the second to eighth reserved areas (the storage area corresponding to the subsequent fluctuations: see FIGS. 100 and 101) is shifted (4601 or 4604), and the subsequent processing (4602 or 4605) is executed.

一方、ステップ5501の処理で合計保留数が0の場合には、遊技制御装置100は、ステップ4506以降の処理を実行する。   On the other hand, if the total number of holds is 0 in the process of step 5501, the game control device 100 executes the processes after step 4506.

このように、本発明の第2の実施形態によれば、第2特図変動表示ゲームを優先して実行しない場合であっても、第1の実施形態と同様に、遊技制御プログラム全体のコード量を削減することが可能となる。   Thus, according to the second embodiment of the present invention, even if the second special figure variation display game is not executed preferentially, the code of the whole game control program is the same as in the first embodiment. The amount can be reduced.

なお、今回開示した実施の形態における補助遊技は、例として、変動表示ゲームを開示しているが、これに限定されるものではない。例えば、遊技の実行中に遊技者にボタン等による選択操作をさせ、その操作入力に対応して遊技結果が導出されるような遊技も含まれる。あるいは、遊技の実行中に遊技球やメダルなどの遊技媒体が所定の領域に入賞するか否かの物理的な抽選を行わせ、その抽選結果に対応して遊技結果が導出されるような遊技も補助遊技に含まれる。この場合、遊技媒体が所定の領域に入賞することが「特別な結果」となる。   In addition, although the auxiliary | assistant game in embodiment disclosed this time has disclosed the variable display game as an example, it is not limited to this. For example, a game in which a player performs a selection operation using a button or the like during the execution of a game and a game result is derived in response to the operation input is also included. Alternatively, a game in which a physical lottery is performed as to whether or not a game medium such as a game ball or medal wins a predetermined area during the execution of the game, and a game result is derived in accordance with the lottery result Is also included in auxiliary games. In this case, it is a “special result” that the game medium wins a predetermined area.

また、今回開示した実施の形態における遊技機には、パチンコ機以外の様々な遊技機が適用可能である。例えば、パチスロ機、アレンジボール機、じゃん球遊技機などにも適用が可能である。   In addition, various gaming machines other than pachinko machines can be applied to the gaming machines in the embodiment disclosed this time. For example, the present invention can be applied to a pachislot machine, an arrangement ball machine, a ball ball game machine, and the like.

なお、今回開示した実施の形態は、全ての点で例示であって制限的なものではない。また、本発明の範囲は前述した発明の説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味及び内容の範囲での全ての変更が含まれることが意図される。   The embodiment disclosed this time is illustrative in all points and is not restrictive. The scope of the present invention is shown not by the above description of the invention but by the scope of claims, and is intended to include all modifications within the scope and meaning equivalent to the scope of claims.

以上のように、本発明は、レジスタを備えたプロセッサを含む遊技制御装置が遊技制御を行う遊技機に適用可能である。   As described above, the present invention can be applied to a gaming machine in which a game control device including a processor including a register performs game control.

1 遊技機
2 本体枠(外枠)
3 前面枠
5 遊技盤
6 遊技装置
8 表示装置
18 ガラス枠
31 普通図柄始動ゲート
32 一般入賞口
33 普通変動入賞装置
34 第2始動入賞口
36 特別変動入賞装置
37 第1始動入賞口
51 遊技領域
70 カードユニット
100 遊技制御装置
101 遊技用マイコン
102、601 CPUコア
103、602 ユーザプログラムROM
104、604 ユーザワークRAM
150 演出制御装置(表示制御装置)
160 電源装置
161 バックアップ電源
210 払出制御装置
600 遊技用演算処理装置(アミューズチップ)
603 HWパラメータROM
608 乱数生成回路
609 クロック生成回路
610A 割込制御回路
610B リセット回路
611 アドレスデコーダ
618 HPGプログラムROM
619 IDプロパティメモリ
621 HPGワークRAM
629 分周回路
630 セキュリティ回路
640 RAMアクセス規制回路(更新規制手段)
641 フリップフロップ回路
642 ORゲート回路
650 アドレスバス
660 データバス
702 ワークエリア
705 使用禁止領域(アクセス禁止領域)
706 スタック領域
1200 フラグレジスタ
1203A、1203B WAレジスタ
1206A、1206B BCレジスタ
1209A、1209B DEレジスタ
1212A、1212B HLレジスタ
1220A、1220B 汎用レジスタ群
1230 Kレジスタ
1233 スタックポインタ(SP)レジスタ
1234 プログラムカウンタ(PC)レジスタ
1240 内蔵リセット回路
1241 初期値設定回路(固有値設定手段)
1242 命令解釈実行回路
1243 アクセス回路
1 gaming machine 2 body frame (outer frame)
DESCRIPTION OF SYMBOLS 3 Front frame 5 Game board 6 Game apparatus 8 Display apparatus 18 Glass frame 31 Normal symbol start gate 32 General winning opening 33 Normal variation winning apparatus 34 2nd starting winning opening 36 Special variable winning apparatus 37 1st starting winning opening 51 Game area 70 Card unit 100 Game control device 101 Game microcomputer 102, 601 CPU core 103, 602 User program ROM
104, 604 User work RAM
150 Production control device (display control device)
160 power supply device 161 backup power supply 210 payout control device 600 arithmetic processing device for game (amuse chip)
603 HW parameter ROM
608 Random number generation circuit 609 Clock generation circuit 610A Interrupt control circuit 610B Reset circuit 611 Address decoder 618 HPG program ROM
619 ID property memory 621 HPG work RAM
629 Frequency divider circuit 630 Security circuit 640 RAM access restriction circuit (update restriction means)
641 Flip-flop circuit 642 OR gate circuit 650 Address bus 660 Data bus 702 Work area 705 Use prohibited area (access prohibited area)
706 Stack area 1200 Flag register 1203A, 1203B WA register 1206A, 1206B BC register 1209A, 1209B DE register 1212A, 1212B HL register 1220A, 1220B General-purpose register group 1230 K register
1233 Stack pointer (SP) register 1234 Program counter (PC) register 1240 Built-in reset circuit 1241 Initial value setting circuit (unique value setting means)
1242 Instruction interpretation execution circuit 1243 Access circuit

Claims (1)

所定の始動条件の成立により遊技を実行し、該遊技が特別な結果となる場合に遊技者に特典を付与する特別遊技状態を発生させる遊技制御を行う遊技制御装置を備えた遊技機において、
前記遊技制御装置は、
遊技制御プログラムを記憶する遊技制御プログラム記憶手段と、
前記遊技制御プログラムにより所要の演算処理を行う演算処理手段と、
前記演算処理手段によって更新される情報が記憶されるとともに、スタック領域が設定される更新情報記憶手段と、
前記演算処理を行う際にが記憶される第1のレジスタと、
前記第1のレジスタと同じ構成を有する第2のレジスタと、
前記第1のレジスタ及び前記第2のレジスタの何れか一方を、アクセス可能に切り替える切替手段と、
を備えるとともに、
前記第1のレジスタ群及び前記第2のレジスタ群の何れがアクセス可能であるかを示す切替情報設定領域が形成され、
前記遊技制御プログラムには、
呼出元の処理が記述された呼出元ルーチンと、
前記呼出元ルーチンから呼び出される処理が記述された呼出先ルーチンと、が含まれ、
前記演算処理手段は、
前記呼出先ルーチンが呼び出された場合は、前記呼出元ルーチンで設定されていた前記切替情報設定領域の情報を前記スタック領域に格納した状態で、前記呼出先ルーチンの処理の実行を開始し、
前記呼出先ルーチンから呼出元ルーチンに復帰する際には、前記スタック領域に格納されている情報が、前記切替情報設定領域に復帰する構成であり、
前記呼出先ルーチンには、前記遊技に関連するタイマを更新する処理が含まれることを特徴とする遊技機。
Run the game by the occurrence of a predetermined start condition, the gaming machine having a gaming controller for game control for generating special game state in which the game is to impart benefits to the player when the special results,
The game control device includes:
Game control program storage means for storing a game control program;
Arithmetic processing means for performing required arithmetic processing by the game control program;
Information to be updated by the arithmetic processing means is stored, and update information storage means in which a stack area is set;
A first register group in which values are stored when performing the arithmetic processing;
A second register group having the same construction as the first group of registers,
One of said first register group and said second register group, and accessibly toggle its SWITCHING means,
With
A switching information setting area indicating which of the first register group and the second register group is accessible is formed,
The game control program includes
A caller routine describing the caller's processing;
A call destination routine describing a process to be called from the call source routine, and
The arithmetic processing means includes:
When the call destination routine is called, the execution of the process of the call destination routine is started in a state where the information of the switching information setting area set in the call source routine is stored in the stack area,
When returning from the call destination routine to the call source routine, the information stored in the stack area is configured to return to the switching information setting area,
The said callee routine, the gaming machine characterized by Rukoto includes processing for updating the timer associated with the game.
JP2013033074A 2013-02-22 2013-02-22 Game machine Active JP5990670B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013033074A JP5990670B2 (en) 2013-02-22 2013-02-22 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013033074A JP5990670B2 (en) 2013-02-22 2013-02-22 Game machine

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2016096757A Division JP6286722B2 (en) 2016-05-13 2016-05-13 Game machine

Publications (2)

Publication Number Publication Date
JP2014161423A JP2014161423A (en) 2014-09-08
JP5990670B2 true JP5990670B2 (en) 2016-09-14

Family

ID=51612664

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013033074A Active JP5990670B2 (en) 2013-02-22 2013-02-22 Game machine

Country Status (1)

Country Link
JP (1) JP5990670B2 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016179072A (en) * 2015-03-24 2016-10-13 京楽産業.株式会社 Game machine
JP2016179073A (en) * 2015-03-24 2016-10-13 京楽産業.株式会社 Game machine
JP6255362B2 (en) * 2015-03-24 2017-12-27 京楽産業.株式会社 Game machine
JP2016179071A (en) * 2015-03-24 2016-10-13 京楽産業.株式会社 Game machine
JP6318109B2 (en) * 2015-03-24 2018-04-25 京楽産業.株式会社 Game machine
JP6283834B2 (en) * 2015-07-13 2018-02-28 Kpe株式会社 Game machine
JP6298478B2 (en) * 2016-01-08 2018-03-20 株式会社オリンピア Game machine
JP6298477B2 (en) * 2016-01-08 2018-03-20 株式会社オリンピア Game machine
JP6466859B2 (en) * 2016-01-08 2019-02-06 株式会社オリンピア Game machine
JP6947584B2 (en) * 2017-08-24 2021-10-13 株式会社三共 Pachinko machine
JP6450955B2 (en) * 2017-12-05 2019-01-16 株式会社オリンピア Game machine

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2514963B2 (en) * 1987-04-27 1996-07-10 株式会社日立製作所 Data processing device
JP2591432B2 (en) * 1993-08-10 1997-03-19 日本電気株式会社 Trace device
JP5055681B2 (en) * 2004-02-27 2012-10-24 株式会社三洋物産 Game machine
JP5238952B2 (en) * 2007-12-11 2013-07-17 株式会社大一商会 Game machine

Also Published As

Publication number Publication date
JP2014161423A (en) 2014-09-08

Similar Documents

Publication Publication Date Title
JP5952754B2 (en) Game machine
JP5906131B2 (en) Game machine
JP5990670B2 (en) Game machine
JP5969812B2 (en) Game machine
JP6166334B2 (en) Game machine
JP6240935B2 (en) Game machine
JP6154514B2 (en) Game machine
JP5820334B2 (en) Game machine
JP2013233298A (en) Game machine
JP5740620B2 (en) Game machine
JP6101918B2 (en) Game machine
JP5945760B2 (en) Game machine
JP6286722B2 (en) Game machine
JP6103459B2 (en) Game machine
JP6101959B2 (en) Game machine
JP6101917B2 (en) Game machine
JP6192308B2 (en) Game machine
JP6192309B2 (en) Game machine
JP6192310B2 (en) Game machine
JP5945761B2 (en) Game machine
JP6190126B2 (en) Game machine
JP5740621B2 (en) Game machine
JP5740619B2 (en) Game machine
JP5906130B2 (en) Game machine
JP5740622B2 (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151021

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151104

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151222

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160510

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160513

R150 Certificate of patent or registration of utility model

Ref document number: 5990670

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