JP6154863B2 - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP6154863B2
JP6154863B2 JP2015174623A JP2015174623A JP6154863B2 JP 6154863 B2 JP6154863 B2 JP 6154863B2 JP 2015174623 A JP2015174623 A JP 2015174623A JP 2015174623 A JP2015174623 A JP 2015174623A JP 6154863 B2 JP6154863 B2 JP 6154863B2
Authority
JP
Japan
Prior art keywords
program
register
game
instruction
stack
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
JP2015174623A
Other languages
Japanese (ja)
Other versions
JP2017047081A (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 JP2015174623A priority Critical patent/JP6154863B2/en
Publication of JP2017047081A publication Critical patent/JP2017047081A/en
Application granted granted Critical
Publication of JP6154863B2 publication Critical patent/JP6154863B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Slot Machines And Peripheral Devices (AREA)

Description

本発明は、遊技を制御するメイン制御手段を備えるスロットマシン等の遊技機に関する。   The present invention relates to a gaming machine such as a slot machine provided with main control means for controlling a game.

従来、遊技機の一種であるスロットマシンは、CPU、複数のレジスタ、スタックポインタ、RAM、ROMが一体的にワンチップ化されたマイクロプロセッサ構成の制御手段を備え、制御手段は、CPUがROMに格納されているプログラムを実行することにより所定の処理を実施することによって、遊技を制御する。複数のレジスタは、アキュムレータレジスタ、フラグレジスタ、汎用レジスタ、インデックスレジスタ、インタラプトレジスタ、リフレッシュレジスタ、プログラムカウンタなどのレジスタを含み、CPUは、プログラムに含まれる演算命令や転送命令等の各種の命令を実行することにより、アキュムレータレジスタ、汎用レジスタ、インデックスレジスタなどのレジスタの値を更新したり、汎用レジスタおよびインデックスレジスタの値(アドレス)により指定されるRAMの記憶領域に記憶した値(データ)を更新したりする。   2. Description of the Related Art Conventionally, a slot machine, which is a type of gaming machine, includes a microprocessor-structured control unit in which a CPU, a plurality of registers, a stack pointer, a RAM, and a ROM are integrated into a single chip. A game is controlled by executing a predetermined process by executing a stored program. The multiple registers include registers such as accumulator registers, flag registers, general-purpose registers, index registers, interrupt registers, refresh registers, and program counters. The CPU executes various instructions such as arithmetic instructions and transfer instructions included in the program. By updating the value of registers such as accumulator registers, general-purpose registers, and index registers, or updating values (data) stored in the RAM storage area specified by the values (addresses) of general-purpose registers and index registers. Or

また、スタックポインタに格納されるスタック領域参照用アドレスによりアクセス可能なスタック領域がRAMの所定の記憶領域に予め設定されている。そして、スタックポインタに格納されているスタック領域参照用アドレスを参照することで、CPUは、転送命令に含まれるプッシュ命令により各レジスタの値をスタック領域に記憶したり、転送命令に含まれるポップ命令により各レジスタの値をスタック領域に記憶されている値に設定したりする。   Further, a stack area accessible by a stack area reference address stored in the stack pointer is set in advance in a predetermined storage area of the RAM. Then, by referring to the stack area reference address stored in the stack pointer, the CPU stores the value of each register in the stack area by the push instruction included in the transfer instruction, or the pop instruction included in the transfer instruction. To set the value of each register to the value stored in the stack area.

また、アキュムレータレジスタ、汎用レジスタ、インデックスレジスタなどの所定のレジスタの値を更新するときにCPUが実行した命令の種類に応じて、フラグレジスタの状態が、CPUによる当該所定のレジスタの値の更新結果に基づいて変化するように構成されている。したがって、CPUが所定のレジスタの値を更新したときのフラグレジスタの状態の変化を利用して、当該所定のレジスタの値の更新結果に応じた処理をCPUに実施させることができる。   In addition, depending on the type of instruction executed by the CPU when updating the value of a predetermined register such as an accumulator register, general-purpose register, or index register, the state of the flag register is the result of updating the value of the predetermined register by the CPU. It is comprised so that it may change based on. Therefore, by using the change in the state of the flag register when the CPU updates the value of the predetermined register, it is possible to cause the CPU to perform processing according to the result of updating the value of the predetermined register.

具体的には、演算命令の演算結果に応じて状態が変化するゼロフラグがフラグレジスタに設定されており、例えば、次に示す順番で3ステップの命令を実行するように構成されたプログラムをCPUが実行することにより、ゼロフラグ(フラグレジスタ)の状態の変化に応じた処理が実施される。すなわち、例えば、RAMの所定の記憶領域にカウンタが構成されている場合に、RAMに記憶されているカウンタのカウント値αをアキュムレータレジスタに転送するロード命令を実行し(第1のステップ)、カウント値αが0である場合にゼロフラグの状態を変化させるために、アキュムレータレジスタの値どうし論理積をとり、その演算結果をアキュムレータレジスタ(所定のレジスタ)に格納するアンド命令を実行し(第2のステップ)、ゼロフラグの状態に応じた命令を実行する(第3のステップ)。このとき、第2のステップにおいて、論理積が1の場合(α≠0)と0(α=0)の場合との間でゼロフラグの状態が変化するように構成されているため、第3のステップにおいて、ゼロフラグの状態に応じた命令を実行することにより、カウント値αが0であるか否かに応じた処理が実施される。   Specifically, a zero flag whose state changes according to the operation result of the operation instruction is set in the flag register. For example, the CPU executes a program configured to execute instructions of 3 steps in the following order. By executing, processing according to a change in the state of the zero flag (flag register) is performed. That is, for example, when a counter is configured in a predetermined storage area of the RAM, a load instruction for transferring the count value α of the counter stored in the RAM to the accumulator register is executed (first step), and the count is performed. In order to change the state of the zero flag when the value α is 0, an AND operation is performed on the values of the accumulator registers and the operation result is stored in the accumulator register (predetermined register) (second register) Step), an instruction corresponding to the state of the zero flag is executed (third step). At this time, in the second step, since the state of the zero flag is changed between when the logical product is 1 (α ≠ 0) and 0 (α = 0), the third step In the step, by executing an instruction according to the state of the zero flag, processing according to whether or not the count value α is 0 is performed.

ところで、所定のレジスタの値の更新結果に応じた処理をCPUに実施させる上記した従来のプログラムよりもコード量を減らし、さらに、CPUの処理の負担を減らすために、CPUが実行する命令の種類に応じてそれぞれ動作が異なる第1のゼロフラグ(第1のビット)と、第2のゼロフラグ(第2のビット)とがフラグレジスタに設定された制御手段を備える遊技機が提供されている(例えば特許文献1参照)。具体的には、第1のゼロフラグは、演算命令の演算結果に応じて状態が変化するが、転送命令に含まれるロード命令等の特定命令では状態が変化することが無いよう構成され、第2のゼロフラグは、演算命令の演算結果に応じて状態が変化し、特定命令でも状態が変化することがあるように構成されている。なお、第1のゼロフラグは上記した従来のゼロフラグとほぼ同様の機能を備えるように構成されている。   By the way, the types of instructions executed by the CPU in order to reduce the amount of code compared to the above-described conventional program that causes the CPU to execute processing according to the result of updating the value of a predetermined register, and to further reduce the processing load on the CPU. There is provided a gaming machine including a control unit in which a first zero flag (first bit) and a second zero flag (second bit), each of which operates differently depending on the setting, are set in a flag register (for example, Patent Document 1). Specifically, the first zero flag is configured such that the state changes according to the operation result of the operation instruction, but the state does not change with a specific instruction such as a load instruction included in the transfer instruction. The zero flag is configured such that the state changes according to the operation result of the operation instruction, and the state may change even with a specific instruction. The first zero flag is configured to have substantially the same function as the conventional zero flag described above.

したがって、例えば、次に示す順番で2ステップの命令を実行するように構成されたプログラムをCPUが実行することにより、上記したゼロフラグを利用した従来の処理と同様の処理を実施することができる。すなわち、RAMに記憶されているカウント値αをアキュムレータレジスタに転送するロード命令を実行し(第1のステップ)、第2のゼロフラグの状態に応じた命令を実行する(第2のステップ)。このとき、第1のステップにおいて、アキュムレータレジスタに格納されるカウント値αが0でない場合(α≠0)と0の場合(α=0)とで第2のゼロフラグの状態が変化するように構成されているため、第2のステップにおいて、第2のゼロフラグの状態の応じた命令を実行することにより、カウント値αが0であるか否かに応じた処理が実施される。   Therefore, for example, when the CPU executes a program configured to execute instructions of two steps in the following order, the same processing as the conventional processing using the above-described zero flag can be performed. That is, a load instruction for transferring the count value α stored in the RAM to the accumulator register is executed (first step), and an instruction corresponding to the state of the second zero flag is executed (second step). At this time, in the first step, the state of the second zero flag changes depending on whether the count value α stored in the accumulator register is not 0 (α ≠ 0) or 0 (α = 0). Therefore, in the second step, processing according to whether or not the count value α is 0 is executed by executing an instruction corresponding to the state of the second zero flag.

特開2014−195688号公報(段落2174〜2181、図234〜236、請求項1、要約書など)JP 2014-195688 (paragraphs 2174 to 2181, FIGS. 234 to 236, claim 1, abstract, etc.)

ところで、CPUがプログラムを実行することにより実施される処理には複数の機能が含まれているが、複数の機能のうちのいずれかに不具合が生じたり、機能を追加したりする場合に、容易にプログラムを更新できるように、各機能を含む処理ごとにプログラムを独立して構成しておき、CPUがこれらの複数のプログラムを組み合わせて実行することにより遊技機を制御できるようにすることが要望されている。このようにすることで、不具合が生じた機能に対応するプログラムのみを更新の対象とすることができ、追加する機能を具現化する処理を実施するためのプログラムのみを独立して構成して追加したりすることができる。また、このようにすることで、各処理を具現化するための複数のプログラムを、それぞれ独立に並行して開発することもできる。   By the way, although the processing executed by the CPU executing the program includes a plurality of functions, it is easy when a problem occurs in one of the plurality of functions or when a function is added. It is desirable to configure the program independently for each process including each function so that the CPU can control the gaming machine by executing a combination of these multiple programs so that the program can be updated. Has been. In this way, only the program corresponding to the function in which the problem occurred can be updated, and only the program for implementing the process for realizing the added function is configured and added independently. You can do it. In addition, by doing so, a plurality of programs for realizing each process can be independently developed in parallel.

このとき、一のプログラムによる処理の実施中に、一旦、当該一のプログラムによる処理を中断し、他のプログラムによる処理を実施した後に、再び、一のプログラムの続きから処理を再開する場合には、他のプログラムによる処理において、最初に、一のプログラムによる処理を実施中にスタックポインタに格納されていたスタック領域参照用アドレスおよび各レジスタの値をロード命令やプッシュ命令等の転送命令によりRAMに記憶させることによって退避する必要がある。そして、他のプログラムによる処理において、最後に、スタックポインタに格納されるスタック領域参照用アドレスおよび各レジスタの値を、退避しておいた中断前の一のプログラムによる処理におけるスタック領域参照用アドレスおよび各レジスタの値に復帰させなければならない。   At this time, when the processing by the one program is interrupted, the processing by the other program is temporarily interrupted, and the processing is resumed from the continuation of the one program again. In processing by another program, first, the stack area reference address and the value of each register stored in the stack pointer during processing by one program are transferred to the RAM by a transfer instruction such as a load instruction or a push instruction. It is necessary to save by memorizing. Then, in the processing by another program, finally, the stack area reference address stored in the stack pointer and the value of each register are saved. It must be restored to the value of each register.

ところが、特許文献1に記載の遊技機において、このように各プログラムを独立して構成した場合に、フラグレジスタの第2のゼロフラグの状態がロード命令等の特定命令で変化することがあるように構成されているため、次のような問題が生じるおそれがある。すなわち、スタックポインタに格納されているスタック領域参照用アドレスおよび各レジスタの値を退避するときに実行するロード命令等の転送命令により第2のゼロフラグの状態が変化してしまうと、中断前の一のプログラムによる処理におけるフラグレジスタ(第2のゼロフラグ)の値と異なる値がRAMに記憶される。したがって、一のプログラムによる処理に復帰する際に、中断前のフラグレジスタの値とは異なる値にフラグレジスタの値が設定されてしまい、当該一のプログラムによる処理に悪影響を及ぼすおそれがあるため、複数のプログラムを独立して構成するのが困難であった。   However, in the gaming machine described in Patent Document 1, when each program is configured independently as described above, the state of the second zero flag of the flag register may be changed by a specific instruction such as a load instruction. Since it is configured, the following problems may occur. That is, if the state of the second zero flag changes due to a transfer instruction such as a load instruction executed when saving the stack area reference address and each register value stored in the stack pointer, A value different from the value of the flag register (second zero flag) in the processing by the program is stored in the RAM. Therefore, when returning to processing by one program, the value of the flag register is set to a value different from the value of the flag register before the interruption, which may adversely affect processing by the one program. It was difficult to configure multiple programs independently.

本発明は、上記課題に鑑みてなされたものであり、各プログラムのコード量を減らして処理の負担を減らしながら、複数のプログラムを独立して構成することができる技術を提供することを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to provide a technique capable of independently configuring a plurality of programs while reducing the processing load by reducing the code amount of each program. To do.

上記した目的を達成するために、本発明の遊技機は、遊技を制御するメイン制御手段を備える遊技機において、前記メイン制御手段は、フラグレジスタを含む複数のレジスタと、スタックポインタと、第1プログラムおよび第2プログラムを含む複数種類のプログラムを実行するCPUと、前記第1プログラムを記憶する第1プログラム記憶領域と、前記第1プログラム記憶領域と異なる領域であって、前記第2プログラムを記憶する第2プログラム記憶領域とを有するプログラム記憶手段と、前記スタックポインタに格納される第1スタック領域参照用アドレスによりアクセス可能な前記第1プログラムに対応した第1スタック領域と、前記第1スタック領域と異なる領域であって、前記スタックポインタに格納される第2スタック領域参照用アドレスによりアクセス可能な前記第2プログラムに対応した第2スタック領域とを有するスタック手段と、データを更新可能な前記第1プログラムに対応した第1データ記憶領域と、前記第1データ記憶領域と異なる領域であって、データを更新可能な前記第2プログラムに対応した第2データ記憶領域とを有するデータ記憶手段とを備え、前記フラグレジスタは、前記プログラムに含まれる演算命令の演算結果に応じて状態が変化することがあるが、前記プログラムに含まれる特定命令では状態が変化することがない第1のビットと、前記演算命令の演算結果に応じて状態が変化することがあり、前記特定命令でも状態が変化することがある第2のビットとを備え、前記第1プログラムによる処理は前記第1スタック領域および前記第1データ記憶領域のデータを更新および参照可能であり、前記第2スタック領域および前記第2データ記憶領域のデータを更新できないが参照可能になっており、前記第2プログラムによる処理は前記第2スタック領域および前記第2データ記憶領域のデータを更新および参照可能であり、前記第1スタック領域および前記第1データ記憶領域のデータを更新できないが参照可能になっており、前記第1プログラムは、前記CPUにより第1処理を実施可能な第1機能プログラムを含み、前記第2プログラムは、前記CPUにより第2処理を実施可能な第2機能プログラムを含み、前記CPUによる前記第2プログラムの実行の開始は、前記CPUによる前記第1処理の実施を中断して行われ、前記CPUが前記第2プログラムを実行することで実施可能な処理として、前記特定命令に含まれるロード命令により、前記スタックポインタに格納されている前記第1スタック領域参照用アドレスを前記第2データ記憶領域に記憶し、前記スタックポインタに前記第2スタック領域参照用アドレスを格納して、前記プログラムに含まれるプッシュ命令により、前記複数のレジスタそれぞれの値を前記第2スタック領域に記憶する退避処理と、前記プログラムに含まれるポップ命令により、前記複数のレジスタそれぞれの値を前記退避処理により前記第2スタック領域に記憶した値に設定し、前記ロード命令により、前記退避処理により前記第2データ記憶領域に記憶した前記第1スタック領域参照用アドレスを前記スタックポインタに格納する復帰処理とを備え、前記退避処理は、前記第2処理を実施する前に実施され、前記復帰処理は、前記第2処理を実施した後に実施され、前記CPUが前記第1プログラムを実行することで実施可能な処理として、前記プッシュ命令または前記ロード命令により、前記複数のレジスタのうち前記フラグレジスタを含む特定レジスタの値を前記レジスタではなく前記第1スタック領域または前記第1データ記憶領域に記憶する記憶処理と、前記ポップ命令または前記ロード命令により、前記復帰処理により値が設定された前記複数のレジスタのうち前記特定レジスタの値を、前記記憶処理により前記第1スタック領域または前記第1データ記憶領域に記憶した値に変更する変更処理とを備え、前記記憶処理は、前記第1処理を中断して前記CPUによる第2プログラムの実行が開始される前に実施され、前記変更処理は、前記CPUが前記第2プログラムの実行を終了して、前記第1処理を再開する前に実施されることを特徴としている。 In order to achieve the above object, the gaming machine of the present invention includes a main control means for controlling a game, wherein the main control means includes a plurality of registers including a flag register, a stack pointer, a first pointer A CPU that executes a plurality of types of programs including a program and a second program, a first program storage area that stores the first program, and an area that is different from the first program storage area and stores the second program A program storage means having a second program storage area, a first stack area corresponding to the first program accessible by a first stack area reference address stored in the stack pointer, and the first stack area Different from the second stack area stored in the stack pointer. A stack means having a second stack area corresponding to the second program accessible by an address for use; a first data storage area corresponding to the first program capable of updating data; and the first data storage area; And a data storage means having a second data storage area corresponding to the second program capable of updating data, wherein the flag register is responsive to an operation result of an operation instruction included in the program. The state may change depending on the first bit that does not change the state in the specific instruction included in the program and the operation result of the operation instruction. and a second bit that may state changes in instruction processing by the first program of the first stack region and the The data in one data storage area can be updated and referenced, and the data in the second stack area and the second data storage area cannot be updated, but can be referred to, and the processing by the second program is the second stack. The data in the area and the second data storage area can be updated and referred to, and the data in the first stack area and the first data storage area cannot be updated, but can be referred to. The CPU includes a first function program capable of performing a first process, and the second program includes a second function program capable of performing a second process by the CPU, and the CPU starts executing the second program. Is performed by interrupting the execution of the first process by the CPU, and the CPU executes the second program. As a process that can be executed, the load instruction included in the specific instruction stores the first stack area reference address stored in the stack pointer in the second data storage area, and stores the stack pointer in the stack pointer. and storing the second stack region reference address, the push instruction included in the program, and saving processing of storing the previous SL plurality of registers each value in the second stack region, the pop instruction contained in the program The values of the plurality of registers are set to the values stored in the second stack area by the save process, and the first stack area is stored in the second data storage area by the save process by the load instruction. And a return process for storing a reference address in the stack pointer, As the processing that can be executed by the CPU executing the first program, the push command or the load is executed. A storage process for storing a value of a specific register including the flag register in the plurality of registers in the first stack area or the first data storage area instead of the register, and the pop instruction or the load instruction. A change process for changing a value of the specific register among the plurality of registers whose values are set by the return process to a value stored in the first stack area or the first data storage area by the storage process; And the storage process interrupts the first process and starts execution of the second program by the CPU. Conducted in the change process, the CPU has finished the execution of the second program, and characterized in that it is carried out before resuming the first processing.

このように構成することにより、フラグレジスタが、演算命令の演算結果に応じて状態が変化することがあるが、特定命令では状態が変化することがない第1のビットと、演算命令の演算結果に応じて状態が変化することがあり、特定命令でも状態が変化することがある第2のビットとを備えるので、各プログラムのコード量を減らしてCPUによる処理の負担を減らすことができる。また、第2プログラムによる退避処理において実行される特定命令によりフラグレジスタの第2のビットの状態が変化するおそれがあるが、退避処理を実行する前に、第1プログラムによる記憶処理においてフラグレジスタを含む特定レジスタの値を記憶し、第2プログラムによる処理を終了し第1処理を再開する前に、第1プログラムによる変更処理おいて特定レジスタの値を記憶処理で記憶した値に変更する。したがって、第2プログラムによる退避処理においてフラグレジスタの状態が変化しても、第2プログラムによる処理から復帰後の第1プログラムによる処理に影響を及ぼすおそれがないので、複数のプログラムを独立して構成することができる。このとき、記憶処理において、複数のレジスタのうちの特定レジスタのみを記憶すればよいので、第1のプログラムによる処理において使用する第1スタック領域または第1データ記憶領域の記憶容量を過度に増やす必要がなく、効率的なプログラムを構成することができる。   With this configuration, the flag register may change its state depending on the operation result of the operation instruction, but the first bit that does not change the state of the specific instruction and the operation result of the operation instruction And the second bit whose state may change even with a specific instruction, the amount of code of each program can be reduced and the processing burden on the CPU can be reduced. In addition, the state of the second bit of the flag register may be changed by a specific instruction executed in the saving process by the second program. However, before executing the saving process, the flag register is set in the storing process by the first program. The value of the specific register is stored, and before the process by the second program is terminated and the first process is restarted, the value of the specific register is changed to the value stored by the storage process in the change process by the first program. Therefore, even if the state of the flag register changes during the saving process by the second program, there is no possibility of affecting the processing by the first program after returning from the processing by the second program. can do. At this time, since only a specific register of the plurality of registers needs to be stored in the storage process, it is necessary to excessively increase the storage capacity of the first stack area or the first data storage area used in the process by the first program. Therefore, an efficient program can be configured.

また、前記第1処理は、遊技の進行を制御する遊技制御処理であり、前記第2処理は、不正を検出する不正判定処理であるとよい。   The first process may be a game control process for controlling the progress of the game, and the second process may be a fraud determination process for detecting fraud.

このように構成すると、遊技の進行を制御する遊技制御処理(第1処理)とは独立して、不正判定処理(第2処理)を実施するための第2機能プログラムを第2プログラムに追加するだけで不正を検出する不正判定処理を追加することができるので、新たな不正行為に対応する不正対策プログラム(第2機能プログラム)を容易に作成することができる。   If comprised in this way, the 2nd function program for implementing a fraud determination process (2nd process) will be added to a 2nd program independently of the game control process (1st process) which controls progress of a game. Since fraud determination processing for detecting fraud can be added simply, a fraud countermeasure program (second function program) corresponding to a new fraudulent act can be easily created.

また、前記複数のレジスタは、前記演算命令の際に用いられるアキュムレータレジスタと、汎用レジスタとをさらに含み、前記特定レジスタは、前記アキュムレータレジスタをさらに含み、前記記憶処理は、前記特定レジスタを対象として指定する特殊コードを利用した1回の前記プッシュ命令または前記ロード命令により、前記特定レジスタの値を前記第1スタック領域または前記第1データ記憶領域に記憶し、前記変更処理は、前記特殊コードを利用した1回の前記ポップ命令または前記ロード命令により、前記特定レジスタの値を前記記憶処理によって前記第1スタック領域または前記第1データ記憶領域に記憶した値に変更するとよい。   The plurality of registers further include an accumulator register used in the operation instruction and a general-purpose register, the specific register further includes the accumulator register, and the storage processing is performed on the specific register. The value of the specific register is stored in the first stack area or the first data storage area by one push instruction or the load instruction using a special code to be specified, and the change process is performed by changing the special code. The value of the specific register may be changed to the value stored in the first stack area or the first data storage area by the storage process by one pop instruction or the load instruction used.

このように構成すると、CPUが命令を実行するために予め用意された特殊コードを利用することにより特定レジスタの値を一度にまとめて操作することができるので、新たに命令を作成することなく、既存の命令により処理を行うことができる。   With this configuration, the CPU can operate the values of the specific registers all at once by using a special code prepared in advance for the CPU to execute the instruction without creating a new instruction. Processing can be performed by existing instructions.

また、前記退避処理は、前記複数のレジスタを対象として指定する特別コードを利用した1回の前記プッシュ命令により、前記複数のレジスタそれぞれの値を前記第2スタック領域に記憶し、前記復帰処理は、前記特別コードを利用した1回のポップ命令により、前記複数のレジスタそれぞれの値を前記退避処理により前記第2スタック領域に記憶した値に設定するとよい。   Further, the save processing stores the values of the plurality of registers in the second stack area by one push instruction using a special code that designates the plurality of registers as targets, and the return processing includes The value of each of the plurality of registers may be set to the value stored in the second stack area by the save process by one pop instruction using the special code.

このように構成すると、CPUが命令を実行するために予め用意された特別コードを利用することにより各レジスタの値を一度にまとめて操作することができるので、新たな命令を作成することなく、既存の命令により処理を行うことができる。   With this configuration, the CPU can operate on the values of each register at once by using a special code prepared in advance for executing instructions, without creating a new instruction. Processing can be performed by existing instructions.

本発明の一実施形態に係る回胴式遊技機(スロットマシン)の斜視図である。It is a perspective view of a spinning cylinder type gaming machine (slot machine) according to an embodiment of the present invention. 図1の回胴式遊技機(スロットマシン)のリールの図柄配列を示す図である。FIG. 2 is a view showing a symbol arrangement of reels of the spinning cylinder gaming machine (slot machine) of FIG. 1. 図1の回胴式遊技機(スロットマシン)の電気的構成を示すブロック図である。FIG. 2 is a block diagram showing an electrical configuration of the swivel type gaming machine (slot machine) of FIG. 1. 図3のメイン制御手段が備えるレジスタセットを示す図であって、(a)はレジスタセットの構成を示す図であり、(b)は(a)のフラグレジスタの構成を示す図である。FIG. 4 is a diagram illustrating a register set included in the main control unit of FIG. 3, (a) is a diagram illustrating a configuration of the register set, and (b) is a diagram illustrating a configuration of a flag register of (a). CPUが実行する命令の一例を示す図であって、(a)は演算命令の一例を示す図であり、(b)は特定命令の一例を示す図である。FIG. 3 is a diagram illustrating an example of an instruction executed by a CPU, where (a) is a diagram illustrating an example of an arithmetic command, and (b) is a diagram illustrating an example of a specific command. 図3のメイン制御手段が備えるメモリのメモリマップを示す図である。It is a figure which shows the memory map of the memory with which the main control means of FIG. 3 is provided. 図6の内蔵RAM領域の詳細な構成を示す図である。It is a figure which shows the detailed structure of the internal RAM area | region of FIG. 図6の内蔵ROM領域の詳細な構成を示す図である。It is a figure which shows the detailed structure of the internal ROM area | region of FIG. 図3のメイン制御手段が備える機能およびサブ制御基板に搭載される機能を示す機能ブロック図である。It is a functional block diagram which shows the function with which the main control means of FIG. 3 is equipped, and the function mounted in a sub control board. 役とリール図柄との関係およびメダルの払出枚数を示す図である。It is a figure which shows the relationship between a hand and a reel symbol, and the payout number of medals. 役抽選結果とコマンドとの関係を示す図である。It is a figure which shows the relationship between a role lottery result and a command. 図1の回胴式遊技機(スロットマシン)の動作の一例であるタイマ割込処理を示すフローチャートである。2 is a flowchart showing a timer interrupt process that is an example of the operation of the spinning-reel game machine (slot machine) of FIG. 1. レジスタセットの操作の一例を示す図であって、(a)は図12のステップS2の記憶処理において行われるレジスタセットの操作を示す図であり、(b)は図12のステップS100の退避処理1において行われるレジスタセットの操作を示す図である。FIGS. 13A and 13B are diagrams illustrating an example of register set operations, where FIG. 13A is a diagram illustrating register set operations performed in the storage process of step S <b> 2 in FIG. 12, and FIG. 2 is a diagram illustrating register set operations performed in FIG. レジスタセットの操作の一例を示す図であって、(a)は図12のステップS101の退避処理2において行われるレジスタセットの操作を示す図であり、(b)は図12のステップS102の退避処理3において行われるレジスタセットの操作を示す図である。FIGS. 13A and 13B are diagrams illustrating an example of register set operations, in which FIG. 12A is a diagram illustrating register set operations performed in the save process 2 in step S101 in FIG. 12, and FIG. FIG. 10 is a diagram illustrating register set operations performed in process 3; レジスタセットの操作の一例を示す図であって、(a)は図12のステップS103の不正判定処理において行われるレジスタセットの操作を示す図であり、(b)は図12のステップS104の復帰処理1において行われるレジスタセットの操作を示す図である。FIG. 13A is a diagram illustrating an example of a register set operation, where FIG. 13A is a diagram illustrating a register set operation performed in the fraud determination process of step S103 of FIG. 12, and FIG. 13B is a return of step S104 of FIG. FIG. 10 is a diagram illustrating register set operations performed in process 1; レジスタセットの操作の一例を示す図であって、(a)は図12のステップS105の復帰処理2において行われるレジスタセットの操作を示す図であり、(b)は図12のステップS3の変更処理において行われるレジスタセットの操作を示す図である。FIGS. 13A and 13B are diagrams illustrating an example of register set operations, where FIG. 13A is a diagram illustrating register set operations performed in the return process 2 of step S105 in FIG. 12, and FIG. It is a figure which shows operation of the register set performed in a process. 図12に示すタイマ割込処理の比較例1を示すフローチャートである。It is a flowchart which shows the comparative example 1 of the timer interruption process shown in FIG. 図12に示すタイマ割込処理の比較例2を示すフローチャートである。It is a flowchart which shows the comparative example 2 of the timer interruption process shown in FIG. 図12に示すタイマ割込処理の比較例3を示すフローチャートである。It is a flowchart which shows the comparative example 3 of the timer interruption process shown in FIG.

本発明の遊技機である回胴式遊技機(以下、スロットマシンという)に適用した一実施形態について、図1ないし図19を参照して詳細に説明する。   One embodiment applied to a swivel type gaming machine (hereinafter referred to as a slot machine) which is a gaming machine of the present invention will be described in detail with reference to FIGS.

(構成)
図1および図2を参照して、スロットマシン1の構成の概略について説明する。
(Constitution)
An outline of the configuration of the slot machine 1 will be described with reference to FIGS. 1 and 2.

本実施形態におけるスロットマシン1は、メダル(遊技用価値)を用いて遊技を行い、全てのリール13L,13M,13Rが停止したときの図柄組合せが、役抽選により当選した当選役に対応する図柄組合せ(入賞図柄)である場合に予め定められた枚数のメダルを払い出すことにより遊技者に特典を付与するものであり、筐体3の前面開口が前面扉5により開閉自在に閉塞され、この前面扉5のほぼ中央高さの位置に操作板7が配設され、この操作板7の上方に正面板9が配設されている。そして、正面板9には横長矩形の表示窓11が設けられ、表示窓11の内側には、複数種類の図柄を予め定められた順序で可変表示する可変表示列を成す回転リールから成る左・中・右リール13L,13M,13Rが配置されている。   The slot machine 1 in the present embodiment plays a game using medals (game value), and the symbol combination when all the reels 13L, 13M, 13R are stopped corresponds to the winning combination won by the winning lottery. A bonus is given to the player by paying out a predetermined number of medals in the case of a combination (winning design), and the front opening of the housing 3 is closed by the front door 5 so as to be freely opened and closed. An operation plate 7 is disposed at a substantially central height of the front door 5, and a front plate 9 is disposed above the operation plate 7. The front plate 9 is provided with a horizontally-long rectangular display window 11, and on the inner side of the display window 11, a left and right rotating reel comprising a variable display row for variably displaying a plurality of types of symbols in a predetermined order. Middle and right reels 13L, 13M, and 13R are arranged.

ここで、図2に示すように、左・中・右リール13L,13M,13Rには、例えば「7」「BAR」「Bell」「チェリー」「スイカ」「R1」「R2」を含む複数種類の図柄が合計21個、所定の配列でそれぞれ設けられている。   Here, as shown in FIG. 2, the left / middle / right reels 13L, 13M, and 13R include, for example, “7”, “BAR”, “Bell”, “Cherry”, “Watermelon”, “R1”, and “R2”. A total of 21 symbols are provided in a predetermined arrangement.

また、各リール13L,13M,13Rの各図柄それぞれには、0番から20番までのコマ番号が順に付され、例えばコマ番号0番から20番までの図柄が印刷されたリールテープがリールの周面に貼り付けられて各リール13L,13M,13Rがそれぞれ形成されている。また、各リール13L,13M,13Rが回転すると、コマ番号20番、19番、…、0番、20番、…の予め定められた順に複数の図柄がそれぞれ表示窓11に可変表示される。   Also, each symbol on each of the reels 13L, 13M, and 13R is sequentially assigned a frame number from 0 to 20, for example, a reel tape on which symbols from frame numbers 0 to 20 are printed is the reel. Each reel 13L, 13M, 13R is formed by being affixed to the peripheral surface. When the reels 13L, 13M, 13R rotate, a plurality of symbols are variably displayed on the display window 11 in a predetermined order of frame numbers 20, 19,..., 0, 20,.

そして、各リール13L,13M,13Rの回転が停止したときに、各リール13L,13M,13Rそれぞれについて3個ずつで合計9個の図柄が表示窓11から覗くように設定されている。具体的には1つのリールにつき上段、中段および下段に各1個の3個ずつ、3つのリール13L,13M,13Rで合計9個が表示窓11を通して表示される。すなわち、すべてのリール13L,13M,13Rが停止すると、縦3列横3行に配列された合計9個の図柄が表示窓11に停止表示される。なお、中段の横1列が後述する入賞ラインとなり、この入賞ラインに当選役の図柄が揃った状態で各リール13L,13M,13Rが停止すれば入賞となる。   And when rotation of each reel 13L, 13M, 13R stops, it sets so that a total of nine symbols may be seen from the display window 11 about each of each reel 13L, 13M, 13R. Specifically, a total of nine reels 13L, 13M, and 13R are displayed through the display window 11 with three reels 13L, 13M, and 13R, one for each of the upper, middle, and lower stages. That is, when all the reels 13L, 13M, and 13R are stopped, a total of nine symbols arranged in three columns and three rows are stopped and displayed on the display window 11. The middle horizontal row is a pay line which will be described later, and if each of the reels 13L, 13M and 13R stops with the winning line aligned with the winning symbol, the winning line is won.

ここで、図3に示すように、各リール13L,13M,13Rには、それぞれステッピングモータにより構成されるリールモータ14L,14M,14Rが連結され、各リール13L,13M,13Rがそれぞれ独立して回転駆動される。なお、各リール13L,13M,13Rと各々のリールモータ14L,14M,14Rとでリールユニット(図柄表示手段)が構成されている。   Here, as shown in FIG. 3, the reels 13L, 13M, and 13R are connected to the reel motors 14L, 14M, and 14R, each of which is formed of a stepping motor, and the reels 13L, 13M, and 13R are independently connected. Driven by rotation. Each reel 13L, 13M, 13R and each reel motor 14L, 14M, 14R constitute a reel unit (symbol display means).

図1に戻って、スロットマシン1本体の操作板7には、内部に貯留されているクレジットメダルから1枚ずつのメダル投入を指示するためのベットスイッチ15、クレジットメダルから1ゲーム(遊技)あたりの規定枚数の最大投入枚数(3枚に設定されている)のメダル投入を指示するための最大ベットスイッチ17、各リール13L,13M,13Rを回転させて各図柄の可変表示を開始させるレバー状のスタートスイッチ19、左・中・右リール13L,13M,13Rの回転をそれぞれ停止させて各図柄の可変表示を停止させるべく、各リール13L,13M,13Rそれぞれに対応した左・中・右ストップスイッチ21L,21M,21R、クレジットメダルを払い出すための精算スイッチ23およびメダル投入口25が設けられている。   Returning to FIG. 1, the operation plate 7 of the main body of the slot machine 1 has a bet switch 15 for instructing insertion of medals one by one from the credit medals stored therein, and one game (game) from the credit medals. The maximum bet switch 17 for instructing the insertion of the maximum number of inserted coins (set to 3) of the prescribed number of sheets, and the lever shape for starting the variable display of each symbol by rotating the reels 13L, 13M, 13R. Start switch 19, left, middle and right reels 13L, 13M and 13R are stopped to stop the variable display of each symbol to stop the left, middle and right reels corresponding to each reel 13L, 13M and 13R. Switches 21L, 21M, 21R, a settlement switch 23 for paying out credit medals, and a medal slot 25 are provided. There.

また、正面板9の上方のほぼ中央には、動画などを表示して遊技者に当選や入賞などを告知したり、入賞させるのに必要な各ストップスイッチ21L,21M,21Rの操作態様を報知したりする演出を行ったりするための液晶表示器27が設けられている。また、液晶表示器27のすぐ上方には、各種の入賞図柄が表示された説明パネル29が設けられ、液晶表示器27および説明パネル29の左右には、音楽や音声などによる演出を行うためのスピーカ31L,31Rがそれぞれ設けられている。なお、後述するメダル払出口39の左右にもスピーカ31L,31Rがそれぞれ設けられている。   In addition, a video or the like is displayed in the center above the front plate 9 to notify the player of winning or winning, or to notify the operation mode of each stop switch 21L, 21M, 21R necessary for winning. A liquid crystal display 27 is provided for performing an effect. In addition, an explanation panel 29 on which various winning symbols are displayed is provided immediately above the liquid crystal display 27, and on the left and right sides of the liquid crystal display 27 and the explanation panel 29 are for performing effects by music or voice. Speakers 31L and 31R are provided, respectively. Speakers 31L and 31R are also provided on the left and right of the medal payout opening 39, which will be described later.

さらに、説明パネル29およびスピーカ31L,31Rの上辺には中央ランプ部33Mが配設され、その左右には左・右ランプ部33L,33Rがそれぞれ配設されている。各ランプ部33M,33L,33Rには、それぞれ発光ダイオードなどの光源が配設されている。これらのランプ部33M,33L,33Rは一体的に形成され、遊技者に当選や入賞を告知するなどの演出を行うための上部ランプ部33を構成している。   Further, a central lamp portion 33M is disposed on the upper side of the explanation panel 29 and the speakers 31L and 31R, and left and right lamp portions 33L and 33R are disposed on the left and right sides thereof. Each lamp unit 33M, 33L, 33R is provided with a light source such as a light emitting diode. These lamp portions 33M, 33L, and 33R are integrally formed, and constitute an upper lamp portion 33 for performing effects such as notifying a player of winning and winning.

また、操作板7の下方には、装飾画などが表示された下部パネル35が設けられ、この下部パネル35の左右には、それぞれ複数の光源が例えば2列に並んで配置された下部ランプ部37L,37Rが設けられている。また、下部パネル35の下方には、メダル払出口39や、このメダル払出口39から払い出されるメダルを受けるメダル受け41が設けられている。また、正面板9の左下隅にはクレジットメダルの貯留枚数を表示するクレジット表示器45が配設されている。このクレジット表示器45は、例えば2個の7セグメントLEDで構成され、2桁の貯留枚数(最大で50枚)が表示可能になっている。   In addition, a lower panel 35 on which a decorative image or the like is displayed is provided below the operation panel 7. A lower lamp unit in which a plurality of light sources are arranged in, for example, two rows on the left and right sides of the lower panel 35. 37L and 37R are provided. A medal payout opening 39 and a medal receiver 41 for receiving medals paid out from the medal payout opening 39 are provided below the lower panel 35. In addition, a credit indicator 45 for displaying the number of stored credit medals is disposed at the lower left corner of the front plate 9. The credit display 45 is composed of, for example, two 7-segment LEDs, and can display a 2-digit stored number (up to 50).

また、正面板9の表示窓11の下方には、各ストップスイッチ21L,21M,21Rを操作する順番や、役抽選の結果などを報知(表示)するための報知用表示器60が配設されている。報知用表示器60は、例えば3個の7セグメントLEDで構成され、3桁の数字が表示可能になっている。したがって、例えば、各桁それぞれを、左から順番に、左ストップスイッチ21L,中ストップスイッチ21M,右ストップスイッチ21Rに対応させ、各桁それぞれに、各ストップスイッチ21L,21M,21Rの操作順序に応じて、数字の”1”、”2”、”3”を表示させることにより、左ストップスイッチ21L,中ストップスイッチ21M,右ストップスイッチ21Rを操作する順番を報知することができる。また、例えば、後述する各役抽選結果に識別用の所定の数字を個別に割り当てて説明パネル29等に記載しておき、役抽選の結果に応じて報知用表示器60に所定の数字を表示させることにより、役抽選の結果を報知することができる。   Also, below the display window 11 of the front plate 9, a notification display 60 is provided for notifying (displaying) the order of operating the stop switches 21L, 21M, and 21R, the result of the lottery drawing, and the like. ing. The notification display device 60 is composed of, for example, three 7-segment LEDs, and can display a three-digit number. Therefore, for example, each digit corresponds to the left stop switch 21L, the middle stop switch 21M, and the right stop switch 21R sequentially from the left, and each digit corresponds to the operation order of the stop switches 21L, 21M, and 21R. Thus, by displaying the numbers “1”, “2”, and “3”, the order of operating the left stop switch 21L, the middle stop switch 21M, and the right stop switch 21R can be notified. In addition, for example, a predetermined number for identification is individually assigned to each lottery result to be described later and described in the explanation panel 29 or the like, and the predetermined number is displayed on the notification display 60 according to the result of the role lottery. By doing so, the result of the role lottery can be notified.

ところで、図1には図示省略されているが、各リール13L,13M,13Rを支持する支持枠体が筐体3内の後壁に固定されており、筐体3内の支持枠体の下方には、図3に示すように、メダルをメダル払出口39に排出するためのホッパーユニット43が配設されている。また、メダル投入口25付近の裏面側には、メダル投入口25に投入されたメダルが正規のものか否かを選別して正規のメダルのみをホッパーユニット43に導くメダルセレクタ48が配設されている。また、操作ボックス49が筐体3内の左側壁に固定され、電源のON、OFFを切り換える電源スイッチ50が設けられるとともに、設定変更処理のためのキーシリンダおよび押しボタン式の設定変更ボタン52、変更処理開始スイッチ56が設けられている。なお、設定変更処理は、有利度の異なる複数の役抽選テーブル210(図8参照)のうちのいずれか1つを、役抽選の際に選択するときに使用する設定値(設定1〜設定6)を設定するための処理である。   Although not shown in FIG. 1, a support frame that supports the reels 13 </ b> L, 13 </ b> M, and 13 </ b> R is fixed to the rear wall in the housing 3, and below the support frame in the housing 3. As shown in FIG. 3, a hopper unit 43 for discharging medals to the medal payout opening 39 is provided. In addition, a medal selector 48 is arranged on the back side near the medal slot 25 to select whether or not the medal inserted into the medal slot 25 is a legitimate one and guide only the legitimate medal to the hopper unit 43. ing. In addition, the operation box 49 is fixed to the left side wall in the housing 3, and a power switch 50 for switching the power ON / OFF is provided, and a key cylinder for setting change processing and a push button type setting change button 52 A change processing start switch 56 is provided. The setting change process is a setting value (setting 1 to setting 6) that is used when selecting any one of a plurality of part lottery tables 210 (see FIG. 8) having different degrees of advantage during the part lottery. ) Is set.

続いて、スロットマシン1の電気的な構成について図3を参照して説明する。   Next, the electrical configuration of the slot machine 1 will be described with reference to FIG.

図3に示すように、筐体3内部のメダル投入口25近傍であってメダルセレクタ48内に投入センサ53が設けられ、メダル投入口25に投入されたメダルを1枚ずつ検出する。そして、ホッパーユニット43の出口には払出センサ54が設けられ、メダル払出口39に払い出されるメダルを1枚ずつ検出するようになっている。   As shown in FIG. 3, an insertion sensor 53 is provided in the medal selector 48 in the vicinity of the medal insertion slot 25 inside the housing 3, and detects medals inserted into the medal insertion slot 25 one by one. A payout sensor 54 is provided at the exit of the hopper unit 43 to detect medals paid out to the medal payout opening 39 one by one.

また、図3に示すように、左・中・右リール13L,13M,13Rの回転位置をそれぞれ検出する左・中・右位置センサ55L,55M,55Rが設けられており、これらのセンサ55L,55M,55Rは、例えば左・中・右リール13L,13M,13Rにそれぞれ設けられた突起部を検出するフォトインタラプタからなり、左・中・右リール13L,13M,13Rが回転すると、一周ごとに突起部を検出してその検出信号をメイン制御基板63に出力する。本実施形態では、例えば左・中・右位置センサ55L,55M,55Rが突起部を検出したときに、それぞれコマ番号20番の図柄が表示窓11の中段に位置するように構成されている。   Further, as shown in FIG. 3, left, middle and right position sensors 55L, 55M and 55R for detecting the rotational positions of the left, middle and right reels 13L, 13M and 13R, respectively, are provided. 55M and 55R are, for example, photo interrupters for detecting protrusions provided on the left, middle, and right reels 13L, 13M, and 13R, respectively, and when the left, middle, and right reels 13L, 13M, and 13R are rotated, every round. The protrusion is detected and a detection signal is output to the main control board 63. In the present embodiment, for example, when the left / middle / right position sensors 55L, 55M, and 55R detect protrusions, the symbol of frame number 20 is positioned in the middle of the display window 11, respectively.

図3に示す変更処理開始スイッチ56は、操作ボックス49のキーシリンダの内部に設けられており、設定変更キー(図示省略)をキーシリンダに挿入して回転することによりON、OFFが切り換えられる。   The change process start switch 56 shown in FIG. 3 is provided inside the key cylinder of the operation box 49, and is turned on and off by inserting and rotating a setting change key (not shown) into the key cylinder.

また、図3に示すホッパーモータ57はホッパーユニット43に配設され、その駆動によりメダルをメダル払出口39に向けて払い出すものである。   Further, the hopper motor 57 shown in FIG. 3 is disposed in the hopper unit 43 and pays out medals toward the medal payout opening 39 by driving thereof.

また、図3に示すように、スロットマシン1には、遊技に関する制御を行うメイン制御手段80が実装されたメイン制御基板63と、メイン制御基板63(メイン制御手段80)から送信される情報に基づき遊技の進行に合わせた演出の制御を行うサブCPU71が実装されたサブ制御基板73とが別々に設けられており、メイン制御基板63からサブ制御基板73に対して各種のデータが一方向で送信される。   Also, as shown in FIG. 3, the slot machine 1 includes a main control board 63 on which main control means 80 for controlling the game is mounted, and information transmitted from the main control board 63 (main control means 80). A sub-control board 73 on which a sub-CPU 71 that controls the production according to the progress of the game is separately provided, and various data is transmitted from the main control board 63 to the sub-control board 73 in one direction. Sent.

なお、メイン制御基板63は、外部から針金等を差し込んだりするなどして、不正にアクセスすることができないように、基板ケース内に収容された上、該基板ケースが厳重に封印されている。また、基板ケースには、不正に開放されたことを確実に視認することができるように、周知の様々な対策が講じられている。   The main control board 63 is housed in the board case and is tightly sealed so that it cannot be illegally accessed by inserting a wire or the like from the outside. In addition, various well-known measures are taken in the substrate case so that it can be surely confirmed that the substrate case has been opened illegally.

そして、図3に示すように、メイン制御手段80のRAM65は、スロットマシン1の遊技状態などの遊技に関するデータを一時的に記憶するものであり、ROM67は、図8に示す予め設定されたデータである役抽選テーブル210、停止テーブル211などを含むスロットマシン1用のプログラムを格納する。   As shown in FIG. 3, the RAM 65 of the main control means 80 temporarily stores data relating to the game, such as the gaming state of the slot machine 1, and the ROM 67 stores preset data shown in FIG. A program for the slot machine 1 including a role lottery table 210, a stop table 211, and the like is stored.

さらに、メイン制御手段80のメインCPU61は、タイマ割込などの割込機能を有し、レジスタセット64を利用してROM67に記憶されたプログラムを実行することにより、遊技の進行を制御する遊技制御処理(図12のステップS1、ステップS4)や不正を検出する不正判定処理を実施する(図12のステップS103)。そして、メイン制御手段80は、後述する役抽選手段103(図9参照)による役抽選処理における役抽選結果に関するデータ、遊技者により操作される各ストップスイッチ21L,21M,21R、スタートスイッチ19等の操作器具の操作に関するデータ、各リール13L,13M,13Rが停止したときに表示窓11に表示される図柄についての後述する図柄判定手段108(図9参照)による図柄判定処理の結果に関するデータなどの種々のデータをコマンド形式でサブ制御基板73のサブCPU71に送信する。   Further, the main CPU 61 of the main control means 80 has an interrupt function such as a timer interrupt, and uses a register set 64 to execute a program stored in the ROM 67, thereby controlling the progress of the game. Processing (steps S1 and S4 in FIG. 12) and fraud determination processing for detecting fraud are performed (step S103 in FIG. 12). Then, the main control means 80 includes data relating to the result lottery results in the role lottery processing by the role lottery means 103 (see FIG. 9), which will be described later, the stop switches 21L, 21M, 21R operated by the player, the start switch 19, etc. Data relating to operation of the operation tool, data relating to the result of symbol determination processing by symbol determination means 108 (see FIG. 9), which will be described later, for symbols displayed on the display window 11 when the reels 13L, 13M, 13R are stopped. Various data is transmitted to the sub CPU 71 of the sub control board 73 in a command format.

また、図3に示すように、サブ制御基板73は、各種データを一時的に記憶し、演出用の各種プログラムなどを記憶するメモリ75を備えている。さらに、サブ制御基板73のサブCPU71はタイマ割込などの割込機能を有し、サブCPU71は、メイン制御手段80から送信されるスロットマシン1に関する各種のデータ、例えば役抽選手段103による役抽選処理における役抽選結果、各ストップスイッチ21L,21M,21R、スタートスイッチ19等の操作器具が操作されたかに関するデータなどに基づいてメモリ75に格納されたプログラムを実行することにより、遊技者に対して供すべき遊技に関連する演出の内容を決定する。   Further, as shown in FIG. 3, the sub-control board 73 includes a memory 75 that temporarily stores various data and stores various programs for effects. Further, the sub CPU 71 of the sub control board 73 has an interrupt function such as a timer interrupt, and the sub CPU 71 receives various data related to the slot machine 1 transmitted from the main control means 80, for example, the role lottery by the role lottery means 103. By executing the program stored in the memory 75 on the basis of the result of the role lottery in the processing, the data regarding whether the operation devices such as the stop switches 21L, 21M, 21R and the start switch 19 have been operated, The contents of the production related to the game to be offered are determined.

さらに、サブ制御基板73のサブCPU71は、決定された演出の内容に基づいて、サブ制御基板73が有するI/Oポートを介して、液晶表示器27やスピーカ31L,31Rなどの演出機器の制御を行う。   Further, the sub CPU 71 of the sub control board 73 controls the effect devices such as the liquid crystal display 27 and the speakers 31L and 31R via the I / O port of the sub control board 73 based on the contents of the decided effect. I do.

(メイン制御手段)
次に、メイン制御手段80の構成について図3ないし図8を参照して詳細に説明する。
(Main control means)
Next, the configuration of the main control means 80 will be described in detail with reference to FIGS.

図3に示すように、メイン制御手段80は、メインCPU61と、レジスタセット64と、RAM65と、ROM65とが一体的にワンチップ化されたマイクロプロセッサにより構成されている。   As shown in FIG. 3, the main control means 80 is constituted by a microprocessor in which a main CPU 61, a register set 64, a RAM 65, and a ROM 65 are integrated into one chip.

メインCPU61(CPU)は、図3および図8に示すようにROM67に構成されたプログラム記憶手段67aに格納された第1プログラム200および第2プログラム300を含む複数種類のプログラムを組み合わせて実行することにより各種の処理を実施する。なお、各プログラムは、演算命令、転送命令、ローテイト命令、シフト命令、ジャンプ命令、コール命令、リターン命令など、予め予約されている複数の命令(例えば特許文献1参照)が組み合わされて構成されており、メインCPU61は、プログラムに定義されている順番で複数の命令を順次実行する。   The main CPU 61 (CPU) executes a combination of a plurality of types of programs including the first program 200 and the second program 300 stored in the program storage means 67a configured in the ROM 67 as shown in FIGS. Various processes are performed by Each program is configured by combining a plurality of previously reserved instructions (see, for example, Patent Document 1) such as an operation instruction, a transfer instruction, a rotate instruction, a shift instruction, a jump instruction, a call instruction, and a return instruction. The main CPU 61 sequentially executes a plurality of instructions in the order defined in the program.

図4(a)に示すように、レジスタセット64は、Aレジスタ(アキュムレータレジスタ)、Fレジスタ(フラグレジスタ)、汎用レジスタ(Bレジスタ、Cレジスタ、Dレジスタ、Eレジスタ、Hレジスタ、Lレジスタ)、Qレジスタ、スタックポインタ(SP)を含んでいる。なお、Aレジスタ、汎用レジスタ、Qレジスタは1バイト(8ビット)のサイズに形成され、SPは2バイト(16ビット)のサイズに形成されている。   As shown in FIG. 4A, the register set 64 includes an A register (accumulator register), an F register (flag register), and a general-purpose register (B register, C register, D register, E register, H register, L register). , Q register, and stack pointer (SP). The A register, the general purpose register, and the Q register are formed with a size of 1 byte (8 bits), and the SP is formed with a size of 2 bytes (16 bits).

Aレジスタは、演算命令の被演算対象となるデータ(値)および演算結果を格納する。Fレジスタは、演算命令の演算結果やロード命令などの特定命令の実行結果に応じて状態が自動的に変化する。図4(b)に示すように、Fレジスタは、第6ビット(bit6:第1のビット)に構成されたZフラグと、第5ビット(bit5:第2のビット)に構成されたTZフラグとを備えている。Zフラグは、演算命令(図5(a)参照)の演算結果に応じて状態が変化することがあるが、特定命令(図5(b)参照)では状態が変化することがない。TZフラグは、演算命令(図5(a)参照)の演算結果に応じて状態が変化することがあり、特定命令(図5(b)参照)でも状態が変化することがある。   The A register stores data (value) that is an operation target of an operation instruction and an operation result. The state of the F register automatically changes according to the operation result of the operation instruction and the execution result of a specific instruction such as a load instruction. As shown in FIG. 4B, the F register has a Z flag configured with the sixth bit (bit6: first bit) and a TZ flag configured with the fifth bit (bit5: second bit). And. The state of the Z flag may change in accordance with the operation result of the operation instruction (see FIG. 5A), but the state does not change in the specific instruction (see FIG. 5B). The state of the TZ flag may change according to the calculation result of the calculation instruction (see FIG. 5A), and the state may change even with the specific instruction (see FIG. 5B).

なお、ZフラグおよびTZフラグを変化させることがある命令は、図5(a)に示す演算命令に限定されるものではなく、その他の演算命令、ローテイト命令、シフト命令等を含んでいてもよい。また、TZフラグのみを変化させることがある命令は、図5(b)に示す特定命令に限定されるものではなく、その他のローテイト命令、回転命令、シフト命令等を含んでいてもよい。また、Fレジスタを構成する残りの各ビット(bit0〜bit4、bit7)に、メインCPU61による各種の命令の実行結果に応じて状態が変化する他のフラグが構成されていてもよい。 Note that the instructions that may change the Z flag and the TZ flag are not limited to the arithmetic instructions shown in FIG. 5A, and may include other arithmetic instructions, rotate instructions, shift instructions, and the like. . In addition, the instruction that may change only the TZ flag is not limited to the specific instruction shown in FIG. 5B, and may include other rotate instructions, rotation instructions, shift instructions, and the like. Further, other flags whose states change according to the execution results of various instructions by the main CPU 61 may be configured in the remaining bits (bit0 to bit4 and bit7) configuring the F register.

汎用レジスタは、一般的なプログラムの変数と同様に使用されるものであり、具体的には、データ(値)を一時的に記憶したり、カウンタを構成したり、メモリのアドレスを指定したりするために使用される。また、BレジスタおよびCレジスタ、DレジスタおよびEレジスタ、HレジスタおよびLレジスタは、それぞれ、組み合わされて16ビットレジスタとして使用されることもある。   General-purpose registers are used in the same way as general program variables. Specifically, data (values) are temporarily stored, counters are configured, and memory addresses are specified. Used to do. Further, the B register and C register, the D register and E register, the H register and L register may be combined and used as a 16-bit register.

Qレジスタは、16ビットのメモリアドレスの上位アドレスを指定するために使用されるものであり、本実施形態ではF0Hが初期値として設定されることにより、内蔵RAM領域(RAM65)のアドレスF000H〜F01FHのメモリ空間に割り当てられた第1データ記憶領域65b1およびアドレスF030H〜F0FFHのメモリ空間に割り当てられた第2データ記憶領域65b2にアクセスする際に使用される(図6参照)。具体的には、例えば、第1データ記憶領域65b1のアドレスF000Hにより指定される領域に格納されているデータをAレジスタに転送する場合に、予め予約されている特別ロード命令(LDQ)を用いて、下位アドレス00Hのみを指定してデータの転送動作を行うことができる(LDQ A,(00H))。   The Q register is used for designating an upper address of a 16-bit memory address. In this embodiment, addresses F000H to F01FH in the built-in RAM area (RAM 65) are set by setting F0H as an initial value. Is used when accessing the first data storage area 65b1 allocated to the memory space and the second data storage area 65b2 allocated to the memory space of the addresses F030H to F0FFH (see FIG. 6). Specifically, for example, when data stored in the area specified by the address F000H of the first data storage area 65b1 is transferred to the A register, a special load instruction (LDQ) reserved in advance is used. The data transfer operation can be performed by designating only the lower address 00H (LDQ A, (00H)).

この場合、メインCPU61は、第1データ記憶領域65b1のメモリ空間を指定する16ビットのアドレスのうち上位アドレスをQレジスタに設定されている値(F0H)により特定し、下位アドレスをLDQ命令で指定された値(00H)により特定して、データの転送対象の領域のアドレスがF000Hであると特定する。そして、メインCPU61は、アドレスF000Hにより指定される第1データ記憶領域65b1の領域に格納されているデータを読み出して、Aレジスタに格納する。ロード命令(LD)を用いた場合には、16ビットのアドレスを指定する必要があるため(LD A,(F000H))、アドレス指定用のオペランドに2バイトのデータサイズが必要であったが、Qレジスタを利用した特別ロード命令(LDQ)を用いることにより、アドレス指定用のオペランドのデータサイズを1バイトに縮小することができる。このように、メモリマップにおいて、上位アドレスがQレジスタに初期値として設定されているF0Hであるメモリ空間を、データ記憶手段65b(第1データ記憶領域65b1、第2データ記憶領域65b2)として用いるように構成し、スタック手段65a(第1スタック領域65a1、第2スタック領域65a2)として使用しないことにより、データ記憶手段65bを用いる処理(プログラム)において効率的にQレジスタを用いることができる。   In this case, the main CPU 61 specifies the upper address among the 16-bit addresses specifying the memory space of the first data storage area 65b1 by the value (F0H) set in the Q register, and specifies the lower address with the LDQ instruction. By specifying the value (00H), the address of the data transfer target area is specified to be F000H. Then, the main CPU 61 reads out the data stored in the first data storage area 65b1 designated by the address F000H and stores it in the A register. When a load instruction (LD) is used, it is necessary to specify a 16-bit address (LD A, (F000H)). Therefore, a data size of 2 bytes is required for an operand for address specification. By using a special load instruction (LDQ) using the Q register, the data size of the operand for addressing can be reduced to 1 byte. As described above, in the memory map, the memory space whose upper address is F0H set as an initial value in the Q register is used as the data storage unit 65b (first data storage area 65b1, second data storage area 65b2). The Q register can be used efficiently in the processing (program) using the data storage means 65b by not using the stack means 65a (the first stack area 65a1 and the second stack area 65a2).

SP(スタックポインタ)は、図3および図7に示すようにRAM65に構成されたスタック手段65aが有する第1スタック領域65a1および第2スタック領域65a2にアクセスするためのスタックポインタ参照用アドレスを格納する。具体的には、SPは、第1スタック領域65a1にアクセスする際に第1スタック領域参照用アドレスSP1を格納し、第2スタック領域65a2にアクセスする際に第2スタック領域参照用アドレスSP2を格納する。   As shown in FIGS. 3 and 7, the SP (stack pointer) stores stack pointer reference addresses for accessing the first stack area 65a1 and the second stack area 65a2 of the stack means 65a configured in the RAM 65. . Specifically, the SP stores the first stack area reference address SP1 when accessing the first stack area 65a1, and the SP stores the second stack area reference address SP2 when accessing the second stack area 65a2. To do.

なお、レジスタセット64が、インデックスレジスタ、インタラプトレジスタ、リフレッシュレジスタ、プログラムカウンタなどのレジスタをさらに含んでいてもよい。   The register set 64 may further include registers such as an index register, an interrupt register, a refresh register, and a program counter.

次に、メイン制御手段80のメモリマップについて図6を参照して説明する。   Next, a memory map of the main control means 80 will be described with reference to FIG.

図6に示すように、メイン制御手段80は、アドレス0000H〜2FFFHのメモリ空間に割り当てられた内蔵ROM領域(ROM67)と、アドレスF000H〜F2FFHのメモリ空間に割り当てられた内蔵RAM領域(RAM65)とを備えている。   As shown in FIG. 6, the main control means 80 includes a built-in ROM area (ROM 67) assigned to the memory space at addresses 0000H to 2FFFH and a built-in RAM area (RAM 65) assigned to the memory space at addresses F000H to F2FFH. It has.

図3に示すように、RAM65(内蔵RAM領域)に、スタック手段65aおよびデータ記憶手段65bが構成されている。   As shown in FIG. 3, stack means 65a and data storage means 65b are configured in a RAM 65 (built-in RAM area).

図7に示すように、スタック手段65aは、SPに格納される第1スタック領域参照用アドレスSP1によりアクセス可能な第1スタック領域65a1と、第1スタック領域65a1と異なる領域であって、SPに格納される第2スタック領域参照用アドレスSP2によりアクセス可能な第2スタック領域65a2とを有している。第1スタック領域65a1は、第1プログラム200(遊技の進行を制御するための遊技プログラム201、記憶プログラム202、変更プログラム203:図8参照)に対応し、第2スタック領域と65a2は、第2プログラム300(不正を検出するための不正判定用プログラム301、退避プログラム302、復帰プログラム303)に対応している。なお、図6に示すように、内蔵RAM領域のアドレスF1C0H〜F1FFHのメモリ空間に第1スタック領域65a1が割り当てられ、アドレスF2F0H〜F2FFHのメモリ空間に第2スタック領域65a2が割り当てられている。   As shown in FIG. 7, the stack means 65a is a first stack area 65a1 accessible by the first stack area reference address SP1 stored in the SP, and an area different from the first stack area 65a1, And a second stack area 65a2 accessible by the stored second stack area reference address SP2. The first stack area 65a1 corresponds to the first program 200 (a game program 201 for controlling the progress of the game, a storage program 202, a change program 203: see FIG. 8), and the second stack area 65a2 This corresponds to the program 300 (a fraud determination program 301 for detecting fraud, a save program 302, and a return program 303). As shown in FIG. 6, the first stack area 65a1 is allocated to the memory space of addresses F1C0H to F1FFH in the internal RAM area, and the second stack area 65a2 is allocated to the memory space of addresses F2F0H to F2FFH.

図7に示すように、データ記憶手段65bは、データを更新可能な第1プログラム200に対応した第1データ記憶領域65b1と、第1データ記憶領域65b1と異なる領域であって、データを更新可能な第2プログラム300に対応した第2データ記憶領域65b2とを有している。また、第1データ記憶領域65b1に、スロットマシン1の遊技状態を格納する遊技状態フラグ220および各I/Oポートの入力状態を格納するポートフラグ221が構成され、第2データ記憶領域65b2に、不正判定用プログラム301による不正判定処理(図12のステップS103)の判定結果を格納する不正判定フラグ310が構成されている。なお、図6に示すように、内蔵RAM領域のアドレスF000H〜F01FHのメモリ空間に第1データ記憶領域65b1が割り当てられ、アドレスF030H〜F0FFHのメモリ空間に第2データ記憶領域65a2が割り当てられている。   As shown in FIG. 7, the data storage means 65b is a first data storage area 65b1 corresponding to the first program 200 capable of updating data, and is an area different from the first data storage area 65b1 and can update data. And a second data storage area 65b2 corresponding to the second program 300. In addition, the first data storage area 65b1 includes a game state flag 220 for storing the gaming state of the slot machine 1 and a port flag 221 for storing the input state of each I / O port. The second data storage area 65b2 includes A fraud determination flag 310 for storing the determination result of the fraud determination processing (step S103 in FIG. 12) by the fraud determination program 301 is configured. As shown in FIG. 6, the first data storage area 65b1 is assigned to the memory space of addresses F000H to F01FH in the internal RAM area, and the second data storage area 65a2 is assigned to the memory space of addresses F030H to F0FFH. .

以上のように、第1プログラム200(遊技プログラム201、記憶プログラム202、変更プログラム203)による処理によりデータを更新および参照可能な、第1スタック領域65a1および第1データ記憶領域65b1と、第2プログラム300(不正判定用プログラム301、退避プログラム302、復帰プログラム303)による処理によりデータを更新および参照可能な、第2スタック領域65a2および第2データ記憶領域65b2とが、それぞれ、RAM65の異なる領域に構成されている。なお、第1プログラム200による処理により、第2スタック領域65a2および第2データ記憶領域65b2のデータを更新することはできないがデータを参照可能に構成され、第2プログラム300による処理により、第1スタック領域65a1および第1データ記憶領域65b1のデータを更新することはできないがデータを参照可能に構成されている。   As described above, the first stack area 65a1 and the first data storage area 65b1, and the second program that can update and refer to data by the processing by the first program 200 (game program 201, storage program 202, change program 203). The second stack area 65a2 and the second data storage area 65b2 that can update and refer to data through processing by the program 300 (the fraud determination program 301, the save program 302, and the return program 303) are configured in different areas of the RAM 65, respectively. Has been. The data in the second stack area 65a2 and the second data storage area 65b2 cannot be updated by processing by the first program 200, but the data can be referred to, and the first stack is processed by processing by the second program 300. The data in the area 65a1 and the first data storage area 65b1 cannot be updated, but the data can be referred to.

図3に示すように、ROM67(内蔵ROM領域)に、プログラム記憶手段67aおよびプログラム用データ記憶手段67bが構成されている。   As shown in FIG. 3, the ROM 67 (built-in ROM area) includes program storage means 67a and program data storage means 67b.

図8に示すように、プログラム記憶手段67aは、第1プログラム200を記憶する遊技プログラム制御領域67a1(第1プログラム記憶領域)と、遊技プログラム制御領域67a1と異なる領域であって、第2プログラム300を記憶する不正判定用プログラム制御領域67a2(第2プログラム記憶領域)とを有している。   As shown in FIG. 8, the program storage means 67a is a game program control area 67a1 (first program storage area) for storing the first program 200 and an area different from the game program control area 67a1, and the second program 300 And a fraud determination program control area 67a2 (second program storage area).

第1プログラム200は、遊技プログラム201(第1機能プログラム)、記憶プログラム202、変更プログラム203を含んでいる。そして、メインCPU61は、遊技プログラム201を実行することにより遊技の進行を制御する遊技制御処理(第1処理)を実施し(図12のステップS1、ステップS4)、記憶プログラム202を実行することにより記憶処理を実施し(図12のステップS2)、変更プログラム203を実行することにより変更処理を実施する(図12のステップS3)。   The first program 200 includes a game program 201 (first function program), a storage program 202, and a change program 203. Then, the main CPU 61 executes a game control process (first process) for controlling the progress of the game by executing the game program 201 (steps S1 and S4 in FIG. 12), and executes the storage program 202. The storage process is executed (step S2 in FIG. 12), and the change process is executed by executing the change program 203 (step S3 in FIG. 12).

第2プログラム300は、不正判定プログラム301(第2機能プログラム)、退避プログラム302、復帰プログラム303を含んでいる。そして、メインCPU61は、不正判定プログラム201を実行することにより不正を検出する不正判定処理(第2処理)を実施し(図12のステップS103)、退避プログラム302を実行することにより退避処理を実施し(図12のステップS100、ステップS101、ステップS102)、復帰プログラム303を実行することにより復帰処理を実施する(図12のステップS104、ステップS105)。   The second program 300 includes a fraud determination program 301 (second function program), a save program 302, and a return program 303. Then, the main CPU 61 executes a fraud determination process (second process) for detecting fraud by executing the fraud determination program 201 (step S103 in FIG. 12), and executes the save process by executing the save program 302. (Step S100, Step S101, Step S102 in FIG. 12), and the return process is executed by executing the return program 303 (Step S104, Step S105 in FIG. 12).

なお、遊技制御処理、記憶処理、変更処理、不正判定処理、退避処理、復帰処理については後で詳細に説明する。   The game control process, storage process, change process, fraud determination process, save process, and return process will be described in detail later.

また、図6に示すように、内蔵ROM領域のアドレス0000H〜11FFHのメモリ空間に遊技プログラム制御領域67a1が割り当てられ、アドレス1F00H〜28FFHのメモリ空間に不正判定用プログラム制御領域67a2が割り当てられている。   Further, as shown in FIG. 6, a game program control area 67a1 is allocated to the memory space of addresses 0000H to 11FFH in the built-in ROM area, and a fraud determination program control area 67a2 is allocated to the memory space of addresses 1F00H to 28FFH. .

図8に示すように、プログラム用データ記憶手段67bは、第1プログラム200を実行する際に必要な各種のデータを記憶する遊技プログラムデータ領域67b1と、遊技プログラムデータ領域67b1と異なる領域であって、第2プログラム300を実行する際に必要な各種のデータを記憶する不正判定用プログラムデータ領域67b2とを有している。そして、遊技プログラムデータ領域67b1に、後述する役抽選手段103(図9参照)が役抽選処理において使用する役抽選テーブル210および後述する停止制御手段107(図9参照)が各リール13L,13M,13Rの停止制御処理において使用する停止テーブル211などのデータが格納され、不正判定用プログラムデータ領域67b2に、不正判定処理において不正と判定するための基準テーブル(図示省略)などのデータが格納されている。   As shown in FIG. 8, the program data storage means 67b is a game program data area 67b1 for storing various data necessary for executing the first program 200, and an area different from the game program data area 67b1. And a fraud determination program data area 67b2 for storing various data necessary for executing the second program 300. In the game program data area 67b1, a role lottery table 210 used by a role lottery means 103 (see FIG. 9) to be described later and a stop control means 107 (see FIG. 9) to be described later are used for each reel 13L, 13M, Data such as the stop table 211 used in the 13R stop control process is stored, and data such as a reference table (not shown) for determining fraud in the fraud determination process is stored in the fraud determination program data area 67b2. Yes.

なお、図6に示すように、内蔵ROM領域のアドレス1200H〜1DFFHのメモリ空間に遊技プログラムデータ領域67b1が割り当てられ、アドレス2999H〜2EFFHのメモリ空間に不正判定用プログラムデータ領域67b2が割り当てられている。   As shown in FIG. 6, a game program data area 67b1 is assigned to the memory space of addresses 1200H to 1DFFH in the built-in ROM area, and a fraud determination program data area 67b2 is assigned to the memory space of addresses 2999H to 2EFFH. .

以上のように、第1プログラム200を記憶する遊技プログラム制御領域67a1および第1プログラム200を実行する際に必要なデータを格納する遊技プログラムデータ領域67b1と、第2プログラム300を記憶する不正判定用プログラム制御領域67a2および第2プログラム300を実行する際に必要なデータを格納する不正判定用プログラムデータ領域67b2とが、それぞれ、ROM67の異なる領域に構成されている。   As described above, the game program control area 67a1 for storing the first program 200, the game program data area 67b1 for storing data necessary for executing the first program 200, and the fraud determination for storing the second program 300. The program control area 67a2 and the fraud determination program data area 67b2 for storing data necessary for executing the second program 300 are configured in different areas of the ROM 67, respectively.

なお、内蔵ROM領域のアドレス2F00H〜2FFFHのメモリ空間に、スロットマシン1の電源投入時における初期設定動作を行うためのデータなどを格納するプログラム管理領域が割り当てられている。   A program management area for storing data for performing an initial setting operation at the time of power-on of the slot machine 1 is allocated to the memory space of addresses 2F00H to 2FFFH in the built-in ROM area.

また、図6に示すように、メイン制御手段80は、アドレスFE00H〜FEBFHのメモリ空間に割り当てられ、スロットマシン1の電源投入時における初期設定動作などにおいて使用される内蔵設定領域と、アドレスFED0H〜FEFDHのメモリ空間に割り当てられ、メイン制御手段80の内部デバイスどうしの通信や内部デバイスと外部装置との通信を選択的に行うためのアドレスデコードに使用されるXCSIOデコード領域とを備えている。   Further, as shown in FIG. 6, the main control means 80 is assigned to the memory space of addresses FE00H to FEBHFH, and is used in an initial setting operation when the slot machine 1 is powered on, and addresses FED0H to An XCSIO decode area which is allocated to the FEFDH memory space and used for address decoding for selectively performing communication between internal devices of the main control means 80 and communication between the internal devices and external devices is provided.

(メイン制御手段の機能)
次に、メイン制御手段80が備える機能について図9ないし図11を参照して詳細に説明する。
(Function of main control means)
Next, functions provided in the main control means 80 will be described in detail with reference to FIGS.

なお、以下に説明する各機能は、メインCPU61が、プログラム記憶手段67aに記憶されたプログラムを実行したり、メイン制御手段80およびメイン制御基板63が備える各種のデバイスを制御したりすることにより具現化される。具体的には、遊技制御手段100、設定制御手段101、テーブル選択手段102、役抽選手段103、報知決定手段104、コマンド作成手段105、リール検出手段106、停止制御手段107、図柄判定手段108、払出制御手段109、サブ制御コマンド送信手段110、報知手段111は、それぞれ、メインCPU61が遊技プログラム制御領域67a1に格納された第1プログラム200を実行することにより具現化される。また、不正判定手段112は、メインCPU61が、不正判定用プログラム制御領域67a2に格納された第2プログラム300を実行することにより具現化される。   Each function described below is realized by the main CPU 61 executing a program stored in the program storage unit 67a or controlling various devices included in the main control unit 80 and the main control board 63. It becomes. Specifically, game control means 100, setting control means 101, table selection means 102, role lottery means 103, notification determination means 104, command creation means 105, reel detection means 106, stop control means 107, symbol determination means 108, The payout control means 109, the sub control command transmission means 110, and the notification means 111 are each realized by the main CPU 61 executing the first program 200 stored in the game program control area 67a1. Further, the fraud determination unit 112 is embodied by the main CPU 61 executing the second program 300 stored in the fraud determination program control area 67a2.

(1)遊技制御手段100
図9の遊技制御手段100は、スロットマシン1の遊技に関する制御を行い、通常遊技および通常遊技よりも小役の当選確率が高い遊技である特別遊技(BB遊技、RB遊技)を実行するものであり、通常遊技には、一般遊技と、再遊技役への当選確率が一般遊技よりも高いRT遊技と、遊技者にとって有利な各ストップスイッチ21L,21M,21Rの操作手順を示唆するAT遊技とが含まれている。図9に示すように、遊技制御手段100は、操作態様判定手段100aおよび遊技状態設定手段100bを備えている。
(1) Game control means 100
The game control means 100 of FIG. 9 performs control related to the game of the slot machine 1 and executes a special game (BB game, RB game) that is a game having a higher winning probability of a small role than the normal game and the normal game. There are two types of normal games: general games, RT games that have a higher probability of winning a re-gamer than general games, and AT games that suggest operating procedures for the stop switches 21L, 21M, and 21R that are advantageous to the player. It is included. As shown in FIG. 9, the game control means 100 includes an operation mode determination means 100a and a game state setting means 100b.

(1−1)操作態様判定手段100a
図9の操作態様判定手段100aは、スロットマシン1に対する遊技者の操作の有無や長押し等の態様を判定し、具体的には、各ベットスイッチ15,17、スタートスイッチ19、各ストップスイッチ21L,21M,21Rなどの各種スイッチに対する遊技者による操作の態様や、メダル投入口25への遊技者によるメダルの投入操作の態様など、遊技者によるスロットマシン1に対する種々の操作の態様を判定する。
(1-1) Operation mode determination means 100a
The operation mode determination means 100a in FIG. 9 determines the presence / absence of a player's operation on the slot machine 1 and a mode such as a long press, and specifically, the bet switches 15 and 17, the start switch 19, and the stop switches 21L. , 21M, 21R, etc., various modes of operation of the slot machine 1 by the player, such as modes of operation by the player, and modes of the player's insertion of medals into the medal slot 25.

(1−2)遊技状態設定手段100b
図9の遊技状態設定手段100bは、後述する役抽選手段103による役抽選処理の結果や、表示窓11に表示された各リール13L,13M,13Rの図柄の表示態様の後述する図柄判定手段108による図柄判定処理の結果などに基づいて、遊技者にとって有利度の異なる予め設定された複数種類の遊技状態のうちのいずれか1つにスロットマシン1の遊技状態を設定するものである。
(1-2) Game state setting means 100b
The game state setting means 100b shown in FIG. 9 is a symbol determination means 108, which will be described later, as a result of a role lottery process by a role lottery means 103, which will be described later, and a display mode of symbols on the reels 13L, 13M, 13R displayed on the display window 11. The gaming state of the slot machine 1 is set to any one of a plurality of preset gaming states having different advantages for the player, based on the result of the symbol determination processing by.

具体的には、通常遊技が実行される遊技状態において、所定の特別役(BB、RB:図11参照)に入賞(入賞ライン上に「7−7−7」が揃えばBB入賞、入賞ライン上に「BAR−BAR−BAR」が揃えばRB入賞)すると、遊技状態設定手段100bにより、スロットマシン1の遊技状態が、特別遊技(BB遊技、RB遊技)が実行される遊技状態に設定される。そして、BB遊技において、所定枚数(例えば300枚)を超えるメダルが払い出されたり、RB遊技において、所定回数(例えば8回)の小役入賞があったり、所定回数(例えば12回)の遊技(ゲーム)が実行されたりすることで、特別遊技終了条件が成立すれば、特別遊技を終了して、スロットマシン1の遊技状態が、遊技状態設定手段100bにより通常遊技が実行される遊技状態に設定される。   Specifically, in a game state in which a normal game is executed, a prize is awarded for a predetermined special role (BB, RB: see FIG. 11) (when “7-7-7” is aligned on the prize line, the BB prize, the prize line When “BAR-BAR-BAR” is aligned above, an RB winning) is set, and the gaming state setting means 100b sets the gaming state of the slot machine 1 to a gaming state in which a special game (BB game, RB game) is executed. The Then, in the BB game, medals exceeding a predetermined number (for example, 300) are paid out, in the RB game, there are a predetermined number (for example, 8 times) small role winnings, or for a predetermined number of times (for example, 12 times). If the special game end condition is satisfied by executing (game) or the like, the special game is ended and the gaming state of the slot machine 1 is changed to a gaming state in which a normal game is executed by the gaming state setting means 100b. Is set.

なお、特別遊技(BB遊技、RB遊技)は、通常遊技(一般遊技など)よりも、小役の当選確率が高くなる遊技状態である。   The special game (BB game, RB game) is a game state in which the winning probability of the small role is higher than that of the normal game (general game or the like).

ここで、スロットマシン1における遊技の概略について説明する。   Here, an outline of the game in the slot machine 1 will be described.

スロットマシン1は、3枚のメダル投入によりゲームが実行されるようになっており、投入センサ53、ベットスイッチ15または最大ベットスイッチ17により3枚のメダルのスロットマシン1への投入を検出すると、表示窓11の中央(中段)の水平な入賞ライン(センターライン)が有効となる。そして、規定枚数である3枚のメダルの投入を条件にスタートスイッチ19の操作が検出されると、乱数を使用した抽選処理により、予め設定された役抽選結果のいずれかが後述の役抽選手段103(図9参照)により決定される。また、左・中・右リール13L,13M,13Rの全ての回転を開始させ、表示窓11に表示される各リール13L,13M,13Rの図柄を各リール13L,13M,13Rの回転角度に合わせて判別することを開始する。   The slot machine 1 is configured such that a game is executed when three medals are inserted. When the insertion sensor 53, the bet switch 15 or the maximum bet switch 17 detects insertion of three medals into the slot machine 1, A horizontal winning line (center line) at the center (middle stage) of the display window 11 becomes effective. Then, when the operation of the start switch 19 is detected on condition that three medals, which are the prescribed number, are inserted, any one of the preset winning lottery results will be described later by the lottery processing using random numbers. 103 (see FIG. 9). In addition, all rotations of the left, middle, and right reels 13L, 13M, and 13R are started, and the symbols of the reels 13L, 13M, and 13R displayed on the display window 11 are adjusted to the rotation angles of the reels 13L, 13M, and 13R. Start to determine.

その後、左・中・右リール13L,13M,13Rが加速されて、すべてのストップスイッチ21L,21M,21Rの操作を有効に受け付けられる状態となる。すべてのストップスイッチ21L,21M,21Rの操作が有効状態になった後、例えば左ストップスイッチ21Lが操作されたことを検出すると左リール13Lを停止させ、中ストップスイッチ21Mが操作されたことを検出すると中リール13Mを停止させ、右ストップスイッチ21Rが操作されたことを検出すると右リール13Rを停止させる。このように、各ストップスイッチ21L,21M,21Rの操作により、各ストップスイッチ21L,21M,21Rに対応する左・中・右リール13L,13M,13Rの回転が停止する。   Thereafter, the left / middle / right reels 13L, 13M, and 13R are accelerated, and the operation of all the stop switches 21L, 21M, and 21R can be effectively received. After the operation of all the stop switches 21L, 21M, and 21R becomes valid, for example, when it is detected that the left stop switch 21L is operated, the left reel 13L is stopped and the operation of the middle stop switch 21M is detected. Then, the middle reel 13M is stopped, and when it is detected that the right stop switch 21R is operated, the right reel 13R is stopped. Thus, the operation of the stop switches 21L, 21M, and 21R stops the rotation of the left, middle, and right reels 13L, 13M, and 13R corresponding to the stop switches 21L, 21M, and 21R.

そして、3個すべての左・中・右ストップスイッチ21L,21M,21Rを操作し終えると、3個すべての左・中・右リール13L,13M,13Rの回転が停止する。このとき、役抽選手段103により決定された所定の当選役の図柄が、有効となった表示窓11の中段の入賞ライン上の所定の位置に停止すると入賞となり、入賞態様に応じた枚数のメダルが、クレジットされるか、またはメダル払出口39から払い出されて1回のゲームが終了する。また、メダルの払い出しに代えて、あるいはメダルの払い出しとともに、遊技者に対して所定の利益が付与されることもある。   When all three left / middle / right stop switches 21L, 21M, and 21R have been operated, the rotation of all three left / middle / right reels 13L, 13M, and 13R is stopped. At this time, when the symbol of the predetermined winning combination determined by the combination lottery means 103 stops at a predetermined position on the winning line in the middle stage of the display window 11 that has become valid, a winning is awarded, and the number of medals according to the winning mode Is credited or paid out from the medal payout opening 39, and one game is completed. In addition, instead of paying out medals or along with paying out medals, a predetermined profit may be given to the player.

本実施形態では、図10に示すように、役として、特別役(ボーナス:BB,RB)、小役(中段ベル、一枚役1〜12、中段チェリー、スイカ)、再遊技役(リプレイ1〜26)が予め設定されている。また、図11に示すように、本実施形態では、役抽選結果として、操作態様に応じて異なる役(「中段ベル」、「一枚役1」〜「一枚役12」、「リプレイ1」〜「リプレイ26」)に揃う可能性のある重複当選(当選役グループ:左ベル・中ベル・右ベル)に当選する可能性がある。そして、役抽選手段103の役抽選結果には、特別役当選(ボーナス当選)と、小役当選と、再遊技役当選(リプレイ当選)と、ハズレとがある。   In the present embodiment, as shown in FIG. 10, as a combination, a special combination (bonus: BB, RB), a small combination (middle bell, one-piece combination 1 to 12, middle cherries, watermelon), re-playing combination (Replay 1) To 26) are preset. Also, as shown in FIG. 11, in the present embodiment, as the result of lottery, the different roles (“middle stage bell”, “one-piece combination 1” to “one-piece combination 12”, “replay 1”, depending on the operation mode. -"Replay 26"), there is a possibility of winning a duplicate win (winning role group: left bell, middle bell, right bell). Then, the role lottery results of the role lottery means 103 include special role winning (bonus winning), small role winning, re-game winning (replay winning), and loss.

また、入賞には、特別遊技(ボーナスゲーム)への移行に係る特別役入賞(ボーナス入賞)と、メダルの払い出しに係る小役入賞と、再遊技(リプレイ)の実行に係る再遊技役入賞(リプレイ入賞)とがある。   In addition, the prizes include special prizes (bonus prizes) related to transition to special games (bonus games), small prizes related to medal payouts, and re-game prizes related to execution of replays (replays) ( Replay winning).

そして、例えば、図10の役「BB」「RB」に係る各表示態様で各リール13L,13M,13Rの図柄が入賞ライン上に3個揃うと、特別役入賞となって、ボーナスゲーム(特別遊技)が実行される。   Then, for example, when three symbols of each reel 13L, 13M, 13R are arranged on the winning line in each display mode relating to the roles “BB” and “RB” in FIG. Game) is executed.

なお、本実施形態では、特別役入賞によるメダル払い出しはなく(特別役の規定払出枚数は0)、特別役に係る入賞態様が成立した遊技の後にボーナスゲームへ移行するように構成されているが、特別役に所定枚数(例えば10枚)の規定払出枚数を設定し、メダルを払い出した後にボーナスゲームへ移行するようにしてもよい。   In this embodiment, there is no medal payout due to the special role winning (the specified payout number for the special role is 0), and the game is shifted to the bonus game after the game in which the winning mode related to the special role is established. Alternatively, a predetermined payout number (for example, 10) may be set for the special combination, and the bonus game may be started after paying out medals.

また、例えば、図10の役「中段ベル」「一枚役1」〜「一枚役12」「中段チェリー」「スイカ」に係る各表示態様で各リール13L,13M,13Rの図柄が表示窓11の中段の入賞ライン上に3個揃うと小役入賞となって、「払出枚数」の欄に示す枚数のメダルが払い出される。   Further, for example, the symbols of the reels 13L, 13M, and 13R are displayed in the display windows in the display modes related to the roles “middle bell”, “single ball 1” to “single ball 12”, “middle cherry”, and “watermelon” in FIG. When three pieces are arranged on the middle 11 winning line, it becomes a small role winning, and the number of medals shown in the “paid out number” column is paid out.

また、図10において役「中段チェリー」の入賞に係る表示態様として使用されている「any」は、中リール13Mおよび右リール13Rに設けられているどの図柄が入賞ライン上に配置されてもよいことを意味している。   Further, in FIG. 10, “any” used as the display mode relating to the winning of the middle “cherry” cherry may be arranged on the winning line on any of the symbols provided on the middle reel 13M and the right reel 13R. It means that.

また、図10の役「リプレイ1」〜「リプレイ26」に係る表示態様で各リール13L,13M,13Rの図柄が入賞ライン上に3個揃うと再遊技役入賞となって、新たなメダルを投入することなく、前回の遊技と同じ条件で再度遊技を行うことができる。   In addition, when three symbols on each of the reels 13L, 13M, and 13R are arranged on the winning line in the display modes related to the roles “Replay 1” to “Replay 26” in FIG. The game can be played again under the same conditions as the previous game without throwing it in.

また、本実施形態では、当選役グループ「左ベル」「中ベル」「右ベル」それぞれには、遊技者に有利になるストップスイッチ21L,21M,21Rの操作態様(押し順)が予め設定されており、図11の「備考」欄に示すように、役抽選手段103による役抽選結果(当選役グループ)が同一の場合であっても、遊技者が各ストップスイッチ21L,21M,21Rをどのような順番で操作したかによって入賞態様(表示態様)が異なるように、停止制御手段107(図9参照)が各リール13L,13M,13Rを停止制御するように構成されている。   In the present embodiment, the operating modes (push order) of the stop switches 21L, 21M, and 21R that are advantageous to the player are set in advance for each of the winning combination groups “left bell”, “middle bell”, and “right bell”. As shown in the “Remarks” column of FIG. 11, even if the combination lottery result (winning combination group) by the combination lottery means 103 is the same, the player selects which stop switch 21L, 21M, 21R. The stop control means 107 (see FIG. 9) is configured to stop and control each of the reels 13L, 13M, and 13R so that the winning mode (display mode) varies depending on the order of operation.

すなわち、図11に示す各当選役グループ「左ベル」「中ベル」「右ベル」のいずれかに当選することにより、各ストップスイッチ21L,21M,21Rの操作順序に対応して、当選した役のうち、入賞に係る図柄を優先的に入賞ライン上に揃える役が異なるように、停止制御手段107が構成されている。   That is, by winning one of the winning combination groups “left bell”, “middle bell”, and “right bell” shown in FIG. 11, the winning combination corresponding to the operation sequence of the stop switches 21L, 21M, and 21R. Among them, the stop control means 107 is configured so that the combination for preferentially aligning the symbols related to winning on the winning line is different.

具体的には、図11に示すように、例えば役抽選手段103による役抽選結果が当選役グループ「左ベル」に当選であった場合に、操作態様判定手段100aにより、最初に左ストップスイッチ21Lの操作が行われたと判定されると、最も遊技者に有利である当選役「中段ベル」に対応した表示態様である図柄「Bell」が入賞ライン上に揃った状態で図柄が表示されるように各リール13L,13M,13Rが停止制御手段107により停止制御される。   Specifically, as shown in FIG. 11, for example, when the winning lottery result by the winning lottery means 103 is winning the winning combination group “left bell”, the left stop switch 21L is first displayed by the operation mode determining means 100a. If it is determined that the operation is performed, the symbol “Bell”, which is the display mode corresponding to the winning combination “middle bell” that is most advantageous to the player, is displayed in a state where the symbols are aligned on the winning line. The reels 13L, 13M, and 13R are controlled to be stopped by the stop control means 107.

他方、操作態様判定手段100aにより、最初に左ストップスイッチ21Lの操作が行われなかったと判定されると、当選役「中段ベル」に対応した表示態様である図柄「Bell」が入賞ライン上に揃った状態で図柄が表示されず、「一枚役1」〜「一枚役4」のいずれかに対応した表示態様で図柄が表示される。すなわち、当選した当選役グループ(「左ベル」「中ベル」「右ベル」)に対応して予め設定された操作順序でストップスイッチ21L,21M,21Rが操作されたと操作態様判定手段100aにより判定されない限り、当選役グループに含まれる遊技者に最も有利な当選役に対応した表示態様で図柄が表示されることはない。   On the other hand, when the operation mode determination means 100a determines that the left stop switch 21L has not been operated for the first time, the symbol “Bell” corresponding to the winning combination “middle bell” is aligned on the winning line. In this state, the symbol is not displayed, and the symbol is displayed in a display mode corresponding to any one of “one piece combination 1” to “one piece combination 4”. That is, it is determined by the operation mode determination means 100a that the stop switches 21L, 21M, and 21R are operated in a predetermined operation order corresponding to the winning combination group (“left bell”, “middle bell”, “right bell”). Unless it is done, the symbol is not displayed in the display mode corresponding to the winning combination that is most advantageous to the players included in the winning combination group.

ところで、特別遊技(BB遊技、RB遊技)は、小役の当選確率が通常遊技に比べて高く設定されており、遊技メダルの払い出しを受けやすい遊技であって通常遊技に比べて遊技者に有利な遊技であり、遊技者がより多くのメダルを獲得し得る遊技である。図10の特別役「RB」に入賞することにより特別遊技に移行すると、レギュラーボーナスゲーム(RB遊技)が実行される。   By the way, special games (BB game, RB game) have a higher winning probability of a small role than normal games, and are easy to receive payout of game medals and are more advantageous to players than normal games It is a game that allows players to win more medals. When a special game “RB” in FIG. 10 is won to shift to a special game, a regular bonus game (RB game) is executed.

レギュラーボーナスゲームでは、役抽選手段103による抽選処理の当選確率を規定する役抽選テーブル210(図8参照)が、通常遊技において選択される通常遊技用抽選テーブルから、当選確率が通常遊技の場合よりも高確率に規定された特別遊技用抽選テーブルに切り換わることで、通常遊技中よりも、小役の当選確率が高くなるように設定されている。その結果、特別遊技は、通常遊技に比べて遊技者に有利な遊技となる。そして、レギュラーボーナスゲームに移行した後、予め設定された回数、例えば12回の遊技が行われるか、あるいは、小役に8回入賞すると、レギュラーボーナスゲームを終了して通常遊技へ移行する。   In the regular bonus game, the role lottery table 210 (see FIG. 8) that regulates the winning probability of the lottery process by the role lottery means 103 is based on the normal game lottery table selected in the normal game, compared with the case where the win probability is the normal game. In addition, by switching to the special game lottery table defined with a high probability, the winning probability of the small role is set to be higher than in the normal game. As a result, the special game is a game that is more advantageous to the player than the normal game. Then, after the transition to the regular bonus game, the game is performed a preset number of times, for example, 12 times, or when the small role is won 8 times, the regular bonus game is ended and the game is shifted to the normal game.

また、図10の特別役「BB」に入賞することにより特別遊技に移行すると、ビッグボーナスゲーム(BB遊技)が実行される。ビッグボーナスゲームでは、上記したレギュラーボーナスゲームが連続的に実行される。そして、ビッグボーナスゲームに移行した後、予め設定された枚数(例えば300枚)のメダルが払い出されるとビッグボーナスゲームを終了する。すなわち、ビッグボーナスゲームは、ビッグボーナスゲームにおけるメダル払出枚数が、所定の上限枚数に達したときに、特別遊技(ビッグボーナスゲーム)を終了して通常遊技へ移行するよう設定されている。   Further, when the special game “BB” in FIG. 10 is won to shift to the special game, a big bonus game (BB game) is executed. In the big bonus game, the regular bonus game described above is continuously executed. After the transition to the big bonus game, the big bonus game is ended when a predetermined number of medals (for example, 300) are paid out. In other words, the big bonus game is set to end the special game (big bonus game) and shift to the normal game when the number of medals paid out in the big bonus game reaches a predetermined upper limit number.

なお、役抽選手段103の役抽選結果が特別役当選(BB,RB)となると、特別役当選に基づいた図柄の停止制御が行われるが、このとき、特別役の入賞態様の図柄配列が引き当てられないと、後述するリーチ目を表示すると共に、この特別役当選は、特別役の入賞態様の図柄配列が引き当てられるまで持ち越される。   When the result lottery result of the role lottery means 103 is a special role winning (BB, RB), the symbol stop control based on the special role winning is performed. At this time, the symbol arrangement of the special role winning mode is allocated. If not, the reach to be described later is displayed, and this special role winning is carried over until the symbol arrangement of the special mode winning mode is allocated.

一方、小役当選は、役抽選結果が小役当選となった遊技で小役の入賞態様の図柄配列を引き当てられないと、次回の遊技には持ち越されない。また、リプレイ当選の場合には、どのようなタイミングで各ストップスイッチ21L,21M,21Rが操作されても、「リプレイ1」〜「リプレイ26」のいずれかに係る図柄(「R1」「R2」「7」「スイカ」「チェリー」「Bell」)が必ず入賞ライン上に揃うように左・中・右リール13L,13M,13Rに図柄が配置されているため、必ず再遊技役に入賞する。   On the other hand, the small role winning is not carried over to the next game unless the symbol arrangement of the winning combination of the small role is assigned in the game in which the winning combination lottery result is the small role winning. Further, in the case of replay winning, regardless of the timing at which each of the stop switches 21L, 21M, 21R is operated, the symbol (“R1” “R2”) related to any one of “Replay 1” to “Replay 26”. Since the symbols are arranged on the left, middle and right reels 13L, 13M, and 13R so that "7", "Watermelon", "Cherry", and "Bell") are always aligned on the winning line, the player will always win the re-playing role.

また、当選役グループ「左ベル」「中ベル」「右ベル」のいずれかに当選の場合には、リプレイに係る図柄と同様に、どのようなタイミングでストップスイッチ21L,21M,21Rが操作されても、当選役グループ「左ベル」「中ベル」「右ベル」に係る図柄(「Bell」「R1」「R2」)が必ず入賞ライン上に揃うように左・中・右リール13L,13M,13Rに図柄が配置されているため、必ず「中段ベル」「一枚役1」〜「一枚役12」のいずれかに入賞する。すなわち、当選役グループ「左ベル」「中ベル」「右ベル」のいずれかに当選した場合に、各ストップスイッチ21L,21M,21Rが操作されれば、各ストップスイッチ21L,21M,21Rがどのようなタイミングで操作されても、各操作態様に対応付けされた入賞に係る図柄(図10参照)が入賞ライン上に揃うように各リール13L,13M,13Rが停止制御手段107により停止制御される。   In addition, when any of the winning group “left bell”, “middle bell”, and “right bell” is won, the stop switches 21L, 21M, and 21R are operated at any timing as in the case of the replay symbol. However, the left, middle and right reels 13L and 13M so that the symbols (“Bell”, “R1” and “R2”) related to the winning group “left bell”, “middle bell” and “right bell” are always aligned on the winning line. , 13R, the winner is always awarded one of the "middle bell", "single piece combination 1" to "single piece combination 12". That is, if one of the winning combination groups “left bell”, “middle bell”, and “right bell” is won, and each stop switch 21L, 21M, 21R is operated, which stop switch 21L, 21M, 21R is selected Even if operated at such timing, the reels 13L, 13M, and 13R are controlled to be stopped by the stop control means 107 so that the symbols (see FIG. 10) related to the winnings associated with each operation mode are aligned on the winning line. The

また、一般遊技においてAT移行条件が成立すれば、AT遊技(AT(アシストタイム)期間)に移行するように構成されている。AT遊技(AT)では、「左ベル」「中ベル」「右ベル」「リプレイ」のいずれかに当選したときに、当選役グループ(特定集合当選)の種類に応じた遊技者に有利な操作態様(いずれのストップスイッチを最初に操作するべきか)が遊技者に対して報知される。具体的には、「左ベル」「中ベル」「右ベル」のいずれかに当選した場合には、最も多くメダルが払い出されるように、図11に示すようにメダルの払出枚数が10枚の「中段ベル」に入賞するようにストップスイッチの操作態様を報知する。そして、AT期間に移行した後、予め設定された消化遊技数、例えば50回のAT遊技が行われてAT終了条件が成立すると、AT期間が終了する。   In addition, when an AT transition condition is satisfied in a general game, the game is shifted to an AT game (AT (assist time) period). In AT game (AT), when winning “Left Bell”, “Middle Bell”, “Right Bell”, or “Replay”, an operation that is advantageous to the player according to the type of winning group (special set winning) The mode (which stop switch should be operated first) is notified to the player. Specifically, when one of “left bell”, “middle bell”, and “right bell” is won, the number of medals to be paid out is 10 as shown in FIG. The operation mode of the stop switch is notified so that the “middle bell” wins. Then, after shifting to the AT period, the AT period ends when a predetermined number of digest games, for example, 50 AT games are performed and the AT end condition is satisfied.

(2)設定制御手段101
図9の設定制御手段101は、設定値(設定1〜設定6)を設定するものである。この設定値は、後述するテーブル選択手段102により選択される役抽選テーブル210を選択するためのものであり、ROM67の遊技プログラムデータ領域67b1に格納された複数の役抽選テーブル210のそれぞれに各設定値のいずれかが対応付けられている。そして、設定制御手段101は、電源投入時に変更処理開始スイッチ56(図3)のON、OFF状態を判定し、変更処理開始スイッチ56がONの状態で電源が投入されると、所定の設定変更処理を開始する。
(2) Setting control means 101
The setting control means 101 in FIG. 9 sets setting values (setting 1 to setting 6). This set value is used to select a combination lottery table 210 selected by the table selection means 102 described later. Each setting value is set in each of the plurality of combination lottery tables 210 stored in the game program data area 67b1 of the ROM 67. One of the values is associated. Then, the setting control means 101 determines the ON / OFF state of the change process start switch 56 (FIG. 3) when the power is turned on. When the power is turned on with the change process start switch 56 being ON, a predetermined setting change is made. Start processing.

ここで、通常遊技の抽選における当選確率は複数種類の設定値(ここでは6種類)により区別される複数段階に設定されており、複数段階の設定値のそれぞれに、図8に示す役抽選テーブル210(通常遊技用抽選テーブル)が対応付けられている。そして、上記設定変更処理が開始されると、スロットマシン1を設置するパチンコホールの管理者が、この設定値を変更することが可能になる。   Here, the winning probabilities in the normal game lottery are set in a plurality of stages that are distinguished by a plurality of types of setting values (here, six types), and each of the plurality of stage setting values has a combination lottery table shown in FIG. 210 (normal game lottery table) is associated. When the setting change process is started, the manager of the pachinko hall where the slot machine 1 is installed can change the setting value.

この設定値変更の手順は例えば以下のようにして行われる。すなわち、管理者は、前面扉5を開放して、電源スイッチ50がOFFの状態で設定変更キー(図示省略)を操作ボックス49のキーシリンダに挿入して回転し、変更処理開始スイッチ56をONにする。この状態で、電源スイッチ50をONにすることで、設定変更処理が開始される。   The procedure for changing the setting value is performed as follows, for example. That is, the administrator opens the front door 5, inserts a setting change key (not shown) into the key cylinder of the operation box 49 and rotates with the power switch 50 turned off, and turns on the change processing start switch 56. To. In this state, the setting change process is started by turning on the power switch 50.

そして、管理者による設定変更ボタン52の操作ごとに当選確率の設定値が設定1〜設定6にサイクリックに切り換えられる。この設定値は、例えば7セグメント式の設定値表示用LEDにより1〜6を表示することで報知される。設定変更ボタン52の操作により当選確率の設定値が所望の値になった(設定値表示用LEDの表示値が所望の値になった)ときに、スタートスイッチ19を操作すると設定値が確定する。そして、キーシリンダに挿入されている設定変更キーを回転して変更処理開始スイッチ56をOFFにすると設定変更処理が終了する。その後、メダル投入口25からメダルが投入されるとゲームが開始される。   Then, the winning probability setting value is cyclically switched from setting 1 to setting 6 for each operation of the setting change button 52 by the administrator. This set value is notified by displaying 1 to 6 by a 7 segment type set value display LED, for example. When the set value of the winning probability becomes a desired value by operating the setting change button 52 (the display value of the setting value display LED becomes a desired value), the set value is determined by operating the start switch 19. . Then, when the setting change key inserted in the key cylinder is rotated and the change process start switch 56 is turned OFF, the setting change process ends. Thereafter, when a medal is inserted from the medal slot 25, the game is started.

(3)テーブル選択手段102
図9のテーブル選択手段102は、メイン制御基板63における遊技制御手段100により制御される遊技の種類(通常遊技、RT遊技、特別遊技など)、設定制御手段101により設定される設定値(設定1から設定6)に基づき、図8に示す複数の役抽選テーブル210から1つの抽選テーブルを選択するものである。すなわち、例えば通常遊技では、テーブル選択手段102は、抽選テーブルとして、入賞確率の設定値(設定1〜設定6)に応じて役抽選テーブル210(通常遊技用抽選テーブル)を選択する。
(3) Table selection means 102
The table selection unit 102 in FIG. 9 is a type of game (normal game, RT game, special game, etc.) controlled by the game control unit 100 on the main control board 63, and a set value (setting 1) set by the setting control unit 101. Based on the setting 6), one lottery table is selected from the plurality of part lottery tables 210 shown in FIG. That is, for example, in a normal game, the table selection unit 102 selects a combination lottery table 210 (normal game lottery table) as a lottery table according to a set value (setting 1 to setting 6) of a winning probability.

(4)役抽選手段103
図9の役抽選手段103は、スタートスイッチ19が操作されたタイミングで、図11に示すように、複数の役抽選結果(特別役当選、小役当選、再遊技役当選、ハズレ)のうちのいずれか1つを現在の遊技における役抽選結果として、乱数と抽選テーブルとを使用した抽選処理により選択して決定するものであり、乱数発生手段、乱数抽出手段、抽選テーブル、および抽選判定手段を備えている。ここで、乱数発生手段は、抽選用の乱数を、所定の範囲内(例えば、10進数で0〜16383)で発生させるものであり、発振回路と、この発振回路が発生させたクロック信号をカウントするカウンタ回路とによって構成されている。また、乱数抽出手段は、乱数発生手段が発生させた乱数を、スタートスイッチ19が操作されたタイミングで抽出する。なお、乱数発生手段は、カウンタ回路などによって構成されるため、乱数発生手段が発生させる数値は、厳密には乱数ではない。ただし、スタートスイッチ19が操作されるタイミングは、ランダムであると考えられるため、乱数抽出手段が抽出する数値は、実質的には乱数として取り扱うことができる。なお、乱数発生器により乱数を生成してもよい。
(4) Role lottery means 103
The combination lottery means 103 in FIG. 9 is a timing at which the start switch 19 is operated, as shown in FIG. 11, out of a plurality of combination lottery results (special combination winning, small combination winning, re-game winning combination, loss) Any one is selected and determined by a lottery process using a random number and a lottery table as a role lottery result in the current game. I have. Here, the random number generating means generates a random number for lottery within a predetermined range (for example, 0 to 16383 in decimal number), and counts the oscillation circuit and the clock signal generated by the oscillation circuit. Counter circuit. Further, the random number extraction means extracts the random number generated by the random number generation means at the timing when the start switch 19 is operated. Since the random number generating means is constituted by a counter circuit or the like, the numerical value generated by the random number generating means is not strictly a random number. However, since the timing at which the start switch 19 is operated is considered to be random, the numerical value extracted by the random number extraction means can be practically handled as a random number. A random number may be generated by a random number generator.

さらに、図10の役抽選テーブル210は、乱数発生手段が発生させる範囲内の各乱数について、予め設定されている役抽選結果のいずれかに該当するか否かが予め定められたものであり、乱数抽出手段により抽出された乱数と、抽選テーブルとを照合して、抽出された乱数が、複数の抽選結果のいずれに該当するかを判定する。   Furthermore, the role lottery table 210 in FIG. 10 is predetermined for each random number within the range generated by the random number generating means, and whether or not it corresponds to one of the preset role lottery results, The random number extracted by the random number extraction means is compared with the lottery table to determine which of the plurality of lottery results the extracted random number corresponds to.

(5)報知決定手段104
図9の報知決定手段104は、遊技者に有利なストップスイッチ21L,21M,21Rの操作態様を報知するかどうかの決定を行う。例えば、役抽選結果が「右ベル」となった場合であっても、その旨を知ることができなければ、遊技者は右ストップスイッチ21Rを最初に操作するとは限らず、「中段ベル」を必ずしも揃えることができない。一方、AT遊技において、役抽選結果が「右ベル」となったときにその旨を報知し、右ストップスイッチ21Rを最初に操作するよう促すことで、遊技者が払い出しを受ける機会を増やすことが可能となる。
(5) Notification determining means 104
The notification determination means 104 of FIG. 9 determines whether to notify the operation mode of the stop switches 21L, 21M, and 21R advantageous to the player. For example, even if the role lottery result is “right bell”, if the player cannot know that fact, the player does not always operate the right stop switch 21R first, and the “middle bell” is displayed. It is not always possible to align. On the other hand, in an AT game, when the result lottery result becomes “right bell”, the fact is notified, and the player is prompted to operate the right stop switch 21R first, thereby increasing the chance that the player receives a payout. It becomes possible.

ここでは、AT移行条件が成立した場合に、報知決定手段104により報知を行うと決定されて、遊技状態フラグ220(図7参照)に格納されるAT期間中フラグの状態がONに設定され、遊技状態が遊技状態設定手段100bによりAT遊技が実行される遊技状態に設定される。また、遊技状態フラグ220に格納されるAT期間中フラグの状態は、予め設定された消化遊技数(例えば50回)のAT遊技が実行されるとOFFに設定されて、遊技状態が遊技状態設定手段100bにより一般遊技が単独で実行される遊技状態に設定される。なお、例えば遊技状態フラグ220を形成する1バイトのメモリ領域の各ビットのうちのいずれかをAT期間中フラグに割り当てて、当該ビットのON、OFFを設定することにより、AT期間中フラグ状態を遊技状態フラグ220に格納することができる。   Here, when the AT transition condition is satisfied, it is determined that the notification is determined by the notification determination means 104, the state of the AT period flag stored in the gaming state flag 220 (see FIG. 7) is set to ON, The gaming state is set to a gaming state in which the AT game is executed by the gaming state setting means 100b. Further, the state of the AT period flag stored in the gaming state flag 220 is set to OFF when a predetermined number of digest games (for example, 50 times) are executed, and the gaming state is set to the gaming state. The game state in which the general game is executed independently is set by the means 100b. For example, by assigning any one bit of the 1-byte memory area forming the gaming state flag 220 to the flag during the AT period and setting the bit to ON or OFF, the flag state during the AT period is set. The game state flag 220 can be stored.

具体的には、図11に示すように、「中段チェリー」に当選した次の遊技、または、「スイカ」当選時に1/2の当選確率で実行される移行抽選に当選した後、前兆期間として設定された所定数の遊技を消化した後に、AT移行条件が成立するように構成されている。なお、「スイカ」当選時の移行抽選に当選したときに、例えば4ゲーム〜32ゲームの遊技数が抽選により前兆期間として設定される。   Specifically, as shown in FIG. 11, after winning the next game won for “middle cherries” or the transition lottery executed with a winning probability of 1/2 at the time of “watermelon” winning, After the predetermined number of games that have been set are consumed, the AT transition condition is established. In addition, when winning the transition lottery at the time of “watermelon” winning, for example, the number of games of 4 games to 32 games is set as a precursor period by lottery.

AT遊技では、上記したように、当選役グループ「左ベル」「中ベル」「右ベル」のいずれかに当選したときに、各当選役グループに予め設定されている遊技者に有利な操作態様(操作順序)が遊技者に対して報知される。そして、AT期間に移行した後、予め設定された消化遊技数のAT遊技が行われるとAT期間が終了する。   In the AT game, as described above, when one of the winning group “left bell”, “middle bell”, and “right bell” is won, an operation mode advantageous to a player preset in each winning group (Operation order) is notified to the player. Then, after the transition to the AT period, the AT period ends when an AT game of a preset number of digested games is performed.

また、図11に示すように、AT遊技において、当選役グループ「スイカ」に当選すると、AT終了条件である消化遊技数に上乗せを行うか否かを決定する上乗せ抽選が1/2の当選確率で実行され、当選した場合に上乗せ条件が成立し、消化遊技数に所定の上乗せ数(例えば10ゲーム)が上乗せされる。   Further, as shown in FIG. 11, in the AT game, when the winning combination group “watermelon” is won, the winning lottery for determining whether or not to add to the number of digested games as the AT end condition is 1/2 the winning probability In the case of winning, an additional condition is established, and a predetermined additional number (for example, 10 games) is added to the number of digested games.

(6)コマンド作成手段105
図9のコマンド作成手段105は、役抽選手段103による役抽選処理における役抽選結果に関するデータ、各ストップスイッチ21L,21M,21R、スタートスイッチ19等の遊技者により操作される操作器具の操作に関するデータ、後述する図柄判定手段108による判定結果に関するデータなどの種々のデータをサブ制御基板73(サブCPU71)に送信するためのコマンドを生成する。このコマンド作成手段105により生成されたコマンドは、後述するサブ制御コマンド送信手段110によりサブ制御基板73に送信される。
(6) Command creation means 105
The command creation means 105 of FIG. 9 is data relating to the result lottery result in the role lottery process by the role lottery means 103, and data relating to the operation of the operation tool operated by the player such as the stop switches 21L, 21M, 21R, and the start switch 19. A command for transmitting various data such as data relating to a determination result by the symbol determination means 108 described later to the sub control board 73 (sub CPU 71) is generated. The command generated by the command creating unit 105 is transmitted to the sub control board 73 by the sub control command transmitting unit 110 described later.

また、コマンド作成手段105は、報知決定手段104の決定結果に従ってコマンドを作成する。すなわち、報知決定手段104は、コマンド作成手段105で作成するコマンドを、特定集合当選の種類を識別できるコマンド(有利な操作態様のわかるコマンド)とするか、特定集合当選の種類を識別できないコマンド(有利な操作態様がわからないコマンド)とするかの決定を行う機能も有する。   The command creation unit 105 creates a command according to the determination result of the notification determination unit 104. That is, the notification determining unit 104 uses the command created by the command creating unit 105 as a command that can identify the type of specific set winning (a command that can be used to identify an advantageous operation mode), or a command that cannot identify the type of specific set winning ( It also has a function of determining whether the command is an advantageous operation mode.

具体的には、図11に示すように、コマンド作成手段105は、役抽選手段103による抽選が実行されたときに、抽選の結果を識別できるコマンドとして、「0」〜「8」を含むコマンドを作成する。後述するように、サブ制御基板73では、送られてきたコマンドに基づき、実行する演出を選択する。換言すれば、サブ制御基板73において実行される演出内容を指示するコマンドがコマンド作成手段105により作成される。   Specifically, as shown in FIG. 11, the command creation unit 105 includes commands “0” to “8” as commands that can identify the lottery result when the lottery unit 103 executes the lottery. Create As will be described later, the sub control board 73 selects an effect to be executed based on the sent command. In other words, the command creation means 105 creates a command that indicates the contents of the effect executed on the sub control board 73.

そして、コマンド作成手段105は、報知決定手段104により、遊技者に有利な操作態様を報知しないと決定されたとき、つまりAT期間中フラグがOFFに設定されているときには、「ベルグループ」のいずれかに当選したことは識別できるが、当選した当選役グループ(「左ベル」「中ベル」「右ベル」)の種類を示すデータが含まれず該当選役グループを識別できないコマンドを作成する。また、報知決定手段104により、遊技者に有利な操作態様を報知すると決定されたとき、つまりAT期間中フラグがONに設定されているときには、当選した当選役グループ(「左ベル」「中ベル」「右ベル」)の種類を示すデータが含まれて該当選役グループを識別可能なコマンドを作成する。   When the notification determination unit 104 determines that the operation mode advantageous to the player is not notified, that is, when the flag during the AT period is set to OFF, the command creation unit 105 A command is created that does not include data indicating the type of the winning combination group (“left bell”, “middle bell”, “right bell”) that can be identified as having won the crab but cannot identify the corresponding winning group. Further, when it is determined by the notification determining means 104 that an operation mode advantageous to the player is notified, that is, when the AT period flag is set to ON, the winning combination group (“left bell” “middle bell” is selected. “Right bell”) is included, and a command that can identify the corresponding winning group is created.

例えば、図11に示すように、コマンド作成手段105は、AT期間中フラグがOFFであるときには、当選役グループ「左ベル」「中ベル」「右ベル」のいずれに当選した場合であっても、「ベルグループ」のうちのいずれの当選役グループかを識別できないように同じ「1番」というコマンドを作成する。一方、コマンド作成手段105は、AT期間中フラグがONであるときに「左ベル」に当選した場合は「2番」のコマンドを、「中ベル」に当選した場合は「3番」のコマンドを、「右ベル」に当選した場合は「4番」のコマンドを作成する。   For example, as shown in FIG. 11, when the flag during the AT period is OFF, the command creating means 105 may win any of the winning group “left bell”, “middle bell”, or “right bell”. , The same command “No. 1” is created so that the winning combination group of “Bell group” cannot be identified. On the other hand, the command creating means 105 selects the “second bell” command when the “left bell” is won when the AT period flag is ON, and the “third” command when the “middle bell” is won. If “Right Bell” is won, “No. 4” command is created.

なお、コマンド作成手段105は、それ以外の役抽選結果については、AT期間中フラグがONであってもOFFであっても、同じコマンドを作成する。すなわち、「中段チェリー」に当選した場合は「5番」のコマンドを、「スイカ」に当選した場合は「6番」のコマンドを、「BB」に当選した場合は「7番」のコマンドを、「RB」に当選した場合は「8番」のコマンドを作成する。なお、ハズレの場合は「0番」のコマンドを作成する。   The command creation means 105 creates the same command for the other lottery results, regardless of whether the AT period flag is ON or OFF. That is, if the “middle cherry” is won, the command “No. 5” is given, the command “No. 6” is won if the “watermelon” is won, and the command “7” if the “BB” is won. If “RB” is won, a command “8” is created. In case of a loss, a command “No. 0” is created.

(7)リール検出手段106
図9のリール検出手段106は、左・中・右位置センサ55L,55M,55Rの検出信号と、左・中・右リール13L,13M,13Rを駆動する各リールモータ14L,14M,14Rへの供給パルス数とに基づき、左・中・右リール13L,13M,13Rの回転位置をそれぞれ検出する。このリール検出手段106は、左・中・右リール13L,13M,13Rの回転中および回転停止時に、所定の基準位置(この実施形態では例えば、表示窓11の中段)に位置する図柄に対応するコマ番号をそれぞれ検出する。
(7) Reel detecting means 106
The reel detection means 106 in FIG. 9 sends detection signals from the left / middle / right position sensors 55L, 55M, and 55R to the reel motors 14L, 14M, and 14R that drive the left / middle / right reels 13L, 13M, and 13R. Based on the number of supplied pulses, the rotational positions of the left, middle, and right reels 13L, 13M, and 13R are detected. This reel detection means 106 corresponds to a symbol located at a predetermined reference position (for example, the middle stage of the display window 11 in this embodiment) while the left, middle, and right reels 13L, 13M, 13R are rotating and stopped. Each frame number is detected.

(8)停止制御手段107
図9の停止制御手段107は、各ストップスイッチ21L,21M,21Rの操作に基づき、停止テーブル211を用いて各リール13L,13M,13Rの停止制御を行い、各リール13L,13M,13Rにより可変表示される各図柄を役抽選手段103の役抽選結果に対応した表示態様で停止させる。この停止制御手段107は、遊技毎に、役抽選手段103により決定された役抽選結果と、各ストップスイッチ21L,21M,21Rの操作態様に基づき各リール13L,13M,13Rの停止制御を行う。
(8) Stop control means 107
The stop control means 107 in FIG. 9 performs stop control of each reel 13L, 13M, 13R using the stop table 211 based on the operation of each stop switch 21L, 21M, 21R, and is variable by each reel 13L, 13M, 13R. Each displayed symbol is stopped in a display mode corresponding to the winning lottery result of the winning lottery means 103. This stop control means 107 performs stop control of each reel 13L, 13M, 13R for each game based on the winning lottery result determined by the winning lottery means 103 and the operation mode of each stop switch 21L, 21M, 21R.

なお、図11の「備考」欄に記載されているように、当選役グループ「左ベル」「中ベル」「右ベル」のいずれかに当選した場合には、最初に操作するストップスイッチに応じて、揃う役が異なるように設定されている。また、当選役グループ「左ベル」「中ベル」「右ベル」の種類に応じて、有利となる操作態様が異なるように構成されている。   As shown in the “Remarks” column of FIG. 11, when one of the winning group “left bell”, “middle bell”, or “right bell” is won, the first stop switch to be operated is selected. The different combinations are set differently. Further, the operation mode that is advantageous differs depending on the types of the winning combination groups “left bell”, “middle bell”, and “right bell”.

各リール13L,13M,13Rの停止位置を決定するための停止テーブル211(図8参照)は、役抽選手段103の役抽選結果それぞれに対応して複数のテーブルが設定されている。そして、この停止テーブル211は、ストップスイッチ21L,21M,21Rが操作されたときのリール13L,13M,13Rの回転位置に応じて、各リール13L,13M,13Rの滑りコマ数をあらかじめ定めたものであり、各リール13L,13M,13Rそれぞれについて、対応するストップスイッチ21L,21M,21Rの停止操作順序に対応して滑りコマ数が異なるように形成されている。   As the stop table 211 (see FIG. 8) for determining the stop position of each reel 13L, 13M, 13R, a plurality of tables are set corresponding to each of the winning lottery results of the winning lottery means 103. The stop table 211 has a predetermined number of sliding frames for each reel 13L, 13M, 13R according to the rotational position of the reels 13L, 13M, 13R when the stop switches 21L, 21M, 21R are operated. The reels 13L, 13M, and 13R are formed so that the number of sliding frames is different corresponding to the stop operation order of the corresponding stop switches 21L, 21M, and 21R.

また、停止制御手段107は、役抽選手段103の役抽選結果がいずれかの役への当選であれば、この役抽選結果に基づいて選択された停止テーブル211と、各ストップスイッチ21L,21M,21Rが操作されたときの各リール13L,13M,13Rの回転位置とから、当選役に入賞するように各リール13L,13M,13Rの滑りコマ数を決定して、各リール13L,13M,13Rの停止制御を行う。他方、役抽選手段103による役抽選結果がハズレであれば、停止制御手段107は、ハズレの役抽選結果に基づいて選択された停止テーブル211と、各ストップスイッチ21L,21M,21Rが操作されたときの各リール13L,13M,13Rの回転位置とから、複数の役のいずれにも入賞しないように各リール13L,13M,13Rの滑りコマ数を決定して、各リール13L,13M,13Rの停止制御を行う。   Further, if the winning lottery result of the winning lottery means 103 is a win for any of the winning combinations, the stop control means 107 and the stop table 211 selected based on the winning lottery result and the stop switches 21L, 21M, From the rotational position of each reel 13L, 13M, 13R when 21R is operated, the number of sliding frames of each reel 13L, 13M, 13R is determined so as to win the winning combination, and each reel 13L, 13M, 13R is determined. Perform stop control. On the other hand, if the winning lottery result by the winning lottery means 103 is lost, the stop control means 107 has operated the stop table 211 selected based on the lost winning lottery result and the stop switches 21L, 21M, and 21R. From the rotational position of each reel 13L, 13M, 13R, the number of sliding symbols of each reel 13L, 13M, 13R is determined so as not to win any of a plurality of roles, and each reel 13L, 13M, 13R Perform stop control.

ところで、滑りコマ数には上限が設けられており、各リール13L,13M,13Rがそれぞれ所定の回転位置にあるタイミングで各ストップスイッチ21L,21M,21Rが操作されなければ、停止制御手段107は、仮に役抽選手段103による役抽選結果がいずれかの役への当選であっても、表示窓11に表示される図柄が当選した役に対応した入賞態様で停止表示されるようにリール13L,13M,13Rを停止制御することができない。すなわち、停止制御手段107は、役抽選手段103の役抽選結果に基づいて、各リール13L,13M,13Rがそれぞれ所定の回転位置にあるタイミングでストップスイッチ21L,21M,21Rが操作されることを条件に、表示窓11に表示される図柄が当選した役に対応した入賞態様で停止表示されるように、リール13L,13M,13Rを停止制御する。   By the way, there is an upper limit on the number of sliding frames, and if the stop switches 21L, 21M, and 21R are not operated at the timing when the reels 13L, 13M, and 13R are respectively at predetermined rotational positions, the stop control means 107 is Even if the winning lottery result by the winning lottery means 103 is a win for any of the winning combinations, the reels 13L, 13B, and 13D are displayed so that the symbols displayed on the display window 11 are stopped and displayed in a winning manner corresponding to the winning winning combination. 13M and 13R cannot be controlled to stop. In other words, the stop control unit 107 determines that the stop switches 21L, 21M, and 21R are operated at the timing when the reels 13L, 13M, and 13R are at predetermined rotation positions based on the combination lottery result of the combination lottery unit 103. The reels 13L, 13M, and 13R are controlled to stop so that the symbols displayed on the display window 11 are stopped and displayed in a winning manner corresponding to the winning combination.

また、停止制御手段107は、役抽選手段103の役抽選結果が特別役当選(BB,RB)となったとき、各ストップスイッチ21L,21M,21Rが適切なタイミングで操作されないため、特別役の入賞態様の図柄配列を引き当てられないときには、特殊な表示態様(以下「リーチ目」と称する)で図柄が表示窓11に表示されるように各リール13L,13M,13Rを停止制御する。   In addition, the stop control means 107, when the result lottery result of the role lottery means 103 is a special role winning (BB, RB), each stop switch 21L, 21M, 21R is not operated at an appropriate timing. When the symbol arrangement of the winning mode cannot be assigned, the reels 13L, 13M, and 13R are controlled to stop so that the symbol is displayed on the display window 11 in a special display mode (hereinafter referred to as “reach eyes”).

(9)図柄判定手段108
図9の図柄判定手段108は、リール検出手段106により検出された各リール13L,13M,13Rがそれぞれの回転位置に基づき、停止制御手段107により停止制御されて停止した各リール13L,13M,13Rによる各図柄の表示態様が、予め定められた表示態様であるか否かを判定する図柄判定処理を行う。
(9) Symbol determination means 108
The symbol determination means 108 in FIG. 9 has the reels 13L, 13M, 13R stopped by the stop control means 107 being stopped based on the respective rotational positions of the reels 13L, 13M, 13R detected by the reel detection means 106. A symbol determination process is performed to determine whether or not the display mode of each symbol is a predetermined display mode.

この図柄判定手段108は、図10の「BB」「RB」に示す表示態様で図柄が入賞ライン上に揃うと、特別役入賞と判定する。また、「中段ベル」「一枚役1」〜「一枚役12」「中段チェリー」「スイカ」に示す表示態様で図柄が入賞ライン上に揃うと、小役入賞と判定し、「リプレイ1」〜「リプレイ26」に示す表示態様で図柄が入賞ライン上に揃うと、再遊技役入賞と判定する。   The symbol determination means 108 determines that the special combination is won when the symbols are arranged on the winning line in the display modes shown in “BB” and “RB” of FIG. Further, when the symbols are aligned on the winning line in the display forms shown in “middle stage bell”, “single part combination 1” to “single part combination 12”, “middle stage cherry”, and “watermelon”, it is determined that the small part prize has been won, and “replay 1 When the symbols are aligned on the winning line in the display modes shown in “Replay 26”, it is determined that the re-playing role is won.

(10)払出制御手段109
図9の払出制御手段109は、図柄判定手段108による判定結果に基づき、遊技者に所定の利益(特典)を付与する。この払出制御手段109は、図柄判定手段108により、複数の役のいずれかに入賞したと判定されたときに、メダル払い出しのある入賞であれば、クレジットメダルの貯留枚数が上限値(この実施形態では例えば50枚)に達した後は、ホッパーユニット43を動作させて、入賞した役に対応した払出枚数だけメダルを払い出す。また、払出制御手段109は、クレジットメダルの貯留枚数が上限値に達するまでは、メダル払い出しとして、ホッパーユニット43の動作に代えて上記払出枚数だけクレジットメダルを増加させる。
(10) Dispensing control means 109
The payout control means 109 of FIG. 9 gives a predetermined profit (privilege) to the player based on the determination result by the symbol determination means 108. The payout control means 109 determines that the number of credit medals stored is the upper limit value (this embodiment) if the symbol determination means 108 determines that one of a plurality of winning combinations has been won, and if there is a medal payout. After reaching 50, for example, the hopper unit 43 is operated to pay out medals by the payout number corresponding to the winning combination. Further, the payout control means 109 increases the credit medals by the payout number instead of the operation of the hopper unit 43 as a medal payout until the number of stored credit medals reaches the upper limit value.

(11)サブ制御コマンド送信手段110
図9のサブ制御コマンド送信手段110は、メイン制御基板63からサブ制御基板73へ、コマンド作成手段105により作成された種々のデータを含むコマンドを所定の情報として一方向通信により送信する。このサブ制御コマンド送信手段110は、コマンド作成手段105により作成されて、設定制御手段101により設定される設定値、通常遊技および特別遊技などの遊技状態、役抽選手段103の役抽選結果、図柄判定手段108による図柄判定結果、各リール13L,13M,13Rの回転・停止状態、払出制御手段109によるメダルの払出状態など、スロットマシン1の状態を表すデータを含むコマンドをサブ制御基板73へ送信する。
(11) Sub-control command transmission means 110
The sub-control command transmission unit 110 in FIG. 9 transmits commands including various data created by the command creation unit 105 from the main control board 63 to the sub-control board 73 as predetermined information by one-way communication. This sub-control command transmission means 110 is created by the command creation means 105 and set by the setting control means 101, gaming state such as normal game and special game, the role lottery result of the role lottery means 103, symbol determination A command including data representing the state of the slot machine 1 such as a symbol determination result by the means 108, a rotation / stop state of each reel 13L, 13M, 13R, a medal payout state by the payout control means 109, etc. is transmitted to the sub-control board 73. .

また、サブ制御コマンド送信手段110は、投入センサ53による投入メダルの検出状態、ベットスイッチ15および最大ベットスイッチ17の操作状態などを表すデータを含むコマンド作成手段105により作成されるコマンドをサブ制御基板73に送信する。また、サブ制御コマンド送信手段110は、スタートスイッチ19およびストップスイッチ21L,21M,21Rなどの各種スイッチが遊技者によりどのように操作されたかを示すデータを含むコマンド作成手段105により作成されるコマンドをサブ制御基板73に送信する。   Further, the sub control command transmission means 110 transmits a command created by the command creation means 105 including data indicating the detection state of the inserted medal by the insertion sensor 53, the operation state of the bet switch 15 and the maximum bet switch 17, and the like. 73. Further, the sub control command transmission means 110 receives a command created by the command creation means 105 including data indicating how various switches such as the start switch 19 and the stop switches 21L, 21M, and 21R are operated by the player. Transmit to the sub-control board 73.

(12)報知手段111
図9の報知手段111は、報知決定手段104により遊技者に有利な各ストップスイッチ21L,21M,21Rの操作態様を報知する所定の演出を実行すると決定されているとき、すなわち、AT期間中フラグがONに設定されているときには、役抽選手段103の役抽選結果が当選役グループ「左ベル」「中ベル」「右ベル」のうちのいずれか1つであった場合に、当選した当選役グループに対応する遊技者に有利な各ストップスイッチ21L,21M,21Rの操作順序をメイン制御基板63により直接制御される報知用表示器60に表示することにより、遊技者に有利な操作態様を報知する演出を行う。具体的には、当選した当選役グループに、「左ストップスイッチ21Lを最初に操作する」という遊技者に有利な操作態様が設定されている場合には、報知用表示器60に「123」や「1−−」が表示される。なお、報知手段111は、当選した当選役グループの種類が分かる表示を報知用表示器60により行うようにしてもよい。
(12) Notification means 111
9 is determined by the notification determining unit 104 to execute a predetermined effect for notifying the operation mode of each of the stop switches 21L, 21M, and 21R advantageous to the player, that is, an AT period flag. Is set to ON, if the winning lottery result of the winning lottery means 103 is one of the winning group “left bell”, “middle bell”, and “right bell”, the winning winning combination By displaying the operation sequence of each of the stop switches 21L, 21M, 21R advantageous to the player corresponding to the group on the notification display 60 directly controlled by the main control board 63, the operational mode advantageous to the player is notified. Perform the production. Specifically, when an operation mode advantageous to the player “operates the left stop switch 21L first” is set in the winning combination group, “123” or “ “1--” is displayed. Note that the notification unit 111 may display the information indicating the type of the winning combination group won by the notification display 60.

また、報知決定手段104により遊技者に有利な操作態様を報知する所定の演出を実行しないと決定されているとき、すなわち、AT期間中フラグがOFFに設定されているときには、報知手段111は、遊技者に有利な操作態様が分からないような表示を報知用表示器60にて行い、遊技者に有利な操作態様を報知する演出を行わない。   Further, when it is determined by the notification determining means 104 that a predetermined effect for notifying an operation mode advantageous to the player is not executed, that is, when the flag during the AT period is set to OFF, the notification means 111 The display for notifying the operation mode advantageous to the player is performed on the notification display 60, and the effect of notifying the operation mode advantageous to the player is not performed.

なお、報知手段111は、クレジット表示器45に遊技者に有利な操作手順を表示してもよいし、リール13L,13M,13Rを用いたリール演出により遊技者に有利な操作手順を報知してもよい。   Note that the notification means 111 may display an operation procedure advantageous to the player on the credit indicator 45, or notifies the player of an operation procedure advantageous to the player by a reel effect using the reels 13L, 13M, and 13R. Also good.

(13)不正判定手段112
図9の不正判定手段112は、スロットマシン1に対して不正が行われているか否かを判定する不正判定処理(図12のステップS103)を行う。本実施形態では、不正判定手段112は、メダル投入口25へのメダルの異常な投入があるか否かを判定することにより不正を検出する。具体的には、不正判定手段112は、投入センサ53によるメダルの検出信号を監視し、メダルの検出信号の出力態様が異常であったとき、すなわち、正常なメダル投入の際のメダルの検出信号と異なる態様で投入センサ25の検出信号が出力されたときに、メダルの異常な投入があったと判定することで不正を検出し、スロットマシン1に対して不正が行われたと判定する。
(13) Fraud determining unit 112
The fraud determination unit 112 in FIG. 9 performs fraud determination processing (step S103 in FIG. 12) for determining whether fraud has been performed on the slot machine 1. In the present embodiment, the fraud determination unit 112 detects fraud by determining whether or not there is an abnormal insertion of medals into the medal insertion slot 25. Specifically, the fraud determination unit 112 monitors the medal detection signal by the insertion sensor 53, and when the output mode of the medal detection signal is abnormal, that is, the medal detection signal at the time of normal medal insertion. When the detection signal of the insertion sensor 25 is output in a different manner, the fraud is detected by determining that there is an abnormal insertion of medals, and it is determined that the slot machine 1 has been fraudulent.

そして、不正判定手段112は、スロットマシン1に対して不正が行われていると判定した場合に、不正判定フラグ310(図7参照)に格納されるメダル投入異常フラグの状態をONに設定する。なお、例えば不正判定フラグ310を形成する1バイトのメモリ領域の各ビットのうちのいずれかをメダル投入異常フラグに割り当てて、当該ビットのON、OFFを設定することにより、メダル投入異常フラグの状態を不正判定フラグ310に格納することができる。   When the fraud determination unit 112 determines that fraud has been performed on the slot machine 1, the fraud determination unit 112 sets the state of the medal insertion abnormality flag stored in the fraud determination flag 310 (see FIG. 7) to ON. . For example, the state of the medal insertion abnormality flag is set by assigning one of the bits of the 1-byte memory area forming the fraud determination flag 310 to the medal insertion abnormality flag and setting the bit to ON or OFF. Can be stored in the fraud determination flag 310.

(サブ制御基板)
次に、サブ制御基板73の構成について図9を参照して詳細に説明する。サブ制御基板73のサブCPU71は、メイン制御手段80(メイン制御基板63)から送信されたコマンドを受信し、メイン制御手段80の動作や状態に応じた演出を行うためのものである。図9に示すように、サブ制御基板73には、メモリ75に格納されたプログラムを実行することにより実現される種々の機能や、ハードウェアが制御されることにより実現される種々の機能が搭載されている。
(Sub control board)
Next, the configuration of the sub control board 73 will be described in detail with reference to FIG. The sub CPU 71 of the sub control board 73 is for receiving a command transmitted from the main control means 80 (main control board 63) and performing an effect according to the operation and state of the main control means 80. As shown in FIG. 9, the sub-control board 73 is equipped with various functions realized by executing a program stored in the memory 75 and various functions realized by controlling hardware. Has been.

(1)サブ制御コマンド受信手段400
図9のサブ制御コマンド受信手段400は、メイン制御手段80のサブ制御コマンド送信手段110により送信された種々のデータを含むコマンドを所定の情報として受信するものである。サブ制御コマンド受信手段400は、メイン制御手段80から送信されるコマンドを受信し、コマンドを受信すれば、コマンドの種類に応じてサブ制御基板73に搭載された各機能に通知を行う。
(1) Sub-control command receiving means 400
The sub-control command receiving unit 400 in FIG. 9 receives commands including various data transmitted by the sub-control command transmitting unit 110 of the main control unit 80 as predetermined information. The sub control command receiving means 400 receives the command transmitted from the main control means 80, and when receiving the command, notifies the respective functions mounted on the sub control board 73 according to the type of the command.

(2)演出内容決定手段401
図9の演出内容決定手段401は、サブ制御コマンド受信手段400により受信されたコマンドに応じて、演出の内容を決定するためのものである。具体的には、遊技の進行や、役抽選手段103の役抽選結果などに対応して予め設定された演出パターンから、液晶表示器27に表示される動画を決定したり、スピーカ31L,31Rから流れる音楽や音声を決定したり、上部ランプ部33や下部ランプ部37L,37Rの光源を一斉にあるいは個別に点滅したりするなどの演出を決定する。
(2) Production content determination means 401
The effect content determination means 401 in FIG. 9 is for determining the contents of the effect according to the command received by the sub control command receiving means 400. Specifically, a moving image to be displayed on the liquid crystal display 27 is determined from an effect pattern set in advance corresponding to the progress of the game, the result of the role lottery means 103, or the like from the speakers 31L and 31R. An effect such as determining the music and sound to be played, and flashing the light sources of the upper lamp unit 33 and the lower lamp units 37L and 37R all at once or individually is determined.

そして、演出内容決定手段401は、受信したコマンドがAT期間中に対応したものであり当選した当選役グループ(ベルグループ)の種類を識別可能であれば、当選役グループの種類に対応する遊技者に有利な操作態様がわかる報知演出を実行し、受信したコマンドがAT期間中に対応したものでなければ遊技者に有利な操作態様がわからない演出を実行するよう、演出内容を決定する。例えば、役抽選結果に応じて、図11に示す「1番」のコマンドを受信した場合は、AT期間中ではないため、「ベルグループ」のいずれかの当選役グループに当選したことはわかるが「左ベル」「中ベル」「右ベル」のいずれに当選したのかわからない演出群の中から一の演出を選択する。また、図11に示す「2番」のコマンドを受信した場合は、「左ベル」に当選したことがわかる演出や、最初に左ストップスイッチ21Lを操作するよう促す演出の中から、一の演出を選択する。図11に示す「3番」「4番」のコマンドを受信した場合も、それぞれ同様に演出内容を決定する。   If the received command corresponds to the command during the AT period and the type of the winning combination group (bell group) can be identified, the production content determination unit 401 can identify the player corresponding to the type of the winning group. The contents of the effect are determined so that an effect that does not know the operation mode advantageous to the player is executed unless the received command corresponds to the command during the AT period. For example, if the “No. 1” command shown in FIG. 11 is received according to the result of lottery, it is not during the AT period, so it is understood that one of the winning groups of “Bell Group” has been won. Select one production from a group of productions that do not know whether "Left bell", "Middle bell", or "Right bell" was won. In addition, when the “No. 2” command shown in FIG. 11 is received, one of the effects indicating that “Left Bell” has been won or the effect of prompting the user to operate the left stop switch 21L first is selected. Select. When the “No. 3” and “No. 4” commands shown in FIG. 11 are received, the effect contents are determined in the same manner.

さらに、演出内容決定手段401は、図11に示す「5番」〜「8番」のコマンドを受信した場合も、同様に、それぞれの当選役グループに当選した可能性を示唆する演出群から一の演出を選択する。さらに、「0番」のコマンドを受信した場合も、同様に、遊技者の期待を損ねないように、ハズレに対応する演出群の中から一の演出を選択する。   Furthermore, when the contents-deciding means 401 receives the commands “No. 5” to “No. 8” shown in FIG. 11, similarly, the production contents determination means 401 starts from the production group that suggests the possibility of winning each winning role group. Select the production. Further, when the “0” command is received, similarly, one effect is selected from the effect group corresponding to the loss so as not to impair the player's expectation.

演出内容としては、例えば、液晶表示器27に各ストップスイッチ21L,21M,21Rの操作順序を表示したり、スピーカ31L,31Rにより各ストップスイッチ21L,21M,21Rの操作順序を音声により報知したり、各ストップスイッチ21L,21M,21Rに設けられたランプを所定順序で点滅させることにより各ストップスイッチ21L,21M,21Rの操作順序を報知したり、各リール13L,13M,13Rに設けられたバックライトを所定順序で点滅させて、各ストップスイッチ21L,21M,21Rの操作順序を報知するなどの演出内容がある。   For example, the operation content of the stop switches 21L, 21M, and 21R is displayed on the liquid crystal display 27, and the operation order of the stop switches 21L, 21M, and 21R is notified by sound through the speakers 31L and 31R. The lamps provided on the stop switches 21L, 21M, and 21R are blinked in a predetermined order to notify the operation order of the stop switches 21L, 21M, and 21R, and the backs provided on the reels 13L, 13M, and 13R. There are effects such as blinking the lights in a predetermined order and notifying the operation order of the stop switches 21L, 21M, and 21R.

そして、演出内容決定手段401は、決定した演出内容に関するデータを含む信号を、次に説明する表示制御手段402および音声制御手段403に送信する。   And the effect content determination means 401 transmits the signal containing the data regarding the determined effect content to the display control means 402 and the audio | voice control means 403 which are demonstrated below.

(3)表示制御手段402
図9の表示制御手段402は、演出内容決定手段401から送信された信号に含まれるデータに基づき、液晶表示器27に動画を表示したり、上部ランプ部33や下部ランプ部37L,37Rなどの光源を一斉にあるいは個別に点滅したりするなどの演出を実行する。
(3) Display control means 402
The display control unit 402 in FIG. 9 displays a moving image on the liquid crystal display 27 based on the data included in the signal transmitted from the effect content determination unit 401, and displays the upper lamp unit 33 and the lower lamp units 37L and 37R. Perform effects such as flashing light sources all at once or individually.

(4)音声制御手段403
図9の音声制御手段403は、演出内容決定手段401から送信された信号に含まれるデータに基づき、スピーカ31L,31Rから音楽を流したり、音声を出力したりするなどの演出を実行する。
(4) Voice control means 403
The voice control unit 403 in FIG. 9 performs effects such as playing music from the speakers 31L and 31R and outputting sound based on the data included in the signal transmitted from the effect content determination unit 401.

(動作)
続いて、図12ないし図16を参照してスロットマシン1の動作について説明する。
(Operation)
Next, the operation of the slot machine 1 will be described with reference to FIGS.

図12に示すタイマ割込処理は、メイン制御手段80のメインCPU61における割込み処理の毎に実行される処理である。なお、図12では、説明を容易なものとするため、タイマ割込処理において実行される処理のうち、メダル投入口25に投入されたメダルを検出するための処理のみが図示されており、その他の処理は図示省略されている。   The timer interrupt process shown in FIG. 12 is a process executed each time an interrupt process is performed in the main CPU 61 of the main control means 80. In FIG. 12, only the process for detecting a medal inserted into the medal slot 25 is shown in the process executed in the timer interrupt process for ease of explanation. This process is not shown in the figure.

なお、図12の紙面の左側に記載された各処理は、遊技プログラム制御領域67a1に格納された第1プログラム200がメインCPU61により実行されることにより実施される処理であり、同図の紙面の右側に記載された各処理は、不正判定用プログラム制御領域67a2に格納された第2プログラム300がメインCPU61により実行されることにより実施される処理である。また、同図に示すように、メインCPU61による第2プログラム300の実行の開始は、メインCPU61が遊技プログラム201を実行することによる遊技制御処理の実施を中断して行われる。   Each process described on the left side of the page of FIG. 12 is a process executed by the main CPU 61 executing the first program 200 stored in the game program control area 67a1. Each process described on the right side is a process executed by the main CPU 61 executing the second program 300 stored in the fraud determination program control area 67a2. Further, as shown in the figure, the start of the execution of the second program 300 by the main CPU 61 is performed by interrupting the execution of the game control process by the main CPU 61 executing the game program 201.

まず、メインCPU61が遊技プログラム201を実行することで実施する遊技制御処理において、遊技制御手段100は、投入センサ53のセンサ出力が入力される入力ポートの状態を確認し、当該入力ポートへのセンサ出力の入力状態に応じて、ポートフラグ221(図7参照)に格納される投入センサフラグの状態をONまたはOFFに設定し(ステップS1)、一旦、遊技制御処理を中断する。なお、例えばポートフラグ221を形成する1バイトのメモリ領域の各ビットのうちのいずれかを投入センサフラグに割り当てて、当該ビットのON、OFFを設定することにより、投入センサフラグの状態をポートフラグ221に格納することができる。   First, in the game control process executed by the main CPU 61 executing the game program 201, the game control means 100 confirms the state of the input port to which the sensor output of the input sensor 53 is input, and the sensor to the input port is detected. Depending on the input state of output, the state of the input sensor flag stored in the port flag 221 (see FIG. 7) is set to ON or OFF (step S1), and the game control process is temporarily interrupted. For example, by assigning any one of the bits of the 1-byte memory area forming the port flag 221 to the input sensor flag and setting the bit ON or OFF, the state of the input sensor flag is changed to the port flag. 221 can be stored.

続いて、メインCPU61による第2プログラム300の実行が開始される前に、メインCPU61が記憶プログラム202を実行することで実施する記憶処理において、図13(a)に示すように、プッシュ命令(PUSH)により、複数のレジスタのうちAレジスタおよびFレジスタの値(イ、ロ)をSPに格納されている第1スタック領域参照用アドレスSP1によりアクセス可能な第1スタック領域65a1に記憶する(ステップS2)。このとき、AレジスタおよびFレジスタを転送対象として指定する特殊コードAFを利用した1回のプッシュ命令(PUSH AF)により、AレジスタおよびFレジスタの値を第1スタック領域65a1に記憶する。このように、AレジスタおよびFレジスタが本発明の「特定レジスタ」に相当する。   Subsequently, in the storage process performed by the main CPU 61 executing the storage program 202 before the execution of the second program 300 by the main CPU 61 is started, as shown in FIG. ), The values (A, B) of the A and F registers among the plurality of registers are stored in the first stack area 65a1 accessible by the first stack area reference address SP1 stored in the SP (step S2). ). At this time, the values of the A register and the F register are stored in the first stack area 65a1 by one push instruction (PUSH AF) using the special code AF that designates the A register and the F register as a transfer target. Thus, the A register and the F register correspond to the “specific register” of the present invention.

次に、不正判定プログラム301による不正判定処理(ステップS103)が実施される前に、メインCPU61が退避プログラム302を実行することで退避処理を実施する。退避処理において、まず、図13(b)に示すように、ロード命令(LD (W2),SP)により、SPに格納されている第1スタック領域参照用アドレスSP1を、第2データ記憶領域65b2のアドレスW2で指定される領域に記憶する(ステップS100:退避処理1)。このとき、同図に示すように、ロード命令(特定命令)によりFレジスタのTZフラグ(図4(b)、図5(b)参照)の状態が変化することで、Fフラグの値がロ→ロ’に変化することがある。   Next, before the fraud determination process (step S103) by the fraud determination program 301 is performed, the main CPU 61 executes the save program 302 to execute the save process. In the saving process, first, as shown in FIG. 13B, the first stack area reference address SP1 stored in the SP is stored in the second data storage area 65b2 by the load instruction (LD (W2), SP). Is stored in the area specified by the address W2 (step S100: save process 1). At this time, as shown in the figure, the state of the TZ flag (see FIGS. 4B and 5B) of the F register is changed by the load instruction (specific instruction), so that the value of the F flag becomes low. → It may change to 'b'.

次に、図14(a)に示すように、ロード命令(LD SP,SP2)により、SPに第2スタック領域参照用アドレスSP2を格納する(ステップS101:退避処理2)。なお、このときSPに格納される第2スタック領域参照用アドレスSP2は、例えばROM67の不正判定用プログラムデータ領域67b2に予め格納しておいた固定値である。そして、図14(b)に示すように、プッシュ命令(PUSH)により、Aレジスタ、Fレジスタおよび汎用レジスタそれぞれの値(イ、ロ’、ハ、ニ、ホ、ヘ、ト、チ)をSPに格納されている第2スタック領域参照用アドレスSP2によりアクセス可能な第2スタック領域65a2に記憶する(ステップS102:退避処理3)。このとき、Aレジスタ、Fレジスタおよび汎用レジスタを転送対象として指定する特別コードALLを利用した1回のプッシュ命令(PUSH ALL)により、Aレジスタ、Fレジスタおよび汎用レジスタそれぞれの値を第2スタック領域65a2に記憶する。なお、特別コードALLにより、Aレジスタ、Fレジスタおよび汎用レジスタと一緒にQレジスタも転送対象として指定されるようにしてもよい。   Next, as shown in FIG. 14A, the second stack area reference address SP2 is stored in the SP by a load instruction (LD SP, SP2) (step S101: save process 2). Note that the second stack area reference address SP2 stored in the SP at this time is a fixed value stored in advance in the fraud determination program data area 67b2 of the ROM 67, for example. Then, as shown in FIG. 14 (b), the values of the A register, the F register, and the general-purpose register (I, B ', C, D, E, F, G, H) are set to SP by a push instruction (PUSH). Is stored in the second stack area 65a2 accessible by the second stack area reference address SP2 stored in (step S102: save process 3). At this time, the value of each of the A register, the F register, and the general-purpose register is set to the second stack area by one push instruction (PUSH ALL) using the special code ALL that designates the A register, the F register, and the general-purpose register as a transfer target. Store in 65a2. Note that the Q register may be designated as a transfer target together with the A register, the F register, and the general-purpose register by the special code ALL.

続いて、メインCPU61が不定判定用プログラム301を実行することで実施する不正判定処理において、不正判定手段112は、RAM65の第1データ記憶領域65b1のポートフラグ221に格納されている投入センサフラグの状態を確認し、メダル投入口25へのメダルの投入に異常があるか否かを判定する(ステップS103)。具体的には、不正判定手段112は、メダルの投入間隔や、メダルを検出している状態において投入センサ53が出力する検出信号の持続時間を計測することにより、メダル投入口25へのメダルの投入が異常であるか否かを判定する。そして、不正判定手段112は、メダルの投入が異常であった場合にスロットマシン1に対して不正が行われたと判定し、不正判定フラグ310(図7参照)に格納されるメダル投入異常フラグの状態をONに設定する。このとき、図15(a)に示すように、不正判定処理において、Aレジスタ、Fレジスタ、汎用レジスタの値が変化する。   Subsequently, in the fraud determination process performed by the main CPU 61 executing the indeterminate determination program 301, the fraud determination unit 112 stores the input sensor flag stored in the port flag 221 of the first data storage area 65 b 1 of the RAM 65. The state is confirmed, and it is determined whether or not there is an abnormality in the insertion of medals into the medal insertion slot 25 (step S103). Specifically, the fraud determination means 112 measures the medal insertion interval and the duration of the detection signal output by the insertion sensor 53 in the state where the medal is detected, thereby determining the medal insertion slot 25. It is determined whether or not the charging is abnormal. Then, the fraud determination unit 112 determines that fraud has been performed on the slot machine 1 when the medal insertion is abnormal, and the medal insertion abnormality flag stored in the fraud determination flag 310 (see FIG. 7). Set the state to ON. At this time, as shown in FIG. 15A, the values of the A register, the F register, and the general-purpose register change in the fraud determination process.

次に、不正判定プログラム301による不正判定処理(ステップS103)が実施された後に、メインCPU61が復帰プログラム303を実行することで復帰処理を実施する。復帰処理において、まず、図15(b)に示すように、ポップ命令(POP)により、Aレジスタ、Fレジスタおよび汎用レジスタそれぞれの値(イ’’、ロ’’、ハ’’、ニ’’、ホ’’、ヘ’’、ト''、チ’’)を、退避処理3(ステップS102)により第2スタック領域65a2に記憶した中断前の遊技制御処理における値(イ、ロ’、ハ、ニ、ホ、ヘ、ト、チ)に設定する(ステップS104:復帰処理1)。このとき、特別コードALLを利用した1回のポップ命令(POP ALL)により、Aレジスタ、Fレジスタおよび汎用レジスタそれぞれの値を退避処理3(ステップS102)により第2スタック領域65a2に記憶した値に設定する。このとき、退避処理1(ステップS100:図13(b)参照)においてFレジスタの値が変化している場合には(ロ→ロ’)、図15(b)に示すように、遊技制御処理を中断する前と異なる値(ロ’)がFレジスタに格納される。   Next, after the fraud determination process (step S103) by the fraud determination program 301 is performed, the main CPU 61 executes the return program 303 to execute the return process. In the return processing, first, as shown in FIG. 15B, the values (i '', b '', c '', d '') of the A register, the F register, and the general-purpose register by a pop instruction (POP). , E '', F '', G '', H '') stored in the second stack area 65a2 by the save process 3 (step S102) (i, b ', c) , D, E, F, G, G) (step S104: return processing 1). At this time, the values of the A register, the F register, and the general-purpose register are set to the values stored in the second stack area 65a2 by the save process 3 (step S102) by one pop instruction (POP ALL) using the special code ALL. Set. At this time, if the value of the F register has changed in the save process 1 (step S100: see FIG. 13B) (b → ro ′), as shown in FIG. 15b, the game control process A value (b ') different from that before the interruption is stored in the F register.

そして、図16(a)に示すように、ロード命令(LD SP,(W2))により、退避処理1(ステップS100)により第2データ記憶領域65b2のアドレスW2で指定される領域に記憶した第1スタック領域参照用アドレスSP1をSPに格納し(ステップS105:復帰処理2)、メインCPU61は第2プログラム300の実行を終了する。   Then, as shown in FIG. 16A, the first instruction stored in the area specified by the address W2 of the second data storage area 65b2 by the save process 1 (step S100) by the load instruction (LDSP, (W2)). One stack area reference address SP1 is stored in SP (step S105: return processing 2), and the main CPU 61 ends the execution of the second program 300.

続いて、ステップS4において遊技制御処理を再開する前に、メインCPU61が変更プログラム203を実行することで実施する変更処理において、図16(b)に示すように、ポップ命令(POP)により、復帰処理1(ステップS104)により値が設定されたAレジスタ、Fレジスタおよび汎用レジスタのうち、AレジスタおよびFレジスタの値(イ、ロ’)を、記憶処理(ステップS2)により第1スタック領域65a1に記憶した値(イ、ロ)に変更する(ステップS3)。このとき、特殊コードAFを利用した1回のポップ命令(POP AF)により、AレジスタおよびFレジスタの値を記憶処理(ステップS2)によって第1スタック領域65a1に記憶した値に変更する。このとき、復帰処理1(ステップS104:図15(b)参照)において、遊技制御処理を中断する前と異なる値(ロ’)がFレジスタに格納された場合であっても、図16(b)に示すように、Fレジスタの値を遊技制御処理を中断する前と同じ値(ロ)に変更することができる。   Subsequently, in the change process executed by the main CPU 61 executing the change program 203 before the game control process is restarted in step S4, as shown in FIG. 16B, a return is made by a pop command (POP). Of the A registers, F registers, and general-purpose registers whose values are set by processing 1 (step S104), the values (A, B ') of the A registers and F registers are stored in the first stack area 65a1 by storage processing (step S2). The value is changed to the value stored in (i, b) (step S3). At this time, the values of the A register and the F register are changed to the values stored in the first stack area 65a1 by the storage process (step S2) by one pop instruction (POP AF) using the special code AF. At this time, in the return process 1 (step S104: see FIG. 15B), even if a different value (B ′) from that before interrupting the game control process is stored in the F register, FIG. ), The value in the F register can be changed to the same value (B) as before the game control process is interrupted.

続いて、遊技制御処理を再開すると(ステップS4)、遊技制御手段100は、RAM65の第2データ記憶領域65b2の不正判定フラグ310に格納されているメダル投入異常フラグの状態を確認する。そして、遊技制御手段100は、メダル投入異常フラグがOFFに設定されていれば、RAM65の第1データ記憶領域65b1のポートフラグ221に格納されている投入センサフラグの状態を確認し、投入センサフラグがONに設定されていれば、正常に投入されたメダルがメダルセレクタ48を通過したと判定し(セレクタ判定処理)、スロットマシン1にメダルが投入されたことをカウントして処理を終了する。   Subsequently, when the game control process is resumed (step S4), the game control means 100 checks the state of the medal insertion abnormality flag stored in the fraud determination flag 310 of the second data storage area 65b2 of the RAM 65. If the medal insertion abnormality flag is set to OFF, the game control means 100 checks the state of the insertion sensor flag stored in the port flag 221 of the first data storage area 65b1 of the RAM 65, and the insertion sensor flag. If is set to ON, it is determined that a normally inserted medal has passed the medal selector 48 (selector determination processing), the medal insertion into the slot machine 1 is counted, and the process is terminated.

一方、メダル異常フラグがONに設定されていれば、遊技制御手段100は、異常なメダル投入が行われたと判定し(セレクタ判定処理)、エラー処理に移行するように構成されている。   On the other hand, if the medal abnormality flag is set to ON, the game control means 100 is configured to determine that an abnormal medal has been inserted (selector determination processing) and to proceed to error processing.

(比較例)
続いて、図17ないし図19を参照してタイマ割込処理の比較例について説明する。なお、以下の説明では、図12に示すタイマ割込処理に含まれる動作と同一の動作については、図17ないし図19において同一のステップ番号を引用することによりその動作についての説明を省略し、図12に示すタイマ割込処理と異なる動作を中心に説明を行う。
(Comparative example)
Next, a comparative example of timer interrupt processing will be described with reference to FIGS. In the following description, the same operations as those included in the timer interrupt process shown in FIG. 12 are omitted by citing the same step numbers in FIGS. An explanation will be made focusing on operations different from the timer interrupt processing shown in FIG.

(1)比較例1
図17を参照して比較例1について説明する。比較例1が図12に示すタイマ割込処理と異なるのは、記憶処理(ステップS2)および変更処理(ステップS3)が実行されない点である。比較例1では、退避処理1(ステップS100:図13(b)参照)においてFレジスタの値が変化している場合には(ロ→ロ’)、復帰処理1(ステップS104:図15(b)参照)において、遊技制御処理を中断する前と異なる値(ロ’)がFレジスタに格納されるおそれがある。したがって、比較例1では、遊技制御処理を中断して実行される第2プログラム300による処理が、ステップS4において再開する第1プログラム200による遊技制御処理に影響を及ぼすおそれがある。
(1) Comparative Example 1
A comparative example 1 will be described with reference to FIG. The difference between the comparative example 1 and the timer interrupt process shown in FIG. 12 is that the storage process (step S2) and the change process (step S3) are not executed. In the comparative example 1, when the value of the F register is changed in the save process 1 (step S100: see FIG. 13B) (B → B ′), the return process 1 (Step S104: FIG. 15B). ))), There is a possibility that a different value (B ′) from before the game control process is interrupted is stored in the F register. Therefore, in the first comparative example, the process by the second program 300 executed by interrupting the game control process may affect the game control process by the first program 200 restarted in step S4.

(2)比較例2
図18を参照して比較例2について説明する。比較例2が図12に示すタイマ割込処理と異なるのは、記憶処理(ステップS2)および変更処理(ステップS3)に相当する処理が、不正判定用プログラム制御領域67a2に格納された第2プログラム300を実行することにより実施される点である(ステップS200、ステップS201)。比較例2では、第2プログラム300を実行することにより実施される、ステップ200の記憶処理およびステップ201の変更処理において、中断中の遊技制御処理において使用される第1スタック領域65a1の値が更新される。したがって、比較例2では、遊技プログラム制御領域67a1に格納された第1プログラム200による処理と、不正判定用プログラム制御領域67a2に格納された第2プログラム300による処理とを独立して実施することができない。また、遊技制御処理を中断して実行される第2プログラム300による処理が、遊技制御処理が使用する第1スタック領域65a1の値を更新するので、ステップS4において再開する第1プログラム200による遊技制御処理に悪影響が生じるおそれがある。
(2) Comparative Example 2
Comparative Example 2 will be described with reference to FIG. The second comparative example differs from the timer interrupt process shown in FIG. 12 in that the second program in which the process corresponding to the storage process (step S2) and the change process (step S3) is stored in the fraud determination program control area 67a2 It is a point implemented by performing 300 (step S200, step S201). In Comparative Example 2, the value of the first stack area 65a1 used in the interrupted game control process is updated in the storage process in Step 200 and the change process in Step 201, which is performed by executing the second program 300. Is done. Therefore, in the comparative example 2, the process by the first program 200 stored in the game program control area 67a1 and the process by the second program 300 stored in the fraud determination program control area 67a2 can be performed independently. Can not. In addition, since the process by the second program 300 executed by interrupting the game control process updates the value of the first stack area 65a1 used by the game control process, the game control by the first program 200 resumed in step S4. Processing may be adversely affected.

(3)比較例3
図19を参照して比較例3について説明する。比較例3が図12に示すタイマ割込処理と異なるのは、退避処理(ステップS102)および復帰処理1(ステップS104)に相当する処理を、遊技制御プログラム制御領域67a1に格納された第1プログラム200を実行することにより、記憶処理(ステップS2)および変更処理(ステップS3)の代わりに実施する点である(ステップS300,ステップS301)。比較例3では、比較例1および比較例2と異なり、遊技制御処理を再開する前に、各レジスタの値を、中断前の各レジスタの値に復帰させることができると共に、遊技プログラム制御領域67a1に格納された第1プログラム200による処理と、不正判定用プログラム制御領域67a2に格納された第2プログラム300による処理とを独立して実施することができる。しかしながら、比較例3では、ステップS300において、各レジスタの値が第1スタック領域65a1に格納されるので、遊技プログラム制御領域67a1に格納された第1プログラム200による処理において使用される第1スタック領域65a1の記憶容量を過度に増やす必要が生じるおそれがある。
(3) Comparative Example 3
Comparative Example 3 will be described with reference to FIG. The comparative example 3 differs from the timer interrupt process shown in FIG. 12 in that the process corresponding to the save process (step S102) and the return process 1 (step S104) is the first program stored in the game control program control area 67a1. 200 is executed instead of the storage process (step S2) and the change process (step S3) (step S300, step S301). In the comparative example 3, unlike the comparative example 1 and the comparative example 2, before restarting the game control process, the value of each register can be restored to the value of each register before the interruption, and the game program control area 67a1 The processing by the first program 200 stored in the program and the processing by the second program 300 stored in the fraud determination program control area 67a2 can be performed independently. However, in Comparative Example 3, since the value of each register is stored in the first stack area 65a1 in step S300, the first stack area used in the processing by the first program 200 stored in the game program control area 67a1. There is a possibility that the storage capacity of 65a1 needs to be excessively increased.

以上のように、上記した実施形態では、Fレジスタが、演算命令の演算結果に応じて状態が変化することがあるが、特定命令では状態が変化することがないZフラグと、演算命令の演算結果に応じて状態が変化することがあり、特定命令でも状態が変化することがあるTZフラグとを備えるので、各プログラムのコード量を減らしてメインCPU61による処理の負担を減らすことができる。また、退避プログラム302による退避処理(図12のステップS100)において実行されるロード命令によりFレジスタのTZフラグの状態が変化するおそれがあるが、退避処理を実行する前に、記憶プログラム202による記憶処理(図12のステップS2)においてAレジスタおよびFレジスタの値を記憶し、第2プログラム300による処理を終了し遊技制御処理を再開する前に、変更プログラム203による変更処理(図12のステップS3)おいてAレジスタおよびFレジスタの値を記憶処理で記憶した値に変更する。したがって、退避処理においてFレジスタの状態が変化しても、第2プログラム300による処理から復帰後の遊技制御処理に影響を及ぼすおそれがないので、複数のプログラムを独立して構成することができる。このとき、記憶処理において、複数のレジスタのうちのAレジスタおよびFレジスタのみを記憶すればよいので、第1のプログラム200による処理において使用する第1スタック領域65a1の記憶容量を過度に増やす必要がなく、効率的なプログラムを構成することができる。   As described above, in the above-described embodiment, the state of the F register may change according to the operation result of the operation instruction, but the Z flag that does not change the state with the specific instruction and the operation of the operation instruction. Since the state may change depending on the result and the TZ flag may change even with a specific instruction, the code amount of each program can be reduced to reduce the processing load on the main CPU 61. Further, there is a possibility that the state of the TZ flag of the F register is changed by the load instruction executed in the saving process (step S100 in FIG. 12) by the saving program 302. However, before executing the saving process, the storage program 202 stores the TZ flag. In the process (step S2 in FIG. 12), the values of the A register and the F register are stored. Before the process by the second program 300 is finished and the game control process is restarted, the change process by the change program 203 (step S3 in FIG. 12). ), The values of the A register and the F register are changed to the values stored in the storing process. Therefore, even if the state of the F register changes in the save process, there is no possibility of affecting the game control process after the return from the process by the second program 300, so that a plurality of programs can be configured independently. At this time, since only the A and F registers of the plurality of registers need be stored in the storage process, it is necessary to excessively increase the storage capacity of the first stack area 65a1 used in the process by the first program 200. And an efficient program can be configured.

また、遊技の進行を制御する遊技制御処理とは独立して、不正判定処理を実施するための不正判定用プログラム301を第2プログラム300に追加するだけで不正を検出する不正判定処理を追加することができるので、新たな不正行為に対応する不正判定用プログラム301を容易に作成することができる。   Further, independently of the game control process for controlling the progress of the game, the fraud determination process for detecting the fraud is added only by adding the fraud determination program 301 for executing the fraud determination process to the second program 300. Therefore, the fraud determination program 301 corresponding to a new fraudulent act can be easily created.

また、メインCPUが転送命令を実行するために予め用意された特殊コードAFや特別コードALLを利用することにより複数のレジスタの値を一度にまとめて操作することができるので、新たに命令を作成することなく、既存の命令により処理を行うことができる。   In addition, by using the special code AF and special code ALL prepared in advance for the main CPU to execute the transfer instruction, the values of multiple registers can be operated at once, so a new instruction is created. It is possible to perform processing according to an existing instruction without doing so.

また、図6に示すように、第1プログラム200による処理が使用するメモリ空間と、第2プログラム300による処理が使用するメモリ空間とが互いに独立して配置されると共に、互いのメモリ空間の間に例えば16バイト以上の未使用領域が配置されているので、両メモリ空間が物理的に互いに干渉するのを防止することができると共に、例えば一方の処理(メモリ空間)に対して為された不正行為が他の処理(メモリ空間)にも影響を与えるのを防止することができる。   Further, as shown in FIG. 6, the memory space used by the processing by the first program 200 and the memory space used by the processing by the second program 300 are arranged independently of each other and between the memory spaces of each other. Since an unused area of, for example, 16 bytes or more is arranged in the memory, both memory spaces can be prevented from physically interfering with each other and, for example, an illegal operation performed for one process (memory space) It is possible to prevent the action from affecting other processes (memory space).

なお、本発明は上記した実施形態に限定されるものではなく、その趣旨を逸脱しない限りにおいて上述したもの以外に種々の変更を行なうことが可能である。   The present invention is not limited to the above-described embodiment, and various modifications other than those described above can be made without departing from the spirit of the present invention.

例えば、図12のステップS2の記憶処理において、特定レジスタ(Aレジスタ、Fレジスタ)の値を、ロード命令により第1データ記憶領域65b1に記憶するようにしてもよい。この場合には、図12のステップS3における変更処理において、ロード命令により、特定レジスタ(Aレジスタ、Fレジスタ)の値を、記憶処理において第1データ記憶領域65b1に記憶した値に変更するようにするとよい。   For example, in the storage process in step S2 of FIG. 12, the value of the specific register (A register, F register) may be stored in the first data storage area 65b1 by a load instruction. In this case, in the change process in step S3 of FIG. 12, the value of the specific register (A register, F register) is changed to the value stored in the first data storage area 65b1 in the storage process by the load instruction. Good.

また、レジスタセット64が、Aレジスタ、Fレジスタおよび汎用レジスタについて、所謂、裏レジスタをさらに含んでいてもよく、この場合には、図12のステップ102の退避処理3の後に、レジスタを裏レジスタに交換し、裏レジスタの値も第2スタック領域65a2または第2データ記憶領域65b2に転送命令により記憶して退避するとよい。   The register set 64 may further include a so-called back register for the A register, the F register, and the general-purpose register. In this case, after the save process 3 in step 102 in FIG. The value of the back register may be stored in the second stack area 65a2 or the second data storage area 65b2 by a transfer instruction and saved.

また、上記した実施形態では、第1プログラム200による処理(遊技制御処理)を中断した後、コール命令等により第2にプログラム300による処理(不正判定処理)に移行するように構成されているが、第1プログラム200による処理を割込処理等により強制的に中断し、第2プログラム300による処理を実行するようにしてもよい。また、上記した実施形態では、遊技の進行を制御する遊技制御処理として、投入センサ53のセンサ出力が入力される入力ポートの入力処理(図12のステップS1)および入力したセンサ出力を判定するセレクタ判定処理(図12のステップS4)を組み合わせたメダル投入判定処理を例に挙げて説明したが、電断を判定する処理や、モータの位相を出力する処理、コマンドを送信する処理、クレジット表示器45や報知用表示器60等のランプ類の点灯状態を変更する処理などをさらに組み合わせて、遊技制御処理を構成してもよい。   In the above-described embodiment, the process (game control process) by the first program 200 is interrupted, and then the process is secondly shifted to the process by the program 300 (injustice determination process) by a call instruction or the like. The processing by the first program 200 may be forcibly interrupted by interrupt processing or the like, and the processing by the second program 300 may be executed. In the embodiment described above, as the game control process for controlling the progress of the game, the input port input process (step S1 in FIG. 12) to which the sensor output of the input sensor 53 is input and the selector for determining the input sensor output. The medal insertion determination process combined with the determination process (step S4 in FIG. 12) has been described as an example. However, the process for determining power interruption, the process for outputting the phase of the motor, the process for transmitting a command, the credit indicator, etc. The game control process may be configured by further combining the process of changing the lighting state of lamps such as 45 and the notification display 60.

また、上記した実施形態では、AT遊技が可能なスロットマシン1(回胴式遊技機)に本発明を適用した場合について説明したが、上記のAT機能を有しないスロットマシン(回胴式遊技機)やボーナス機能を有しないスロットマシンであっても本発明を同様に適用することができる。   In the above-described embodiment, the case where the present invention is applied to the slot machine 1 (rotating game machine) capable of AT games has been described. However, the slot machine (rotating game machine) having no AT function is described. The present invention can be similarly applied even to a slot machine having no bonus function.

また、上記した各実施形態では、本発明の遊技機としてスロットマシン1を例に挙げて説明したが、スロットマシンとパチンコ機とを組み合わせたパロットと称される遊技機に本発明を適用してもよく、このような遊技機に本発明を適用する場合、遊技用価値としての遊技球(パチンコ玉)を採用すればよい。さらに、パチンコ機に本発明を適用してもよい。   In each of the above embodiments, the slot machine 1 has been described as an example of the gaming machine of the present invention. However, the present invention is applied to a gaming machine called a parrot that is a combination of a slot machine and a pachinko machine. In addition, when the present invention is applied to such a gaming machine, a gaming ball (pachinko ball) as a gaming value may be employed. Furthermore, the present invention may be applied to a pachinko machine.

また、上記した実施形態のスロットマシン1における各リール13L,13M,13Rに代えて、液晶ディスプレイやCRTなどの画像表示装置を用い、この画像表示装置に複数の図柄を順次表示させるように構成してもよい。また、回転リールの数は2列以上であればよく、遊技の態様に応じて適宜最適な数に設定すればよい。   Further, instead of the reels 13L, 13M, and 13R in the slot machine 1 of the above-described embodiment, an image display device such as a liquid crystal display or a CRT is used, and a plurality of symbols are sequentially displayed on the image display device. May be. The number of rotating reels may be two or more, and may be set to an optimal number as appropriate according to the game mode.

そして、スロットマシンなどの遊技機に対して、本発明を広く適用することが可能である。   The present invention can be widely applied to gaming machines such as slot machines.

1…スロットマシン(遊技機)、61…メインCPU(CPU)、65a…スタック手段、65a1…第1スタック領域、65a2…第2スタック領域、65b…データ記憶手段、65b1…第1データ記憶手段、65b2…第2データ記憶手段、67a…プログラム記憶手段、67a1…遊技プログラム制御領域(第1プログラム記憶領域)、67a2…不正判定用プログラム制御領域(第2プログラム記憶領域)、80…メイン制御手段、200…第1プログラム、201…遊技プログラム(第1機能プログラム)、300…第2プログラム、301…不正判定用プログラム(第2機能プログラム)、AF…特殊コード、ALL…特別コード、SP1…第1スタック領域参照用アドレス、SP2…第2スタック領域参照用アドレス   DESCRIPTION OF SYMBOLS 1 ... Slot machine (game machine) 61 ... Main CPU (CPU), 65a ... Stack means, 65a1 ... 1st stack area, 65a2 ... 2nd stack area, 65b ... Data storage means, 65b1 ... 1st data storage means, 65b2 ... second data storage means, 67a ... program storage means, 67a1 ... game program control area (first program storage area), 67a2 ... fraud determination program control area (second program storage area), 80 ... main control means, 200 ... first program, 201 ... game program (first function program), 300 ... second program, 301 ... program for fraud determination (second function program), AF ... special code, ALL ... special code, SP1 ... first Stack area reference address, SP2 ... second stack area reference address

Claims (4)

遊技を制御するメイン制御手段を備える遊技機において、
前記メイン制御手段は、
フラグレジスタを含む複数のレジスタと、
スタックポインタと、
第1プログラムおよび第2プログラムを含む複数種類のプログラムを実行するCPUと、
前記第1プログラムを記憶する第1プログラム記憶領域と、前記第1プログラム記憶領域と異なる領域であって、前記第2プログラムを記憶する第2プログラム記憶領域とを有するプログラム記憶手段と、
前記スタックポインタに格納される第1スタック領域参照用アドレスによりアクセス可能な前記第1プログラムに対応した第1スタック領域と、前記第1スタック領域と異なる領域であって、前記スタックポインタに格納される第2スタック領域参照用アドレスによりアクセス可能な前記第2プログラムに対応した第2スタック領域とを有するスタック手段と、
データを更新可能な前記第1プログラムに対応した第1データ記憶領域と、前記第1データ記憶領域と異なる領域であって、データを更新可能な前記第2プログラムに対応した第2データ記憶領域とを有するデータ記憶手段とを備え、
前記フラグレジスタは、
前記プログラムに含まれる演算命令の演算結果に応じて状態が変化することがあるが、前記プログラムに含まれる特定命令では状態が変化することがない第1のビットと、
前記演算命令の演算結果に応じて状態が変化することがあり、前記特定命令でも状態が変化することがある第2のビットとを備え、
前記第1プログラムによる処理は前記第1スタック領域および前記第1データ記憶領域のデータを更新および参照可能であり、前記第2スタック領域および前記第2データ記憶領域のデータを更新できないが参照可能になっており、
前記第2プログラムによる処理は前記第2スタック領域および前記第2データ記憶領域のデータを更新および参照可能であり、前記第1スタック領域および前記第1データ記憶領域のデータを更新できないが参照可能になっており、
前記第1プログラムは、前記CPUにより第1処理を実施可能な第1機能プログラムを含み、
前記第2プログラムは、前記CPUにより第2処理を実施可能な第2機能プログラムを含み、
前記CPUによる前記第2プログラムの実行の開始は、前記CPUによる前記第1処理の実施を中断して行われ、
前記CPUが前記第2プログラムを実行することで実施可能な処理として、
前記特定命令に含まれるロード命令により、前記スタックポインタに格納されている前記第1スタック領域参照用アドレスを前記第2データ記憶領域に記憶し、前記スタックポインタに前記第2スタック領域参照用アドレスを格納して、前記プログラムに含まれるプッシュ命令により、前記複数のレジスタそれぞれの値を前記第2スタック領域に記憶する退避処理と、
前記プログラムに含まれるポップ命令により、前記複数のレジスタそれぞれの値を前記退避処理により前記第2スタック領域に記憶した値に設定し、前記ロード命令により、前記退避処理により前記第2データ記憶領域に記憶した前記第1スタック領域参照用アドレスを前記スタックポインタに格納する復帰処理とを備え、
前記退避処理は、前記第2処理を実施する前に実施され、
前記復帰処理は、前記第2処理を実施した後に実施され、
前記CPUが前記第1プログラムを実行することで実施可能な処理として、
前記プッシュ命令または前記ロード命令により、前記複数のレジスタのうち前記フラグレジスタを含む特定レジスタの値を前記レジスタではなく前記第1スタック領域または前記第1データ記憶領域に記憶する記憶処理と、
前記ポップ命令または前記ロード命令により、前記復帰処理により値が設定された前記複数のレジスタのうち前記特定レジスタの値を、前記記憶処理により前記第1スタック領域または前記第1データ記憶領域に記憶した値に変更する変更処理とを備え、
前記記憶処理は、前記第1処理を中断して前記CPUによる第2プログラムの実行が開始される前に実施され、
前記変更処理は、前記CPUが前記第2プログラムの実行を終了して、前記第1処理を再開する前に実施されることを特徴とする遊技機。
In a gaming machine comprising main control means for controlling a game,
The main control means includes
A plurality of registers including a flag register;
Stack pointer and
A CPU that executes a plurality of types of programs including a first program and a second program;
Program storage means having a first program storage area for storing the first program and a second program storage area that is different from the first program storage area and stores the second program;
A first stack area corresponding to the first program accessible by a first stack area reference address stored in the stack pointer, and an area different from the first stack area, and stored in the stack pointer Stack means having a second stack area corresponding to the second program accessible by a second stack area reference address;
A first data storage area corresponding to the first program capable of updating data, and a second data storage area corresponding to the second program capable of updating data, which is different from the first data storage area; Data storage means having
The flag register is
The state may change according to the operation result of the operation instruction included in the program, the first bit that does not change the state in the specific instruction included in the program,
A state that may change depending on an operation result of the operation instruction, and a second bit that may change the state even in the specific instruction,
The processing by the first program can update and refer to the data in the first stack area and the first data storage area, and the data in the second stack area and the second data storage area cannot be updated, but can be referred to And
The processing by the second program can update and refer to the data in the second stack area and the second data storage area, and the data in the first stack area and the first data storage area cannot be updated, but can be referred to And
The first program includes a first function program capable of performing a first process by the CPU,
The second program includes a second function program capable of performing a second process by the CPU,
The start of the execution of the second program by the CPU is performed by interrupting the execution of the first process by the CPU,
As a process that can be performed by the CPU executing the second program,
The first stack area reference address stored in the stack pointer is stored in the second data storage area by the load instruction included in the specific instruction, and the second stack area reference address is stored in the stack pointer. storing, by a push instruction included in the program, and saving processing of storing the previous SL each value plurality of registers in the second stack region,
A value of each of the plurality of registers is set to a value stored in the second stack area by the save process by a pop instruction included in the program, and the second data storage area by the save process by the load instruction And a return process for storing the first stack area reference address stored in the stack pointer,
The evacuation process is performed before the second process is performed,
The return process is performed after performing the second process,
As a process that can be performed by the CPU executing the first program,
By the push instruction or the load instruction, a storage process of storing in the first stack region or the first data storage area, rather than the value of a specific register in the register containing the flag register of the plurality of registers,
The value of the specific register among the plurality of registers whose values are set by the return process by the pop instruction or the load instruction is stored in the first stack area or the first data storage area by the storage process. Change processing to change to a value,
The storage process is performed before the first process is interrupted and the execution of the second program by the CPU is started.
The gaming machine according to claim 1, wherein the change process is performed before the CPU finishes executing the second program and restarts the first process.
前記第1処理は、遊技の進行を制御する遊技制御処理であり、
前記第2処理は、不正を検出する不正判定処理であることを特徴とする請求項1に記載の遊技機。
The first process is a game control process for controlling the progress of the game,
The gaming machine according to claim 1, wherein the second process is a fraud determination process for detecting fraud.
前記複数のレジスタは、前記演算命令の際に用いられるアキュムレータレジスタと、汎用レジスタとをさらに含み、
前記特定レジスタは、前記アキュムレータレジスタをさらに含み、
前記記憶処理は、前記特定レジスタを対象として指定する特殊コードを利用した1回の前記プッシュ命令または前記ロード命令により、前記特定レジスタの値を前記第1スタック領域または前記第1データ記憶領域に記憶し、
前記変更処理は、前記特殊コードを利用した1回の前記ポップ命令または前記ロード命令により、前記特定レジスタの値を前記記憶処理によって前記第1スタック領域または前記第1データ記憶領域に記憶した値に変更することを特徴とする請求項1または2に記載の遊技機。
The plurality of registers further includes an accumulator register used for the operation instruction, and a general-purpose register,
The specific register further includes the accumulator register;
The storing process stores the value of the specific register in the first stack area or the first data storage area by one push instruction or the load instruction using a special code that designates the specific register as a target. And
In the change process, the value of the specific register is changed to the value stored in the first stack area or the first data storage area by the storage process by one pop instruction or the load instruction using the special code. The gaming machine according to claim 1, wherein the gaming machine is changed.
前記退避処理は、前記複数のレジスタを対象として指定する特別コードを利用した1回の前記プッシュ命令により、前記複数のレジスタそれぞれの値を前記第2スタック領域に記憶し、
前記復帰処理は、前記特別コードを利用した1回のポップ命令により、前記複数のレジスタそれぞれの値を前記退避処理により前記第2スタック領域に記憶した値に設定することを特徴とする請求項1ないし3のいずれかに記載の遊技機。
The saving process stores the value of each of the plurality of registers in the second stack area by one push instruction using a special code that designates the plurality of registers as targets.
2. The return process is characterized in that the value of each of the plurality of registers is set to the value stored in the second stack area by the save process by one pop instruction using the special code. The gaming machine according to any one of 3 to 3.
JP2015174623A 2015-09-04 2015-09-04 Game machine Active JP6154863B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015174623A JP6154863B2 (en) 2015-09-04 2015-09-04 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015174623A JP6154863B2 (en) 2015-09-04 2015-09-04 Game machine

Publications (2)

Publication Number Publication Date
JP2017047081A JP2017047081A (en) 2017-03-09
JP6154863B2 true JP6154863B2 (en) 2017-06-28

Family

ID=58280588

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015174623A Active JP6154863B2 (en) 2015-09-04 2015-09-04 Game machine

Country Status (1)

Country Link
JP (1) JP6154863B2 (en)

Families Citing this family (90)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6738161B2 (en) * 2016-03-01 2020-08-12 株式会社三共 Amusement machine
JP6484579B2 (en) * 2016-03-25 2019-03-13 株式会社ニューギン Game machine
JP6490616B2 (en) * 2016-03-25 2019-03-27 株式会社ニューギン Game machine
JP6490617B2 (en) * 2016-03-25 2019-03-27 株式会社ニューギン Game machine
JP6484580B2 (en) * 2016-03-25 2019-03-13 株式会社ニューギン Game machine
JP6360094B2 (en) * 2016-03-31 2018-07-18 サミー株式会社 Game machine
JP6695790B2 (en) * 2016-12-21 2020-05-20 株式会社オリンピア Amusement machine
JP6600659B2 (en) * 2017-04-24 2019-10-30 株式会社三共 Game machine
JP6859193B2 (en) * 2017-05-16 2021-04-14 株式会社ユニバーサルエンターテインメント Game machine
JP6876513B2 (en) * 2017-05-16 2021-05-26 株式会社ユニバーサルエンターテインメント Pachinko machine
JP6876514B2 (en) * 2017-05-16 2021-05-26 株式会社ユニバーサルエンターテインメント Pachinko machine
JP2018191928A (en) * 2017-05-16 2018-12-06 株式会社ユニバーサルエンターテインメント Game machine
JP2018191921A (en) * 2017-05-16 2018-12-06 株式会社ユニバーサルエンターテインメント Game machine
JP6859185B2 (en) * 2017-05-16 2021-04-14 株式会社ユニバーサルエンターテインメント Game machine
JP6859191B2 (en) * 2017-05-16 2021-04-14 株式会社ユニバーサルエンターテインメント Game machine
JP6876515B2 (en) * 2017-05-16 2021-05-26 株式会社ユニバーサルエンターテインメント Pachinko machine
JP7291980B2 (en) * 2017-05-16 2023-06-16 株式会社ユニバーサルエンターテインメント game machine
JP7313739B2 (en) * 2017-05-16 2023-07-25 株式会社ユニバーサルエンターテインメント game machine
JP2018191940A (en) 2017-05-16 2018-12-06 株式会社ユニバーサルエンターテインメント Game machine
JP6859187B2 (en) * 2017-05-16 2021-04-14 株式会社ユニバーサルエンターテインメント Game machine
JP6949554B2 (en) * 2017-05-24 2021-10-13 株式会社三共 Pachinko machine
JP6893131B2 (en) * 2017-06-28 2021-06-23 株式会社ユニバーサルエンターテインメント Pachinko machine
JP2019005471A (en) * 2017-06-28 2019-01-17 株式会社ユニバーサルエンターテインメント Game machine
JP2019005477A (en) * 2017-06-28 2019-01-17 株式会社ユニバーサルエンターテインメント Game machine
JP6371955B1 (en) * 2017-07-04 2018-08-15 株式会社オリンピア Game machine
JP6349528B1 (en) * 2017-07-04 2018-07-04 株式会社オリンピア Game machine
JP6943652B2 (en) * 2017-07-10 2021-10-06 株式会社三共 Pachinko machine
JP2019017929A (en) * 2017-07-21 2019-02-07 株式会社三洋物産 Game machine
JP2019017926A (en) * 2017-07-21 2019-02-07 株式会社三洋物産 Game machine
JP2019017927A (en) * 2017-07-21 2019-02-07 株式会社三洋物産 Game machine
JP2019017931A (en) * 2017-07-21 2019-02-07 株式会社三洋物産 Game machine
JP2019017928A (en) * 2017-07-21 2019-02-07 株式会社三洋物産 Game machine
JP6893453B2 (en) * 2017-07-21 2021-06-23 株式会社三洋物産 Pachinko machine
JP2019022567A (en) * 2017-07-23 2019-02-14 株式会社三洋物産 Game machine
JP2019022570A (en) * 2017-07-23 2019-02-14 株式会社三洋物産 Game machine
JP2019022566A (en) * 2017-07-23 2019-02-14 株式会社三洋物産 Game machine
JP6948867B2 (en) * 2017-07-23 2021-10-13 株式会社三洋物産 Pachinko machine
JP2019022554A (en) * 2017-07-23 2019-02-14 株式会社三洋物産 Game machine
JP6911611B2 (en) * 2017-07-23 2021-07-28 株式会社三洋物産 Pachinko machine
JP2019022555A (en) * 2017-07-23 2019-02-14 株式会社三洋物産 Game machine
JP2019022563A (en) * 2017-07-23 2019-02-14 株式会社三洋物産 Game machine
JP2019022561A (en) * 2017-07-23 2019-02-14 株式会社三洋物産 Game machine
JP2019022565A (en) * 2017-07-23 2019-02-14 株式会社三洋物産 Game machine
JP2019022548A (en) * 2017-07-23 2019-02-14 株式会社三洋物産 Game machine
JP2019022562A (en) * 2017-07-23 2019-02-14 株式会社三洋物産 Game machine
JP2019022568A (en) * 2017-07-23 2019-02-14 株式会社三洋物産 Game machine
JP2019022564A (en) * 2017-07-23 2019-02-14 株式会社三洋物産 Game machine
JP7237324B2 (en) * 2017-07-23 2023-03-13 株式会社三洋物産 game machine
JP2019022569A (en) * 2017-07-23 2019-02-14 株式会社三洋物産 Game machine
JP7006003B2 (en) * 2017-08-08 2022-01-24 株式会社三洋物産 Pachinko machine
JP7006002B2 (en) * 2017-08-08 2022-01-24 株式会社三洋物産 Pachinko machine
JP6631604B2 (en) * 2017-08-08 2020-01-15 株式会社三洋物産 Gaming machine
JP7006001B2 (en) * 2017-08-08 2022-01-24 株式会社三洋物産 Pachinko machine
JP7006000B2 (en) * 2017-08-08 2022-01-24 株式会社三洋物産 Pachinko machine
JP7033421B2 (en) * 2017-09-19 2022-03-10 株式会社ユニバーサルエンターテインメント Pachinko machine
JP7122813B2 (en) * 2017-09-19 2022-08-22 株式会社ユニバーサルエンターテインメント game machine
JP2019051267A (en) * 2017-09-19 2019-04-04 株式会社ユニバーサルエンターテインメント Game machine
JP6687859B2 (en) * 2017-11-17 2020-04-28 サミー株式会社 Amusement machine
JP2020022900A (en) * 2019-11-22 2020-02-13 株式会社三洋物産 Game machine
JP2020062532A (en) * 2020-01-28 2020-04-23 株式会社三洋物産 Game machine
JP7140150B2 (en) * 2020-02-04 2022-09-21 株式会社三洋物産 game machine
JP2020073032A (en) * 2020-02-04 2020-05-14 株式会社三洋物産 Game machine
JP2020062570A (en) * 2020-02-04 2020-04-23 株式会社三洋物産 Game machine
JP7167951B2 (en) * 2020-02-25 2022-11-09 株式会社三洋物産 game machine
JP7334840B2 (en) * 2020-02-25 2023-08-29 株式会社三洋物産 game machine
JP7167950B2 (en) * 2020-02-25 2022-11-09 株式会社三洋物産 game machine
JP7334842B2 (en) * 2020-04-28 2023-08-29 株式会社三洋物産 game machine
JP7167962B2 (en) * 2020-04-28 2022-11-09 株式会社三洋物産 game machine
JP7167961B2 (en) * 2020-04-28 2022-11-09 株式会社三洋物産 game machine
JP2021020126A (en) * 2020-11-05 2021-02-18 株式会社ユニバーサルエンターテインメント Game machine
JP2021020125A (en) * 2020-11-05 2021-02-18 株式会社ユニバーサルエンターテインメント Game machine
JP2021020124A (en) * 2020-11-05 2021-02-18 株式会社ユニバーサルエンターテインメント Game machine
JP7060662B2 (en) * 2020-11-10 2022-04-26 株式会社ユニバーサルエンターテインメント Pachinko machine
JP2021037345A (en) * 2020-11-26 2021-03-11 株式会社ユニバーサルエンターテインメント Game machine
JP2021037344A (en) * 2020-11-26 2021-03-11 株式会社ユニバーサルエンターテインメント Game machine
JP2021045580A (en) * 2020-12-02 2021-03-25 株式会社ユニバーサルエンターテインメント Game machine
JP2021035632A (en) * 2020-12-02 2021-03-04 株式会社ユニバーサルエンターテインメント Game machine
JP2021035633A (en) * 2020-12-02 2021-03-04 株式会社ユニバーサルエンターテインメント Game machine
JP7164895B2 (en) * 2021-01-06 2022-11-02 株式会社ユニバーサルエンターテインメント game machine
JP7060725B2 (en) * 2021-01-06 2022-04-26 株式会社ユニバーサルエンターテインメント Pachinko machine
JP7124134B2 (en) * 2021-01-06 2022-08-23 株式会社ユニバーサルエンターテインメント game machine
JP7060726B2 (en) * 2021-01-06 2022-04-26 株式会社ユニバーサルエンターテインメント Pachinko machine
JP7062100B2 (en) * 2021-01-06 2022-05-02 株式会社ユニバーサルエンターテインメント Pachinko machine
JP7062101B2 (en) * 2021-01-06 2022-05-02 株式会社ユニバーサルエンターテインメント Pachinko machine
JP7124135B2 (en) * 2021-01-06 2022-08-23 株式会社ユニバーサルエンターテインメント game machine
JP7061702B2 (en) * 2021-02-01 2022-04-28 株式会社ユニバーサルエンターテインメント Pachinko machine
JP2021090792A (en) * 2021-02-17 2021-06-17 株式会社ユニバーサルエンターテインメント Game machine
JP2021090791A (en) * 2021-02-17 2021-06-17 株式会社ユニバーサルエンターテインメント Game machine
JP7285603B2 (en) * 2021-02-17 2023-06-02 株式会社ユニバーサルエンターテインメント game machine
JP7384867B2 (en) * 2021-08-06 2023-11-21 株式会社三共 gaming machine

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004151915A (en) * 2002-10-30 2004-05-27 Renesas Technology Corp Data processor
JP5879586B2 (en) * 2014-08-26 2016-03-08 株式会社大都技研 Amusement stand
JP2016179083A (en) * 2015-03-24 2016-10-13 京楽産業.株式会社 Game machine
JP6060364B2 (en) * 2015-03-27 2017-01-18 株式会社ソフイア Game machine
JP6283834B2 (en) * 2015-07-13 2018-02-28 Kpe株式会社 Game machine

Also Published As

Publication number Publication date
JP2017047081A (en) 2017-03-09

Similar Documents

Publication Publication Date Title
JP6154863B2 (en) Game machine
JP6033384B1 (en) Game machine
JP5485937B2 (en) Revolving machine
JP6134843B1 (en) Game machine
JPH1157170A (en) Game machine
JP2018007871A (en) Game machine
JP5923203B1 (en) Game machine
JP6296559B2 (en) Game machine
JP6650163B2 (en) Gaming machine
JP6228650B2 (en) Game machine
JP6678977B1 (en) Amusement machine
JP5923204B1 (en) Game machine
JP6198759B2 (en) Game machine
JP6503434B2 (en) Gaming machine
JP6360941B2 (en) Game machine
JP6800552B2 (en) Game machine
JP6612912B2 (en) Game machine
JP6906016B2 (en) Pachinko machine
JP7462328B2 (en) Gaming Machines
JP2018023435A (en) Game machine
JP7172007B2 (en) game machine
JP6664355B2 (en) Gaming machine
JP6387297B2 (en) Game machine
JP2023069124A (en) game machine
JP2023028217A (en) game machine

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170131

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170328

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: 20170530

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170602

R150 Certificate of patent or registration of utility model

Ref document number: 6154863

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