JP2021049021A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2021049021A
JP2021049021A JP2019172984A JP2019172984A JP2021049021A JP 2021049021 A JP2021049021 A JP 2021049021A JP 2019172984 A JP2019172984 A JP 2019172984A JP 2019172984 A JP2019172984 A JP 2019172984A JP 2021049021 A JP2021049021 A JP 2021049021A
Authority
JP
Japan
Prior art keywords
area
register
value
game
program
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.)
Granted
Application number
JP2019172984A
Other languages
Japanese (ja)
Other versions
JP7282643B2 (en
Inventor
矢次 譲
Yuzuru Yatsugi
譲 矢次
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuji Shoji Co Ltd
Original Assignee
Fuji Shoji Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Shoji Co Ltd filed Critical Fuji Shoji Co Ltd
Priority to JP2019172984A priority Critical patent/JP7282643B2/en
Publication of JP2021049021A publication Critical patent/JP2021049021A/en
Application granted granted Critical
Publication of JP7282643B2 publication Critical patent/JP7282643B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Abstract

To reduce a program capacity.SOLUTION: A game machine according to the present invention comprises control means for executing control relating to game progress, where the control means includes an accessible memory address space, and at least one register group including respectively a plurality of general-purpose registers and high value registers, the registers for storing higher values of addresses of the memory address space handled in some instructions. The memory address space includes a first area whose area size is prescribed size, and a second area which is different from the first area and whose area size is smaller than the prescribed size. The high value register includes a type-1 high value register relating to the first area, and a type-2 high value register for storing higher values of addresses in the second area. It is so defined that the register group includes a plurality of numbers of the type-1 high value registers and a single number of the type-2 high value register, and the plurality of type-1 high value registers in the register group includes a first type-1 high value register, and a second type-1 high value register for storing values continuous to the storage values of the first type-1 high value register.SELECTED DRAWING: Figure 26

Description

本発明は遊技機に関するものであり、特には、遊技機における制御手段のレジスタ構成に関する。 The present invention relates to a game machine, and more particularly to a register configuration of control means in the game machine.

例えばパチンコ遊技機としての弾球遊技機やスロットマシンとしての回胴式遊技機等の遊技機においては、遊技進行に係る制御を行う制御手段としてCPU(Central Processing Unit)等の演算処理装置が設けられ、該演算処理装置がプログラムに記述された命令に従った処理を行うことで遊技機の各種動作が実現される。 For example, in a game machine such as a ball game machine as a pachinko game machine or a rotating body type game machine as a slot machine, an arithmetic processing unit such as a CPU (Central Processing Unit) is provided as a control means for controlling the progress of the game. Then, the arithmetic processing unit performs processing according to the instructions described in the program, so that various operations of the gaming machine are realized.

なお、関連する従来技術については下記特許文献1を挙げることができる。 The following Patent Document 1 can be mentioned as a related prior art.

特開2019−141675号公報JP-A-2019-141675

近年の遊技機においては、実現すべき機能の増加に伴ってプログラムの容量も増大しつつあり、メモリを圧迫している。 In recent game machines, the capacity of programs is increasing along with the increase in the functions to be realized, which is squeezing the memory.

そこで、本発明では、プログラム容量の削減を図ることを目的とする。 Therefore, an object of the present invention is to reduce the program capacity.

本発明に係る遊技機は、遊技進行に係る制御を行う制御手段を備え、前記制御手段は、アクセス可能なメモリアドレス空間を有すると共に、汎用レジスタと、一部の命令において扱う前記メモリアドレス空間のアドレスの上位値を格納するレジスタである上位値レジスタとをそれぞれ複数含んだレジスタ群を少なくとも一つ有し、前記メモリアドレス空間には、領域サイズが所定サイズの第一領域と、前記第一領域とは異なる領域であって領域サイズが前記所定サイズよりも小さい第二領域とがあり、前記上位値レジスタには、前記第一領域に関連した第一種上位値レジスタと、前記第二領域におけるアドレスの上位値を格納する第二種上位値レジスタとがあり、前記レジスタ群において、前記第一種上位値レジスタの数が複数、前記第二種上位値レジスタの数が単数とされ、前記レジスタ群における複数の前記第一種上位値レジスタには、第1の第一種上位値レジスタと、前記第1の第一種上位値レジスタの格納値に連続する値を格納する第2の第一種上位値レジスタとが含まれるものである。 The gaming machine according to the present invention includes a control means for controlling the progress of the game, and the control means has an accessible memory address space, a general-purpose register, and the memory address space handled by some instructions. It has at least one register group including a plurality of upper value registers, which are registers for storing the upper value of the address, and the memory address space includes a first area having a predetermined area size and the first area. There is a second region which is different from the above region and whose region size is smaller than the predetermined size, and the upper value register includes a first-class upper value register related to the first region and a second region in the second region. There is a type 2 upper value register that stores the upper value of the address, and in the register group, the number of the first type upper value registers is a plurality, the number of the second type upper value registers is a single number, and the register. In the plurality of first-class upper-value registers in the group, a first-first first-class upper-value register and a second first-second value that stores consecutive values in the stored values of the first-class upper-value register It contains a species high-value register.

上位値レジスタを設けることで、第一領域や第二領域における所要のアドレスにアクセスする際には、上位値レジスタに格納された上位値を用いたアクセスを行うことで、プログラムに該アドレスの上位値を記述する必要をなくすことが可能となる。すなわち、プログラム容量の削減を図ることが可能となる。このとき、アドレス下位値のバイト数によっては、アクセス対象とする領域全体を賄えないことがある。例えば、アドレス下位値で賄うことのできる領域のサイズが256バイト(つまりアドレス下位値=1バイト)であるとして、仮に、第一領域のサイズが256バイトを超えるサイズである場合には、アドレス下位値で第一領域の全体を賄うことができない。つまりこの場合は、第一領域における256バイト以内の領域と256バイトを超える領域とで、異なるアドレス上位値を使用することを要する。このため、第一種上位値レジスタとしては、第1の第一種上位値レジスタと、第1の第一種上位値レジスタの格納値に連続する値を格納する第2の第一種上位値レジスタとを少なくとも設けるようにしている。これにより、第一領域における何れのアドレスにアクセスする際にも、上位値レジスタに格納された上位値を用いたアクセスを行うことが可能となり、プログラムにアクセス先アドレスの上位値を記述する必要をなくすことが可能となる。第二領域については、所定サイズよりも小さい領域であるため、第二種上位値レジスタの数は単数であってもプログラムにアクセス先アドレスの上位値を記述する必要をなくすことが可能である。 By providing the upper value register, when accessing the required address in the first area or the second area, the upper value of the address is given to the program by accessing using the upper value stored in the upper value register. It is possible to eliminate the need to describe the value. That is, it is possible to reduce the program capacity. At this time, depending on the number of bytes of the lower address value, the entire area to be accessed may not be covered. For example, assuming that the size of the area that can be covered by the address lower value is 256 bytes (that is, the address lower value = 1 byte), if the size of the first area exceeds 256 bytes, the address lower value is used. The value cannot cover the entire first area. That is, in this case, it is necessary to use different address upper values in the area within 256 bytes and the area exceeding 256 bytes in the first area. Therefore, as the first-class upper-value register, the second-class upper-value register that stores consecutive values in the first-class upper-value register and the first-class upper-value register is stored. At least a register is provided. As a result, when accessing any address in the first area, it is possible to access using the upper value stored in the upper value register, and it is necessary to describe the upper value of the access destination address in the program. It will be possible to eliminate it. Since the second area is smaller than a predetermined size, it is possible to eliminate the need to describe the upper value of the access destination address in the program even if the number of the second type upper value registers is singular.

また、上記した本発明に係る遊技機においては、前記第二領域は、前記制御手段の入出力レジスタを割り当てた領域である構成とすることが可能である。 Further, in the game machine according to the present invention described above, the second area can be configured to be an area to which the input / output registers of the control means are allocated.

これにより、メモリマップド (Memory Mapped) I/Oを採用可能となる。 This makes it possible to employ Memory Mapped I / O.

また、上記した本発明に係る遊技機においては、前記第一領域には、領域内プログラムにより使用可能とされた領域である使用領域と、領域外プログラムにより使用可能とされた領域である使用外領域とが含まれ、前記使用領域は、アドレスの上位値が連続した二つの領域で構成され、前記使用外領域は、アドレスの上位値が前記使用領域とは異なる領域とされ、前記レジスタ群として、少なくとも前記領域内プログラムで用いる第一レジスタ群を備え、前記第一レジスタ群において、前記第1の第一種上位値レジスタと前記第2の第一種上位値レジスタとが設けられた構成とすることが可能である。 Further, in the game machine according to the present invention described above, in the first area, a used area which is an area made available by the in-area program and an unused area which is an area made available by the out-of-area program. The used area includes an area, the used area is composed of two areas in which the upper value of the address is continuous, and the unused area is an area in which the upper value of the address is different from the used area, and is used as the register group. A configuration in which at least a first register group used in the program in the region is provided, and the first register group is provided with the first type first upper value register and the second type first upper value register. It is possible to do.

これにより、使用領域における何れのアドレスにアクセスする際にも、二つの第一種上位値レジスタのうち対応する何れかに格納されたアドレス上位値を用いたアクセスを行うことが可能となる。すなわち、領域内プログラムにアクセス先アドレスの上位値を記述する必要をなくすことが可能となる。 As a result, when accessing any address in the used area, it is possible to perform access using the address upper value stored in any of the two first-class upper value registers. That is, it is possible to eliminate the need to describe the upper value of the access destination address in the program in the area.

また、上記した本発明に係る遊技機においては、前記第一領域には、領域内プログラムにより使用可能とされた領域である使用領域と、領域外プログラムにより使用可能とされた領域である使用外領域とが含まれ、前記レジスタ群として、前記領域内プログラムで用いる第一レジスタ群と、前記領域外プログラムで用いる第二レジスタ群の二つを備え、前記第一、第二レジスタ群のそれぞれに前記第1の第一種上位値レジスタと前記第2の第一種上位値レジスタと前記第二種上位値レジスタとがあり、前記第一、第二レジスタ群のそれぞれにおいて、前記第1の第一種上位値レジスタ、前記第2の第一種上位値レジスタ、前記第二種上位値レジスタごとにそれぞれ共通の値が格納される構成とすることが可能である。 Further, in the game machine according to the present invention described above, the first area includes a used area that is a region that can be used by the in-area program and a non-use area that is a region that can be used by the out-of-area program. A region is included, and the register group includes two groups, a first register group used in the in-region program and a second register group used in the out-of-region program, and each of the first and second register groups There are the first type first upper value register, the second type first upper value register, and the second type upper value register, and in each of the first and second register groups, the first first type. It is possible to have a configuration in which a common value is stored for each of the first-class upper-value register, the second first-class upper-value register, and the second-class upper-value register.

すなわち、第二レジスタ群における二つの第一種上位値レジスタ、単数の第二種上位値レジスタに対して、それぞれ第一レジスタ群側と同じ値が格納される。これにより、領域外プログラムの実行時(つまり第二レジスタ群の使用時)に第一領域や第二領域にアクセスする際に、第一種上位値レジスタや第二種上位値レジスタに格納されたアドレス上位値を用いることが可能となる。つまりは、領域外プログラムについても、第一領域や第二領域にアクセスするための命令にアドレス上位値を記述する必要をなくすことが可能となる。 That is, the same values as those on the first register group side are stored in each of the two first-class upper-value registers and the singular second-class upper-value register in the second register group. As a result, when accessing the first area or the second area when the program outside the area is executed (that is, when the second register group is used), it is stored in the first-class upper-value register or the second-class upper-value register. It is possible to use the upper address value. That is, it is possible to eliminate the need to describe the address upper value in the instruction for accessing the first area and the second area even for the program outside the area.

本発明によれば、プログラム容量の削減を図ることができる。 According to the present invention, the program capacity can be reduced.

本発明に係る実施形態としての遊技機の外観を示す正面側の斜視図である。It is a front side perspective view which shows the appearance of the game machine as the embodiment which concerns on this invention. 実施形態としての遊技機の遊技盤の構成を示す図である。It is a figure which shows the structure of the game board of the game machine as an embodiment. 実施形態としての遊技機の制御構成を示すブロック図である。It is a block diagram which shows the control composition of the game machine as an embodiment. 実施形態における先読み予告演出の例についての説明図である。It is explanatory drawing about the example of the look-ahead notice production in an embodiment. 実施形態の主制御側メイン処理を示したフローチャートである。It is a flowchart which showed the main process of the main control side of embodiment. 図5中の初期設定処理を示したフローチャートである。It is a flowchart which showed the initial setting process in FIG. 実施形態の電源異常チェック処理を示したフローチャートである。It is a flowchart which showed the power supply abnormality check process of embodiment. 設定変更処理、RAMクリア処理、設定確認処理、バックアップ復帰処理への移行にあたっての操作面での各判定条件と、Wレジスタの値との対応関係を示した図である。It is a figure which showed the correspondence relationship between each judgment condition in operation side at the time of transition to a setting change processing, a RAM clear processing, a setting confirmation processing, and a backup restoration processing, and a value of a W register. 図5中のメインループ処理を示したフローチャートである。It is a flowchart which showed the main loop processing in FIG. 図5中の設定変更処理を示したフローチャートである。It is a flowchart which showed the setting change process in FIG. 図10中の出力管理処理を示したフローチャートである。It is a flowchart which showed the output management process in FIG. 7セグデコードテーブルの例を示した図である。It is a figure which showed the example of the 7-segment decoding table. 設定値の表示器におけるセグメント構成とセグメントの表示パターンとの関係を例示した図である。It is a figure which illustrated the relationship between the segment composition and the display pattern of a segment in the display of a set value. 図5中のRAMクリア処理を示したフローチャートである。It is a flowchart which showed the RAM clear process in FIG. 図5中の設定確認処理を示したフローチャートである。It is a flowchart which showed the setting confirmation process in FIG. 設定値オフセット変換テーブルの例を示した図である。It is a figure which showed the example of the set value offset conversion table. 図5中のメインループ前処理を示したフローチャートである。It is a flowchart which showed the main loop preprocessing in FIG. 実施形態の主制御側タイマ割込み処理を示したフローチャートである。It is a flowchart which showed the timer interrupt processing of the main control side of embodiment. 図18中の電源チェック・バックアップ処理を示したフローチャートである。It is a flowchart which showed the power supply check / backup process in FIG. 図18中の設定異常チェック処理を示したフローチャートである。It is a flowchart which showed the setting abnormality check process in FIG. 主制御部のメモリに設定された領域についての説明図である。It is explanatory drawing about the area set in the memory of a main control part. 各領域に定められた規制についての説明図である。It is explanatory drawing about the regulation defined in each area. 先行例におけるレジスタ構成を示した図である。It is a figure which showed the register structure in the prior example. 主制御側メイン処理(図5)における主にメインループ処理(図9)に対応した部分のプログラムを例示した図である。It is a figure which illustrated the program of the part mainly corresponding to the main loop processing (FIG. 9) in the main control side main processing (FIG. 5). 性能表示モニタ集計除算処理(S304)に係るプログラムを例示した図である。It is a figure which illustrated the program which concerns on the performance display monitor total division processing (S304). 実施形態におけるレジスタ構成を示した図である。It is a figure which showed the register structure in an embodiment. 実施形態における割込み制御フラグの更新ルールについての説明図である。It is explanatory drawing about the update rule of an interrupt control flag in an embodiment. 実施形態としての処理移行手法を適用した場合の領域内プログラムを例示した図である。It is a figure which illustrated the program in an area when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域外プログラムを例示した図である。It is a figure which illustrated the program outside the area when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域内プログラムの他の例を示した図である。It is a figure which showed the other example of the program in an area when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域外プログラムの他の例を示した図である。It is a figure which showed the other example of the out-of-region program when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域内プログラムの別例を示した図である。It is a figure which showed another example of the program in an area when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域外プログラムの別例を示した図である。It is a figure which showed another example of the out-of-region program when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域内プログラムの別例を示した図である。It is a figure which showed another example of the program in an area when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域外プログラムの別例を示した図である。It is a figure which showed another example of the out-of-region program when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域内プログラムの別例を示した図である。It is a figure which showed another example of the program in an area when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域外プログラムの別例を示した図である。It is a figure which showed another example of the out-of-region program when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域内プログラムの別例を示した図である。It is a figure which showed another example of the program in an area when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域外プログラムの別例を示した図である。It is a figure which showed another example of the out-of-region program when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域内プログラムの別例を示した図である。It is a figure which showed another example of the program in an area when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域外プログラムの別例を示した図である。It is a figure which showed another example of the out-of-region program when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域内プログラムの別例を示した図である。It is a figure which showed another example of the program in an area when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域外プログラムの別例を示した図である。It is a figure which showed another example of the out-of-region program when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域内プログラムの別例を示した図である。It is a figure which showed another example of the program in an area when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域外プログラムの別例を示した図である。It is a figure which showed another example of the out-of-region program when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域内プログラムの別例を示した図である。It is a figure which showed another example of the program in an area when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域外プログラムの別例を示した図である。It is a figure which showed another example of the out-of-region program when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域内プログラムの別例を示した図である。It is a figure which showed another example of the program in an area when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域外プログラムの別例を示した図である。It is a figure which showed another example of the out-of-region program when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域内プログラムの別例を示した図である。It is a figure which showed another example of the program in an area when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域外プログラムの別例を示した図である。It is a figure which showed another example of the out-of-region program when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域内プログラムの別例を示した図である。It is a figure which showed another example of the program in an area when the process transition method as an embodiment is applied. 実施形態としての処理移行手法を適用した場合の領域外プログラムの別例を示した図である。It is a figure which showed another example of the out-of-region program when the process transition method as an embodiment is applied. レジスタバンクの切り替え命令に係る領域内プログラムの変形例を示した図である。It is a figure which showed the modification of the program in the area which concerns on a register bank switching instruction. レジスタバンクの切り替え命令に係る領域外プログラムの変形例を示した図である。It is a figure which showed the modification of the out-of-region program which concerns on the register bank switching instruction. レジスタバンクの切り替え命令に係る領域内プログラムの変形例を示した図である。It is a figure which showed the modification of the program in the area which concerns on a register bank switching instruction. レジスタバンクの切り替え命令に係る領域外プログラムの変形例を示した図である。It is a figure which showed the modification of the out-of-region program which concerns on the register bank switching instruction. レジスタバンクの切り替え命令に係る領域内プログラムの変形例を示した図である。It is a figure which showed the modification of the program in the area which concerns on a register bank switching instruction. レジスタバンクの切り替え命令に係る領域外プログラムの変形例を示した図である。It is a figure which showed the modification of the out-of-region program which concerns on the register bank switching instruction. レジスタバンクの切り替え命令に係る領域内プログラムの変形例を示した図である。である。It is a figure which showed the modification of the program in the area which concerns on a register bank switching instruction. Is. レジスタバンクの切り替え命令に係る領域外プログラムの変形例を示した図である。It is a figure which showed the modification of the out-of-region program which concerns on the register bank switching instruction. 「CALL」及び「RET」命令を用いた場合の領域内プログラムの例を示した図である。It is a figure which showed the example of the program in an area when the "CALL" and "RET" instructions are used. 「CALL」及び「RET」命令を用いた場合の領域外プログラムの例を示した図である。It is a figure which showed the example of the out-of-region program when the "CALL" and "RET" instructions are used. 実施形態における主制御部のメモリマップを示した図である。It is a figure which showed the memory map of the main control part in embodiment.

以下、添付図面を参照し、本発明に係る実施形態を次の順序で説明する。

<1.遊技機の構造>
<2.遊技機の制御構成>
[2-1.主制御部]
(設定値の変更操作について)
(性能表示について)
(演出制御コマンド)
[2-2.演出制御部]
<3.動作の概要説明>
[3-1.図柄変動表示ゲーム]
(特別図柄変動表示ゲーム)
(装飾図柄変動表示ゲーム)
(普通図柄変動表示ゲーム)
(保留について)
[3-2.遊技状態]
[3-3.当りについて]
[3-4.演出について]
(演出モード)
(予告演出)
(演出手段)
<4.主制御部の処理>
[4-1.主制御側メイン処理]
(初期設定処理)
(初期設定後の処理)
(メインループ処理)
(設定変更処理)
(RAMクリア処理)
(設定確認処理)
(メインループ前処理)
(設定値表示用データテーブルと設定値変換テーブルの利点)
[4-2.主制御側タイマ割込み処理]
(電源チェック・バックアップ処理)
(エラー管理及び遊技進行のための処理等)
<5.領域内処理と領域外処理との間の処理移行について>
[5-1.使用領域、使用外領域について]
[5-2.先行例における処理移行手法]
[5-3.実施形態としての処理移行手法]
[5-4.プログラムの別例]
[5-5.プログラムの変形例]
[5-6.その他変形例]
<6.Qレジスタ及びUレジスタについて>
<7.実施形態のまとめ>
Hereinafter, embodiments according to the present invention will be described in the following order with reference to the accompanying drawings.

<1. Game machine structure>
<2. Game machine control configuration>
[2-1. Main control unit]
(About the operation to change the set value)
(About performance display)
(Direction control command)
[2-2. Production control unit]
<3. Outline explanation of operation >
[3-1. Design fluctuation display game]
(Special symbol variation display game)
(Decorative pattern variation display game)
(Normal symbol fluctuation display game)
(About hold)
[3-2. Game state]
[3-3. About hit]
[3-4. About the production]
(Direction mode)
(Notice production)
(Direction means)
<4. Main control processing>
[4-1. Main control side main processing]
(Initial setting process)
(Processing after initial setting)
(Main loop processing)
(Setting change processing)
(RAM clear processing)
(Setting confirmation process)
(Main loop pre-processing)
(Advantages of data table for setting value display and setting value conversion table)
[4-2. Main control side timer interrupt processing]
(Power check / backup process)
(Error management and processing for game progress, etc.)
<5. About processing transition between intra-area processing and out-of-area processing>
[5-1. About used area and non-used area]
[5-2. Processing migration method in the preceding example]
[5-3. Processing migration method as an embodiment]
[5-4. Another example of the program]
[5-5. Program modification]
[5-6. Other variants]
<6. About Q register and U register>
<7. Summary of embodiments>

<1.遊技機の構造>

図1及び図2を参照して、本発明に係る実施形態としてのパチンコ遊技機1の構造について説明する。図1はパチンコ遊技機1の外観を示す正面側の斜視図を、図2はパチンコ遊技機1が有する遊技盤3の正面側を示した図である。
<1. Game machine structure>

The structure of the pachinko gaming machine 1 as the embodiment according to the present invention will be described with reference to FIGS. 1 and 2. FIG. 1 is a perspective view of the front side showing the appearance of the pachinko gaming machine 1, and FIG. 2 is a view showing the front side of the gaming board 3 of the pachinko gaming machine 1.

図1に示すパチンコ遊技機1(以下「遊技機1」と略称する場合がある)は、木製の外枠4の前面に額縁状の前枠2を開閉可能に取り付け、前枠2の裏面に取り付けた遊技盤収納フレーム(図示せず)内に遊技盤3(図2参照)を装着し、この遊技盤3の表面に形成した遊技領域3aを前枠2の開口部に臨ませた構成を有する。この遊技領域3aの前側には、透明ガラスを支持したガラス扉6が設けられている。また遊技盤3の背面側には、遊技動作を制御するための各種制御基板(図3参照)が配設されている。 The pachinko gaming machine 1 shown in FIG. 1 (hereinafter, may be abbreviated as “game machine 1”) has a frame-shaped front frame 2 attached to the front surface of a wooden outer frame 4 so as to be openable and closable, and is attached to the back surface of the front frame 2. A game board 3 (see FIG. 2) is mounted in the mounted game board storage frame (not shown), and the game area 3a formed on the surface of the game board 3 faces the opening of the front frame 2. Have. A glass door 6 supporting transparent glass is provided on the front side of the game area 3a. Further, on the back side of the game board 3, various control boards (see FIG. 3) for controlling the game operation are arranged.

ガラス扉6の前側には扉ロック解除用のキーシリンダ(図示せず)が設けられており、このキーシリンダにキーを差し込んで一方側に操作すれば前枠2に対するガラス扉6のロック状態を、他方側に操作すれば外枠4に対する前枠2のロック状態をそれぞれ解除して前側に開放できるようになっている。 A key cylinder (not shown) for unlocking the door is provided on the front side of the glass door 6, and if a key is inserted into this key cylinder and operated on one side, the locked state of the glass door 6 with respect to the front frame 2 can be obtained. By operating the other side, the locked state of the front frame 2 with respect to the outer frame 4 can be released and the front frame 2 can be opened to the front side.

ガラス扉6の下側には、ヒンジ(図示せず)により前枠2に開閉自在に枢支された前面操作パネル7が配置されている。前面操作パネル7には、上受け皿ユニット8が設けられ、この上受け皿ユニット8には、排出された遊技球を貯留する上受け皿9が形成されている。 Below the glass door 6, a front operation panel 7 that is pivotally supported by a hinge (not shown) on the front frame 2 is arranged. The front operation panel 7 is provided with an upper tray unit 8, and the upper tray unit 8 is formed with an upper tray 9 for storing the discharged game balls.

また上受け皿ユニット8には、上受け皿9に貯留された遊技球を遊技機1の下方に抜くための球抜きボタン14と、遊技球貸出装置(図示せず)に対して遊技球の払い出しを要求するための球貸しボタン11と、遊技球貸出装置に挿入した有価価値媒体の返却を要求するためのカード返却ボタン12とが設けられている。また上受け皿ユニット8には、遊技者が操作可能に構成された演出ボタン13(操作手段)が設けられている。この演出ボタン13は、所定の入力受付期間中に内蔵ランプ(ボタンLED75)が点灯されて操作可能(入力受付可能)となり、その内蔵ランプ点灯中に所定の操作(押下、連打、長押し等)をすることにより演出に変化をもたらすことが可能となっている。
また、図1では図示を省略しているが、前面操作パネル7には、遊技者やホールスタッフ等の使用者が各種の項目の選択や方向指示等を行うための十字キー15aや、選択項目の決定を指示するための決定ボタン15b等の操作子が設けられている。
Further, the upper saucer unit 8 has a ball removal button 14 for pulling out the game balls stored in the upper saucer 9 below the game machine 1, and payout of the game balls to the game ball lending device (not shown). A ball lending button 11 for requesting and a card returning button 12 for requesting the return of the valuable medium inserted in the game ball lending device are provided. Further, the upper saucer unit 8 is provided with an effect button 13 (operating means) configured to be operable by the player. The built-in lamp (button LED75) of the effect button 13 is lit during a predetermined input reception period to enable operation (input reception is possible), and a predetermined operation (press, repeated hit, long press, etc.) is performed while the built-in lamp is lit. It is possible to bring about a change in the production by doing.
Further, although not shown in FIG. 1, the front operation panel 7 includes a cross key 15a for a user such as a player or a hall staff to select various items and give direction instructions, and a selection item. An operator such as a decision button 15b for instructing the decision is provided.

また前面操作パネル7の右端部側には、発射装置32(図3参照)を作動させるための発射操作ハンドル15が設けられている。 Further, a launch operation handle 15 for operating the launch device 32 (see FIG. 3) is provided on the right end side of the front operation panel 7.

また前枠2の上部の両側と発射操作ハンドル15の上側とには、音響により音演出効果(効果音)を発揮するスピーカ46が設けられている。また、ガラス扉6の適所には、光の装飾により光演出効果を発揮する装飾ランプ45(例えばフルカラーLEDによる光演出用LED等)が複数設けられている。この装飾ランプ45としてのフルカラーLED(光演出用LED)は、パチンコ遊技機の周囲、つまりガラス扉6の前枠周縁に周方向に複数個設けられている。 Further, speakers 46 that exert a sound effect (sound effect) by sound are provided on both sides of the upper part of the front frame 2 and on the upper side of the firing operation handle 15. Further, a plurality of decorative lamps 45 (for example, LEDs for light effect by full-color LED) are provided at appropriate positions of the glass door 6 to exert a light effect by decorating light. A plurality of full-color LEDs (LEDs for light production) as the decorative lamp 45 are provided around the pachinko gaming machine, that is, around the periphery of the front frame of the glass door 6 in the circumferential direction.

図2を参照して、遊技盤3の構成について説明する。図示の遊技盤3には、発射された遊技球を案内する球誘導レール5が盤面区画部材として環状に装着されており、この球誘導レール5取り囲まれた略円形状の領域が遊技領域3a、四隅は非遊技領域となっている。 The configuration of the game board 3 will be described with reference to FIG. On the illustrated game board 3, a ball guide rail 5 for guiding the launched game ball is annularly mounted as a board surface partition member, and a substantially circular region surrounded by the ball guide rail 5 is a game area 3a. The four corners are non-gaming areas.

この遊技領域3aの略中央部には、たとえば3つ(左、中、右)の表示エリア(図柄変動表示領域)において、独立して数字やキャラクタや記号などによる複数種類の装飾図柄(たとえば、左図柄(左表示エリア対応)、中図柄(中表示エリア対応)、右図柄(右表示エリア対応))の変動表示動作(変動表示および停止表示)が可能である液晶表示装置(LCD)36が設けられている。以降の説明においては、左図柄、中図柄、右図柄に変動表示される複数種類の装飾図柄をそれぞれ「図柄群」と記載することもある。即ち、例えば、左表示エリアに停止表示された図柄は、左図柄を構成する図柄群のうちの一つとされる。
この液晶表示装置36は、後述する演出制御部24の制御の下、装飾図柄の変動表示動作の他、種々の演出を画像により表示する。
In the substantially central portion of the game area 3a, for example, in three (left, middle, right) display areas (design variation display areas), a plurality of types of decorative symbols (for example, symbols, characters, symbols, etc.) are independently used. A liquid crystal display (LCD) 36 capable of variable display operation (variable display and stop display) of the left symbol (corresponding to the left display area), the middle symbol (corresponding to the middle display area), and the right symbol (corresponding to the right display area). It is provided. In the following description, a plurality of types of decorative symbols that are variablely displayed on the left symbol, the middle symbol, and the right symbol may be described as "design groups". That is, for example, the symbol stopped and displayed in the left display area is regarded as one of the symbol groups constituting the left symbol.
Under the control of the effect control unit 24, which will be described later, the liquid crystal display device 36 displays various effects as images in addition to the variable display operation of the decorative symbol.

また遊技領域3a内には、液晶表示装置36の表示面の周りを遠巻きに囲繞する形でセンター飾り48が設けられている。センター飾り48は、遊技盤3の前面側に沿って設けられ、周囲の遊技球から液晶表示装置36の表示面を保護すると共に、遊技球の打ち出しの強さ又はストローク長により、遊技球の流路を左右に振り分けることを可能とする流路振分手段として働く。本実施形態では、センター飾り48の存在によって遊技領域3a内の上部両側(左側と右側)に遊技球の流路が形成されるように、センター飾り48は遊技領域3aのほぼ中央部に配置されている。発射装置32により遊技領域3aの上部側に打ち込まれた遊技球は、鎧枠部48bの上部側で左右に振り分けられ、センター飾り48の左側の左流下経路3bと右側の右流下経路3cとの何れかを流下する。 Further, in the game area 3a, a center decoration 48 is provided so as to surround the display surface of the liquid crystal display device 36 in a long-winded manner. The center decoration 48 is provided along the front side of the game board 3 to protect the display surface of the liquid crystal display device 36 from the surrounding game balls, and the flow of the game balls depends on the launch strength or stroke length of the game balls. It works as a flow path distribution means that enables the road to be distributed to the left and right. In the present embodiment, the center decoration 48 is arranged substantially in the center of the game area 3a so that the flow paths of the game balls are formed on both upper sides (left side and right side) in the game area 3a due to the presence of the center decoration 48. ing. The game ball driven into the upper side of the game area 3a by the launching device 32 is distributed to the left and right on the upper side of the armor frame portion 48b, and has a left flow path 3b on the left side of the center decoration 48 and a right flow path 3c on the right side. Flow down either.

また遊技盤3の右上縁付近(右上隅)の非遊技領域は各種機能表示部となっており、7セグメント表示器(ドット付)を上始動口34(第1の特別図柄用)と下始動口35(第2の特別図柄用)に対応させて横に並べて構成される特別図柄表示装置38a(第1の特別図柄表示手段)と特別図柄表示装置38b(第2の特別図柄表示手段)とが設けられている。特別図柄表示装置38a、38bでは、7セグメント表示器により表現される「特別図柄」の変動表示動作による特別図柄変動表示ゲームが実行されるようになっている。そして上記の液晶表示装置36では、特別図柄表示装置38a、38bによる特別図柄の変動表示と時間的に同調して、画像による装飾図柄を変動表示して、種々の予告演出(演出画像)と共に装飾図柄変動表示ゲームが実行されるようになっている(これらの図柄変動表示ゲームについての詳細は追って説明する)。 In addition, the non-game area near the upper right edge (upper right corner) of the game board 3 is a various function display unit, and the 7-segment display (with dots) is started at the upper start port 34 (for the first special symbol) and the lower start. A special symbol display device 38a (first special symbol display means) and a special symbol display device 38b (second special symbol display means) configured side by side corresponding to the mouth 35 (for the second special symbol). Is provided. In the special symbol display devices 38a and 38b, a special symbol variation display game is executed by the variation display operation of the "special symbol" represented by the 7-segment display. Then, in the liquid crystal display device 36 described above, the decorative symbol by the image is variablely displayed in synchronization with the variable display of the special symbol by the special symbol display devices 38a and 38b, and is decorated with various notice effects (effect images). The symbol variation display games are being executed (details of these symbol variation display games will be described later).

また各種機能表示部には、特別図柄表示装置38a、38bの隣に、7セグメント表示器(ドット付)からなる複合表示装置(保留複合表示用LED表示器)38cが配設されている。複合と称したのは、特別図柄1、2、普通図柄の作動保留球数の表示、変動時間短縮機能作動中(時短中)および高確率状態中(高確中)の状態報知という、5つの表示機能を有する保留・時短・高確複合表示装置(以下単に「複合表示装置」と称する)であるからである。 Further, in the various function display units, a composite display device (LED display for holding composite display) 38c composed of a 7-segment display (with dots) is arranged next to the special symbol display devices 38a and 38b. There are five types of compound called compound: special symbols 1 and 2, display of the number of balls on hold for normal symbols, status notification during the fluctuation time shortening function operation (during time reduction) and during high probability state (during high probability). This is because it is a hold / time saving / high-accuracy composite display device (hereinafter, simply referred to as “composite display device”) having a display function.

また各種機能表示部には、複合表示装置38cの隣りに、複数個(この実施形態では2個)のLEDを配置してなる普通図柄表示装置39a(普通図柄表示手段)が設けられている。この普通図柄表示装置39aでは、2個のLEDにより表現される普通図柄の変動表示動作により普通図柄変動表示ゲームが実行されるようになっている。例えば、変動表示動作として、LEDによる普通図柄がシーソー的に交互に点灯と消灯を繰り返し、何れかの側が点灯した状態で停止することで、普通図柄変動表示ゲームの当否が判明するようになっている。また、この普通図柄表示装置39aに隣接して3個のLED(第1〜第3ラウンド表示LED)を配置してなるラウンド数表示装置39bが設けられている。このラウンド数表示装置39bは、3つのLEDの点灯・消灯状態の組合せにより、大当りに係る規定ラウンド数(最大ラウンド数)を報知する。 Further, the various function display units are provided with a normal symbol display device 39a (normal symbol display means) in which a plurality of (two in this embodiment) LEDs are arranged next to the composite display device 38c. In this ordinary symbol display device 39a, the ordinary symbol variation display game is executed by the variation display operation of the ordinary symbol represented by the two LEDs. For example, as a variable display operation, the normal symbol on the LED repeatedly turns on and off in a seesaw manner, and stops with either side lit, so that the success or failure of the normal symbol fluctuation display game can be determined. There is. Further, a round number display device 39b is provided in which three LEDs (first to third round display LEDs) are arranged adjacent to the normal symbol display device 39a. The round number display device 39b notifies the specified number of rounds (maximum number of rounds) related to the jackpot by combining the lighting and extinguishing states of the three LEDs.

センター飾り48の下方には、上始動口34(第1の特別図柄始動口:第1の始動手段)と、下始動口35(第2の特別図柄始動口:第2の始動手段)を備える普通変動入賞装置41とが上下に設けられ、それぞれの内部には、遊技球の通過を検出する検出センサ34a、35a(上始動口センサ34a、下始動口センサ35a:図3参照)が形成されている。 Below the center decoration 48, an upper starting port 34 (first special symbol starting port: first starting means) and a lower starting port 35 (second special symbol starting port: second starting means) are provided. Ordinary variable winning devices 41 are provided above and below, and detection sensors 34a and 35a (upper start port sensor 34a, lower start port sensor 35a: see FIG. 3) are formed inside each of them to detect the passage of a game ball. ing.

第1の特別図柄始動口である上始動口34は、特別図柄表示装置38aにおける第1の特別図柄(以下、第1の特別図柄を「特別図柄1」と称し、場合により「特図1」と略称する)の変動表示動作の始動条件に係る入賞口であり、始動口開閉手段(始動口を開放又は拡大可能にする手段)を有しない入賞率固定型の入賞装置として構成されている。本実施形態では、遊技領域3a内の遊技球落下方向変換部材(例えば、遊技くぎ(図示せず)、風車44、センター飾り48など)の作用により、上始動口34へは、左流下経路3bを流下してきた遊技球については入球(入賞)容易な構成であるのに対し、右流下経路3cを流下してきた遊技球については入球困難または入球不可能な構成となっている。 The upper starting port 34, which is the first special symbol starting port, is the first special symbol in the special symbol display device 38a (hereinafter, the first special symbol is referred to as "special symbol 1", and in some cases, "special symbol 1". It is a winning opening related to the starting condition of the variable display operation (abbreviated as), and is configured as a winning rate fixed winning device having no starting opening opening / closing means (means for opening or expanding the starting opening). In the present embodiment, due to the action of the game ball falling direction changing member (for example, a game nail (not shown), a windmill 44, a center decoration 48, etc.) in the game area 3a, the left flow path 3b to the upper start port 34 The game ball that has flowed down the ball has a structure that makes it easy to enter (win), while the game ball that has flowed down the right flow path 3c has a structure that makes it difficult or impossible to enter.

普通変動入賞装置41は、始動口開閉手段により始動口の遊技球の入賞率を変動可能な入賞率変動型の入賞装置として構成されている。本実施形態では、始動口開閉手段として、第2の特別図柄始動口である下始動口35を、開放または拡大可能にする左右一対の可動翼片(可動部材)47を備える、いわゆる「電動チューリップ型」入賞装置として構成されている。 The ordinary variable winning device 41 is configured as a winning rate variable winning device in which the winning rate of the game ball at the starting port can be changed by the starting port opening / closing means. In the present embodiment, the so-called "electric tulip" is provided with a pair of left and right movable wing pieces (movable members) 47 that allow the lower starting port 35, which is the second special symbol starting port, to be opened or expanded as the starting port opening / closing means. It is configured as a "type" winning device.

普通変動入賞装置41の下始動口35は、特別図柄表示装置38bにおける第2の特別図柄(以下、第2の特別図柄を「特別図柄2」と称し、場合により「特図2」と略称する)の変動表示動作の始動条件に係る入賞口であり、この下始動口35の入賞領域は、可動翼片47の作動状態(作動または非作動)に応じて、入賞を容易とする開状態(入賞容易状態)と、その開状態よりも入賞を困難にし、又は入賞を不可能にする閉状態(入賞困難状態)とに変換される。本実施形態では、可動翼片47が非作動の場合、下始動口35への入賞が不可能とする閉状態(入賞不可能状態)を保持している。 The lower start port 35 of the ordinary variable winning device 41 is referred to as a second special symbol in the special symbol display device 38b (hereinafter, the second special symbol is referred to as "special symbol 2", and in some cases, abbreviated as "special symbol 2". ) Is a winning opening related to the starting condition of the variable display operation, and the winning area of the lower starting opening 35 is an open state (operated or not activated) that facilitates winning according to the operating state (operated or non-operating) of the movable wing piece 47. It is converted into a closed state (difficult to win), which makes it more difficult to win or makes it impossible to win than the open state. In the present embodiment, when the movable wing piece 47 is inactive, it holds a closed state (a winning impossible state) that makes it impossible to win a prize in the lower starting port 35.

また普通変動入賞装置41の両側には、一般入賞口43が左側に3つ、右側に1つ、計4つ配設されており、それぞれの内部には、遊技球の通過を検出する一般入賞口センサ43a(図3参照)が形成されている。また遊技盤の領域内には遊技球の流下を妨害しない位置に、視覚的演出効果を奏する可動体役物(図示せず)が配設されている。 Further, on both sides of the normal variable winning device 41, three general winning openings 43 are arranged on the left side and one on the right side, for a total of four, and inside each of them, a general winning hole for detecting the passage of a game ball is provided. A mouth sensor 43a (see FIG. 3) is formed. Further, in the area of the game board, a movable body accessory (not shown) that exerts a visual effect is arranged at a position that does not interfere with the flow of the game ball.

また普通変動入賞装置41の右斜め上方、つまり右流下経路3cの中間部より上部側には、遊技球が通過可能な通過ゲート(特定通過領域)からなる普通図柄始動口37(第3の始動手段)が設けられている。この普通図柄始動口37は、普通図柄表示装置39aにおける普通図柄の変動表示動作に係る入賞口であり、その内部には、通過する遊技球を検出する普通図柄始動口センサ37a(図3参照)が形成されている。なお本実施形態では、普通図柄始動口37は右流下経路3c側にのみに形成され、左流下経路3b側には形成されていない。しかし本発明はこれに限らず、左流下経路3bのみに形成してもよいし、両流下経路にそれぞれ形成してもよい。 Further, diagonally upward to the right of the normal variable winning device 41, that is, above the middle portion of the right flow path 3c, a normal symbol start port 37 (third start) composed of a passage gate (specific passage area) through which the game ball can pass. Means) are provided. The normal symbol start port 37 is a winning opening related to the fluctuation display operation of the normal symbol in the normal symbol display device 39a, and inside the normal symbol start port sensor 37a (see FIG. 3), which detects a passing game ball. Is formed. In the present embodiment, the normal symbol start port 37 is formed only on the right flow path 3c side, and is not formed on the left flow path 3b side. However, the present invention is not limited to this, and may be formed only in the left flow path 3b, or may be formed in both flow paths, respectively.

右流下経路3c内の普通図柄始動口37から普通変動入賞装置41へかけての経路途中には、突没式の開放扉52bにより大入賞口50を開放または拡大可能に構成された特別変動入賞装置52(特別電動役物)が設けられており、その内部には大入賞口50に入球した遊技球を検出する大入賞口センサ52a(図3参照)が形成されている。 In the middle of the route from the normal symbol start port 37 in the right flow path 3c to the normal variable winning device 41, the large winning opening 50 can be opened or expanded by the retractable open door 52b. A device 52 (special electric accessory) is provided, and a large winning opening sensor 52a (see FIG. 3) for detecting a game ball that has entered the large winning opening 50 is formed inside the device 52 (special electric accessory).

大入賞口50の周囲は、遊技盤3の表面から膨出した膨出部(装飾部材)55となっており、この膨出部55の上辺55aが右流下経路3cの下流案内部を形作っている。そして開放扉52bにより大入賞口50が閉鎖状態(大入賞口閉状態)であれば、この膨出部55の上辺55aと連続する面を形成することによって、右流下経路3cの下流案内部(上辺55a)の一部を形作るようになっている。また右流下経路3cの下流域には、膨出部55の上辺55aの上方の領域、正確には大入賞口50の上方の遊技領域において、遊技球の流下方向にほぼ平行に流路修正板51dが突設されており、流下する遊技球を大入賞口50の方向に寄せる働きをするようになっている。 The circumference of the large winning opening 50 is a bulging portion (decorative member) 55 bulging from the surface of the game board 3, and the upper side 55a of the bulging portion 55 forms a downstream guide portion of the right flow path 3c. There is. If the large winning opening 50 is closed by the open door 52b (the large winning opening is closed), the downstream guide portion of the right flow path 3c (by forming a surface continuous with the upper side 55a of the bulging portion 55). It is designed to form a part of the upper side 55a). Further, in the downstream region of the right flow path 3c, in the region above the upper side 55a of the bulge portion 55, to be exact, in the game region above the grand prize opening 50, the flow path correction plate is substantially parallel to the flow direction of the game ball. The 51d is projected so as to move the flowing game ball toward the large winning opening 50.

大入賞口50への遊技球の入球過程は次のようになる。
センター飾り48の上面と球誘導レール5との間の遊動領域を通過した遊技球は、遊技盤3より突出していて遊技球のガイドとして機能する膨出部55の頂面(上辺)55a上に沿って流下して来る。そして、その遊技球が遊技盤3面から突出している流路修正板51dの右端に接触し、これにより、当該遊技球の流下方向は大入賞口50の方向(下方向)に修正される。このとき、突没式の開放扉52bにより大入賞口50が蓋をされている状態(大入賞口閉状態)であれば、この上を遊技球が転動して、さらに図示しない所定配列の遊技くぎにより、チューリップ式の普通変動入賞装置41(下始動口35)の方向に導かれる。このとき、下始動口35が入賞可能状態(始動口開状態)であれば、下始動口35に遊技球が入賞し得る。他方、開放扉52bが遊技盤面内に後退していて大入賞口50が開いている状態(大入賞口開状態)であれば、遊技球が大入賞口50内に導かれる。
The process of entering the game ball into the grand prize opening 50 is as follows.
The game ball that has passed through the floating area between the upper surface of the center decoration 48 and the ball guide rail 5 is placed on the top surface (upper side) 55a of the bulging portion 55 that protrudes from the game board 3 and functions as a guide for the game ball. It flows down along. Then, the game ball comes into contact with the right end of the flow path correction plate 51d protruding from the three surfaces of the game board, whereby the flow direction of the game ball is corrected to the direction (downward direction) of the large winning opening 50. At this time, if the large winning opening 50 is covered by the retractable open door 52b (the large winning opening is closed), the game balls roll on the large winning opening 50, and the game balls are further arranged in a predetermined arrangement (not shown). The game nail guides the player in the direction of the tulip-type normal variable winning device 41 (lower starting port 35). At this time, if the lower start opening 35 is in a winning state (starting opening open state), the game ball can win in the lower starting opening 35. On the other hand, if the open door 52b is retracted into the game board surface and the large winning opening 50 is open (the large winning opening 50 is open), the game ball is guided into the large winning opening 50.

なお本実施形態の遊技機1では、遊技者が特別変動入賞装置52側に発射位置を狙い定めた場合(遊技球が右流下経路3cを通過するように狙いを定めた場合)、上始動口34側には遊技球が誘導され難い、又は誘導されない構成となっている。従って「大入賞口閉状態」であれば、普通変動入賞装置41の可動翼片47が作動しない限り、各始動口34、35への入賞が困難又は不可能とされるようになっている。可動翼片47は、後述の電サポ有り状態を伴う遊技状態になると、通常状態よりも有利な開閉パターンで動作するようになっている。 In the game machine 1 of the present embodiment, when the player aims at the launch position on the special variable winning device 52 side (when the game ball is aimed so as to pass through the right flow path 3c), the upper start port The game ball is difficult to be guided or is not guided to the 34 side. Therefore, in the "large winning opening closed state", it is difficult or impossible to win a prize in each of the starting ports 34 and 35 unless the movable wing piece 47 of the normal variable winning device 41 operates. The movable wing piece 47 operates in an opening / closing pattern that is more advantageous than the normal state when it is in a gaming state accompanied by a state with electric support, which will be described later.

本実施形態の場合、遊技者がどのような打ち方をすれば有利な状況となるかについては、遊技状態に応じて変化する。具体的には、後述の「電サポ無し状態」を伴う遊技状態であれば、遊技球が左流下経路3bを通過するように狙いを定める「左打ち」が有利とされ、後述の「電サポ有り状態」を伴う遊技状態であれば、遊技球が右流下経路3cを通過するように狙いを定める「右打ち」が有利とされる。 In the case of the present embodiment, what kind of striking method the player should take to obtain an advantageous situation changes depending on the gaming state. Specifically, in the game state accompanied by the "state without electric support" described later, the "left-handed" aiming at the game ball to pass the left flow path 3b is considered to be advantageous, and the "electric support" described later is considered to be advantageous. In the game state accompanied by the "presence state", the "right-handed" aiming at the game ball so as to pass through the right flow path 3c is considered to be advantageous.

本実施形態の遊技機1においては、遊技領域3aに設けられた各種入賞口のうち、普通図柄始動口37以外の入賞口への入賞があった場合には、各入賞口別に約束づけられた入賞球1個当りの賞球数(例えば、上始動口34または下始動口35は3個、大入賞口50は13個、一般入賞口43は10個)が遊技球払出装置19(図3参照)から払い出されるようになっている。上記の各入賞口に入賞しなかった遊技球は、アウト口49を介して遊技領域3aから排出される。
ここで「入賞」とは、入賞口がその内部に遊技球を取り込んだり、或いは入賞口が遊技球を内部に取り込む構造ではなく通過型のゲートからなる入賞口(例えば、普通図柄始動口37)である場合はそのゲートを遊技球が通過したりすることを言い、実際には入賞口ごとに形成された各入賞検出スイッチにより遊技球が検出された場合、その入賞口に「入賞」が発生したものとして扱われる。この入賞に係る遊技球を「入賞球」とも称する。なお、入賞口に遊技球が入口すれば、その遊技球は入賞検出スイッチにより検出されることとなるため、本明細書中では特に断りのない限り、入賞検出スイッチに遊技球が検出されたか否かによらず、入賞口に遊技球が入口した場合を含めて「入賞」と称する場合がある。
In the game machine 1 of the present embodiment, if there is a prize in a prize opening other than the normal symbol start opening 37 among various winning openings provided in the game area 3a, each winning opening is promised. The number of prize balls per winning ball (for example, 3 for the upper starting opening 34 or the lower starting opening 35, 13 for the large winning opening 50, and 10 for the general winning opening 43) is the game ball payout device 19 (FIG. 3). It is supposed to be paid out from (see). The game balls that do not win in each of the above winning openings are discharged from the gaming area 3a through the out opening 49.
Here, "winning" means a winning opening that does not have a structure in which the winning opening takes in the game ball inside, or the winning opening takes in the game ball inside, but a winning opening consisting of a passing gate (for example, a normal symbol starting port 37). If is, it means that the game ball passes through the gate, and when the game ball is actually detected by each winning detection switch formed for each winning opening, "winning" occurs in the winning opening. It is treated as if it had been done. The game ball related to this winning is also referred to as a "winning ball". If a game ball enters the winning opening, the game ball will be detected by the winning detection switch. Therefore, unless otherwise specified in the present specification, whether or not the game ball is detected by the winning detection switch. Regardless of this, it may be referred to as "winning" including the case where the game ball enters the winning opening.

<2.遊技機の制御構成>

図3のブロック図を参照して、遊技機1の遊技動作制御を実現するための構成(制御構成)について説明する。
本実施形態の遊技機1は、遊技動作全般に係る制御(遊技動作制御)を統括的に司る主制御基板(主制御手段)20(以下「主制御部20」と称する)と、主制御部20から演出制御コマンドを受けて、演出手段による演出の実行制御(現出制御)を統括的に司る演出制御基板(演出制御手段)24(以下「演出制御部24」と称する)と、賞球の払い出し制御を行う払出制御基板(払出制御手段)29と、外部電源(図示せず)から遊技機1に必要な電源を生成し供給する電源基板(電源制御手段(図示せず))と、を有して構成される。
なお、図3において、各部への電源供給ルートは省略している。
<2. Game machine control configuration>

A configuration (control configuration) for realizing game motion control of the game machine 1 will be described with reference to the block diagram of FIG.
The game machine 1 of the present embodiment includes a main control board (main control means) 20 (hereinafter referred to as "main control unit 20") and a main control unit that collectively control control (game operation control) related to the overall game operation. An effect control board (effect control means) 24 (hereinafter referred to as "effect control unit 24") that receives an effect control command from 20 and controls the execution control (appearance control) of the effect by the effect means, and a prize ball. A payout control board (payout control means) 29 that controls payouts, and a power supply board (power supply control means (not shown)) that generates and supplies the power supply required for the game machine 1 from an external power source (not shown). Is configured to have.
In FIG. 3, the power supply route to each part is omitted.

[2-1.主制御部]

主制御部20は、CPU(Central Processing Unit)20a(主制御CPU)を内蔵したマイクロプロセッサを搭載すると共に、遊技動作制御手順を記述した制御プログラムの他、遊技動作制御に必要な種々のデータを格納するROM(Read Only Memory)20b(主制御ROM)と、ワーク領域やバッファメモリとして機能するRAM(Random Access Memory)20c(主制御RAM)とを搭載し、全体としてマイクロコンピュータを構成している。
[2-1. Main control unit]

The main control unit 20 is equipped with a microcomputer having a built-in CPU (Central Processing Unit) 20a (main control CPU), and in addition to a control program that describes a game operation control procedure, various data necessary for game operation control are stored. It is equipped with a ROM (Read Only Memory) 20b (main control ROM) for storing and a RAM (Random Access Memory) 20c (main control RAM) that functions as a work area or buffer memory, and constitutes a microcomputer as a whole. ..

また図示はしていないが、主制御部20は、周期的割込みや一定周期のパルス出力作成機能(ビットレートジェネレータ)や時間計測の機能を実現するためのCTC(Counter Timer Circuit)、及びCPU20aに割込み信号を付与するタイマ割込み等の割込許可/割込禁止機能を発揮する割込みコントローラ回路、及び電源投入時や遮断時や電源異常などを検知してシステムリセット信号を出力してCPU20aをリセット可能なリセット回路、及び制御プログラムの動作異常を監視するウォッチドッグタイマ(WDT)回路、及び予め設定したアドレス範囲内でプログラムが正しく実行されているか否かを監視する指定エリア外走行禁止(IAT)回路、及びハードウェア的に一定範囲の乱数を生成するためのカウンタ回路等も備えている。 Although not shown, the main control unit 20 is used for a CTC (Counter Timer Circuit) for realizing a periodic interrupt, a pulse output creation function (bit rate generator) for a fixed period, and a time measurement function, and a CPU 20a. An interrupt controller circuit that exerts an interrupt enable / interrupt prohibit function such as a timer interrupt that gives an interrupt signal, and can output a system reset signal to reset the CPU 20a by detecting power on / off or power failure. Reset circuit, watchdog timer (WDT) circuit that monitors the operation abnormality of the control program, and out-of-area travel prohibition (IAT) circuit that monitors whether the program is correctly executed within the preset address range. , And a counter circuit for generating a certain range of random numbers in terms of hardware.

上記カウンタ回路は、乱数を生成する乱数生成回路と、その乱数生成回路から所定のタイミングで乱数値をサンプリングするサンプリング回路とを含んで構成され、全体として16ビットカウンタとして働く。CPU20aは、処理状態に応じて上記サンプリング回路に指示を送ることで、上記乱数生成回路が示している数値を内部抽選用乱数値(大当り判定用乱数(乱数の大きさ:65536))として取得し、その乱数値を大当り抽選に利用する。なお、内部抽選用乱数は、当り狙い打ち等のゴト行為を防ぐために、適宜なソフトウェア処理で生成しているソフト乱数値と、ハード乱数値とを加算したものを取得している。 The counter circuit includes a random number generation circuit that generates a random number and a sampling circuit that samples a random number value at a predetermined timing from the random number generation circuit, and acts as a 16-bit counter as a whole. By sending an instruction to the sampling circuit according to the processing state, the CPU 20a acquires the numerical value indicated by the random number generation circuit as an internal lottery random number value (big hit determination random number (random number size: 65536)). , The random number value is used for the big hit lottery. It should be noted that the random number for the internal lottery is obtained by adding the soft random number value generated by appropriate software processing and the hard random number value in order to prevent the hitting and the like.

また、CPU20aは、各種の値を格納するための複数のレジスタを備えている。なお、実施形態におけるCPU20aが備えるレジスタの詳細については後述する。 Further, the CPU 20a includes a plurality of registers for storing various values. The details of the registers included in the CPU 20a in the embodiment will be described later.

主制御部20には、上始動口34への入賞(入球)を検出する上始動口センサ34aと、下始動口35への入賞を検出する下始動口センサ35aと、普通図柄始動口37の通過を検出する普通図柄始動口センサ37aと、大入賞口50への入賞を検出する大入賞口センサ52aと、一般入賞口43への入賞を検出する一般入賞口センサ43aと、アウト口49から排出される遊技球(アウト球)を検出するOUT監視スイッチ49aが接続され、主制御部20はこれらから出力される検出信号を受信可能とされている。主制御部20は、各センサからの検出信号に基づき、何れの入賞口に遊技球が入球したのかを把握可能とされる。 The main control unit 20 includes an upper start port sensor 34a for detecting a winning (ball winning) in the upper starting port 34, a lower starting port sensor 35a for detecting a winning in the lower starting port 35, and a normal symbol starting port 37. The normal symbol start port sensor 37a for detecting the passage of the above, the large winning opening sensor 52a for detecting the winning of the large winning opening 50, the general winning opening sensor 43a for detecting the winning of the general winning opening 43, and the out opening 49. An OUT monitoring switch 49a for detecting a game ball (out ball) discharged from the player is connected, and the main control unit 20 is capable of receiving detection signals output from these. Based on the detection signals from each sensor, the main control unit 20 can grasp which winning opening the game ball has entered.

また主制御部20には、下始動口35の可動翼片47を開閉制御するための普通電動役物ソレノイド41cと、大入賞口50の開放扉52bを開閉制御するための大入賞口ソレノイド52cとが接続され、主制御部20はこれらを制御するための制御信号を送信可能となっている。 Further, the main control unit 20 includes a normal electric accessory solenoid 41c for controlling the opening and closing of the movable wing piece 47 of the lower starting port 35, and a large winning opening solenoid 52c for controlling the opening and closing of the opening door 52b of the large winning opening 50. Is connected, and the main control unit 20 can transmit control signals for controlling them.

さらに主制御部20には、特別図柄表示装置38aと特別図柄表示装置38bとが接続され、主制御部20は、特別図柄1、2を表示制御するための制御信号を送信可能とされている。さらにまた、主制御部20には、普通図柄表示装置39aが接続され、普通図柄を表示制御するための制御信号を送信可能とされている。 Further, the special symbol display device 38a and the special symbol display device 38b are connected to the main control unit 20, and the main control unit 20 can transmit a control signal for displaying and controlling the special symbols 1 and 2. .. Furthermore, a normal symbol display device 39a is connected to the main control unit 20, and it is possible to transmit a control signal for displaying and controlling the normal symbol.

また、主制御部20には、複合表示装置38c、ラウンド数表示装置39bが接続され、主制御部20は、複合表示装置38cに表示される各種情報を表示制御するための制御信号や、ラウンド数表示装置39bに表示される大当りによる規定ラウンド数を表示制御するための制御信号を送信可能とされている。 Further, a composite display device 38c and a round number display device 39b are connected to the main control unit 20, and the main control unit 20 displays and controls various information displayed on the composite display device 38c, such as control signals and rounds. It is possible to transmit a control signal for displaying and controlling a specified number of rounds by a big hit displayed on the number display device 39b.

さらに、主制御部20には、枠用外部集中端子基板21が接続され、主制御部20は、枠用外部集中端子基板21を介し、遊技機外部に設けられたホールコンピュータHCに対し所定の遊技情報(例えば、大当り情報、賞球数情報、図柄変動実行情報等)を送信可能とされている。
なお、ホールコンピュータHCは、主制御部20からの遊技情報を監視して、パチンコホールの遊技機の稼働状況を統括的に管理するための情報処理装置(コンピュータ装置)である。
Further, the frame external centralized terminal board 21 is connected to the main control unit 20, and the main control unit 20 is predetermined to the hall computer HC provided outside the game machine via the frame external centralized terminal board 21. It is possible to transmit game information (for example, jackpot information, prize ball number information, symbol change execution information, etc.).
The hall computer HC is an information processing device (computer device) for monitoring game information from the main control unit 20 and comprehensively managing the operating status of the pachinko hall game machine.

さらにまた、主制御部20には、払出制御基板(払出制御部)29が接続され、賞球の払い出しの必要がある場合には、払出制御基板29に対し、払い出しに関する制御コマンド(賞球数を指定する払出制御コマンド)を送信可能とされている。 Furthermore, a payout control board (payout control unit) 29 is connected to the main control unit 20, and when it is necessary to pay out prize balls, a control command (number of prize balls) related to payout is given to the payout control board 29. It is possible to send a payout control command) that specifies.

払出制御基板29には、発射装置32を制御する発射制御基板(発射制御部)28と、遊技球の払い出しを行う遊技球払出装置(遊技球払出手段)19とが接続されている。この払出制御基板29の主な役割は、主制御部20からの払出制御コマンドの受信、払出制御コマンドに基づく遊技球払出装置19の賞球払い出し制御、主制御部20への状態信号の送信などである。 The payout control board 29 is connected to a launch control board (launch control unit) 28 that controls the launch device 32 and a game ball payout device (game ball payout means) 19 that pays out game balls. The main roles of the payout control board 29 are receiving a payout control command from the main control unit 20, controlling the prize ball payout of the game ball payout device 19 based on the payout control command, transmitting a status signal to the main control unit 20, and the like. Is.

遊技球払出装置19には、遊技球の供給不足を検出する補給切れ検出センサ19aや払い出される遊技球(賞球)を検出する球計数センサ19bが設けられており、払出制御基板29は、これらの各検出信号を受信可能とされている。また遊技球払出装置19には、遊技球を払い出すための球払出機構部(図示せず)を駆動する払出モータ19cが設けられており、払出制御基板29は、払出モータ19cを制御するための制御信号を送信可能とされている。 The game ball payout device 19 is provided with a supply shortage detection sensor 19a for detecting a supply shortage of game balls and a ball counting sensor 19b for detecting a game ball (prize ball) to be paid out. It is possible to receive each detection signal of. Further, the game ball payout device 19 is provided with a payout motor 19c for driving a ball payout mechanism unit (not shown) for paying out the game ball, and the payout control board 29 controls the payout motor 19c. It is possible to transmit the control signal of.

さらに、払出制御基板29には、上受け皿9が遊技球で満杯状態を検出する満杯検出センサ60(本実施形態では、上受け皿9に貯留される遊技球の貯留状態を検出する検出センサ)と、前扉開放センサ61(本実施形態では、少なくとも前枠2の開放状態を検出する検出センサ)が接続されている。 Further, the payout control board 29 has a full detection sensor 60 (in the present embodiment, a detection sensor that detects the storage state of the game balls stored in the upper tray 9) and a full detection sensor 60 that detects the full state of the upper tray 9 with the game balls. , The front door open sensor 61 (in this embodiment, a detection sensor that detects at least the open state of the front frame 2) is connected.

払出制御基板29は、満杯検出センサ60、前扉開放センサ61、補給切れ検出センサ19a、球計数センサ19bからの検出信号に基づいて、主制御部20に対して、各種の状態信号を送信可能となっている。この状態信号には、満杯状態を示す球詰り信号、少なくとも前枠2が開放されていることを示す扉開放信号、遊技球払出装置19からの遊技球の供給不足を示す補給切れ信号、賞球の払出不足や球計数センサ19bに異常が発生したこと示す計数エラー信号、払い出し動作が完了したことを示す払出完了信号などが含まれ、様々な状態信号を送信可能な構成となっている。主制御部20は、これら状態信号に基づいて、前枠2の開放状態(扉開放エラー)や、遊技球払出装置19の払出動作が正常か否か(補給切れエラー)や、上受け皿9の満杯状態(球詰りエラー)等を監視する。 The payout control board 29 can transmit various status signals to the main control unit 20 based on the detection signals from the fullness detection sensor 60, the front door opening sensor 61, the supply shortage detection sensor 19a, and the ball counting sensor 19b. It has become. This status signal includes a ball jam signal indicating a full state, a door opening signal indicating that at least the front frame 2 is open, a supply shortage signal indicating an insufficient supply of game balls from the game ball payout device 19, and a prize ball. A counting error signal indicating that the payout is insufficient or an abnormality has occurred in the ball counting sensor 19b, a payout completion signal indicating that the payout operation has been completed, and the like are included, and various status signals can be transmitted. Based on these status signals, the main control unit 20 determines the open state of the front frame 2 (door opening error), whether the payout operation of the game ball payout device 19 is normal (supply shortage error), and the upper tray 9. Monitor the full state (ball jam error), etc.

さらにまた、払出制御基板29には発射制御基板28が接続され、発射制御基板28に対し発射を許可する許可信号を送信可能とされている。発射制御基板28は、払出制御基板29からの許可信号が出力されていることに基づき、発射装置32に設けられた発射ソレノイド(図示せず)への通電を制御し、発射操作ハンドル15の操作による遊技球の発射動作を実現している。具体的には、払出制御基板29から発射許可信号が出力されていること(発射許可信号ON状態)、発射操作ハンドル15に設けられたタッチセンサ(図示せず)により遊技者がハンドルに触れていることを検出されていること、発射操作ハンドル15に設けられた発射停止スイッチ(図示せず)が操作されていないことを条件に、遊技球の発射動作が許容される。従って、発射許可信号が出力されていない場合には(発射許可信号OFF状態)、発射操作ハンドル15を操作しても発射動作は実行されず、遊技球が発射されることはない。また、遊技球の打ち出しの強さは、発射操作ハンドル15の操作量に応じて変化可能となっている。
なお、払出制御基板29が上記球詰りエラーを検出すると、主制御部20に球詰り信号を送信すると共に発射制御基板28に対する発射許可信号の出力を停止し(発射許可信号OFF)、上受け皿9の満杯状態が解消されるまで打ち出し動作を停止する制御を行うようになっている。
また、払出制御基板29は、発射制御基板28に対する発射の許可信号の出力を、主制御部20より発射許可が指示されたことを条件に行う。
Furthermore, the launch control board 28 is connected to the payout control board 29, and it is possible to transmit a permission signal for permitting the launch to the launch control board 28. The launch control board 28 controls energization of the launch solenoid (not shown) provided in the launch device 32 based on the output of the permission signal from the payout control board 29, and operates the launch operation handle 15. Realizes the firing operation of the game ball by. Specifically, the player touches the handle by the fact that the launch permission signal is output from the payout control board 29 (launch permission signal ON state) and the touch sensor (not shown) provided on the launch operation handle 15. The firing operation of the game ball is permitted on condition that the presence is detected and the firing stop switch (not shown) provided on the firing operation handle 15 is not operated. Therefore, when the launch permission signal is not output (launch permission signal OFF state), the launch operation is not executed even if the launch operation handle 15 is operated, and the game ball is not launched. Further, the launch strength of the game ball can be changed according to the operation amount of the launch operation handle 15.
When the payout control board 29 detects the ball clogging error, the ball jamming signal is transmitted to the main control unit 20 and the output of the firing permission signal to the firing control board 28 is stopped (launch permission signal OFF), and the upper tray 9 is used. It is designed to stop the launching operation until the full state of the is cleared.
Further, the payout control board 29 outputs a launch permission signal to the launch control board 28 on condition that the launch permission is instructed by the main control unit 20.

ここで、主制御部20は、設定キースイッチ94、及びRAMクリアスイッチ98が接続されており、これらスイッチからの検出信号を受信可能とされている。 Here, the main control unit 20 is connected to the setting key switch 94 and the RAM clear switch 98, and is capable of receiving detection signals from these switches.

RAMクリアスイッチ98は、RAM20cの所定領域を初期化することを指示入力するための例えば押しボタン式のスイッチとされる。
設定キースイッチ94は、電源投入時にホールスタッフが所持する設定鍵を挿入してON/OFF操作することにより設定変更モード(ON操作時)に切り替えるためのキースイッチとされる。
ここで、設定変更モードは、設定値Veを変更可能なモードである。設定値Veは、遊技者に有利な遊技状態に当選させるか否かの当選確率についての段階を表す値である。
The RAM clear switch 98 is, for example, a push button type switch for instructing and inputting to initialize a predetermined area of the RAM 20c.
The setting key switch 94 is a key switch for switching to the setting change mode (at the time of ON operation) by inserting the setting key possessed by the hall staff at the time of turning on the power and performing the ON / OFF operation.
Here, the setting change mode is a mode in which the setting value Ve can be changed. The set value Ve is a value indicating a stage regarding the winning probability of whether or not the player is allowed to win a favorable gaming state.

RAMクリアスイッチ98は、前枠2が開放された状態で操作可能に設けられたRAMクリアボタンの操作に応じてON/OFFされる。また、設定キースイッチ98は、上記した設定鍵を挿抜可能とされたキーシリンダが対応して設けられており、該キーシリンダに挿入された設定鍵が順方向に回動されることでON、該ONの状態から逆方向に回動されることでOFFとなる。キーシリンダは、前枠2が開放された状態で設定鍵の挿入による操作が可能となるように設けられている。なお、キーシリンダは、設定鍵が挿入されることで操作可能とされた操作子として機能する。 The RAM clear switch 98 is turned ON / OFF in response to the operation of the RAM clear button provided so as to be operable in the state where the front frame 2 is open. Further, the setting key switch 98 is provided with a key cylinder in which the above-mentioned setting key can be inserted and removed, and is turned on by rotating the setting key inserted in the key cylinder in the forward direction. It is turned off by being rotated in the opposite direction from the ON state. The key cylinder is provided so that the operation can be performed by inserting the setting key with the front frame 2 open. The key cylinder functions as an operator that can be operated by inserting the setting key.

本例では、設定値Veの変更操作には、上記のRAMクリアボタンが兼用される。具体的に、RAMクリアボタンは、設定値Veを順送りするための操作子としても機能する。 In this example, the above RAM clear button is also used for the operation of changing the set value Ve. Specifically, the RAM clear button also functions as an operator for sequentially advancing the set value Ve.

RAMクリアスイッチ98、及び設定キースイッチ94は、遊技機1内部の適所に設けられている。例えば、主制御基板20上に配置される。 The RAM clear switch 98 and the setting key switch 94 are provided at appropriate positions inside the game machine 1. For example, it is arranged on the main control board 20.

また主制御部20は、設定・性能表示器97が接続されている。
設定・性能表示器97は、例えば7セグメント表示器を有して構成され、設定値Veと性能情報(後述する)の表示が可能とされた表示手段として機能する。設定・性能表示器97は、例えば主制御部(主制御基板)20上の視認し易い位置に搭載されている。
主制御部20は、設定・性能表示器97に対して設定値Veや性能情報を表示させるための制御信号を送信可能とされている。
A setting / performance indicator 97 is connected to the main control unit 20.
The setting / performance display 97 is configured to include, for example, a 7-segment display, and functions as a display means capable of displaying a set value Ve and performance information (described later). The setting / performance indicator 97 is mounted at a position on the main control unit (main control board) 20 that is easy to see, for example.
The main control unit 20 is capable of transmitting a control signal for displaying the set value Ve and performance information to the setting / performance display 97.

ここで、設定値Veは、主として、少なくとも大当り(後述の条件装置が作動することとなる当り種別)の抽選確率(当選確率)を段階別(例えば、設定1〜6の6段階)に規定するもので、設定値Veが高くなるほど、当選確率が高くなり(設定1が最低の当選確率、以降、設定の値の昇順に当選確率が高くなる)、遊技者に有利に作用するようになっている。換言すれば、設定値Veが高くなるほど、所謂「機械割(出玉率、PAYOUT率)」が高くなり、遊技者に有利に作用するようになっている。
このように、設定値Veとは、大当り当選確率や機械割などを規定する値であり、遊技者に作用する利益状態などの特定事象の発生し易さに関連する等級についての値を意味し、本実施形態では、各設定値Veに応じて遊技に係る有利度が規定されることになる。
Here, the set value Ve mainly defines the lottery probability (winning probability) of at least a big hit (a hit type in which the condition device described later is activated) for each stage (for example, 6 stages of settings 1 to 6). Therefore, the higher the set value Ve, the higher the winning probability (setting 1 is the lowest winning probability, and thereafter, the winning probability increases in ascending order of the set value), which is advantageous to the player. There is. In other words, the higher the set value Ve, the higher the so-called "machine discount (ball output rate, PAYOUT rate)", which is advantageous for the player.
In this way, the set value Ve is a value that defines the jackpot winning probability, machine discount, etc., and means a value related to the susceptibility to a specific event such as a profit state acting on the player. In the present embodiment, the advantage related to the game is defined according to each set value Ve.

本例では、規則上使用可能とされる設定値Veの段階(有利度の段階)が6段階であることを前提とする。具体的に、設定値Veの規則上使用可能な範囲(以下「使用可能範囲Re」と表記する)は、「1」〜「6」の範囲であることを前提としている。
この前提の下で、本例のパチンコ遊技機1は、規則上使用可能な設定値Veのうち、一部の設定値Veのみを使用する。具体的に、本例のパチンコ遊技機1は、使用可能範囲Re内の設定値Veである「1」〜「6」のうち、例えば「1」「2」「6」の3値のみを使用する。換言すれば、当選確率についての段階を規則上の最大段階である6段階とするのではなく、3段階に制限した仕様とされている。
以下、パチンコ遊技機1において実際に使用される設定値Veの範囲、具体的には使用可能範囲Re内の設定値Veのうちで実際に使用される設定値Veの範囲(上記例では「1」「2」「6」の範囲)のことを「使用範囲Ru」と表記する。
In this example, it is assumed that there are 6 stages (advantage stages) of the set value Ve that can be used according to the rules. Specifically, it is assumed that the range that can be used according to the rules of the set value Ve (hereinafter referred to as "usable range Re") is the range of "1" to "6".
Under this premise, the pachinko gaming machine 1 of this example uses only a part of the set values Ve among the set values Ve that can be used according to the rules. Specifically, the pachinko gaming machine 1 of this example uses only three values of, for example, "1", "2", and "6" among the set values Ve of "1" to "6" in the usable range Re. To do. In other words, the specification is limited to 3 stages instead of 6 stages, which is the maximum stage in the rules, regarding the winning probability.
Hereinafter, the range of the set value Ve actually used in the pachinko gaming machine 1, specifically, the range of the set value Ve actually used among the set value Ve within the usable range Re (“1” in the above example. "The range of" 2 "and" 6 ") is referred to as" the range of use Ru ".

設定値Veは、専ら、ホール(遊技店)の営業戦略に基づき、ホール店員等のホールスタッフによって設定が行われる。なお、大当りが複数種類ある場合、何れの大当りの当選確率を設定値Veに応じて変化させるか、対象となる大当りの種類は、適宜定めることができる。例えば、大当り1〜3という3種類の大当りがあるとした場合、設定値Veが相対的に高い方が、大当り1〜3のすべての当選確率を高くしてもよいし、大当り1〜3の合算当選確率を高くしてもよい。また一部の大当りの当選確率を高くしてもよい。例えば、大当り1〜2の当選確率だけを高くし、大当り3については全設定値Veで一定の当選確率にしてもよい。
The set value Ve is set exclusively by the hall staff such as the hall clerk based on the sales strategy of the hall (game store). When there are a plurality of types of jackpots, it is possible to appropriately determine which jackpot winning probability is to be changed according to the set value Ve, and the target jackpot type. For example, if there are three types of jackpots 1-3, the higher the set value Ve, the higher the probability of winning all of the jackpots 1-3, or the jackpots 1-3. The total winning probability may be increased. In addition, the probability of winning some big hits may be increased. For example, only the winning probability of the jackpots 1 and 2 may be increased, and the winning probability of the jackpot 3 may be constant with all the set values Ve.

(設定値の変更操作について)

設定値Veを変更するためには、本例では、遊技機1の電源がオフとされ前枠2が解放された状態において、設定キースイッチ94をON操作(設定変更モード側に操作)し且つRAMクリアボタンを押圧した状態(RAMクリアスイッチ98がONの状態)で遊技機1への電源を投入する。すると、現在の設定値Veが設定・性能表示器97に表示され、設定値Ve(本例では1、2、6)の変更操作が可能な「設定変更モード」に移行される。
(About the operation to change the set value)

In order to change the set value Ve, in this example, the setting key switch 94 is turned on (operated to the setting change mode side) while the power of the game machine 1 is turned off and the front frame 2 is released. The power to the game machine 1 is turned on while the RAM clear button is pressed (the RAM clear switch 98 is ON). Then, the current set value Ve is displayed on the setting / performance indicator 97, and the mode shifts to the "setting change mode" in which the set value Ve (1, 2, 6 in this example) can be changed.

本例では、設定変更モードに移行するか否かの判定は、後述の主制御側メイン処理において行われる(図5のステップS104を参照)。設定変更モードに移行するための上記の操作条件が満足されているときは、これに応じて設定変更のための処理が実行される。 In this example, the determination as to whether or not to shift to the setting change mode is performed in the main control side main process described later (see step S104 in FIG. 5). When the above-mentioned operating conditions for shifting to the setting change mode are satisfied, the process for changing the setting is executed accordingly.

設定変更モードへの移行後において、設定値Veの変更操作子として機能するRAMクリアボタンがON操作されると、設定・性能表示器97の現在の表示値が「1→2→6→1→2→6→・・・」のように使用範囲Ru内で循環式に切り替えられる。そして希望する設定値Veとなったところで、設定キースイッチ94がOFFされると、設定値Veが確定され、確定した設定値Veの情報がRAM20cの所定領域に格納(記憶)される。
また、設定キースイッチ94がOFFされると、設定変更モードが終了され、設定・性能表示器97の表示がクリアされる。
設定変更モードが終了すると、遊技進行を許容する状態に移行される。
After the transition to the setting change mode, when the RAM clear button that functions as the setting value Ve change operator is turned on, the current display value of the setting / performance indicator 97 changes to "1 → 2 → 6 → 1 → 1 →". It can be switched to the circulation type within the range of use Ru like "2 → 6 → ...". Then, when the desired set value Ve is reached, when the setting key switch 94 is turned off, the set value Ve is determined, and the information of the determined set value Ve is stored (stored) in a predetermined area of the RAM 20c.
When the setting key switch 94 is turned off, the setting change mode is terminated and the display of the setting / performance indicator 97 is cleared.
When the setting change mode ends, the state shifts to the state where the game progress is allowed.

(性能表示について)

主制御部20は、設定・性能表示器97に対し所定の性能情報を表示させるための制御信号を送信可能とされている。
性能情報とは、パチンコホールや関係各庁が確認したい情報であり、遊技機1に対する過剰賞球等の不正賞球ゴトの有無や遊技機1本来の出玉性能などに関する情報などがその代表例である。従って、性能情報自体は、予告演出等とは異なり、遊技者が遊技に興じる際に、その遊技進行自体には直接的に関係の無い情報となる。
(About performance display)

The main control unit 20 is capable of transmitting a control signal for displaying predetermined performance information on the setting / performance display 97.
Performance information is information that pachinko halls and related agencies want to confirm, and typical examples are information on the presence or absence of illegal prize balls such as excess prize balls for game machine 1 and information on the original ball ejection performance of game machine 1. Is. Therefore, the performance information itself is information that is not directly related to the progress of the game when the player plays the game, unlike the advance notice effect.

このため設定・性能表示器97は、遊技機1内部、例えば、主制御部(主制御基板)20、払出制御基板29、発射制御基板28、上記中継基板、演出制御部(演出制御基板(液晶制御基板を含む))24上や、基板ケース(基板を保護する保護カバー)など、前枠2が開放状態とされたときに表示情報を視認可能となる位置に設けられている。 Therefore, the setting / performance display 97 is inside the game machine 1, for example, the main control unit (main control board) 20, the payout control board 29, the launch control board 28, the relay board, and the effect control unit (effect control board (liquid crystal)). It is provided at a position where the display information can be visually recognized when the front frame 2 is opened, such as on the (including the control board) 24) or the board case (protective cover that protects the board).

ここで、性能情報には、具体的に次のような情報を採用することができる。 Here, the following information can be specifically adopted as the performance information.

(1)特定状態中において入賞により払い出された総払出個数(特定中総賞球数:α個)を、当該特定状態中おいてアウト口49から排出された総アウト球数(特定中アウト個数:β個)で除した値(α/β)に基づく情報(特定比率情報)を、性能情報として採用することができる。
上記「総払出個数」とは、入賞口(上始動口34、下始動口35、一般入賞口43、大入賞口50)に入賞した際に払い出された遊技球(賞球)の合計値である。本実施形態の場合、上始動口34または下始動口35は3個、大入賞口50は13個、一般入賞口43は10個である。
また、特定状態として、何れの状態を採用するかについては、如何なる状態下の性能情報を把握したいかに応じて適宜定めることができる。本実施形態の場合であれば、通常状態、潜確状態、時短状態、確変状態、大当り遊技中のうち、何れの状態も採用することができる。また、複数種類の状態を計測対象としてもよい。例えば、通常状態と確変状態や、当り遊技中を除く全ての遊技状態等であり、その計測対象とする種類は適宜定めることができる。
また、特定状態中の期間として、大当り抽選確率が低確率状態又は高確率状態の何れかの期間を採用してもよい。
また、1又は複数の特定の入賞口を計測対象から除外したものを総払出個数としてもよい(特定入賞口除外総払出個数)。例えば、各入賞口のうち、大入賞口50を計測対象から除外したものを、総払出個数としてもよい。
(1) The total number of payouts paid out by winning in the specific state (total number of prize balls in the specific state: α) is the total number of out balls discharged from the out port 49 in the specific state (out in the specific state). Information (specific ratio information) based on the value (α / β) divided by the number: β) can be adopted as the performance information.
The above "total number of payouts" is the total value of the game balls (prize balls) paid out when winning the winning openings (upper starting opening 34, lower starting opening 35, general winning opening 43, large winning opening 50). Is. In the case of the present embodiment, the upper starting port 34 or the lower starting port 35 is 3, the large winning opening 50 is 13, and the general winning opening 43 is 10.
In addition, which state is to be adopted as the specific state can be appropriately determined depending on what kind of state the performance information is to be grasped. In the case of the present embodiment, any of the normal state, the latent probability state, the time saving state, the probability variation state, and the jackpot game can be adopted. Further, a plurality of types of states may be measured. For example, it is a normal state and a probable change state, all game states except during a hit game, and the type to be measured can be appropriately determined.
Further, as the period in the specific state, a period in which the jackpot lottery probability is either a low probability state or a high probability state may be adopted.
Further, the total number of payouts may be one or a plurality of specific winning openings excluded from the measurement target (total number of payouts excluding specific winning openings). For example, among the winning openings, the one excluding the large winning opening 50 from the measurement target may be used as the total number of payouts.

(2)その他、総払出個数、特定入賞口除外総払出個数、総アウト球数の何れかだけを計測し、その計測結果を性能情報としてもよい。 (2) In addition, only any one of the total number of payouts, the total number of payouts excluding specific winning openings, and the total number of out balls may be measured, and the measurement result may be used as performance information.

本実施形態では、通常状態中の総払出個数(通常時払出個数)と、通常状態中の総アウト球数(通常時アウト個数)とをリアルタイムで計測し、通常時払出個数を通常時アウト個数で除した値に百を乗じた値(通常時払出個数÷通常時アウト個数×100で算出される値)を性能情報(以下「通常時比率情報」と称する)として表示する。なお、この際の表示値は、小数点第1位を四捨五入した値とする。
従って、通常時払出個数、通常時アウト個数、通常時比率情報の各データが、RAM20cの該当領域(特定中総賞球数格納領域、特定中アウト個数格納領域、特定比率情報格納領域)にそれぞれ格納(記憶)されるようになっている。但し、単に永続的に計測して性能情報を表示するのではなく、総アウト球数が所定の規定個数(例えば、60000個)に達した場合、一旦、計測を終了する。この規定個数とは、通常状態の総アウト球数ではなく、全遊技状態中(当り遊技中を含む)の総アウト球数(以下「全状態アウト個数」と称する)である。この全状態アウト個数もリアルタイムに計測され、RAM20cの該当領域(全状態アウト個数格納領域)に格納される。以下、説明の便宜のために、特定中総賞球数格納領域、特定中アウト個数格納領域、特定比率情報格納領域、全状態アウト個数格納領域を「計測情報格納領域」と略称する。
In the present embodiment, the total number of payouts in the normal state (number of payouts in the normal state) and the total number of out balls in the normal state (number of outs in the normal state) are measured in real time, and the number of payouts in the normal state is the number of outs in the normal state. The value obtained by multiplying the value divided by is multiplied by 100 (the value calculated by the number of payouts in normal time ÷ the number of outs in normal time × 100) is displayed as performance information (hereinafter referred to as “normal time ratio information”). The displayed value at this time shall be a value rounded off to the first decimal place.
Therefore, each data of the normal payout number, the normal out number, and the normal time ratio information is stored in the corresponding area of the RAM 20c (specific medium total prize ball number storage area, specific medium out number storage area, specific ratio information storage area), respectively. It is designed to be stored (memorized). However, instead of simply measuring permanently and displaying the performance information, when the total number of out balls reaches a predetermined specified number (for example, 60,000), the measurement is temporarily terminated. This specified number is not the total number of out balls in the normal state, but the total number of out balls during the total gaming state (including during the winning game) (hereinafter referred to as "total number of out balls"). The total number of outs is also measured in real time and stored in the corresponding area of the RAM 20c (all state outs storage area). Hereinafter, for convenience of explanation, the specific medium total prize ball number storage area, the specific medium out number storage area, the specific ratio information storage area, and the all state out number storage area are abbreviated as "measurement information storage area".

そして、終了時点の通常時比率情報をRAM20cの所定領域(性能表示格納領域)に格納し(今回の通常時比率情報を記憶)、その後、計測情報格納領域(通常時払出個数、通常時アウト個数および全状態アウト個数)をクリアしてから、再度、計測を開始する(通常時払出個数、通常時アウト個数、通常時比率情報および全状態アウト球数の計測を開始する)。そして、設定・性能表示器97には、前回の通常時比率情報(計測履歴情報)と、現在計測中の通常時比率情報とが表示されるようになっている。なお、前回の情報に限らず、前々回やその前(3回前)などの履歴を表示可能に構成してもよく、何回前までの情報を表示するかについては適宜定めることができる。 Then, the normal time ratio information at the end time is stored in a predetermined area (performance display storage area) of the RAM 20c (the current normal time ratio information is stored), and then the measurement information storage area (normal time payout number, normal time out number). And all state out number), and then start the measurement again (normal time payout number, normal time out number, normal time ratio information and all state out ball number measurement are started). Then, the setting / performance display 97 displays the previous normal time ratio information (measurement history information) and the normal time ratio information currently being measured. In addition to the previous information, the history of the previous two times or the previous time (three times before) may be displayed so that the information up to the previous time can be appropriately determined.

ここで、本例の場合、設定・性能表示器97には設定値Veと性能情報とが択一的に表示される。具体的に、本例では、設定変更や設定確認は電源投入に伴う起動時にのみ行われるため、電源投入に伴う起動後、設定変更モードや設定確認を行うモードに移行したことに応じて設定・性能表示器97に設定値Veが表示され、設定変更や設定確認が完了した後において、性能情報の表示が行われる。
なお、設定値Veと性能情報を共通の表示器により表示する構成に限定されず、別々の表示器により表示する構成を採ることもできる。その場合、設定値Veと性能情報の表示が並行して行われてもよい。
Here, in the case of this example, the set value Ve and the performance information are selectively displayed on the setting / performance display 97. Specifically, in this example, setting changes and setting confirmations are performed only at startup when the power is turned on, so settings are made according to the transition to the setting change mode or setting confirmation mode after startup when the power is turned on. The set value Ve is displayed on the performance display 97, and the performance information is displayed after the setting change and the setting confirmation are completed.
The configuration is not limited to displaying the set value Ve and the performance information on a common display, and it is also possible to display the set value Ve and the performance information on separate displays. In that case, the set value Ve and the performance information may be displayed in parallel.

(演出制御コマンド)

主制御部20は、処理状態に応じて、特別図柄変動表示ゲームに関する情報やエラーに関する情報等を含む種々の演出制御コマンドを、演出制御部24に対して送信可能とされている。但し、ゴト行為等の不正を防止するために、主制御部20は演出制御部24に対して信号を送信するのみで、演出制御部24からの信号を受信不可能な片方向通信の構成となっている。
(Direction control command)

The main control unit 20 is capable of transmitting various effect control commands including information on the special symbol variation display game, information on errors, and the like to the effect control unit 24 according to the processing state. However, in order to prevent fraud such as goto acts, the main control unit 20 only transmits a signal to the effect control unit 24, and the signal from the effect control unit 24 cannot be received. It has become.

ここで、演出制御コマンドは、1バイト長のモード(MODE)と、同じく1バイト長のイベント(EVENT)からなる2バイト構成により機能を定義し、MODEとEVENTの区別を行うために、MODEのBit7はON、EVENTのBit7をOFFとしている。これらの情報を有効なものとして送信する場合、モード(MODE)及びイベント(EVENT)の各々に対応してストローブ信号が出力される。すなわち、CPU20a(主制御CPU)は、送信すべきコマンドがある場合、演出制御部24にコマンドを送信するためのモード(MODE)情報の設定及び出力を行い、この設定から所定時間経過後に1回目のストローブ信号の送信を行う。さらに、このストローブ信号の送信から所定時間経過後にイベント(EVENT)情報の設定及び出力を行い、この設定から所定時間経過後に2回目のストローブ信号の送信を行う。ストローブ信号は、CPU24a(演出制御CPU)が確実にコマンドを受信可能とする所定期間、CPU20aによりアクティブ状態に制御される。
Here, the effect control command defines a function by a 2-byte configuration consisting of a 1-byte length mode (MODE) and a 1-byte length event (EVENT), and in order to distinguish between MODE and EVENT, the effect control command of MODE Bit7 is ON, and Bit7 of EVENT is OFF. When this information is transmitted as valid, a strobe signal is output corresponding to each of the mode (MODE) and the event (EVENT). That is, when there is a command to be transmitted, the CPU 20a (main control CPU) sets and outputs mode (MODE) information for transmitting the command to the effect control unit 24, and the first time after a predetermined time has elapsed from this setting. The strobe signal is transmitted. Further, the event (EVENT) information is set and output after a lapse of a predetermined time from the transmission of the strobe signal, and the second strobe signal is transmitted after the lapse of a predetermined time from this setting. The strobe signal is controlled to be active by the CPU 20a for a predetermined period during which the CPU 24a (effect control CPU) can reliably receive the command.

[2-2.演出制御部]

演出制御部24は、CPU24a(演出制御CPU)を内蔵したマイクロプロセッサを搭載すると共に、演出制御処理に要する演出データを格納したROM24b(演出制御ROM)と、ワーク領域やバッファメモリとして機能するRAM24c(演出制御RAM)とを搭載したマイクロコンピュータを中心に構成され、その他、音響制御部(音源IC)、RTC(Real Time Clock)機能部、カウンタ回路、割込みコントローラ回路、リセット回路、WDT回路などが設けられ、演出動作全般を制御する。
[2-2. Production control unit]

The effect control unit 24 is equipped with a microprocessor incorporating a CPU 24a (effect control CPU), a ROM 24b (effect control ROM) that stores the effect data required for the effect control process, and a RAM 24c (effect control ROM) that functions as a work area or a buffer memory. It is mainly composed of a microcomputer equipped with a production control RAM), and is also equipped with an acoustic control unit (sound source IC), RTC (Real Time Clock) function unit, counter circuit, interrupt controller circuit, reset circuit, WDT circuit, etc. And control the overall production operation.

演出制御CPU24aは演出制御プログラム及び主制御部50から受信した演出制御コマンドに基づいて、各種演出動作のための演算処理や各演出手段の制御を行う。演出手段とは、本実施形態のパチンコ遊技機1の場合、液晶表示装置36(主液晶表示装置36M、副液晶表示装置36S)、光表示装置45a、音響発生装置46a、及び図示を省略した可動体役物となる。 The effect control CPU 24a performs arithmetic processing for various effect operations and controls of each effect means based on the effect control program and the effect control command received from the main control unit 50. In the case of the pachinko gaming machine 1 of the present embodiment, the effect means are a liquid crystal display device 36 (main liquid crystal display device 36M, sub liquid crystal display device 36S), an optical display device 45a, a sound generator 46a, and a movable device (not shown). It becomes a physical accessory.

演出制御ROM24bは、演出制御CPU24aによる演出動作の制御プログラムや、演出動作制御に必要な種々のデータを記憶する。
演出制御RAM24cは、演出制御CPU24aが各種演算処理に使用するワークエリアや、テーブルデータ領域、各種入出力データや処理データのバッファ領域等として用いられる。
なお、演算制御部24は、1チップマイクロコンピュータとその周辺回路が搭載されている構成とすることができるが、演出制御部24の構成は各種考えられる。例えばマイクロコンピュータに加えて、各部とのインターフェース回路、演出のための抽選用乱数を生成する乱数生成回路、各種の時間計数のためのCTC、ウォッチドッグタイマ(WDT)回路、演出制御CPU24aに割込み信号を与える割込コントローラ回路などを備える場合もある。
The effect control ROM 24b stores a control program for the effect operation by the effect control CPU 24a and various data necessary for the effect operation control.
The effect control RAM 24c is used as a work area used by the effect control CPU 24a for various arithmetic processing, a table data area, a buffer area for various input / output data and processing data, and the like.
The arithmetic control unit 24 may be configured to include a one-chip microprocessor and its peripheral circuits, but various configurations of the effect control unit 24 can be considered. For example, in addition to a microcomputer, an interface circuit with each part, a random number generation circuit for generating lottery random numbers for production, a CTC for various time counting, a watchdog timer (WDT) circuit, and an interrupt signal to the production control CPU 24a. In some cases, it is provided with an interrupt controller circuit or the like.

この演出制御部24の主な役割は、主制御部20からの演出制御コマンドの受信、演出制御コマンドに基づく演出の選択決定、液晶表示装置36の表示制御(表示データ供給)、音響発生装置46aの音声出力制御、光表示装置45a(LED)の発光制御、可動体役物の動作制御(可動体役物モータ80cの駆動制御)などとなる。 The main roles of the effect control unit 24 are receiving the effect control command from the main control unit 20, determining the selection of the effect based on the effect control command, controlling the display of the liquid crystal display device 36 (display data supply), and the sound generator 46a. Voice output control, light emission control of the light display device 45a (LED), operation control of the movable body accessory (drive control of the movable body accessory motor 80c), and the like.

この演出制御部24は、液晶表示装置36に対する制御装置としての機能も備えているため、演出制御部24には、いわゆるVDP(Video Display Processor)、画像ROM、VRAM(Video RAM)としての機能も備えられ、また演出制御CPU24aは、液晶制御部としても機能する。
VDPは、画像展開処理や画像の描画などの映像出力処理全般の制御を行う機能を指している。
画像ROMとは、VDPが画像展開処理を行う画像データ(演出画像データ)が格納されているメモリを指す。
VRAMは、VDPが展開した画像データを一時的に記憶する画像メモリ領域である。
Since the effect control unit 24 also has a function as a control device for the liquid crystal display device 36, the effect control unit 24 also has functions as a so-called VDP (Video Display Processor), an image ROM, and a VRAM (Video RAM). The effect control CPU 24a is also provided, and also functions as a liquid crystal control unit.
VDP refers to a function that controls overall video output processing such as image development processing and image drawing.
The image ROM refers to a memory in which image data (effect image data) for which VDP performs image development processing is stored.
The VRAM is an image memory area that temporarily stores the image data developed by the VDP.

演出制御部24は、これらの構成により、主制御部20からのコマンドに基づいて各種の画像データを生成し、主液晶表示装置36M、及び副液晶表示装置36Sに出力する。これによって主液晶表示装置36M及び副液晶表示装置36Sにおいて各種の演出画像が表示される。 With these configurations, the effect control unit 24 generates various image data based on the command from the main control unit 20 and outputs the various image data to the main liquid crystal display device 36M and the sub liquid crystal display device 36S. As a result, various effect images are displayed on the main liquid crystal display device 36M and the sub liquid crystal display device 36S.

また演出制御部24は、スピーカ46を含む音響発生装置46aに対する音響制御部(音コントローラ:音源IC)を有しており、音響制御部が出力する音響信号はアンプ部46dで増幅されてスピーカ46に供給される。
また、演出制御部24には、装飾ランプ45や各種LEDを含む光表示装置45aに対する光表示制御部として機能するランプドライバ部45dと、可動体(図示せず)を動作させる可動体役物モータ80cに対する駆動制御部として機能するモータドライバ部80d(モータ駆動回路)とが接続されている。演出制御部24は、これらランプドライバ部45dやモータドライバ部80dに指示を行って光表示装置45aによる光表示動作や可動体役物モータ80cの動作を制御する。
Further, the effect control unit 24 has an acoustic control unit (sound controller: sound source IC) for the sound generator 46a including the speaker 46, and the acoustic signal output by the acoustic control unit is amplified by the amplifier unit 46d and is amplified by the speaker 46. Is supplied to.
Further, the effect control unit 24 includes a lamp driver unit 45d that functions as an optical display control unit for an optical display device 45a including a decorative lamp 45 and various LEDs, and a movable body accessory motor that operates a movable body (not shown). A motor driver unit 80d (motor drive circuit) that functions as a drive control unit for the 80c is connected. The effect control unit 24 gives instructions to the lamp driver unit 45d and the motor driver unit 80d to control the light display operation by the light display device 45a and the operation of the movable accessory motor 80c.

演出制御部24にはまた、可動体役物の動作を監視するための原点スイッチ81や位置検出センサ82が接続されている。
原点スイッチ81は、例えばフォトインターラプタ等で構成され、可動体役物モータ80cが原点位置にあるか否かを検出する。原点位置は、例えば可動体が図2の盤面に通常は表出しない位置などとされる。演出制御部24は、この原点スイッチ81の検出情報に基づいて可動体役物モータ80cが原点位置にあるか否かを判定可能とされている。
また、演出制御部24は、位置検出センサ82からの検出情報に基づき、可動体役物の現在の動作位置(例えば、原点位置からの移動量)を監視しながらその動作態様を制御する。さらに演出制御部24は、位置検出センサ82からの検出情報に基づき、可動体役物の動作の不具合を監視し、不具合が生じれば、これをエラーとして検出する。
An origin switch 81 and a position detection sensor 82 for monitoring the operation of the movable body accessory are also connected to the effect control unit 24.
The origin switch 81 is composed of, for example, a photo interrupter or the like, and detects whether or not the movable accessory motor 80c is at the origin position. The origin position is, for example, a position where the movable body does not normally appear on the board surface of FIG. The effect control unit 24 can determine whether or not the movable body accessory motor 80c is at the origin position based on the detection information of the origin switch 81.
Further, the effect control unit 24 controls the operation mode while monitoring the current operation position (for example, the amount of movement from the origin position) of the movable body accessory based on the detection information from the position detection sensor 82. Further, the effect control unit 24 monitors the malfunction of the operation of the movable body accessory based on the detection information from the position detection sensor 82, and if a malfunction occurs, detects it as an error.

また演出制御部24には、図中に操作部17として示す演出ボタン13や十字キー15a、決定ボタン15bのスイッチ、つまり演出ボタン13、十字キー15a、決定ボタン15bの操作検出スイッチが接続され、演出制御部24は、演出ボタン13、十字キー15a、決定ボタン15bからの操作検出信号をそれぞれ受信可能とされている。 Further, the effect button 13, the cross key 15a, and the switch of the decision button 15b shown as the operation unit 17 in the drawing, that is, the operation detection switch of the effect button 13, the cross key 15a, and the decision button 15b are connected to the effect control unit 24. The effect control unit 24 is capable of receiving operation detection signals from the effect button 13, the cross key 15a, and the decision button 15b, respectively.

さらに、演出制御部24には、図1に示した操作ハンドル15が遊技者等の使用者により触れられているか否かを検出するためのハンドルセンサ83(タッチセンサ)が設けられている。演出制御部24はこのハンドルセンサ83の検出情報に基づいて操作ハンドル15が使用者によりタッチされているか否かを判定可能とされる。 Further, the effect control unit 24 is provided with a handle sensor 83 (touch sensor) for detecting whether or not the operation handle 15 shown in FIG. 1 is touched by a user such as a player. The effect control unit 24 can determine whether or not the operation handle 15 is touched by the user based on the detection information of the handle sensor 83.

演出制御部24は、主制御部20から送られてくる演出制御コマンドに基づき、予め用意された複数種類の演出パターンの中から抽選により、又は一意に演出パターンを選択(決定)し、必要なタイミングで各種の演出手段を制御して、目的の演出を現出させる。これにより、演出パターンに対応する液晶表示装置36による演出画像の表示、スピーカ46からの音の再生、装飾ランプ45やLEDの点灯点滅駆動が実現され、種々の演出パターン(装飾図柄変動表示動作や予告演出など)が時系列的に展開されることにより、広義の意味での「演出シナリオ」が実現される。 Based on the effect control command sent from the main control unit 20, the effect control unit 24 selects (determines) the effect pattern from a plurality of types of effect patterns prepared in advance by lottery or uniquely, and is required. By controlling various production means at the timing, the desired production is produced. As a result, the display of the effect image by the liquid crystal display device 36 corresponding to the effect pattern, the reproduction of the sound from the speaker 46, the lighting and blinking drive of the decorative lamp 45 and the LED are realized, and various effect patterns (decorative pattern variation display operation and By developing the notice production etc. in chronological order, a "production scenario" in a broad sense is realized.

ここで、演出制御コマンドについて、演出制御部24(CPU24a)は、主制御部20(CPU20a)が送信する上述したストローブ信号の入力に基づき割込み処理を発生させてその受信・解析を行う。具体的に、CPU24aは、上述したストローブ信号の入力に基づいてコマンド受信割込処理用の制御プログラムを実行し、これにより実現される割込み処理において、演出制御コマンドを取得し、コマンド内容の解析を行う。
この際、CPU24aは、ストローブ信号の入力に基づいて割込みが発生した場合には、他の割込みに基づく割込み処理(定期的に実行されるタイマ割込処理)の実行中であっても、当該処理に割り込んでコマンド受信割込処理を行い、他の割込みが同時に発生してもコマンド受信割込処理を優先的に行うようになっている。
Here, regarding the effect control command, the effect control unit 24 (CPU 24a) generates an interrupt process based on the input of the above-mentioned strobe signal transmitted by the main control unit 20 (CPU 20a), and receives and analyzes the interrupt process. Specifically, the CPU 24a executes a control program for command reception interrupt processing based on the above-mentioned input of the strobe signal, acquires an effect control command in the interrupt processing realized by the control program, and analyzes the command contents. Do.
At this time, when an interrupt occurs based on the input of the strobe signal, the CPU 24a performs the interrupt processing (timer interrupt processing that is periodically executed) based on another interrupt. The command reception interrupt processing is performed by interrupting to, and even if other interrupts occur at the same time, the command reception interrupt processing is preferentially performed.

<3.動作の概要説明>
[3-1.図柄変動表示ゲーム]

次に、上記のような制御構成(図3)により実現される遊技機1の遊技動作の概要について説明する。
先ずは、図柄変動表示ゲームについて説明する。
<3. Outline explanation of operation >
[3-1. Design fluctuation display game]

Next, an outline of the gaming operation of the gaming machine 1 realized by the control configuration (FIG. 3) as described above will be described.
First, a symbol variation display game will be described.

(特別図柄変動表示ゲーム)

本実施形態の遊技機1では、所定の始動条件、具体的には、遊技球が上始動口34又は下始動口35に遊技球が入球(入賞)したことに基づき、主制御部20において乱数抽選による「大当り抽選」が行われる。主制御部20は、その抽選結果に基づき、特別図柄表示装置38a、38bに特別図柄1、特別図柄2を変動表示して特別図柄変動表示ゲームを開始させ、所定時間経過後に、その結果を特別図柄表示装置に導出表示して、これにより特別図柄変動表示ゲームを終了させる。
(Special symbol variation display game)

In the game machine 1 of the present embodiment, the main control unit 20 receives a predetermined start condition, specifically, the game ball enters (wins) the upper start port 34 or the lower start port 35. A "big hit lottery" is held by random number lottery. Based on the lottery result, the main control unit 20 variablely displays the special symbol 1 and the special symbol 2 on the special symbol display devices 38a and 38b to start the special symbol variation display game, and after a lapse of a predetermined time, specializes the result. Derived display is performed on the symbol display device, thereby ending the special symbol variation display game.

ここで本実施形態では、上始動口34への入賞に基づく大当り抽選と、下始動口35への入賞に基づく大当り抽選とは別個独立して行われる。このため、上始動口34に関する大当り抽選結果は特別図柄表示装置38a側で、下始動口35に関する大当り抽選結果は特別図柄表示装置38b側で導出されるようになっている。具体的には、特別図柄表示装置38a側においては、上始動口34に遊技球が入球したことを条件に、特別図柄1を変動表示して第1の特別図柄変動表示ゲームが開始され、他方、特別図柄表示装置38b側においては、下始動口35に遊技球が入球したことを条件に、特別図柄2を変動表示して第2の特別図柄変動表示ゲームが開始されるようになっている。そして、特別図柄表示装置38a、又は特別図柄表示装置38bにおける特別図柄変動表示ゲームが開始されると、所定の変動表示時間経過後に、大当り抽選結果が「大当り」の場合には所定の「大当り」態様で、それ以外の場合には所定の「はずれ」態様で、変動表示中の特別図柄が停止表示され、これによりゲーム結果(大当り抽選結果)が導出されるようになっている。 Here, in the present embodiment, the big hit lottery based on the winning of the upper starting port 34 and the big hit lottery based on the winning of the lower starting port 35 are performed separately and independently. Therefore, the jackpot lottery result for the upper starting port 34 is derived on the special symbol display device 38a side, and the jackpot lottery result for the lower starting port 35 is derived on the special symbol display device 38b side. Specifically, on the special symbol display device 38a side, on the condition that the game ball enters the upper start port 34, the special symbol 1 is variablely displayed and the first special symbol variable display game is started. On the other hand, on the special symbol display device 38b side, the special symbol 2 is variablely displayed and the second special symbol variable display game is started on the condition that the game ball enters the lower starting port 35. ing. Then, when the special symbol variation display game on the special symbol display device 38a or the special symbol display device 38b is started, after a predetermined variation display time elapses, if the jackpot lottery result is a "big hit", a predetermined "big hit" In the mode, in other cases, in a predetermined "missing" mode, the special symbol being displayed in a variable manner is stopped and displayed, whereby the game result (big hit lottery result) is derived.

なお本明細書中では、説明の便宜上、特別図柄表示装置38a側の第1の特別図柄変動表示ゲームを「特別図柄変動表示ゲーム1」と称し、特別図柄表示装置38b側の第2の特別図柄変動表示ゲームを「特別図柄変動表示ゲーム2」と称する。また特に必要のない限り、「特別図柄1」と「特別図柄2」とを単に「特別図柄」と称し(場合により「特図」と略称する)、また「特別図柄変動表示ゲーム1」と「特別図柄変動表示ゲーム2」とを単に「特別図柄変動表示ゲーム」と称する。
In the present specification, for convenience of explanation, the first special symbol variation display game on the special symbol display device 38a side is referred to as "special symbol variation display game 1", and the second special symbol on the special symbol display device 38b side is referred to as "special symbol variation display game 1". The variable display game is referred to as a "special symbol variable display game 2". Unless otherwise required, "special symbol 1" and "special symbol 2" are simply referred to as "special symbol" (sometimes abbreviated as "special symbol"), and "special symbol variation display game 1" and "special symbol". The "special symbol variation display game 2" is simply referred to as a "special symbol variation display game".

(装飾図柄変動表示ゲーム)

また、上述の特別図柄変動表示ゲームが開始されると、これに伴って、主液晶表示装置36Mに装飾図柄(演出的な遊技図柄)を変動表示して装飾図柄変動表示ゲームが開始され、これに付随して種々の演出が展開される。そして特別図柄変動表示ゲームが終了すると、装飾図柄変動表示ゲームも終了し、特別図柄表示装置には大当り抽選結果を示す所定の特別図柄が、そして主液晶表示装置36Mには当該大当り抽選結果を反映した装飾図柄が導出表示されるようになっている。すなわち、装飾図柄の変動表示動作を含む演出的な装飾図柄変動表示ゲームにより、特別図柄変動表示ゲームの結果を反映表示するようになっている。
(Decorative pattern variation display game)

Further, when the above-mentioned special symbol variable display game is started, a decorative symbol (directive game symbol) is variablely displayed on the main liquid crystal display device 36M, and the decorative symbol variable display game is started. Along with this, various productions are developed. When the special symbol variation display game ends, the decorative symbol variation display game also ends, the special symbol display device reflects a predetermined special symbol indicating the jackpot lottery result, and the main liquid crystal display device 36M reflects the jackpot lottery result. The decorative design is derived and displayed. That is, the result of the special symbol variation display game is reflected and displayed by the dramatic decorative symbol variation display game including the variation display operation of the decorative symbol.

従って、例えば特別図柄変動表示ゲームの結果が「大当り」である場合(大当り抽選結果が「大当り」である場合)、装飾図柄変動表示ゲームではその結果を反映させた演出が展開される。そして特別図柄表示装置において、特別図柄が大当りを示す表示態様(例えば、7セグが「7」の表示状態)で停止表示されると、主液晶表示装置36Mには、「左」「中」「右」の各表示エリアにおいて、装飾図柄が「大当り」を反映させた表示態様(例えば「左」「中」「右」の各表示エリアにおいて、3個の装飾図柄が「7」「7」「7」の表示状態)で停止表示される。 Therefore, for example, when the result of the special symbol variation display game is "big hit" (when the jackpot lottery result is "big hit"), the decorative symbol variation display game develops an effect reflecting the result. Then, in the special symbol display device, when the special symbol is stopped and displayed in a display mode indicating a big hit (for example, the 7-segment display state is "7"), the main liquid crystal display device 36M is displayed with "left", "middle", and "middle". In each display area of "right", the decorative symbols reflect "big hit" (for example, in each display area of "left", "middle", and "right", three decorative symbols are "7", "7", and "right". 7 ”is displayed) and the display is stopped.

この「大当り」となった場合、具体的には、特別図柄変動表示ゲームが終了して、これに伴い装飾図柄変動表示ゲームが終了し、その結果として「大当り」の図柄態様が導出表示された後、特別変動入賞装置52の大入賞口ソレノイド52cが作動して開放扉52bが所定のパターンで開閉動作を行い、これにより大入賞口50が開閉され、通常遊技状態よりも遊技者に有利な特別遊技状態(大当り遊技)が発生する。この大当り遊技では、開放扉52bにより、大入賞口の開放時間が所定時間(最大開放時間:例えば、29.8秒)経過するまでか、又は大入賞口に入賞した遊技球数(大入賞口50への入賞球)が所定個数(最大入賞数:役物の1回の作動によりその入口が開き、または拡大した入賞口に対して許容される入賞球数の上限個数:例えば、9個)に達するまで、その入賞領域が開放または拡大され、これら何れかの条件を満した場合に大入賞口が閉鎖される、といった「ラウンド遊技」が、予め定められた規定ラウンド数(例えば、最大16ラウンド)繰り返される。 In the case of this "big hit", specifically, the special symbol variation display game ends, and the decorative symbol variation display game ends accordingly, and as a result, the symbol mode of the "big hit" is derived and displayed. After that, the large winning opening solenoid 52c of the special variable winning device 52 operates to open and close the opening door 52b in a predetermined pattern, whereby the large winning opening 50 is opened and closed, which is more advantageous to the player than in the normal gaming state. A special game state (big hit game) occurs. In this big hit game, the number of game balls won by the opening door 52b until a predetermined time (maximum opening time: for example, 29.8 seconds) elapses or the number of game balls won in the big winning opening (big winning opening). A predetermined number of winning balls to 50) (maximum number of winning balls: maximum number of winning balls allowed for a winning opening whose entrance is opened or expanded by one operation of the accessory: for example, 9) The "round game", in which the winning area is opened or expanded until the number of winnings is reached, and the large winning opening is closed when any of these conditions is met, is defined as a predetermined number of rounds (for example, a maximum of 16). Round) Repeated.

上記大当り遊技が開始すると、最初に大当りが開始された旨を報知するオープニング演出が行われ、オープニング演出が終了した後、ラウンド遊技が予め定められた規定ラウンド数を上限として複数回行われる。そして、規定ラウンド数終了後には、大当りが終了される旨を報知するエンディング演出が行われ、これにより大当り遊技が終了するようになっている。 When the jackpot game starts, an opening effect for notifying that the jackpot has started is performed first, and after the opening effect is completed, the round game is performed a plurality of times up to a predetermined number of predetermined rounds. Then, after the end of the specified number of rounds, an ending effect is performed to notify that the big hit is finished, so that the big hit game is finished.

上記の装飾図柄変動表示ゲームの実行に必要な情報に関しては、先ず主制御部20が、上始動口34又は下始動口35に遊技球が入球(入賞)したことに基づき、具体的には、上始動口センサ34a又は下始動口センサ35aにより遊技球が検出されて始動条件(特別図柄に関する始動条件)が成立したことを条件に、「大当り」又は「はずれ」の何れであるかを抽選する‘当落抽選(当否種別抽選)’と、「大当り」であったならばその大当り種別を、「はずれ」であったならばそのはずれ種別を抽選する‘図柄抽選(当選種別(当り種別)抽選)’とを含む大当り抽選を行い(はずれが1種類の場合は、はずれについて種別抽選を行う必要がないためその抽選を省略してもよい)、その抽選結果情報に基づき、特別図柄の変動パターンや、当選種別に応じて最終的に停止表示させる特別図柄(以下、「特別停止図柄」と称する)を決定する。
そして、主制御部20は、処理状態を特定する演出制御コマンドとして、少なくとも特別図柄の変動パターン情報(例えば、大当り抽選結果及び特別図柄の変動時間に関する情報等)を含む「変動パターン指定コマンド」を演出制御部24側に送信する。これにより、装飾図柄変動表示ゲームに必要とされる基本情報が演出制御部24に送られる。なお本実施形態では、演出のバリエーションを豊富なものとするべく、特別停止図柄の情報(図柄抽選結果情報(当り種別に関する情報))を含む「装飾図柄指定コマンド」も演出制御部24に送信するようになっている。
Regarding the information necessary for executing the above-mentioned decorative symbol variation display game, first, the main control unit 20 first enters (wins) a game ball into the upper start port 34 or the lower start port 35, and specifically. , On the condition that the game ball is detected by the upper start opening sensor 34a or the lower start opening sensor 35a and the starting condition (starting condition related to the special symbol) is satisfied, a lottery is made as to whether it is a "big hit" or a "missing". "Winning lottery (winning type lottery)" and if it is a "big hit", the big hit type is drawn, and if it is "missing", the losing type is drawn. )'And a big hit lottery (if there is only one type of loss, the lottery may be omitted because it is not necessary to perform a type lottery for the loss), and based on the lottery result information, the variation pattern of the special symbol In addition, a special symbol (hereinafter referred to as "special stop symbol") to be finally stopped and displayed is determined according to the winning type.
Then, the main control unit 20 issues a "variation pattern designation command" including at least the variation pattern information of the special symbol (for example, information on the jackpot lottery result and the variation time of the special symbol) as the effect control command for specifying the processing state. It is transmitted to the effect control unit 24 side. As a result, the basic information required for the decorative symbol variation display game is sent to the effect control unit 24. In the present embodiment, a "decorative symbol designation command" including information on the special stop symbol (design lottery result information (information on the winning type)) is also transmitted to the effect control unit 24 in order to enrich the variation of the effect. It has become like.

上記特別図柄の変動パターン情報には、特定の予告演出(例えば、後述の「リーチ演出」や「疑似連演出」など)の発生の有無を指定する情報を含むことができる。詳述するに、特別図柄の変動パターンは、大当り抽選結果に応じて、当りの場合の「当り変動パターン」と、はずれの場合の「はずれ変動パターン」に大別される。これら変動パターンには、例えば、後述のリーチ演出の発生を指定する‘リーチ変動パターン’、リーチ演出の発生を指定しない‘通常変動パターン’、疑似連演出とリーチ演出との発生(重複発生)を指定する‘疑似連有りリーチ変動パターン’、疑似連演出の発生を指定し、リーチ演出の発生は指定しない‘疑似連有り通常変動パターン’等、複数種類の変動パターンが含まれる。なお、リーチ演出や疑似連演出の演出時間を確保する関係上、通常、リーチ演出や疑似連演出を指定する変動パターンの方が、通常変動パターンよりも変動時間が長く定められている。 The variation pattern information of the special symbol may include information for designating whether or not a specific advance notice effect (for example, "reach effect" or "pseudo-continuous effect" described later) is generated. In detail, the fluctuation pattern of the special symbol is roughly classified into a "hit fluctuation pattern" in the case of a hit and a "missing fluctuation pattern" in the case of a miss, depending on the result of the big hit lottery. These fluctuation patterns include, for example, a'reach fluctuation pattern'that specifies the occurrence of the reach effect described later, a'normal fluctuation pattern'that does not specify the occurrence of the reach effect, and the occurrence (overlap occurrence) of the pseudo continuous effect and the reach effect. A plurality of types of fluctuation patterns are included, such as a specified'pseudo-ream reach variation pattern', a'pseudo-ream normal variation pattern'that specifies the occurrence of a pseudo-ream effect, and does not specify the occurrence of a reach effect. In addition, in order to secure the production time of the reach effect and the pseudo-continuous effect, the variation pattern that specifies the reach effect and the pseudo-continuous effect is usually set to have a longer variation time than the normal variation pattern.

演出制御部24は、主制御部20から送られてくる演出制御コマンド(ここでは、変動パターン指定コマンドと装飾図柄指定コマンド)に含まれる情報に基づいて、装飾図柄変動表示ゲーム中に時系列的に展開させる演出内容(予告演出等の演出シナリオ)や、最終的に停止表示する装飾図柄(装飾停止図柄)を決定し、特別図柄の変動パターンに基づくタイムスケジュールに従い装飾図柄を変動表示して装飾図柄変動表示ゲームを実行させる。これにより、特別図柄表示装置38a、38bによる特別図柄の変動表示と時間的に同調して、主液晶表示装置36Mによる装飾図柄が変動表示され、特別図柄変動表示ゲームの期間と装飾図柄変動表示ゲーム中の期間とが、実質的に同じ時間幅となる。また演出制御部24は、演出シナリオに対応するように、主液晶表示装置36M又は光表示装置45a或いは音響発生装置46aをそれぞれ制御し、装飾図柄変動表示ゲームにおける各種演出を展開させる。これにより、主液晶表示装置36Mでの画像の再生(画像演出)と、効果音の再生(音演出)と、装飾ランプ45やLEDなどの点灯点滅駆動(光演出)とが実現される。 The effect control unit 24 is time-series during the decorative symbol variation display game based on the information included in the effect control commands (here, the variation pattern designation command and the decorative symbol designation command) sent from the main control unit 20. The content of the production to be developed (the production scenario such as the advance notice production) and the decorative design to be finally stopped and displayed (decorative stop design) are determined, and the decorative design is variablely displayed and decorated according to the time schedule based on the variable pattern of the special design. Run the symbol variation display game. As a result, the decorative symbol by the main liquid crystal display device 36M is variablely displayed in synchronization with the variable display of the special symbol by the special symbol display devices 38a and 38b, and the period of the special symbol variable display game and the decorative symbol variable display game. The period in the middle is substantially the same time width. Further, the effect control unit 24 controls the main liquid crystal display device 36M, the light display device 45a, or the sound generator 46a, respectively, so as to correspond to the effect scenario, and develops various effects in the decorative symbol variation display game. As a result, image reproduction (image effect), sound effect reproduction (sound effect), and lighting / blinking drive (light effect) of the decorative lamp 45, LED, etc. are realized on the main liquid crystal display device 36M.

このように特別図柄変動表示ゲームと装飾図柄変動表示ゲームとは不可分的な関係を有し、特別図柄変動表示ゲームの表示結果を反映したものが装飾図柄変動表示ゲームにおいて表現されることとしているので、この二つの図柄変動表示ゲームを等価的な図柄遊技と捉えても良い。本明細書中では特に必要のない限り、上記二つの図柄変動表示ゲームを単に「図柄変動表示ゲーム」と称する場合がある。
In this way, the special symbol variation display game and the decorative symbol variation display game have an inseparable relationship, and what reflects the display result of the special symbol variation display game is expressed in the decorative symbol variation display game. , These two symbol variation display games may be regarded as equivalent symbol games. Unless otherwise specified in the present specification, the above two symbol variation display games may be simply referred to as "symbol variation display games".

(普通図柄変動表示ゲーム)

また遊技機1においては、普通図柄始動口37に遊技球が通過(入賞)したことに基づき、主制御部20において乱数抽選による「補助当り抽選」が行なわれる。この抽選結果に基づき、LEDにより表現される普通図柄を普通図柄表示装置39aに変動表示させて普通図柄変動表示ゲームを開始し、一定時間経過後に、その結果をLEDの点灯と非点灯の組合せにて停止表示するようになっている。例えば、普通図柄変動表示ゲームの結果が「補助当り」であった場合、普通図柄表示装置39aの表示部を特定の点灯状態(例えば、2個のLED39が全て点灯状態、又は「○」と「×」を表現するLEDのうち「○」側のLEDが点灯状態)にて停止表示させる。
(Normal symbol fluctuation display game)

Further, in the game machine 1, based on the fact that the game ball has passed (winning) through the normal symbol start port 37, the main control unit 20 performs an "auxiliary hit lottery" by a random number lottery. Based on this lottery result, the normal symbol represented by the LED is variablely displayed on the normal symbol display device 39a to start the normal symbol variable display game, and after a certain period of time, the result is a combination of lighting and non-lighting of the LED. It is designed to stop and display. For example, when the result of the normal symbol variation display game is "auxiliary hit", the display unit of the normal symbol display device 39a is in a specific lighting state (for example, all two LEDs 39 are in a lighting state, or "○" and "○" and ". Of the LEDs expressing "x", the LED on the "○" side is in the lit state) to stop and display.

この「補助当り」となった場合には、普通電動役物ソレノイド41c(図3参照)が作動し、これにより可動翼片47が逆「ハ」の字状に開いて下始動口35が開放または拡大されて遊技球が流入し易い状態(始動口開状態)となり、通常遊技状態よりも遊技者に有利な補助遊技状態(以下、「普電開放遊技」と称する)が発生する。この普電開放遊技では、普通変動入賞装置41の可動翼片47により、下始動口35の開放時間が所定時間(例えば0.2秒)経過するまでか、又は下始動口35に入賞した遊技球数が所定個数(例えば4個)に達するまで、その入賞領域が開放または拡大され、これら何れかの条件を満たした場合に下始動口35を閉鎖する、といった動作が所定回数(たとえば、最大2回)繰り返されるようになっている。
In the case of this "auxiliary hit", the normal electric accessory solenoid 41c (see FIG. 3) is activated, whereby the movable wing piece 47 opens in an inverted "C" shape and the lower starting port 35 opens. Alternatively, the game ball is expanded to a state in which the game ball easily flows in (starting opening open state), and an auxiliary game state (hereinafter referred to as "solenoid open game") that is more advantageous to the player than the normal game state occurs. In this general electric opening game, a game in which the opening time of the lower starting port 35 elapses for a predetermined time (for example, 0.2 seconds) or the lower starting port 35 is won by the movable wing piece 47 of the normal variable winning device 41. Until the number of balls reaches a predetermined number (for example, 4), the winning area is opened or expanded, and when any of these conditions is satisfied, the lower starting port 35 is closed, and the like is performed a predetermined number of times (for example, maximum). (Twice) It is supposed to be repeated.

(保留について)

ここで本実施形態では、特別/装飾図柄変動表示ゲーム中、普通図柄変動表示ゲーム中、大当り遊技中、又は普電開放遊技中等に、上始動口34又は下始動口35若しくは普通図柄始動口37に入賞が発生した場合、すなわち上始動口センサ34a又は下始動口センサ35a若しくは普通図柄始動口センサ37aからの検出信号の入力があり、対応する始動条件(図柄遊技開始条件)が成立した場合、これを変動表示ゲームの始動権利に係るデータとして、変動表示中に関わるものを除き、所定の上限値である最大保留記憶数(例えば最大4個)まで保留記憶されるようになっている。この図柄変動表示動作に供されていない保留中の保留データ、又はその保留データに係る遊技球を、「作動保留球」とも称する。この作動保留球の数を遊技者に明らかにするため、遊技機1の適所に設けた専用の保留表示器(図示せず)、又は液晶表示装置36(主液晶表示装置36M又は副液晶表示装置36S)による画面中にアイコン画像として設けた保留表示器を点灯表示させる。
(About hold)

Here, in the present embodiment, during the special / decorative symbol variation display game, the normal symbol variation display game, the jackpot game, the normal electric opening game, etc., the upper start port 34, the lower start port 35, or the normal symbol start port 37 When a prize is generated, that is, when a detection signal is input from the upper start port sensor 34a, the lower start port sensor 35a, or the normal symbol start port sensor 37a, and the corresponding start condition (symbol game start condition) is satisfied. This is used as data related to the start right of the variable display game, and is stored up to the maximum number of reserved storages (for example, up to 4), which is a predetermined upper limit value, except for those related to the variable display. The pending data that is not used for this symbol variation display operation, or the game ball related to the reserved data, is also referred to as an "operation pending ball". In order to clarify the number of operation holding balls to the player, a dedicated holding display (not shown) or a liquid crystal display device 36 (main liquid crystal display device 36M or sub liquid crystal display device) provided at an appropriate position in the game machine 1 is provided. The hold display provided as an icon image is lit and displayed on the screen according to 36S).

また本実施形態では、特別図柄1、特別図柄2、及び普通図柄に関する作動保留球をそれぞれ最大4個までRAM20cの該当記憶領域に保留記憶し、特別図柄又は普通図柄の変動確定回数として保留する。なお、特別図柄1、特別図柄2、及び普通図柄に関する各作動保留球数の最大記憶数(最大保留記憶数)は特に制限されない。また、各図柄の最大保留記憶数の全部又は一部が異なっていてもよく、その数は遊技性に応じて適宜定めることができる。
Further, in the present embodiment, up to four operation holding balls related to the special symbol 1, the special symbol 2, and the normal symbol are reserved and stored in the corresponding storage area of the RAM 20c, and are retained as the number of times the fluctuation of the special symbol or the ordinary symbol is confirmed. The maximum number of stored balls (maximum number of reserved balls) for each of the special symbol 1, the special symbol 2, and the normal symbol is not particularly limited. In addition, all or part of the maximum number of reserved memories of each symbol may be different, and the number can be appropriately determined according to the playability.

[3-2.遊技状態]

本実施形態に係る遊技機1では、特別遊技状態である上記大当りの他、複数種類の遊技状態を発生可能に構成されている。本実施形態の理解を容易なものとするために、先ず、種々の遊技状態について説明する。
[3-2. Game state]

The gaming machine 1 according to the present embodiment is configured to be capable of generating a plurality of types of gaming states in addition to the above-mentioned jackpot which is a special gaming state. In order to facilitate the understanding of this embodiment, first, various gaming states will be described.

本実施形態の遊技機1は、通常状態、時短状態、潜確状態、確変状態の少なくとも4種類の遊技状態を実行制御可能に構成されている。これら遊技状態は、大当り抽選確率状態(低確率状態、高確率状態)や電チューサポート状態(特典遊技)の発生の有無(電サポ有り、電サポ無し)等で区別される。 The gaming machine 1 of the present embodiment is configured to be able to execute and control at least four types of gaming states: a normal state, a time saving state, a latent probability state, and a probability variation state. These game states are distinguished by the presence or absence of a jackpot lottery probability state (low probability state, high probability state) and an electric chew support state (privilege game) (with electric support, without electric support).

「電チューサポート状態」とは、普電開放遊技における普通変動入賞装置41の可動翼片47の開動作期間(可動翼片47の開放時間およびその開放回数の少なくともいずれか一方)が、通常状態よりも延長された「開放延長状態」を指す。開放延長状態が発生すると、可動翼片47の開動作期間が、例えば、通常時(非開放延長状態下)の0.2秒から1.7秒に延長され、またその開閉回数が、例えば、通常時の1回から2〜3回に延長される。
本実施形態の場合、電チューサポート状態下では、補助当り抽選確率が所定確率(通常確率)の低確率(例えば256分の1)から高確率(例えば256分の255)に変動して(普図確率変動状態)が発生すると共に、1回の普通図柄変動表示ゲームに要する平均的な時間(普通図柄の変動表示動作時間)を短縮する‘普通図柄時短状態’が発生する(例えば10秒から1秒に短縮される)。従って、電チューサポート状態が発生すると、普電開放遊技が頻繁に発生し、通常状態よりも単位時間当りの可動翼片47の作動率が向上する作動率向上状態(高ベース状態)となる。以下、電チューサポート状態下を「電サポ有り」、そうでない場合を「電サポ無し」と略称する。
The "electric chew support state" is a normal state in which the opening operation period of the movable wing piece 47 of the normal variable winning device 41 (at least one of the opening time of the movable wing piece 47 and the number of times of opening the movable wing piece 47) in the normal variable opening game is Refers to the "open extension state" that is more extended than. When the open extension state occurs, the open operation period of the movable wing piece 47 is extended from 0.2 seconds in the normal state (under the non-open extension state) to 1.7 seconds, and the number of times of opening and closing thereof is, for example, It is extended from 1 time in normal time to 2 to 3 times.
In the case of the present embodiment, under the electric chew support state, the lottery probability per auxiliary varies from a low probability (for example, 1/256) of a predetermined probability (normal probability) to a high probability (for example, 255/256) (usually). Along with the occurrence of the figure probability fluctuation state, the'normal symbol time reduction state'that shortens the average time required for one normal symbol fluctuation display game (normal symbol fluctuation display operation time) occurs (for example, from 10 seconds). It is shortened to 1 second). Therefore, when the electric chew support state occurs, the normal electric opening game frequently occurs, and the operating rate is improved (high base state) in which the operating rate of the movable wing piece 47 per unit time is improved as compared with the normal state. Hereinafter, the state under the electric chew support state is abbreviated as "with electric support", and the case without it is abbreviated as "without electric support".

本実施形態において、「通常状態」とは、大当り抽選確率が所定確率(通常確率)の低確率(例えば399分の1)であり、電サポ無しの遊技状態(低確率+電サポ無し)を言う。 In the present embodiment, the "normal state" means that the jackpot lottery probability is a low probability (for example, 1/399) of a predetermined probability (normal probability), and a gaming state without electric support (low probability + no electric support). To tell.

「時短状態」とは、大当り抽選確率が通常状態と同様の低確率であるが、1回の特別図柄変動表示ゲームに要する平均的な時間(特別図柄の変動表示動作時間))が通常状態よりも短縮される‘特別図柄時短状態’が発生すると共に、電チューサポート状態となる遊技状態を言う。つまり、時短状態中は「低確率+電サポ有り+特別図柄時短状態」となる。 In the "time saving state", the jackpot lottery probability is as low as the normal state, but the average time required for one special symbol variation display game (special symbol variation display operation time) is higher than the normal state. It is a game state in which a'special symbol time reduction state'is generated and the electric chew support state is set. In other words, during the time saving state, it becomes "low probability + with electric support + special symbol time saving state".

「潜確状態」とは、大当り抽選確率が上記低確率よりも上昇した高確率(例えば39.9分の1)に変動した‘特別図柄確変状態’であり、電サポ無しの遊技状態(高確率+電サポ無し)を言う。 The "latent probability state" is a "special symbol probability change state" in which the jackpot lottery probability fluctuates to a high probability (for example, 1 / 39.9) higher than the above low probability, and is a gaming state without electric support (high). Probability + no electric support).

「確変状態」とは、大当り抽選確率が潜確状態と同様の高確率であるが、特別図柄時短状態及び電チューサポート状態が発生する遊技状態を言う。つまり、確変状態中は「高確率+電サポ有り+特別図柄時短状態」となる。 The "probability change state" refers to a game state in which the jackpot lottery probability has the same high probability as the latent probability state, but a special symbol time reduction state and an electric chew support state occur. In other words, during the probability change state, it becomes "high probability + with electric support + special symbol time saving state".

遊技状態に関し、大当り抽選確率に着目すれば、遊技状態が「通常状態」「時短状態」である場合は、少なくとも大当り抽選確率が‘低確率状態’となり、遊技状態が「潜確状態」「確変状態」である場合は、少なくとも大当り抽選確率が‘高確率状態’となる。なお、大当り中は大入賞口が開閉される大当り遊技が発生するが、大当り抽選確率及び電サポの有無については、上記通常状態と同じ、低確率・電サポ無しの遊技状態下に置かれる。
Regarding the game state, paying attention to the jackpot lottery probability, when the game state is "normal state" and "time saving state", at least the jackpot lottery probability becomes "low probability state", and the game state is "latent state" and "probability change". In the case of "state", at least the jackpot lottery probability is "high probability state". During the big hit, a big hit game in which the big winning opening is opened and closed occurs, but the big hit lottery probability and the presence or absence of the electric support are placed under the same low probability / no electric support game state as the above normal state.

[3-3.当りについて]

続いて、遊技機1における「当り」について説明する。
本実施形態の遊技機1においては、複数種類の当りを対象に大当り抽選(当り抽選)を行うようになっている。本例の場合、当りの種別には、大当り種別に属する例えば「通常4R」「通常6R」「確変6R」「確変10R」の各大当りが含まれる。
なお、上記「R」の表記は、規定ラウンド数(最大ラウンド数)を意味する。
[3-3. About hit]

Next, the "hit" in the game machine 1 will be described.
In the game machine 1 of the present embodiment, a big hit lottery (winning lottery) is performed for a plurality of types of hits. In the case of this example, the hit type includes, for example, "normal 4R", "normal 6R", "probability variation 6R", and "probability variation 10R" belonging to the jackpot type.
The notation of "R" means the specified number of rounds (maximum number of rounds).

大当り種別は、条件装置の作動契機となる当りである。ここで「条件装置」とは、その作動がラウンド遊技を行うための役物連続作動装置の作動に必要な条件とされている装置で、特定の特別図柄の組合せが表示され、又は遊技球が大入賞口内の特定の領域を通過した場合に作動するものを言う。 The jackpot type is a hit that triggers the operation of the condition device. Here, the "condition device" is a device whose operation is a condition necessary for the operation of the accessory continuous operation device for performing a round game, and a combination of specific special symbols is displayed or the game ball is displayed. A game that operates when a specific area in the winning opening is passed.

上記確変状態は、大当り種別に当選することなく、特別図柄変動表示ゲームの実行回数が所定回数(例えば70回:規定ST回数)終了した場合に、高確率状態を終了させて低確率に移行させる、いわゆる「回数切り確変機(ST機)」となっており、規定ST回数が終了したときは、次ゲームから通常状態に移行される。但し、次回大当りが当選するまで継続させるタイプの「一般確変機」としてもよい。
なお、特別図柄変動表示ゲームの実行回数は、特別図柄変動表示ゲーム1、及び特別図柄変動表示ゲーム2の合計実行回数(特図1及び特図2の合計変動回数)であってもよいし、何れか一方の実行回数(例えば特別図柄変動表示ゲーム2の実行回数)であってもよい。また、時短状態の回数についても60回や100回に限らず、遊技性に応じて適宜定めることができる。また、どのような種類の当りを設けるかについても特に制限はなく、適宜定めることができる。
In the above probability variation state, when the number of executions of the special symbol variation display game ends a predetermined number of times (for example, 70 times: the specified number of STs) without winning the jackpot type, the high probability state is terminated and the probability shifts to a low probability. , So-called "number-cutting probability change machine (ST machine)", and when the specified number of ST times is completed, the game shifts to the normal state from the next game. However, it may be a type of "general probability change machine" that continues until the next big hit is won.
The number of executions of the special symbol variation display game may be the total number of executions of the special symbol variation display game 1 and the special symbol variation display game 2 (total number of fluctuations of the special figure 1 and the special figure 2). It may be the number of executions of either one (for example, the number of executions of the special symbol variation display game 2). Further, the number of times of the time saving state is not limited to 60 times or 100 times, and can be appropriately determined according to the playability. In addition, there is no particular limitation on what kind of hit is provided, and it can be appropriately determined.

ここで、本例では、大当り種別と同様に「はずれ」についても複数の種別が設けられている。具体的には、「はずれ1」「はずれ2」「はずれ3」の三種のはずれ種別が設けられている。
前述のように、当落抽選の結果が「はずれ」であった場合には、図柄抽選においてはずれ種別の抽選が行われる。
Here, in this example, a plurality of types are provided for "missing" as well as the jackpot type. Specifically, there are three types of outliers, "outlier 1", "outlier 2", and "outlier 3".
As described above, when the result of the winning lottery is "missing", the lottery of the losing type is performed in the symbol lottery.

[3-4.演出について]
(演出モード)

次に、演出モード(演出状態)について説明する。本実施形態の遊技機1には、遊技状態に関連する演出を現出させるための複数種類の演出モードが設けられており、その演出モード間を行き来可能に構成されている。具体的には、通常状態、時短状態、潜確状態、確変状態のそれぞれに対応した、通常演出モード、時短演出モード、潜確演出モード、確変演出モードが設けられている。各演出モードでは、装飾図柄の変動表示画面のバックグラウンドとしての背景表示が、それぞれ異なる背景演出により表示され、遊技者が現在、どのような遊技状態に滞在しているかを把握することができるようになっている。
[3-4. About the production]
(Direction mode)

Next, the effect mode (effect state) will be described. The gaming machine 1 of the present embodiment is provided with a plurality of types of effect modes for displaying an effect related to the gaming state, and is configured to be able to go back and forth between the effect modes. Specifically, a normal effect mode, a time-saving effect mode, a latent effect mode, and a probabilistic effect mode are provided corresponding to each of the normal state, the time-saving state, the latent state, and the probabilistic state. In each effect mode, the background display as the background of the variable display screen of the decorative pattern is displayed by different background effects so that the player can grasp what kind of game state he / she is currently staying in. It has become.

演出制御部24(CPU24a)は、複数種類の演出モード間を移行制御する機能部(演出状態移行制御手段)を有する。演出制御部24(CPU24a)は、主制御部20(CPU20a)から送られてくる特定の演出制御コマンド、具体的には、主制御部20側で管理される遊技状態情報を含む演出制御コマンドに基づいて、主制御部20側で管理される遊技状態と整合性を保つ形で、現在の遊技状態を把握し、複数種類の演出モード間を移行制御可能に構成されている。上記のような特定の演出制御コマンドとしては、例えば、変動パターン指定コマンド、装飾図柄指定コマンド、遊技状態に変化が生じる際に送られる遊技状態指定コマンド等がある。
The effect control unit 24 (CPU 24a) has a function unit (effect state transition control means) for transition control between a plurality of types of effect modes. The effect control unit 24 (CPU 24a) is a specific effect control command sent from the main control unit 20 (CPU 20a), specifically, an effect control command including game state information managed by the main control unit 20 side. Based on this, the current game state is grasped in a form that is consistent with the game state managed by the main control unit 20 side, and the transition control between a plurality of types of effect modes is possible. Specific effect control commands as described above include, for example, a variation pattern designation command, a decorative symbol designation command, and a game state designation command sent when a change occurs in the game state.

(予告演出)

次に、予告演出について説明する。演出制御部24は、主制御部20からの演出制御コマンドの内容、具体的には、少なくとも変動パターン指定コマンドに含まれる変動パターン情報に基づき、現在の演出モードと大当り抽選結果とに関連した様々な「予告演出」を現出制御可能に構成されている。このような予告演出は、当り種別に当選したか否かの期待度(以下「当選期待度」と称する)を示唆(予告)し、遊技者の当選期待感を煽るための「煽り演出」として働く。予告演出として代表的なものには、「リーチ演出」や「疑似連演出」、さらには「先読み予告演出」等がある。演出制御部24は、これら演出を実行(現出)制御可能な予告演出制御手段として機能する。
(Notice production)

Next, the advance notice production will be described. The effect control unit 24 is based on the content of the effect control command from the main control unit 20, specifically, at least the variation pattern information included in the variation pattern designation command, and variously related to the current effect mode and the jackpot lottery result. It is configured so that the appearance of the "notice effect" can be controlled. Such a notice effect suggests (notices) the degree of expectation (hereinafter referred to as "winning expectation") of whether or not a player has won the winning type, and serves as a "fanning effect" to fuel the player's sense of expectation of winning. work. Typical notice productions include "reach production", "pseudo-continuous production", and "look-ahead notice production". The effect control unit 24 functions as a notice effect control means capable of executing (appearing) and controlling these effects.

「リーチ演出」とは、リーチ状態を伴う演出態様(リーチ状態を伴う変動表示態様:リーチ変動パターン)を言い、具体的には、リーチ状態を経由して最終的なゲーム結果を導出表示するような演出態様を言う。リーチ演出には当選期待度に関連付けられた複数種類のリーチ演出が含まれる。例えば、ノーマルリーチ演出が出現した場合に比べて、当選期待度が相対的に高まるものがある。このようなリーチ演出を‘スーパーリーチ演出’と言う。この「スーパーリーチ」の多くは、当選期待感を煽るべく、ノーマルリーチよりも相対的に長い演出時間(変動時間)を持つ。また、ノーマルリーチやスーパーリーチには複数種類のリーチ演出が含まれる。本例では、スーパーリーチには、スーパーリーチ1、2、3、4という複数種類のリーチ演出が含まれ、これらスーパーリーチ1〜4の当選期待度については「スーパーリーチ1<スーパーリーチ2<スーパーリーチ3<スーパーリーチ4」という関係性を持たせている。 The "reach effect" refers to an effect mode with a reach state (variation display mode with a reach state: reach variation pattern), and specifically, the final game result is derived and displayed via the reach state. A mode of production. Reach effects include multiple types of reach effects associated with winning expectations. For example, there are cases where the expectation of winning is relatively higher than when a normal reach effect appears. Such a reach production is called a "super reach production". Many of these "super reach" have a relatively longer production time (variable time) than the normal reach in order to fuel the expectation of winning. In addition, normal reach and super reach include multiple types of reach effects. In this example, the super reach includes a plurality of types of reach effects of super reach 1, 2, 3, and 4, and the winning expectation of these super reach 1 to 4 is "super reach 1 <super reach 2 <super". It has a relationship of "reach 3 <super reach 4".

「疑似連演出」とは、装飾図柄の疑似的な連続変動表示状態(疑似連変動)を伴う演出態様を言い、「疑似連変動」とは、装飾図柄変動表示ゲーム中において、装飾図柄の一部又は全部を一旦仮停止状態とし、その仮停止状態から装飾図柄の再変動表示動作を実行する、といった表示動作を1回または複数回繰り返す変動表示態様をいう。この点、複数回の図柄変動表示ゲームに跨って展開されるような後述の「先読み予告演出(連続予告演出)」とは異なる。このような「疑似連」は、基本的には、疑似変動回数が多くなるほど当選期待度が高まるようにその発生率(出現率)が定められており、例えば、疑似変動回数に応じて、スーパーリーチ等の期待感を煽るための演出が選択され易くされている。 The "pseudo-continuous effect" refers to an effect mode accompanied by a pseudo continuous variation display state (pseudo-continuous variation) of the decorative symbol, and the "pseudo-continuous variation" is one of the decorative symbols in the decorative symbol variation display game. It refers to a variable display mode in which a display operation is repeated once or a plurality of times, such as temporarily setting a part or all of them in a temporarily stopped state and executing a re-variable display operation of a decorative symbol from the temporarily stopped state. In this respect, it is different from the "look-ahead notice effect (continuous notice effect)" described later, which is developed over a plurality of symbol variation display games. Basically, the occurrence rate (appearance rate) of such a "pseudo-ream" is determined so that the higher the number of pseudo-variations, the higher the expectation of winning. It is easy to select a production to fuel expectations such as reach.

「先読み予告演出」(以下では「先読み予告」や「先読み演出」と略称する場合もある)とは、先読み判定の結果に基づいて、判定対象の図柄の変動表示が行われるよりも前に、有利状態に制御される可能性を報知する演出を意味する。なお、「有利状態」は、遊技者にとって有利な状態を意味する。
具体的に、本例の先読み演出は、未だ図柄変動表示ゲームの実行(特別図柄の変動表示動作)には供されていない作動保留球(未消化の作動保留球)について、主に、保留表示態様や先に実行される図柄変動表示ゲームの背景演出等を利用して、当該作動保留球が図柄変動表示ゲームに供される前に、当選期待度を事前に報知し得る演出態様で行われる。なお、図柄変動表示ゲームにおいては、上記「リーチ演出」の他、いわゆる「SU(ステップアップ)予告演出」や「タイマ予告演出」、「復活演出」、「プレミア予告演出」などの種々の演出が発生し、ゲーム内容を盛り上げるようになっている。
The "look-ahead notice effect" (hereinafter, may be abbreviated as "look-ahead notice" or "look-ahead effect") is based on the result of the look-ahead judgment and before the variable display of the symbol to be judged is performed. It means an effect of notifying the possibility of being controlled in an advantageous state. The "advantageous state" means an advantageous state for the player.
Specifically, the look-ahead effect of this example is mainly for holding display of operation-holding balls (undigested operation-holding balls) that have not yet been used for execution of the symbol variation display game (variation display operation of special symbols). It is performed in an effect mode that can notify the winning expectation in advance before the operation holding ball is provided to the symbol variation display game by using the mode and the background effect of the symbol variation display game executed earlier. .. In the symbol variation display game, in addition to the above-mentioned "reach effect", various effects such as so-called "SU (step-up) notice effect", "timer notice effect", "revival effect", and "premier notice effect" are performed. It occurs and the game content is getting excited.

ここで、図4を参照し、上記先読み予告演出の一例としての「保留変化予告演出」について説明する。
本実施形態の遊技機1の場合、主液晶表示装置36Mの画面内の上側の表示エリアには、装飾図柄変動表示ゲームを現出する表示エリア(装飾図柄の変動表示演出や予告演出を現出するための表示領域)が設けられており、また画面内の下側の表示エリアには、特別図柄1側の作動保留球数を表示する保留表示領域76(保留表示部a1〜d1)と特別図柄2側の作動保留球数を表示する保留表示領域77(保留表示部a2〜d2)とが設けられている。作動保留球の有無に関しては、所定の保留表示態様により、その旨が報知される。図4では、作動保留球の有無を点灯状態(作動保留球あり:図示の「○(白丸印)」)、又は消灯状態(作動保留球なし:図示の破線の丸印)にて、現在の作動保留球数に関する情報が報知される例を示している。
Here, with reference to FIG. 4, the "pending change notice effect" as an example of the pre-reading notice effect will be described.
In the case of the game machine 1 of the present embodiment, in the upper display area in the screen of the main liquid crystal display device 36M, a display area for displaying the decorative symbol variation display game (decorative symbol variation display effect and notice effect appear. A display area for displaying) is provided, and a special display area 76 (hold display units a1 to d1) for displaying the number of operation hold balls on the special symbol 1 side is provided in the lower display area in the screen. A hold display area 77 (hold display units a2 to d2) for displaying the number of operation hold balls on the symbol 2 side is provided. Regarding the presence or absence of the operation holding ball, the fact is notified by a predetermined holding display mode. In FIG. 4, the presence or absence of the operation holding ball is currently lit (with the operation holding ball: “○ (white circle)” in the figure) or off (without the operation holding ball: the dashed circle in the figure). An example is shown in which information on the number of balls on hold is notified.

作動保留球の有無に関する表示(保留表示)は、その発生順(入賞順)に順次表示され、各保留表示領域76、77において、一番左側の作動保留球が、当該保留表示内の全作動保留球のうち時間軸上で一番先に生じた(つまり最も古い)作動保留球として表示される。また、保留表示領域76、77の左側には、現に特別図柄変動表示ゲームに供されている作動保留球を示すための変動中表示領域78が設けられている。本実施形態の場合、変動中表示領域78は、受座Jのアイコン上に、現在ゲームに供されているゲーム実行中保留Kのアイコンが載る形の画像が現れるように構成されている。すなわち、特別図柄1又は特別図柄2の変動表示が開始される際に、保留表示領域76、77に表示されていた最も古い保留a1又はa2のアイコン(アイコン画像)が、ゲーム実行中保留Kのアイコンとして、変動中表示領域78おける受座Jのアイコン上に移動し、その状態が所定の表示時間にわたって維持される。 The display regarding the presence / absence of the operation hold ball (hold display) is sequentially displayed in the order of occurrence (winning order), and in each hold display area 76, 77, the leftmost operation hold ball is all the operations in the hold display. It is displayed as the earliest (that is, the oldest) activated holding ball on the time axis among the holding balls. Further, on the left side of the hold display areas 76 and 77, a changing display area 78 for showing the operation hold ball actually used in the special symbol change display game is provided. In the case of the present embodiment, the changing display area 78 is configured so that an image in which the icon of the game execution hold K currently used for the game is placed appears on the icon of the seat J. That is, when the variable display of the special symbol 1 or the special symbol 2 is started, the oldest icon (icon image) of the hold a1 or a2 displayed in the hold display areas 76 and 77 is the hold K during game execution. As an icon, the icon is moved onto the icon of the seat J in the changing display area 78, and the state is maintained for a predetermined display time.

作動保留球が発生した場合、主制御部20から、大当り抽選結果に関連する先読み判定情報と、先読み判定時の作動保留球数(今回発生した作動保留球を含め、現存する作動保留球数)とを指定する「保留加算コマンド」が演出制御部24に送信される(図28のステップS1309〜S1312参照)。
本実施形態の場合、上記保留加算コマンドは2バイトで構成され、保留加算コマンドは、先読み判定時の作動保留球数を特定可能とする上位バイト側のデータと、先読み判定情報を特定可能とする下位バイト側データとから構成される。
When an operation-holding ball is generated, the main control unit 20 sends the look-ahead determination information related to the jackpot lottery result and the number of operation-holding balls at the time of the look-ahead judgment (the number of existing operation-holding balls including the operation-holding ball generated this time). A "hold addition command" for designating the above is transmitted to the effect control unit 24 (see steps S1309 to S1312 in FIG. 28).
In the case of the present embodiment, the hold addition command is composed of 2 bytes, and the hold addition command makes it possible to specify the data on the upper byte side that can specify the number of operation hold balls at the time of the look-ahead determination and the look-ahead judgment information. It is composed of low-order byte side data.

ここで、上記説明から理解されるように、本実施形態では、上始動口34又は下始動口35に入賞が発生して新たに保留球が生じたことに基づいて、当該保留球についての先読み判定として、当該保留球に係る図柄変動表示ゲームについての大当り抽選が行われる。後述するように、主制御部20は、このような先読み判定として行った大当り抽選の結果を表す情報を、RAM20cの該当記憶領域に保留記憶する。
先読み判定時に得られた大当り抽選結果の情報は、図柄変動表示ゲームにおける図柄変動パターンを選択(抽選)するために用いられるものであり、いわば「変動パターン選択用情報」と換言することができる。従って、主制御部20は、先読み判定を行って、その結果得られる「変動パターン選択用情報」をRAM20cの所定領域に保留記憶していると言うことができる。
Here, as understood from the above description, in the present embodiment, a look-ahead about the reserved ball is made based on the fact that a prize is generated in the upper starting port 34 or the lower starting port 35 and a new reserved ball is generated. As a determination, a big hit lottery is performed for the symbol variation display game related to the reserved ball. As will be described later, the main control unit 20 holds and stores information representing the result of the jackpot lottery performed as such a look-ahead determination in the corresponding storage area of the RAM 20c.
The information of the jackpot lottery result obtained at the time of the look-ahead determination is used for selecting (lottery) the symbol variation pattern in the symbol variation display game, and can be paraphrased as "variation pattern selection information". Therefore, it can be said that the main control unit 20 performs the look-ahead determination and holds and stores the "variation pattern selection information" obtained as a result in a predetermined area of the RAM 20c.

演出制御部24は、主制御部20が送信した上記の保留加算コマンドを受信すると、これに含まれる先読み判定情報に基づき、上記保留表示に関連する表示制御処理の一環として、「先読み予告演出」に関する演出制御処理を行う。具体的には、先読み予告演出の実行可否を抽選する「先読み予告抽選」を行い、これに当選した場合には、先読み予告演出を現出させる。 When the effect control unit 24 receives the hold addition command transmitted by the main control unit 20, the effect control unit 24 receives the "look-ahead advance notice effect" as a part of the display control process related to the hold display based on the look-ahead determination information included therein. Performs production control processing related to. Specifically, a "look-ahead notice lottery" is performed to draw a lottery as to whether or not the look-ahead notice effect can be executed, and if this is won, the look-ahead notice effect is displayed.

ここで、先読み判定情報とは、具体的には、主制御部20において、作動保留球が図柄変動表示ゲームに供される際に実行される大当り抽選結果(変動開始時の大当り抽選結果)や変動開始時の変動パターンを先読み判定して得られる遊技情報である。すなわち、この情報には、少なくとも変動開始時の当落抽選結果を先読み判定した情報(先読み当落情報)が含まれ、その他、図柄抽選結果を先読み判定した情報(先読み図柄情報)や変動開始時の変動パターンを先読み判定した情報(先読み変動パターン情報)を含ませることができる。如何なる情報を含む保留加算コマンドを演出制御部24に送るかについては、先読み予告にて報知する内容に応じて適宜定めることができる。
本例では、保留加算コマンドには先読み当落情報、先読み図柄情報、及び先読み変動パターン情報が含まれているものとする。
Here, the look-ahead determination information is specifically a jackpot lottery result (big hit lottery result at the start of fluctuation) executed when the operation holding ball is provided to the symbol variation display game in the main control unit 20. This is game information obtained by pre-reading and determining the fluctuation pattern at the start of fluctuation. That is, this information includes at least information that pre-reads the winning lottery result at the start of fluctuation (pre-reading winning information), and other information that pre-reads the symbol lottery result (pre-reading symbol information) and fluctuation at the start of fluctuation. Information for which the pattern is pre-read-determined (pre-reading fluctuation pattern information) can be included. What kind of information is included in the hold addition command to be sent to the effect control unit 24 can be appropriately determined according to the content to be notified by the pre-reading notice.
In this example, it is assumed that the hold addition command includes the look-ahead winning information, the look-ahead symbol information, and the look-ahead fluctuation pattern information.

なお、作動保留球発生時の先読み判定により得られる「先読み変動パターン」は、必ずしも作動保留球が実際に変動表示動作に供されるときに得られる「変動開始時の変動パターン」そのものではある必要はない。例えば、上記変動開始時の変動パターンが「スーパーリーチ1」を指定する変動パターンであるケースを代表的に説明すれば、本ケースでは、先読み変動パターンにより指定される内容が「スーパーリーチ1」というリーチ演出の種類そのものではなく、その骨子である「スーパーリーチ種別」である旨を指定することができる。 It should be noted that the "look-ahead fluctuation pattern" obtained by the look-ahead determination when the operation-holding ball occurs must be the "variation pattern at the start of fluctuation" itself obtained when the operation-holding ball is actually subjected to the fluctuation display operation. There is no. For example, if the case where the fluctuation pattern at the start of the fluctuation is a fluctuation pattern that specifies "super reach 1" is typically described, in this case, the content specified by the look-ahead fluctuation pattern is called "super reach 1". It is possible to specify that it is not the type of reach production itself, but the "super reach type" that is the gist of the effect.

本実施形態の場合、先読み予告抽選に当選した場合には、保留表示部a1〜d1、a2〜d2の保留アイコンのうちで、その先読み予告対象となった保留アイコンが、例えば、通常の保留表示(通常保留表示態様)の白色から、予告表示の青色、緑色、赤色、デンジャー柄(或いは虹色などの特殊な色彩や絵柄)による保留表示(特別保留表示態様)に変化し得る「保留表示変化系」の先読み予告演出(「保留変化予告」とも称する)が行われる。
図4では、ハッチングされた保留表示部b1の作動保留球が、特別保留表示に変化した例を示している。ここで、保留アイコンの青色、緑色、赤色、デンジャー柄の表示は、この順に、当選期待度が高いことを意味しており、特にデンジャー柄の保留アイコンの表示は、大当り当選期待度が極めて高い表示となるプレミアム的な保留アイコンとされている。
In the case of the present embodiment, when the look-ahead notice lottery is won, among the hold icons of the hold display units a1 to d1 and a2 to d2, the hold icon targeted for the look-ahead notice is, for example, a normal hold display. A "hold display change" that can change from white (normal hold display mode) to hold display (special hold display mode) with blue, green, red, and danger patterns (or special colors and patterns such as rainbow colors) of the notice display. A look-ahead notice effect (also called "pending change notice") of "system" is performed.
FIG. 4 shows an example in which the hatched hold display unit b1 has changed to a special hold display. Here, the display of the hold icon in blue, green, red, and the Danger pattern means that the expectation of winning is high in this order, and in particular, the display of the hold icon of the Danger pattern has an extremely high expectation of winning a big hit. It is a premium hold icon to be displayed.

(演出手段)

遊技機1における各種の演出は、遊技機1に配設された演出手段により現出される。この演出手段は、視覚、聴覚、触覚など、人間の知覚に訴えることにより演出効果を発揮し得る刺激伝達手段であれば良く、装飾ランプ45やLED装置などの光発生手段(光表示装置45a:光演出手段)、スピーカ46などの音響発生装置(音響発生装置46a:音演出手段)、主液晶表示装置36Mや副液晶表示装置36Sなどの演出表示装置(表示手段)、操作者の体に接触圧を伝える加圧装置、遊技者の体に風圧を与える風圧装置、その動作により視覚的演出効果を発揮する可動体役物などは、その代表例である。ここで、演出表示装置は、画像表示装置と同じく視覚に訴える表示装置であるが、画像によらないもの(例えば7セグメント表示器)も含む点で画像表示装置と異なる。画像表示装置と称する場合は主として画像表示により演出を現出するタイプを指し、7セグメント表示器のように画像以外により演出を現出するものは、上記演出表示装置の概念の中に含まれる。
(Direction means)

Various effects in the game machine 1 are expressed by the effect means provided in the game machine 1. The directing means may be any stimulus transmitting means capable of exerting a directing effect by appealing to human perception such as sight, hearing, and touch, and is a light generating means such as a decorative lamp 45 or an LED device (light display device 45a: Light effect means), sound generator such as speaker 46 (sound generator 46a: sound effect means), effect display device (display means) such as main liquid crystal display device 36M and sub liquid crystal display device 36S, contact with operator's body Typical examples are a pressurizing device that transmits pressure, a wind pressure device that applies wind pressure to a player's body, and a movable body accessory that exerts a visual effect by its operation. Here, the effect display device is a display device that appeals to the eyes like the image display device, but differs from the image display device in that it includes a display device that does not depend on an image (for example, a 7-segment display). The term "image display device" mainly refers to a type in which an effect is displayed by displaying an image, and a device that displays an effect by means other than an image, such as a 7-segment display, is included in the concept of the effect display device.

<4.主制御部の処理>

続いて、本実施形態の主制御部20が行う処理について説明する。主制御部20の処理は、主に、所定のメイン処理(主制御側メイン処理:図8)と、CTCからの定時割込みで起動されるタイマ割込み処理(主制御側タイマ割込み処理:図20)とを含んで構成される。
<4. Main control processing>

Subsequently, the processing performed by the main control unit 20 of the present embodiment will be described. The processing of the main control unit 20 is mainly a predetermined main processing (main control side main processing: FIG. 8) and a timer interrupt processing activated by a scheduled interrupt from the CTC (main control side timer interrupt processing: FIG. 20). And are included.

[4-1.主制御側メイン処理]

図5は、主制御側メイン処理を示したフローチャートである。
主制御側メイン処理が開始されるのは、停電状態や電源異常等からの復旧時に電源基板からのシステムリセット信号によるシステムリセットが生起した場合や、制御プログラムが暴走したことによりウォッチドッグタイマ機能(WDT)が発揮されてCPU20aが強制的にリセット(WDTリセット)される場合等がある。何れの場合でも、当該メイン処理が開始されると、主制御部20(CPU20a)は、先ず、CPU20aを含む各部のレジスタの値を初期設定する等の遊技動作開始に必要な初期設定処理を実行する(ステップS101)。
[4-1. Main control side main processing]

FIG. 5 is a flowchart showing the main processing on the main control side.
The main processing on the main control side is started when a system reset occurs due to a system reset signal from the power supply board when recovering from a power failure or power failure, or when the control program runs out of control, the watchdog timer function ( WDT) may be exerted and the CPU 20a may be forcibly reset (WDT reset). In any case, when the main process is started, the main control unit 20 (CPU 20a) first executes the initial setting process necessary for starting the game operation, such as initializing the register values of each unit including the CPU 20a. (Step S101).

(初期設定処理)

図6は、ステップS101の初期設定処理を示したフローチャートである。
図6において、上記のシステムリセットやWDTリセットが発生すると、CPU20aはステップS201で、自らを割込み禁止状態に設定し、次いで、ステップS202のスタックポインタ設定処理として、RAM20cのスタックポインタの値をスタック領域の最終アドレスに対応して設定する処理を実行する。そして、続くステップS203で、RAMプロテクトを無効とすると共に、RAM20cの指定エリア外走行禁止機能における禁止領域を無効とする処理を行う。
(Initial setting process)

FIG. 6 is a flowchart showing the initial setting process of step S101.
In FIG. 6, when the above system reset or WDT reset occurs, the CPU 20a sets itself in the interrupt disabled state in step S201, and then sets the stack pointer value of the RAM 20c to the stack area as the stack pointer setting process in step S202. Executes the process to set according to the final address of. Then, in the following step S203, the RAM protection is invalidated, and the prohibited area in the out-of-designated area travel prohibition function of the RAM 20c is invalidated.

次いで、CPU20aはステップS204で、セキュリティ信号OFF、設定値表示OFF、発射許可信号OFFとするための処理を実行する。ここで、セキュリティ信号は、枠用外部集中端子基板21を通じてホールコンピュータHCに出力される信号であり、ホールコンピュータHCに設定変更中等の状態通知を行うための信号として機能する。設定値表示OFFとは、設定・性能表示器97における設定値Veの表示をOFFさせることを意味する。
発射許可信号は、前述のように払出制御基板29から発射制御基板28に出力される信号であり、CPU20aは払出制御基板29に対する指示を行って発射許可信号をOFFさせる。
ここで、セキュリティ信号OFF、設定値表示OFFは、設定変更中の電源入切対策である。すなわち、設定変更処理において設定値Veを表示中に電源が切られた可能性もあるため、設定値表示とセキュリティ信号を一旦OFFとするものである。
Next, in step S204, the CPU 20a executes a process for turning off the security signal, turning off the set value display, and turning off the firing permission signal. Here, the security signal is a signal output to the hall computer HC through the external centralized terminal board 21 for the frame, and functions as a signal for notifying the hall computer HC of a status such as a setting change being changed. The setting value display OFF means turning off the display of the set value Ve on the setting / performance indicator 97.
The launch permission signal is a signal output from the payout control board 29 to the launch control board 28 as described above, and the CPU 20a gives an instruction to the payout control board 29 to turn off the launch permission signal.
Here, the security signal OFF and the set value display OFF are measures for turning on / off the power while the setting is being changed. That is, since the power may have been turned off while the set value Ve is being displayed in the setting change process, the set value display and the security signal are temporarily turned off.

ステップS204に続くステップS205でCPU20aは、電源異常チェック処理を実行する。
図7に示すように、電源異常チェック処理では、WDTタイマをクリアし(ステップS11)、電源異常信号がONであるか否かを判定する(ステップS12)。電源異常信号は、電源基板から出力される信号であり、電源異常信号OFFが正常レベルであることを表し、電源異常信号ONが正常レベルでない(つまり異常である)ことを表す。電源異常信号がONであれば、CPU20aは図5に示すステップS101に戻り、主制御側メイン処理を最初からやり直す。すなわち、電源に異常が認められた場合には主制御側メイン処理がリセットされるものである。
そして、電源異常信号がONでなければ、電源に異常は認められないため、CPU20aは電源異常チェック処理を終える。
In step S205 following step S204, the CPU 20a executes a power supply abnormality check process.
As shown in FIG. 7, in the power supply abnormality check process, the WDT timer is cleared (step S11), and it is determined whether or not the power supply abnormality signal is ON (step S12). The power supply abnormality signal is a signal output from the power supply board, indicates that the power supply abnormality signal OFF is at a normal level, and indicates that the power supply abnormality signal ON is not at a normal level (that is, is abnormal). If the power supply abnormality signal is ON, the CPU 20a returns to step S101 shown in FIG. 5 and restarts the main processing on the main control side from the beginning. That is, when an abnormality is found in the power supply, the main processing on the main control side is reset.
Then, if the power supply abnormality signal is not ON, no abnormality is found in the power supply, so that the CPU 20a finishes the power supply abnormality check process.

図6に戻り、CPU20aはステップS205の電源異常チェック処理を終えたことに応じ、ステップS206で起動時の各種設定処理を行う。このステップS206の設定処理では、例えば、所定の割込みモードに設定する割込みモード設定処理や、内部ハード乱数回路を起動させる内部ハード乱数設定処理等を実行する。また、このステップS206の設定処理では、CPU20aが備える各種レジスタのうち所定のレジスタに対し初期値をセットする処理も行われる。 Returning to FIG. 6, the CPU 20a performs various setting processes at startup in step S206 in response to the completion of the power supply abnormality check process in step S205. In the setting process of step S206, for example, an interrupt mode setting process for setting a predetermined interrupt mode, an internal hard random number setting process for activating an internal hard random number circuit, and the like are executed. Further, in the setting process of step S206, a process of setting an initial value to a predetermined register among various registers provided in the CPU 20a is also performed.

ステップS206に続くステップS207でCPU20aは、サブ制御基板(演出制御部24)の起動待ち時間をセットする。そして、ステップS208〜S210の処理により、セットした起動待ち時間が経過するのを待機する。具体的には、セットした起動待ち時間を1減算し(ステップS208)、電源異常チェック処理(ステップS209)を実行した上で、起動待ち時間がゼロでなければ(ステップS210:≠0)ステップS208の処理に戻る。このような起動待ち時間に基づく待機処理により、演出制御部24の起動が完了することになる。 In step S207 following step S206, the CPU 20a sets the startup waiting time of the sub control board (effect control unit 24). Then, the process of steps S208 to S210 waits for the set start-up waiting time to elapse. Specifically, after subtracting 1 from the set startup waiting time (step S208) and executing the power supply abnormality check process (step S209), if the startup waiting time is not zero (step S210: ≠ 0), step S208 Return to the processing of. By the standby process based on such an activation waiting time, the activation of the effect control unit 24 is completed.

ステップS210において、上記の起動待ち時間が経過した場合(待ち時間=0)、CPU20aはステップS211に進み、待機画面表示コマンドを演出制御部24に送信する。
この待機画面表示コマンドを受け、演出制御部24は、例えば「Please Wait...」等の文字が配された画面等、起動時に対応して定められた所定の画面表示を液晶表示装置36に実行させるための制御を行う。
In step S210, when the above-mentioned startup waiting time has elapsed (waiting time = 0), the CPU 20a proceeds to step S211 and transmits a standby screen display command to the effect control unit 24.
In response to this standby screen display command, the effect control unit 24 displays a predetermined screen display, such as a screen on which characters such as "Please Wait ..." are arranged, on the liquid crystal display device 36 at the time of startup. Control to execute.

ステップS211の送信処理を実行したことに応じ、CPU20aはステップS212に処理を進めて、該ステップS212とステップS213の処理により、電源異常チェック処理(S212:図7参照)を実行しながら、払出制御基板29からの電源投入時信号が送られてくるのを待機する。この電源投入時信号は、払出制御基板29が正常に立ち上がった場合に出力される信号であり、CPU20aは、払出制御基板29が正常起動するまで待機するようになっている。これにより、何らかのトラブルによって払出制御基板29が正常に機能していない場合には、ステップS212とS213の処理が繰り返されるだけで遊技動作は開始されない。従って、例えば賞球が払い出されない等の払出異常が発生せず、遊技者に不信感を与えることの防止が図られる。
CPU20aは、上記の電源投入時信号が送られてきた場合は(ステップS213:ON)、ステップS101の初期設定処理を終える。
In response to the execution of the transmission process of step S211 the CPU 20a proceeds to step S212, and the process of step S212 and step S213 executes the power supply abnormality check process (S212: see FIG. It waits for the power-on signal from the board 29 to be sent. This power-on signal is a signal that is output when the payout control board 29 starts up normally, and the CPU 20a waits until the payout control board 29 starts up normally. As a result, when the payout control board 29 is not functioning normally due to some trouble, the game operation is not started only by repeating the processes of steps S212 and S213. Therefore, it is possible to prevent the player from being distrusted because the payout abnormality such as the prize ball not being paid out does not occur.
When the power-on signal is sent (step S213: ON), the CPU 20a ends the initial setting process in step S101.

(初期設定後の処理)

CPU20aは、上記の初期設定処理を終えたことに応じ、図5に示すステップS102に進む。
ステップS102でCPU20aは、入力ポートn(すなわち所定の入力ポート)の情報を取得し、Wレジスタにコピーする。
ここで、入力ポートnは1バイト(8ビット)のポートとされ、本例では、次の各信号が入力される。なお、以下に示す「b0」〜「b7」はビット位置を表す。

b0:設定キー(設定キースイッチ94からの入力信号)
b1:補給切れ検出信号
b2:計数エラー信号
b3:断線検出信号1
b4:断線検出信号2
b5:扉開放信号(前扉開放センサ61の検出信号)
b6:RAMクリアボタン(RAMクリアスイッチ98からの入力信号)
b7:電源投入時信号及び払出通信確認信号

ここで、b0の設定キーについては、「0」が設定キースイッチ94=OFF、「1」が設定キースイッチ94=ONを意味する。また、b5の扉開放信号については、「0」が扉閉鎖(前枠2が閉鎖)、「1」が扉開放を意味する。さらに、b6のRAMクリアボタンについては、「0」がRAMクリアスイッチ98=OFF(ボタン非操作状態)、「1」がRAMクリアスイッチ98=ON(ボタン操作状態)を意味する。
(Processing after initial setting)

The CPU 20a proceeds to step S102 shown in FIG. 5 in response to the completion of the above initial setting process.
In step S102, the CPU 20a acquires the information of the input port n (that is, a predetermined input port) and copies it to the W register.
Here, the input port n is a 1-byte (8-bit) port, and in this example, the following signals are input. In addition, "b0" to "b7" shown below represent a bit position.

b0: Setting key (input signal from setting key switch 94)
b1: Out of supply detection signal b2: Counting error signal b3: Disconnection detection signal 1
b4: Disconnection detection signal 2
b5: Door open signal (detection signal of front door open sensor 61)
b6: RAM clear button (input signal from RAM clear switch 98)
b7: Power-on signal and payout communication confirmation signal

Here, regarding the setting key of b0, "0" means the setting key switch 94 = OFF, and "1" means the setting key switch 94 = ON. Regarding the door opening signal of b5, "0" means the door is closed (front frame 2 is closed), and "1" means the door is opened. Further, regarding the RAM clear button of b6, "0" means RAM clear switch 98 = OFF (button non-operation state), and "1" means RAM clear switch 98 = ON (button operation state).

ステップS102に続くステップS103でCPU20aは、Wレジスタの値をマスクする。具体的には、以下で説明する設定変更処理(S115)、RAMクリア処理(少なくともS117及びS118)、設定確認処理(S109)、バックアップ復帰処理(S111)の移行判定を行うにあたって必要とされる値である設定キー(b0)、RAMクリアボタン(b6)、扉開放信号(b5)以外の値をマスクする処理を行う。
先の説明から理解されるように、設定変更処理への移行条件としては、起動時において、前枠2が開放された状態で設定キーとRAMクリアボタンの双方が操作状態とされることとされている。
また、本例において、RAMクリア処理への移行条件は、操作の面では、起動時において設定キーが非操作状態、RAMクリアボタンが操作状態とされることとされている。
また、設定確認処理への移行条件は、操作の面では、前枠2が開放された状態において、設定キーが操作状態、RAMクリアボタンが非操作状態とされることとされている。
さらに、バックアップ復帰処理への移行条件は、操作の面では、起動時において設定キー、RAMクリアボタンの双方が非操作状態とされることとされている。
In step S103 following step S102, the CPU 20a masks the value of the W register. Specifically, the values required for determining the migration of the setting change processing (S115), RAM clear processing (at least S117 and S118), setting confirmation processing (S109), and backup restoration processing (S111) described below. The process of masking the values other than the setting key (b0), the RAM clear button (b6), and the door opening signal (b5) is performed.
As can be understood from the above explanation, the transition condition to the setting change process is that at the time of startup, both the setting key and the RAM clear button are in the operating state with the front frame 2 open. ing.
Further, in this example, the transition condition to the RAM clear processing is that, in terms of operation, the setting key is in the non-operation state and the RAM clear button is in the operation state at the time of startup.
Further, the transition condition to the setting confirmation process is that, in terms of operation, the setting key is in the operating state and the RAM clear button is in the non-operating state when the front frame 2 is open.
Further, the transition condition to the backup restoration process is that, in terms of operation, both the setting key and the RAM clear button are in the non-operation state at the time of startup.

図8は、これら設定変更処理、RAMクリア処理、設定確認処理、バックアップ復帰処理への移行にあたっての操作面での各判定条件と、Wレジスタの値との対応関係を示している。
図8では、設定変更処理、RAMクリア処理、設定確認処理、バックアップ復帰処理への移行判定の順番を示している。
1番目の設定変更処理への移行判定は、図示のように判定条件が設定キー:ON(設定キースイッチ94:ON)、扉開放:ON(前扉開放センサ61:ON)、RAMクリアスイッチ98:ONとされ、従ってWレジスタの値としては0ビット目:1、5ビット目:1、6ビット目:1が条件とされる。
2番目のRAMクリア処理への移行判定は、判定条件がRAMクリアスイッチ98:ONであり、Wレジスタの値としては6ビット目:1か否かを判定することになる。ここで、本例では、RAMクリア処理への移行判定は、設定変更処理の移行条件が不成立の場合に実行される。また、設定確認処理、バックアップ復帰処理への移行にあたっては、RAMクリアスイッチ98がOFFであることが条件とされる。これらの点より、設定変更処理への移行条件が不成立であって、RAMクリアスイッチ98がONであれば、RAMクリア処理への移行操作が行われていると推定することができる。このため本例では、上記のようにRAMクリア処理への移行判定では、操作の面では、RAMクリアスイッチ98がONであるか否か(6ビット目:1か否か)のみを判定することとしている。
FIG. 8 shows the correspondence between each determination condition on the operation side in shifting to the setting change processing, the RAM clear processing, the setting confirmation processing, and the backup restoration processing, and the value of the W register.
FIG. 8 shows the order of setting change processing, RAM clear processing, setting confirmation processing, and transition determination to backup restoration processing.
As shown in the figure, the judgment conditions for the transition to the first setting change process are: setting key: ON (setting key switch 94: ON), door opening: ON (front door opening sensor 61: ON), RAM clear switch 98. : ON, and therefore the value of the W register is conditioned on the 0th bit: 1, the 5th bit: 1, and the 6th bit: 1.
In the second determination of transition to the RAM clear process, it is determined whether or not the determination condition is the RAM clear switch 98: ON and the value of the W register is the 6th bit: 1. Here, in this example, the transition determination to the RAM clear process is executed when the transition condition of the setting change process is not satisfied. Further, in the transition to the setting confirmation process and the backup restoration process, it is a condition that the RAM clear switch 98 is OFF. From these points, if the transition condition to the setting change processing is not satisfied and the RAM clear switch 98 is ON, it can be estimated that the transition operation to the RAM clear processing is being performed. Therefore, in this example, in the transition determination to the RAM clear processing as described above, in terms of operation, only whether or not the RAM clear switch 98 is ON (6th bit: 1 or not) is determined. It is supposed to be.

3番目の設定確認処理への移行判定は、判定条件が設定キー:ON、扉開放:ON、RAMクリアスイッチ98:OFFとされ、従ってWレジスタの値としては0ビット目:1、5ビット目:1、6ビット目:0が条件とされる。
さらに、4番目のバックアップ復帰処理への移行判定は、判定条件が設定キー:OFF、RAMクリアスイッチ98:OFFとされ、従ってWレジスタの値としては0ビット目:0、6ビット目:0が条件とされる。
In the judgment of transition to the third setting confirmation process, the judgment conditions are set key: ON, door open: ON, RAM clear switch 98: OFF, and therefore the W register value is the 0th bit: 1st and 5th bits. The condition is: 1, 6th bit: 0.
Further, in the determination of transition to the fourth backup restoration process, the determination conditions are set key: OFF and RAM clear switch 98: OFF, and therefore, the W register values are 0th bit: 0 and 6th bit: 0. It is a condition.

ここで、バックアップ復帰処理について、設定確認処理を経ずにバックアップ復帰処理のみが行われるための移行条件としては、上記のように操作面では設定キー:OFF、RAMクリアスイッチ98:OFFと表記することができるが、設定確認処理の実行有無を問わず単にバックアップ復帰処理が行われる状態に移行するか否かの条件としては、後述するバックアップフラグがONであるということが条件となる(ステップS106の判定処理を参照)。 Here, regarding the backup restoration process, as the transition condition for performing only the backup restoration process without going through the setting confirmation process, the setting key: OFF and the RAM clear switch 98: OFF are described on the operation side as described above. However, the condition for whether or not to simply shift to the state in which the backup restoration process is performed regardless of whether or not the setting confirmation process is executed is that the backup flag described later is ON (step S106). Refer to the judgment process of).

説明を図5に戻す。
CPU20aは、ステップS103のマスク処理を行ったことに応じ、ステップS104で設定変更条件成立判定処理を実行する。具体的には、設定変更モードに移行すべきか否かを判定するべく、ステップS103のマスク後の値(3ビット)が「111」であるか否かを判定する。
マスク後の値が「111」であり、設定変更条件が成立しているとの肯定結果が得られた場合、CPU20aはステップS115の設定変更処理を実行する。すなわち、RAMクリアボタンや設定キーの操作に応じて設定値Veを新たに設定するための処理を行う。
なお、ステップS115の設定変更処理の詳細については後に改めて説明する。
The explanation is returned to FIG.
The CPU 20a executes the setting change condition establishment determination process in step S104 in response to performing the mask process in step S103. Specifically, in order to determine whether or not to shift to the setting change mode, it is determined whether or not the masked value (3 bits) in step S103 is "111".
When the value after masking is "111" and an affirmative result that the setting change condition is satisfied is obtained, the CPU 20a executes the setting change process in step S115. That is, a process for newly setting the set value Ve is performed according to the operation of the RAM clear button or the setting key.
The details of the setting change process in step S115 will be described later.

ここで、上記のように本実施形態では、設定キースイッチ94、前扉開放センサ61、及びRAMクリアスイッチ98による検出信号、換言すれば、設定変更モードへの移行判定を行うにあたり用いられる各検出信号を主制御部20の同一入力ポートに入力し、入力した各検出信号の値がそれぞれ所定条件を満たす値であるか否かを一括判定している。
これにより、設定変更モードへの移行判定について、各検出信号の値が所定条件を満たす値か否かを個別判定する場合よりも判定処理数の削減が図られる。
Here, as described above, in the present embodiment, the detection signals by the setting key switch 94, the front door opening sensor 61, and the RAM clear switch 98, in other words, each detection used in determining the transition to the setting change mode. A signal is input to the same input port of the main control unit 20, and it is collectively determined whether or not the value of each input detection signal satisfies a predetermined condition.
As a result, the number of determination processes for the determination of transition to the setting change mode can be reduced as compared with the case of individually determining whether or not the value of each detection signal satisfies a predetermined condition.

ステップS115の設定変更処理を実行したことに応じ、CPU20aはステップS116でRAMクリア処理を実行する。このRAMクリア処理は、RAM20cにおけるワーク領域を含む所定領域(使用領域)内の値を初期化する処理や、ステップS115で実行した設定変更処理の終了を演出制御部24側に通知するための設定変更終了コマンドの送信処理を含むが、詳細は後述する。 In response to the execution of the setting change process in step S115, the CPU 20a executes the RAM clear process in step S116. This RAM clear process is a setting for notifying the effect control unit 24 of the process of initializing the value in the predetermined area (used area) including the work area in the RAM 20c and the end of the setting change process executed in step S115. It includes the process of sending the change end command, but the details will be described later.

続いて、先のステップS104において、ステップS103によるマスク後の値が「111」ではなく、設定変更条件が成立していないとの否定結果が得られた場合、CPU20aはステップS105に進んでRAM異常か否かを判定する。具体的には、RAM20cのワーク領域に格納されている「設定値」が使用範囲Ru外の値(本例では「1」「2」「6」の範囲外)であるか否かを少なくとも判定する。
ここで、CPU20aが設定値Veに関して扱う値としては、設定値Vdがある。設定値Vdは、設定値Vdは、設定値Veに対応した値であり、本例では1バイトの値とされ、前述した使用範囲Ruに対応する少なくとも3段階を表現可能となるように、00H(0)〜02H(3)の値が定められている。なお、「H」は16進数を意味する(以下、同様)。本例では、設定値Vd=00Hが設定値Ve=「1」を、設定値Vd=01Hが設定値Ve=「2」を、設定値Vd=02Hが設定値Ve=「6」をそれぞれ表すものとされる。主制御部20において、「設定値」としては主に設定値Vdが扱われるもので、主制御部20のRAM20cのワーク領域における「設定値」の格納領域にはこの設定値Vdが格納される。
ステップS105の判定処理では、ワーク領域に格納された設定値Vdが00H〜02Hの範囲の値であるか否かを判定する。
Subsequently, in the previous step S104, if the value after masking by step S103 is not "111" and a negative result is obtained that the setting change condition is not satisfied, the CPU 20a proceeds to step S105 and the RAM is abnormal. Judge whether or not. Specifically, it is at least determined whether or not the "set value" stored in the work area of the RAM 20c is a value outside the usage range Ru (in this example, outside the range of "1", "2", and "6"). To do.
Here, as a value handled by the CPU 20a with respect to the set value Ve, there is a set value Vd. The set value Vd is a value corresponding to the set value Ve, which is a 1-byte value in this example, and is 00H so as to be able to express at least three stages corresponding to the above-mentioned usage range Ru. The values of (0) to 02H (3) are defined. In addition, "H" means a hexadecimal number (hereinafter, the same applies). In this example, the set value Vd = 00H represents the set value Ve = "1", the set value Vd = 01H represents the set value Ve = "2", and the set value Vd = 02H represents the set value Ve = "6". It is supposed to be. In the main control unit 20, the set value Vd is mainly handled as the "set value", and this set value Vd is stored in the storage area of the "set value" in the work area of the RAM 20c of the main control unit 20. ..
In the determination process of step S105, it is determined whether or not the set value Vd stored in the work area is a value in the range of 00H to 02H.

ステップS105において、設定値が上記の使用範囲Ru外(つまり正常な範囲外)の値であり、RAM異常であると判定した場合、CPU20aはステップS112以降に続く電源再投入を待機するための処理に以降する。
具体的に、ステップS112でCPU20aは、電源再投入時のコマンド送信処理として、パチンコ遊技機1の電源再投入且つ設定変更を促すための報知が行われるように指示するための演出制御コマンド(設定変更待ちコマンド)を演出制御部24に送信する処理を行う。起動時においてRAM異常が検知された場合には、強制的に設定変更モードに移行させて設定値Veの変更(設定)を受け付ける。このためCPU20aは、先ずステップS112で、設定変更待ちコマンドにより設定変更モードに移行する旨を演出制御部24側に通知する。
該設定変更待ちコマンドを受け演出制御部24は、例えば「扉を開けて設定を変更して下さい」等の文字を含む画面等、設定変更操作を促すための画面表示を液晶表示装置36に実行させる。このとき、演出制御部24は、該画面表示と共に対応する光演出(例えば光表示装置45aにおける全LED点灯)や音演出を現出させる制御を行ってもよい。
In step S105, when the set value is a value outside the above usage range Ru (that is, outside the normal range) and it is determined that the RAM is abnormal, the CPU 20a is a process for waiting for the power supply is turned on again after step S112. After that.
Specifically, in step S112, the CPU 20a instructs the pachinko gaming machine 1 to be notified to re-turn on the power and change the setting as a command transmission process when the power is turned on again (setting). A process of transmitting a change waiting command) to the effect control unit 24 is performed. If a RAM abnormality is detected at startup, the mode is forcibly shifted to the setting change mode and the change (setting) of the set value Ve is accepted. Therefore, the CPU 20a first notifies the effect control unit 24 side in step S112 that the setting change mode is to be entered by the setting change waiting command.
In response to the setting change waiting command, the effect control unit 24 executes a screen display on the liquid crystal display device 36 to prompt the setting change operation, such as a screen containing characters such as "Open the door and change the setting". Let me. At this time, the effect control unit 24 may perform control to display the corresponding light effect (for example, lighting of all LEDs in the light display device 45a) and the sound effect together with the screen display.

ステップS112に続くステップS113でCPU20aは、バックアップフラグを00H(つまりOFF)とした上で、ステップS114のエラー表示処理を繰り返す。このステップS114のエラー表示処理では、設定・性能表示器97にエラー表示を実行させるための処理が行われる。このエラー表示処理はパチンコ遊技機1の電源が遮断されるまで繰り返され、電源が再投入されると主制御側メイン処理としてステップS101以降の処理が再び実行される。このとき、上記の画面表示等に応じて設定変更モードへの移行操作が行われていれば、設定変更モードへの移行が行われ、RAM異常状態の解消が図られる。 In step S113 following step S112, the CPU 20a sets the backup flag to 00H (that is, OFF), and repeats the error display process in step S114. In the error display process of step S114, a process for causing the setting / performance indicator 97 to execute the error display is performed. This error display process is repeated until the power of the pachinko gaming machine 1 is turned off, and when the power is turned on again, the processes after step S101 are executed again as the main process on the main control side. At this time, if the operation for shifting to the setting change mode is performed according to the above screen display or the like, the shift to the setting change mode is performed and the RAM abnormal state is resolved.

上記したステップS105において、設定値が使用範囲Ru外の値ではなく、RAM異常ではないと判定した場合、CPU20aはステップS106に進んでバックアップフラグがON状態か否か(本例ではバックアップフラグ=5AHがON状態)を判定する。
遊技機1において、電源遮断時には、主制御側タイマ割込み処理における後述する電源チェック・バックアップ処理(ステップS901、図19参照)により、RAM20cの記憶情報についてバックアップのための処理が行われる。電源遮断時に適正にバックアップ処理が行われた場合には、バックアップフラグがON状態とされる(図19のステップS1010参照)。このため上記のステップS106ではバックアップフラグを確認して、バックアップ復帰可能であるか否かの判定を行う。具体的に、ステップS106では、RAM20cの所定領域に格納されたバックアップフラグがON状態(5AH)である否かを判定する。
In step S105 described above, if it is determined that the set value is not a value outside the range of use Ru and is not a RAM abnormality, the CPU 20a proceeds to step S106 to see if the backup flag is ON (in this example, the backup flag = 5AH). Is ON state) is determined.
In the game machine 1, when the power is cut off, the storage information of the RAM 20c is backed up by the power check / backup process (step S901, see FIG. 19) described later in the timer interrupt process on the main control side. If the backup process is properly performed when the power is cut off, the backup flag is turned on (see step S1010 in FIG. 19). Therefore, in step S106 described above, the backup flag is confirmed, and it is determined whether or not the backup can be restored. Specifically, in step S106, it is determined whether or not the backup flag stored in the predetermined area of the RAM 20c is in the ON state (5AH).

ステップS106でバックアップフラグがONでないと判定した場合、CPU20aは上述したステップS112に処理を進める。これにより、バックアップ復帰条件を満たさない場合には、先に説明したRAM異常が認められた場合と同様、強制的に設定変更モードへの移行が行われる。 If it is determined in step S106 that the backup flag is not ON, the CPU 20a proceeds to step S112 described above. As a result, when the backup restoration condition is not satisfied, the transition to the setting change mode is forcibly performed as in the case where the RAM abnormality described above is recognized.

ここで、前述したように、ステップS106の判定処理は、設定確認処理の実行有無を問わず、バックアップ復帰処理が行われる状態への移行可否を判定する処理に相当するものである。 Here, as described above, the determination process in step S106 corresponds to the process of determining whether or not to shift to the state in which the backup restoration process is performed regardless of whether or not the setting confirmation process is executed.

一方、ステップS106でバックアップフラグがONであると判定した場合、CPU20aは、ステップS107でRAMクリア条件(RAMクリア処理への移行条件)が成立しているか否かを判定する。具体的には、Wレジスタの6ビット目の値が「1」か否かを判定する。
Wレジスタの6ビット目の値が「1」であり、RAMクリア条件が成立しているとの肯定結果が得られた場合、CPU20aは上述したステップS116に処理を進める。これにより、上述したRAMクリア処理が実行される。
On the other hand, when it is determined in step S106 that the backup flag is ON, the CPU 20a determines in step S107 whether or not the RAM clear condition (transition condition to the RAM clear process) is satisfied. Specifically, it is determined whether or not the value of the 6th bit of the W register is "1".
When the value of the 6th bit of the W register is "1" and an affirmative result that the RAM clear condition is satisfied is obtained, the CPU 20a proceeds to the process in step S116 described above. As a result, the RAM clearing process described above is executed.

ここで、上記したステップS107→S116に至るルートを参照して分かるように、本実施形態の遊技機1では、設定変更をせずにRAMクリアを行うことが可能とされている。これにより、RAM20cにおける払出関係のデータ等、設定値Veに係るデータ以外をクリアしたい場合に対応可能とされている。 Here, as can be seen by referring to the route from step S107 to S116 described above, in the game machine 1 of the present embodiment, it is possible to clear the RAM without changing the setting. This makes it possible to deal with cases where it is desired to clear data other than the data related to the set value Ve, such as data related to payout in the RAM 20c.

また、ステップS107において、Wレジスタの6ビット目の値が「1」でなく、RAMクリア条件が成立していないとの否定結果が得られた場合、CPU20aはステップS108に進んで設定確認条件(設定確認処理への移行条件)が成立しているか否かを判定する。すなわち、ステップS103によるマスク後のWレジスタの値が「110」か否かを判定する。
マスク後のWレジスタの値が「110」であり設定確認条件が成立しているとの肯定結果が得られた場合、CPU20aはステップS109の設定確認処理を実行し、ステップS110に処理を進める。すなわち、バックアップ復帰のための処理に移行する。
なお、ステップS109の設定確認処理の詳細については改めて説明する。
Further, in step S107, if the value of the 6th bit of the W register is not "1" and a negative result that the RAM clear condition is not satisfied is obtained, the CPU 20a proceeds to step S108 to confirm the setting (setting confirmation condition). It is determined whether or not the transition condition to the setting confirmation process) is satisfied. That is, it is determined whether or not the value of the W register after masking in step S103 is "110".
When the value of the W register after masking is "110" and an affirmative result that the setting confirmation condition is satisfied is obtained, the CPU 20a executes the setting confirmation process in step S109 and proceeds to step S110. That is, the process shifts to the process for restoring the backup.
The details of the setting confirmation process in step S109 will be described again.

一方、マスク後のWレジスタの値が「110」ではなく設定確認条件が成立していないとの否定結果が得られた場合、CPU20aはステップS109の設定確認処理をパスして、ステップS110に進む。 On the other hand, if the value of the W register after masking is not "110" and a negative result that the setting confirmation condition is not satisfied is obtained, the CPU 20a passes the setting confirmation process in step S109 and proceeds to step S110. ..

ステップS110でCPU20aは、バックアップ復帰時のコマンド送信処理として、バックアップ復帰時に対応した所定の演出制御コマンドを演出制御部24に送信する処理を行う。 In step S110, the CPU 20a performs a process of transmitting a predetermined effect control command corresponding to the backup return to the effect control unit 24 as a command transmission process at the time of backup return.

ステップS110に続くステップS111でCPU20aは、バックアップ復帰処理を行う。
バックアップ復帰処理は、電源遮断時にバックアップされたRAM20cの記憶内容に基づいて、電源投入後に電源遮断前の動作に復帰させる処理となる。具体的に、CPU20aは、電源遮断前におけるスタックポインタを復帰し、電源遮断時の処理状態から遊技動作を開始するための処理を行う。
また、バックアップ復帰処理では、バックアップ復帰した場合に対応した情報表示指示を行うための停電復帰表示コマンド(OB03H)が後述するステップS119のメインループ前処理において演出制御部24に送信されるようにするべく、停電復帰表示コマンドの下位バイトデータをレジスタに記憶する処理を実行する。
In step S111 following step S110, the CPU 20a performs a backup restoration process.
The backup restoration process is a process of restoring the operation after the power is turned on and before the power is turned off, based on the stored contents of the RAM 20c backed up when the power is turned off. Specifically, the CPU 20a returns the stack pointer before the power is cut off, and performs a process for starting the game operation from the processing state when the power is cut off.
Further, in the backup restoration process, the power failure restoration display command (OB03H) for issuing the information display instruction corresponding to the backup restoration is transmitted to the effect control unit 24 in the main loop preprocessing in step S119 described later. Therefore, the process of storing the lower byte data of the power failure recovery display command in the register is executed.

ステップS111のバックアップ復帰処理を実行した場合、又は前述したステップS116のRAMクリア処理を実行した場合(つまり設定変更処理とRAMクリア処理の双方を実行した場合、又はRAMクリア処理のみを実行した場合)、CPU20aはステップS117処理を進める。 When the backup restoration process in step S111 is executed, or when the RAM clear process in step S116 described above is executed (that is, when both the setting change process and the RAM clear process are executed, or when only the RAM clear process is executed). , CPU 20a proceeds with step S117 processing.

ステップS117でCPU20aは、例えば4ms等の所定時間毎に定期的にタイマ割込みを発生させるためのCTCの設定を行う。
このステップS117の設定処理が行われることで、以降、割込みコントローラへの割込み要求信号が定期的に出力され、主制御側タイマ割込み処理が実行される。
In step S117, the CPU 20a sets the CTC for periodically generating a timer interrupt at predetermined time intervals such as 4 ms.
By performing the setting process in step S117, the interrupt request signal to the interrupt controller is periodically output thereafter, and the timer interrupt process on the main control side is executed.

続くステップS118でCPU20aは、遊技開始を指示するための演出制御コマンドを演出制御部24に送信する処理を行い、次いで、ステップS119に処理を進めてメインループ前処理を実行した上で、ステップS120のメインループ処理を実行する。
なお、ステップS119のメインループ前処理については後に改めて説明する。
In the following step S118, the CPU 20a performs a process of transmitting an effect control command for instructing the start of the game to the effect control unit 24, then proceeds to step S119 to execute the main loop preprocessing, and then step S120. Executes the main loop processing of.
The main loop preprocessing in step S119 will be described later.

(メインループ処理)

図9は、ステップS120のメインループ処理を示したフローチャートである。
図9のメインループ処理において、CPU20aはステップS601で、自身を割込み禁止状態に設定し、続くステップS602で乱数更新処理を実行する。この乱数更新処理では、特別図柄変動表示ゲームや普通図柄変動表示ゲームに使用される各種乱数(インクリメント処理によって所定数値範囲を循環している大当り抽選に係る乱数(図柄抽選に利用される特別図柄判定用乱数)や、補助当り抽選に係る乱数(補助当りの当落抽選に利用される補助当り判定用乱数))の初期値(スタート値)変更のために使用する乱数(特別図柄判定用初期値乱数、補助当り判定用初期値乱数)や、変動パターンの選択に利用される変動パターン用乱数を更新する。
(Main loop processing)

FIG. 9 is a flowchart showing the main loop processing in step S120.
In the main loop process of FIG. 9, the CPU 20a sets itself in the interrupt disabled state in step S601, and executes the random number update process in the subsequent step S602. In this random number update process, various random numbers used in the special symbol variation display game and the normal symbol variation display game (random numbers related to the jackpot lottery circulating in a predetermined numerical range by the increment process (special symbol determination used for the symbol lottery). Random numbers used to change the initial value (start value) of random numbers related to the lottery for auxiliary hits (random numbers for auxiliary hit judgment used in the winning lottery for auxiliary hits) (initial value random numbers for special symbol judgment) , Initial value random number for auxiliary hit judgment) and random number for fluctuation pattern used for selection of fluctuation pattern are updated.

本実施形態のRAM20cには、大当り抽選に係る図柄抽選、補助当り抽選、又は変動パターン抽選などに利用される各種の乱数カウンタとして、特別図柄判定用乱数カウンタ初期値の生成用カウンタ、特別図柄判定用乱数カウンタ、補助当り判定用乱数カウンタ初期値の生成用カウンタ、補助当り判定用乱数カウンタ、変動パターン用乱数カウンタ等が設けられている。これらのカウンタは、ソフトウェア的に乱数を生成する乱数生成手段としての役割を果たす。ステップS602の乱数更新処理では、上述の特別図柄判定用乱数カウンタや補助当り判定用乱数カウンタの初期値を生成する2つの初期値生成用カウンタ、変動パターン用乱数カウンタ等を更新して、上記各種のソフト乱数を生成する。例えば、仮に、変動パターン用乱数カウンタとして取り得る数値範囲が「0〜238」とすると、RAM20cの変動パターン用乱数の値を生成するためのカウント値記憶領域から値を取得し、取得した値に「1」を加算してから元のカウント値記憶領域に格納する。このとき、取得した値に「1」を加算した結果が「239」であれば「0」を元の乱数カウンタ記憶領域に格納する。他の初期値生成用乱数カウンタも同様に更新する。 In the RAM 20c of the present embodiment, as various random number counters used for a symbol lottery related to a big hit lottery, an auxiliary hit lottery, a variable pattern lottery, etc., a random number counter for special symbol determination, a counter for generating an initial value, and a special symbol determination A random number counter for, a random number counter for determining auxiliary hits, a counter for generating initial values, a random number counter for determining auxiliary hits, a random number counter for fluctuation patterns, and the like are provided. These counters serve as random number generating means for generating random numbers by software. In the random number update process of step S602, the above-mentioned special symbol determination random number counter, the two initial value generation counters that generate the initial values of the auxiliary hit determination random number counter, the fluctuation pattern random number counter, and the like are updated, and the above various types are Generate soft random numbers. For example, assuming that the numerical range that can be taken as the random number counter for the fluctuation pattern is "0 to 238", a value is acquired from the count value storage area for generating the value of the random number for the fluctuation pattern of the RAM 20c, and the acquired value is used. After adding "1", it is stored in the original count value storage area. At this time, if the result of adding "1" to the acquired value is "239", "0" is stored in the original random number counter storage area. Other random number counters for initial value generation are updated in the same way.

ステップS602の乱数更新処理を終えると、CPU20aはステップS603で全レジスタの値を退避する処理を行った上で、ステップS604で性能表示モニタ集計除算処理を行う。
この性能表示モニタ集計除算処理は、前述した性能情報としての値(ここでは、例えば前述した「通常時比率情報」としての値とする)を演算する処理である。前述のように、通常時比率情報の値は、総払出個数と総アウト球数とを用いて算出されるものであるが、CPU20aは、総払出個数については、入賞口(上始動口34、下始動口35、一般入賞口43、大入賞口50)に入賞した遊技球の数をカウントした結果に基づき算出し、総アウト球数については、アウト口49から排出された遊技球の数をカウントすることで求める。
入賞球数のカウント、及びアウト球数のカウントは、主制御側タイマ割込み処理における後述する入力管理処理(図18ステップS904を参照)で行われる。CPU20aは、このようにタイマ割込み処理側で行う入賞球数のカウント、及びアウト球数のカウントのそれぞれによるカウント値に基づき、ステップS604において通常時比率情報としての値を演算する。前述のように、演算した通常時比率情報としての値は、RAM20cの所定領域(計測情報格納領域)に格納される。
なお、このように算出された通常時比率情報の値は、主制御側タイマ割込み処理における後述する性能表示モニタ表示処理(図18ステップS916を参照)によって設定・性能表示器97に表示される。
When the random number update process in step S602 is completed, the CPU 20a performs a process of saving the values of all the registers in step S603, and then performs a performance display monitor aggregation division process in step S604.
This performance display monitor aggregation division process is a process for calculating a value as the performance information described above (here, for example, a value as the “normal time ratio information” described above). As described above, the value of the normal time ratio information is calculated using the total number of payouts and the total number of out balls, but the CPU 20a has a winning opening (upper start opening 34, for the total number of payouts). Calculated based on the result of counting the number of game balls that won in the lower start opening 35, general winning opening 43, and large winning opening 50). For the total number of out balls, the number of game balls discharged from the out opening 49 is used. Obtained by counting.
The number of winning balls and the number of out balls are counted in the input management process (see step S904 in FIG. 18) described later in the main control side timer interrupt process. The CPU 20a calculates the value as the normal time ratio information in step S604 based on the count values of the count of the number of winning balls and the count of the number of out balls performed on the timer interrupt processing side in this way. As described above, the calculated value as the normal time ratio information is stored in the predetermined area (measurement information storage area) of the RAM 20c.
The value of the normal time ratio information calculated in this way is displayed on the setting / performance indicator 97 by the performance display monitor display process (see step S916 in FIG. 18) described later in the main control side timer interrupt process.

ステップS604に続くステップS605でCPU20aは、全レジスタ復帰処理を行い、さらに続くステップS606で自身を割込み許可状態に設定した上で、ステップS601に戻る。 In step S605 following step S604, the CPU 20a performs all register reset processing, sets itself in the interrupt enabled state in the following step S606, and then returns to step S601.

このようにステップS123のメインループ処理では、ステップS601〜S606の処理が無限ループ状に繰り返される。CPU20aは、間欠的に実行されるタイマ割込み処理を行っている間を除いて、これらステップS601〜S606の処理を繰り返し実行することになる。
As described above, in the main loop processing of step S123, the processing of steps S601 to S606 is repeated in an infinite loop. The CPU 20a repeatedly executes the processes of steps S601 to S606 except during the timer interrupt process that is intermittently executed.

(設定変更処理)

図10は、ステップS115の設定変更処理を示したフローチャートである。
この設定変更処理では、操作に基づき設定値Veを設定するための処理や、設定変更中である旨や設定変更が終了(完了)した旨を通知するための演出制御コマンドを演出制御部24に送信するための処理等が行われる。
(Setting change processing)

FIG. 10 is a flowchart showing the setting change process in step S115.
In this setting change process, a process for setting the set value Ve based on the operation and an effect control command for notifying the effect that the setting is being changed or the setting change is completed (completed) are sent to the effect control unit 24. Processing for transmission is performed.

図10において、CPU20aは、先ずステップS401で設定変更中コマンド(BA76H)を演出制御部24に送信する処理を実行する。
この設定変更中コマンドを受け、演出制御部24は、例えば「設定変更中です」等の文字が配された画面等、設定変更中である旨を報知するための画面表示を液晶表示装置36に実行させたり、スピーカ46から設定変更中に対応した音出力が行われるようにするための処理を行う。さらにこの際、演出制御部24は、前述した光発生手段(光表示装置45a)における所定のLED(例えば全LED)を所定の点灯パターンにより点灯させてもよい。
In FIG. 10, the CPU 20a first executes a process of transmitting a setting changing command (BA76H) to the effect control unit 24 in step S401.
In response to this setting changing command, the effect control unit 24 displays on the liquid crystal display device 36 a screen display for notifying that the setting is being changed, such as a screen on which characters such as "setting is being changed" are arranged. Processing is performed to execute the command or to output the corresponding sound from the speaker 46 while the setting is being changed. Further, at this time, the effect control unit 24 may light a predetermined LED (for example, all LEDs) in the above-mentioned light generating means (light display device 45a) according to a predetermined lighting pattern.

続くステップS402でCPU20aは、バックアップフラグを00H(つまりOFF状態)とした上で、ステップS403でシステム動作ステータス=2に設定する。このシステム動作ステータスは、起動時においてステップS115の設定変更処理を経由したか否かを少なくとも識別するための情報であり、「2」は設定変更処理を経由した旨を表し、「2」以外の値(例えば「0」)が設定変更処理を経由していない旨を表す。
図5を参照して分かるように、本例では、設定変更処理とRAMクリア処理(S116)の双方を実行する場合と、設定変更処理を実行せずRAMクリア処理のみを実行する場合とでRAMクリア処理(プログラム)を共用するものとしているが、上記のシステム動作ステータスを用いることで、RAMクリア処理のプログラムを共用しながら、前者の場合と後者の場合とで処理を実行し分けることができる。
In the following step S402, the CPU 20a sets the backup flag to 00H (that is, the OFF state), and then sets the system operation status = 2 in the step S403. This system operation status is information for at least identifying whether or not the system has passed the setting change process of step S115 at the time of startup, and "2" indicates that the setting change process has been performed, and is other than "2". Indicates that the value (for example, "0") does not go through the setting change process.
As can be seen with reference to FIG. 5, in this example, there are cases where both the setting change process and the RAM clear process (S116) are executed, and the case where only the RAM clear process is executed without executing the setting change process. Although the clear process (program) is shared, by using the above system operation status, it is possible to execute the process separately in the former case and the latter case while sharing the RAM clear process program. ..

ステップS403に続くステップS404でCPU20aは、設定値を取得する処理を実行する。具体的には、RAM20cのワーク領域に格納されている設定値Vd(本例では00H〜02Hの何れか)を取得する。 In step S404 following step S403, the CPU 20a executes a process of acquiring a set value. Specifically, the set value Vd (any of 00H to 02H in this example) stored in the work area of the RAM 20c is acquired.

ステップS404に続くステップS405以降の処理は、設定値Veの順送り操作(RAMクリアボタンの操作)に応じて設定・性能表示器97における表示値を更新したり、設定変更の完了操作(設定キーの操作)に応じて設定値Veを設定したりするための処理となる。
先ず、CPU20aはステップS405で、取得した設定値Vdを1デクリメントし(「設定値−1」)、続くステップS406で設定値Vdが1よりも大きいか否かを判定する(設定値>1」)。本例では、設定値Vdの最大値は02Hであるため、設定変更処理の開始後に初回に実行されるステップS406で設定値>1と判定されることはない。
ステップS406において、設定値Vdが1よりも大きくなければ、CPU20aはステップS407でキャリーフラグをセットした上で(ONとした上で)、ステップS408で設定値Vdを1インクリメント(「設定値+1」)し、ステップS409でキャリーフラグがONであるか否か判定する。キャリーフラグがONであれば、CPU20aはステップS411で設定変更時コマンドの取得処理を実行し、続くステップS412のコマンド処理によって設定変更時コマンドを演出制御部24に送信する。
なお、設定変更時コマンドについては後述する。
そして、ステップS412のコマンド送信処理を実行したことに応じ、CPU20aはステップS413の出力管理処理を実行する。この出力管理処理により、設定・性能表示器97に現在の設定値Vdに対応する設定値Veが表示される。なお、ステップS413の出力管理処理の詳細は後述する。
In the processing after step S405 following step S404, the display value on the setting / performance indicator 97 is updated according to the progressive operation of the set value Ve (operation of the RAM clear button), or the setting change completion operation (setting key operation) is performed. It is a process for setting the set value Ve according to the operation).
First, the CPU 20a decrements the acquired set value Vd by 1 in step S405 (“set value -1”), and determines whether or not the set value Vd is larger than 1 in the following step S406 (set value> 1”. ). In this example, since the maximum value of the set value Vd is 02H, it is not determined that the set value> 1 in step S406, which is executed for the first time after the start of the setting change process.
In step S406, if the set value Vd is not larger than 1, the CPU 20a sets the carry flag in step S407 (after turning it ON), and then increments the set value Vd by 1 in step S408 (“set value + 1”). ), And it is determined in step S409 whether or not the carry flag is ON. If the carry flag is ON, the CPU 20a executes the setting change command acquisition process in step S411, and transmits the setting change command to the effect control unit 24 by the subsequent command process in step S412.
The command for changing the setting will be described later.
Then, in response to executing the command transmission process in step S412, the CPU 20a executes the output management process in step S413. By this output management process, the set value Ve corresponding to the current set value Vd is displayed on the setting / performance display 97. The details of the output management process in step S413 will be described later.

ステップS413に続くステップS414でCPU20aは、設定キーがOFFであるか否か、つまり設定キースイッチ94がOFFであるか否かを判定し、設定キーがOFFでなければステップS415で変更スイッチ、すなわちRAMクリアスイッチ98がONであるか否かを判定する。RAMクリアスイッチ98がONでなければ、CPU20aはステップS413の出力管理処理を再度実行する。
ステップS413〜S415の処理により、CPU20aは設定キー、変更スイッチの何れかがONとなるまで待機すると共に、待機中はステップS413の処理によって設定・性能表示器97に現在の設定値Veを表示させるための処理を繰り返す。
In step S414 following step S413, the CPU 20a determines whether the setting key is OFF, that is, whether the setting key switch 94 is OFF, and if the setting key is not OFF, the change switch, that is, in step S415. It is determined whether or not the RAM clear switch 98 is ON. If the RAM clear switch 98 is not ON, the CPU 20a re-executes the output management process in step S413.
By the processing of steps S413 to S415, the CPU 20a waits until either the setting key or the change switch is turned ON, and during the standby, the setting / performance indicator 97 displays the current set value Ve by the processing of step S413. Repeat the process for.

ステップS415において、変更スイッチがONであれば、CPU20aはステップS406に戻る。
ここで、ステップS115の設定変更処理の開始時に取得された設定値Vd(それまで設定中であった設定値Vd)が02Hであった場合には、ステップS415で変更スイッチがONと判定されたことに応じて実行されるステップS406の処理において、「設定値>1」であるとの判定結果が得られる(ステップS405で−1されるがステップS408で+1されるため)。設定値Vdが02Hの状態で行われた変更操作(順送り操作)に応じては、設定値Vdを00Hに戻すべきである。このため、ステップS406で「設定値>1」と判定された場合は、ステップS407のキャリーフラグセット処理をパスして、ステップS408に処理を進める。これにより、ステップS409ではキャリーフラグがOFFと判定されるため、処理がステップS410に進められて設定値Vdが00Hに戻される(「設定値←0」)。
CPU20aは、ステップS410で設定値Vdを00Hに戻したことに応じ、ステップS411、S412の処理を経由してステップS413に処理を進める。つまりこの場合は、設定・性能表示器97に設定値Vd=00Hに対応した設定値Ve(本例では「1」)が表示される。
If the change switch is ON in step S415, the CPU 20a returns to step S406.
Here, if the set value Vd (set value Vd that was being set up to that point) acquired at the start of the setting change process in step S115 is 02H, it is determined in step S415 that the change switch is ON. In the process of step S406 executed accordingly, a determination result that "set value>1" is obtained (because it is -1 in step S405 but +1 in step S408). The set value Vd should be returned to 00H according to the change operation (progressive operation) performed while the set value Vd is 02H. Therefore, when it is determined in step S406 that "set value>1", the carry flag set process in step S407 is passed, and the process proceeds to step S408. As a result, since the carry flag is determined to be OFF in step S409, the process proceeds to step S410 and the set value Vd is returned to 00H (“set value ← 0”).
The CPU 20a proceeds to step S413 via the processes of steps S411 and S412 in response to returning the set value Vd to 00H in step S410. That is, in this case, the set value Ve (“1” in this example) corresponding to the set value Vd = 00H is displayed on the setting / performance display 97.

上記の処理により、設定変更中においては、変更操作に応じて設定値Vdが00H〜02Hの範囲内(使用範囲Ru内)で循環式に変更されると共に、変更された設定値Vdに対応する設定値Veが設定・性能表示器97に表示される。 By the above processing, during the setting change, the set value Vd is cyclically changed within the range of 00H to 02H (within the usage range Ru) according to the change operation, and corresponds to the changed set value Vd. The set value Ve is displayed on the setting / performance display 97.

また、ステップS412で送信する設定変更時コマンドは、設定変更処理中において選択中の設定値Vdに応じた設定値Veを演出制御部24に通知するためのコマンドであり、該選択中の設定値Veを表す情報が格納されるコマンドとされる。
上記したステップS406〜S415の一連の処理により、設定値の順送り操作により選択中の設定値Veが切り替わるごとに、切り替え後の設定値Veを反映した設定変更時コマンドが演出制御部24に送信されることになる。
なお、図10では図示による説明を省略したが、設定値Vdに応じた設定値Veを取得するにあたっては、CPU20aは後述する設定値オフセット変換テーブルを用いる(図16参照)。
Further, the setting change command transmitted in step S412 is a command for notifying the effect control unit 24 of the setting value Ve corresponding to the set value Vd being selected during the setting change process, and the selected setting value. It is a command that stores information representing Ve.
By the series of processes of steps S406 to S415 described above, every time the selected set value Ve is switched by the progressive operation of the set value, a setting change command reflecting the changed set value Ve is transmitted to the effect control unit 24. Will be.
Although the description by illustration is omitted in FIG. 10, the CPU 20a uses the set value offset conversion table described later in acquiring the set value Ve corresponding to the set value Vd (see FIG. 16).

ステップS415において、設定キーがOFFであると判定した場合、CPU20aはステップS416に進んで設定値Vdを保存する処理を実行する。すなわち、設定値VdをRAM20cのワーク領域における所定領域に格納する処理を実行する。
CPU20aは、ステップS416の保存処理を実行したことに応じてステップS115の設定変更処理を終える。
If it is determined in step S415 that the setting key is OFF, the CPU 20a proceeds to step S416 to execute a process of saving the set value Vd. That is, the process of storing the set value Vd in a predetermined area in the work area of the RAM 20c is executed.
The CPU 20a ends the setting change process in step S115 in response to the execution of the save process in step S416.

図11は、ステップS413の出力管理処理のフローチャートである。
先ず、CPU20aはステップS501で、セキュリティ信号出力処理を実行する。具体的には、枠用外部集中端子基板21を通じてホールコンピュータHCに対してセキュリティ信号が出力されるようにするための処理を行う。
続くステップS502でCPU20aは、LEDコモンポート、すなわち設定・性能表示器97としてのLEDのコモンポートに0を出力する処理を実行した上で、ステップS503で7セグデコードテーブルから表示用データを取得する処理を実行する。すなわち、設定値Vdに基づき設定値Ve(「1」「2」「6」)の表示用データを取得する処理である。
なお、ステップS502でLEDコモンポートに0を出力した場合には設定・性能表示器97が表示OFF状態(無表示状態)となるが、その意義については後述する。
FIG. 11 is a flowchart of the output management process in step S413.
First, the CPU 20a executes the security signal output process in step S501. Specifically, a process is performed so that a security signal is output to the hall computer HC through the external centralized terminal board 21 for the frame.
In the following step S502, the CPU 20a executes a process of outputting 0 to the LED common port, that is, the LED common port as the setting / performance indicator 97, and then acquires display data from the 7-segment decoding table in step S503. Execute the process. That is, it is a process of acquiring display data of the set value Ve (“1”, “2”, “6”) based on the set value Vd.
When 0 is output to the LED common port in step S502, the setting / performance indicator 97 is in the display OFF state (non-display state), the significance of which will be described later.

図12は、7セグデコードテーブルの例を示し、図13は設定・性能表示器97におけるセグメント構成とセグメントの表示パターンとの関係を例示した図である。
7セグデコードテーブルは、主制御部20のROM20bに格納されている。
FIG. 12 shows an example of a 7-segment decoding table, and FIG. 13 is a diagram illustrating the relationship between the segment configuration and the segment display pattern in the setting / performance display 97.
The 7-segment decoding table is stored in the ROM 20b of the main control unit 20.

本例では、設定・性能表示器97における7つのセグメントが図13Aに示すように0〜6の数値によりナンバリングされている。設定・性能表示器97には、これら0〜6の7つのセグメントと共にDP(ドットポイント)の表示部(発光部)も設けられており、該DPの表示部には「7」のナンバリングがされている。
7セグメントの表示用データとしては、数値「0」を表す「SEG_0」の表示用データから、数値「9」を表す「SEG_9」の表示用データまでの計10個が用意されている。表示用データは、1バイト(8ビット)のデータとされ、最下位ビット位置を1番目のビット位置とすると、1番目のビット位置がセグメント「0」の表示/非表示(発光/非発光)を表す。以降、同様に2番目のビット位置がセグメント「1」、3番目のビット位置がセグメント「2」、4番目のビット位置がセグメント「3」、5番目のビット位置がセグメント「4」、6番目のビット位置がセグメント「5」、7番目のビット位置がセグメント「6」の表示/非表示をそれぞれ表す。
また、本例における表示用データは、8番目のビット位置がDP(「7」)の表示/非表示を表すものとされている。
In this example, the seven segments of the setting / performance indicator 97 are numbered by numerical values 0 to 6 as shown in FIG. 13A. The setting / performance display 97 is provided with a DP (dot point) display unit (light emitting unit) together with these seven segments 0 to 6, and the DP display unit is numbered “7”. ing.
As the 7-segment display data, a total of 10 data are prepared, from the display data of "SEG_0" representing the numerical value "0" to the display data of "SEG_9" representing the numerical value "9". The display data is 1 byte (8 bits) of data, and when the least significant bit position is the first bit position, the first bit position is the display / non-display of the segment "0" (light emission / non-light emission). Represents. After that, similarly, the second bit position is the segment "1", the third bit position is the segment "2", the fourth bit position is the segment "3", the fifth bit position is the segment "4", and the sixth bit position. The bit position of is the display / non-display of the segment "5", and the 7th bit position is the display / non-display of the segment "6".
Further, in the display data in this example, the eighth bit position represents the display / non-display of the DP (“7”).

図12に示す7セグデコードテーブルは、設定値Vd=00H、01H、02Hの各値から、それぞれ対応する表示用データ、具体的にはSEG_1、SEG_2、SEG_6の表示用データが取得されるように構成されている。
具体的に、本例の7セグデコードテーブルにおいては、図中「6203」〜「6208」のアドレス領域のように、少なくとも00H〜05Hの各設定値Vdごとの表示用データを格納する領域が確保されており、この領域における最上層部の領域(番号が最も若いアドレスの領域)に設定値Vd=00Hに対応した表示用データSEG_1(図中「06」)が、2番目の領域に設定値Vd=01Hに対応した表示用データSEG_2(図中「5B」)が、3番目の領域に設定値Vd=02Hに対応した表示用データSEG_6(図中「7D」)が格納されている。
なお、本例では、設定値Vd=03Hに対応する4番目の領域、設定値Vd=04Hに対応する5番目の領域、及び設定値Vd=05Hに対応する6番目の領域には、表示用データとして「00」が格納されているが、その意義については改めて説明する。
また、本例の7セグデコードテーブルには、7番目の領域に設定値エラーを表す「E」の表示を行うための表示用データSEG_E(「79」)が格納されているが、これにより、設定値Vdが使用範囲Ru外の値である等、設定値Vdが異常な値を示す場合に対応して設定・性能表示器97を通じた設定値エラーの報知を行うことが可能とされている。
In the 7-segment decoding table shown in FIG. 12, the corresponding display data, specifically, the display data of SEG_1, SEG_2, and SEG_6 are acquired from the set values Vd = 00H, 01H, and 02H, respectively. It is configured.
Specifically, in the 7-segment decoding table of this example, an area for storing display data for each set value Vd of at least 00H to 05H is secured, such as the address areas of "6203" to "6208" in the figure. The display data SEG_1 (“06” in the figure) corresponding to the set value Vd = 00H is set in the second area in the uppermost area (the area of the address with the youngest number) in this area. The display data SEG_2 (“5B” in the figure) corresponding to Vd = 01H is stored, and the display data SEG_6 (“7D” in the figure) corresponding to the set value Vd = 02H is stored in the third area.
In this example, the fourth area corresponding to the set value Vd = 03H, the fifth area corresponding to the set value Vd = 04H, and the sixth area corresponding to the set value Vd = 05H are for display. Although "00" is stored as data, its significance will be described again.
Further, in the 7-segment decoding table of this example, display data SEG_E ("79") for displaying "E" indicating a setting value error is stored in the 7th area. It is possible to notify the set value error through the setting / performance indicator 97 in response to the case where the set value Vd shows an abnormal value such as the set value Vd is a value outside the usage range Ru. ..

説明を図11に戻す。
CPU20aは、ステップS503の処理によって7セグデコードテーブルから取得した表示用データを、ステップS504で設定・性能表示器97に出力する処理を行う。
続くステップS505〜S508の処理は、設定・性能表示器97における設定値Veの表示用LEDをダイナミック点灯(間欠的な点灯)させるための処理となる。具体的に、ステップS505でCPU20aは、LEDカウンタを1インクリメントし、続くステップS506でLEDカウンタの0,1ビット目(下位2ビット)が「11」であるか否かを判定する。ここで、LEDカウンタの下位2ビットが「11」となるのは、ステップS505のインクリメント処理が4の倍数回行われたときである。
ステップS506において、LEDカウンタの1,0ビット目が「11」であれば、CPU20aはステップS507に進み、LEDコモンポートに設定値表示用のセグを指定するデータを出力し、ステップS508の表示用タイマカウント処理を実行する。ステップS507の出力処理が実行されることで、設定・性能表示器97においてはステップS504で出力した表示用データに基づく設定値Veの表示が行われる。そして、この表示状態は、ステップS508の表示用タイマの時間分(本例では4ms)、継続されることになる。
The explanation is returned to FIG.
The CPU 20a performs a process of outputting the display data acquired from the 7-segment decoding table by the process of step S503 to the setting / performance display 97 in step S504.
Subsequent steps S505 to S508 are processes for dynamically lighting (intermittently lighting) the LED for displaying the set value Ve on the setting / performance indicator 97. Specifically, in step S505, the CPU 20a increments the LED counter by 1, and in the subsequent step S506, determines whether or not the 0th and 1st bits (lower 2 bits) of the LED counter are "11". Here, the lower 2 bits of the LED counter become "11" when the increment process of step S505 is performed a multiple of 4.
In step S506, if the 1st and 0th bits of the LED counter are "11", the CPU 20a proceeds to step S507, outputs data for designating a segment for displaying the set value to the LED common port, and displays data in step S508. Executes timer count processing. By executing the output process in step S507, the setting / performance indicator 97 displays the set value Ve based on the display data output in step S504. Then, this display state is continued for the time of the display timer in step S508 (4 ms in this example).

図11に示す出力管理処理は、ステップS508のタイマカウント処理に続くステップS509の処理の実行に応じて終了となり、処理は図10に示すステップS414に進むことになるが、この際、設定キーOFF且つ変更スイッチがONであれば、ステップS413の出力管理処理が繰り返される。上述のようにステップS502ではLEDコモンポートに0が出力されるので、先のステップS507の処理で開始された設定値表示用のLEDの点灯状態は該ステップS502の実行により解除される。そして、ステップS505ではLEDカウンタが1インクリメントされるため、ステップS506ではLEDカウンタの0,1ビット目が「11」でないと判定され、ステップS507の出力処理はパスされてステップS508のタイマカウント処理が実行される。つまり、ステップS507の処理が実行されて設定値表示用のLEDが少なくとも4msの期間点灯された後は、LEDカウンタの0,1ビット目が再度「11」となるまでの間、つまり本例では少なくとも4ms×3=12msの間、該LEDが消灯状態とされるものである。
このようにして、設定値表示用のLEDを所定の周期で間欠的に点灯させるダイナミック点灯が実現される。
The output management process shown in FIG. 11 ends in response to the execution of the process of step S509 following the timer count process of step S508, and the process proceeds to step S414 shown in FIG. If the change switch is ON, the output management process of step S413 is repeated. As described above, since 0 is output to the LED common port in step S502, the lighting state of the LED for setting value display started in the process of step S507 is canceled by the execution of step S502. Since the LED counter is incremented by 1 in step S505, it is determined in step S506 that the 0th and 1st bits of the LED counter are not "11", the output processing in step S507 is passed, and the timer count processing in step S508 is performed. Will be executed. That is, after the process of step S507 is executed and the LED for displaying the set value is turned on for a period of at least 4 ms, until the 0th and 1st bits of the LED counter become "11" again, that is, in this example. The LED is turned off for at least 4 ms × 3 = 12 ms.
In this way, dynamic lighting is realized in which the LED for displaying the set value is intermittently lit at a predetermined cycle.

図11において、CPU20aはステップS508のタイマカウント処理を実行したことに応じ、ステップS509で入力データ作成処理を実行する。
この入力データ作成処理は、例えば主制御側タイマ割込み処理(図18)におけるステップS902の同処理を呼び出して実行する。後述するように、該入力データ作成処理で作成される入力データには、設定値Veの順送り操作の有無を表すRAMクリアスイッチ98の入力データや、設定変更の完了操作の有無を表す設定キースイッチ94の入力データが含まれている。
図10を参照して分かるように、設定変更の完了操作の有無の判定(S414)や設定値Veの順送り操作の有無の判定(S415)は、ステップS413の出力管理処理の後に実行されるものであり、このステップS509の入力データ作成処理を実行しておくことで、これら判定処理で必要とされるデータを予め得るようにしている。
In FIG. 11, the CPU 20a executes the input data creation process in step S509 in response to executing the timer count process in step S508.
This input data creation process is executed by calling, for example, the same process in step S902 in the main control side timer interrupt process (FIG. 18). As will be described later, the input data created by the input data creation process includes the input data of the RAM clear switch 98 indicating the presence / absence of the progressive operation of the set value Ve and the setting key switch indicating the presence / absence of the setting change completion operation. Contains 94 input data.
As can be seen with reference to FIG. 10, the determination of the presence / absence of the setting change completion operation (S414) and the determination of the presence / absence of the progressive operation of the set value Ve (S415) are executed after the output management process of step S413. Therefore, by executing the input data creation process in step S509, the data required for these determination processes can be obtained in advance.

(RAMクリア処理)

図14は、図5に示したRAMクリア処理(S116)のフローチャートである。
先ず、CPU20aはステップS601で、領域内RAM初期化処理を実行する。このステップS601の初期化処理は、RAM20cにおけるワーク領域を含む所定領域(使用領域)内の値を初期化(クリア)する処理となる。但し、このステップS601の初期化処理では、ワーク領域における設定値Vdの格納領域については初期化の対象外とされている。
(RAM clear processing)

FIG. 14 is a flowchart of the RAM clearing process (S116) shown in FIG.
First, the CPU 20a executes the in-region RAM initialization process in step S601. The initialization process of step S601 is a process of initializing (clearing) the value in the predetermined area (used area) including the work area in the RAM 20c. However, in the initialization process of step S601, the storage area of the set value Vd in the work area is excluded from the initialization target.

なお、上述した性能情報については、RAM20cにおける使用領域外の領域(詳細については図21を参照して後述する)に格納されており、従ってステップS601の初期化処理ではクリアされない。
RAMクリア処理でクリア対象となるのは、通常の遊技進行の際に必要な各種のフラグやタイマやカウンタ等のRAM領域(通常データ格納領域)のデータである。これらのデータには、例えば次のようなものがある。すなわち、遊技状態指定に係るデータ(通常状態、確変状態、時短状態、潜確状態など、現在の遊技状態を特定する遊技状態フラグ)、当り遊技中であるか否かを指定するフラグ(条件装置作動フラグ)、当り遊技の実行に係る各種データ(現在のラウンド数、最大ラウンド数等)、大当り抽選結果に係るデータ(大当り判定フラグ:当落抽選結果情報、特別図柄判定データ:図柄抽選結果情報)、作動保留球に関する保留データ(作動保留球数、大当り抽選に利用される各種乱数値、補助当り抽選に利用される各種乱数値、変動パターン用乱数)、特別図柄動作ステータス、遊技進行を管理するタイマ(特別図柄役物動作タイマ)、スイッチ・センサ類に係る入出力データ、入賞口の入賞球数をカウントする各種の入賞カウンタ、電サポ状態の有無を指定するフラグ(開放延長フラグ)、電サポの残余回数をカウントする電サポ回数カウンタ、高確率状態の残余回数をカウントするカウンタ(特図確変回数カウンタ、普図確変回数カウンタ)、各種エラーフラグ(RAMエラーフラグを除く)、及び払出関連のデータ等である。何れにしても、RAMクリア処理が実行されると、特定のデータ(設定値Vdや性能情報)以外のすべてのデータが初期状態に設定される。
The above-mentioned performance information is stored in an area outside the used area (details will be described later with reference to FIG. 21) in the RAM 20c, and therefore is not cleared by the initialization process in step S601.
The data to be cleared in the RAM clearing process is data in the RAM area (normal data storage area) such as various flags, timers, and counters required for normal game progress. These data include, for example, the following. That is, data related to the game state designation (a game state flag that specifies the current game state such as a normal state, a probability change state, a time saving state, and a latent state), and a flag that specifies whether or not a winning game is in progress (conditional device). Operation flag), various data related to the execution of the winning game (current number of rounds, maximum number of rounds, etc.), data related to the big hit lottery result (big hit judgment flag: winning lottery result information, special symbol judgment data: symbol lottery result information) , Manages hold data related to operation hold balls (number of operation hold balls, various random number values used for big hit lottery, various random number values used for auxiliary hit lottery, random number for fluctuation pattern), special symbol operation status, game progress Timer (special symbol accessory operation timer), input / output data related to switches and sensors, various winning counters that count the number of winning balls in the winning opening, flags that specify the presence or absence of electric support status (open extension flag), electric power Electric support count counter that counts the remaining number of support, counter that counts the remaining number of high probability state (special figure probability variation counter, normal figure probability variation counter), various error flags (excluding RAM error flag), and payout related Data etc. In any case, when the RAM clear process is executed, all the data other than the specific data (set value Vd and performance information) are set to the initial state.

ここで、先の図5の説明から理解されるように、設定変更処理(S115)が実行された場合には、ステップS116に処理が進められてRAMクリア処理が実行される。
設定変更処理では設定値Vdが変更され得る。設定値Vdが変更された場合、RAM20cのワーク領域における設定値Vd以外の格納値が、変更後の設定値Vdに対して整合しない状態となる可能性がある。このため、設定変更処理を行った場合は、RAMクリア処理を実行することで、ワーク領域における設定値Vd以外の領域をクリア(初期化)するものとしている。
Here, as understood from the above description of FIG. 5, when the setting change process (S115) is executed, the process proceeds to step S116 and the RAM clear process is executed.
In the setting change process, the set value Vd can be changed. When the set value Vd is changed, the stored values other than the set value Vd in the work area of the RAM 20c may be inconsistent with the changed set value Vd. Therefore, when the setting change process is performed, the area other than the set value Vd in the work area is cleared (initialized) by executing the RAM clear process.

ステップS601の初期化処理を実行したことに応じ、CPU20aはステップS602でRAMクリア報知タイマに30sをセットする共に本特図に外れ目をセットするための処理を実行する。RAMクリア報知タイマは、後述する図17のステップS803の処理で送信されるRAMクリアコマンドに応じて演出制御部24が実行するRAMクリア報知の時間を設定するためのタイマであり、本例では30sを設定する。また、ここで言う本特図とは、例えば上述した特図1及び特図2のことを意味する。 In response to the execution of the initialization process in step S601, the CPU 20a sets 30s in the RAM clear notification timer in step S602 and also executes a process for setting a misalignment in this special figure. The RAM clear notification timer is a timer for setting the RAM clear notification time executed by the effect control unit 24 in response to the RAM clear command transmitted in the process of step S803 of FIG. 17, which will be described later, and is 30 s in this example. To set. Further, the present special figure referred to here means, for example, the above-mentioned special figure 1 and special figure 2.

ステップS602に続くステップS603でCPU20aは、前述したシステム動作ステータスが「2」であるか否かを判定する。すなわち、起動後にステップS115の設定変更処理を経由したか否かを判定する。
システム動作ステータスが「2」であれば、CPU20aはステップS604〜S612により、設定変更処理を経由した場合に対応した処理を実行する。
システム動作ステータスが「2」でなければ、CPU20aは、ステップS613に処理を進めてRAMクリアコマンドの下位バイトデータをレジスタに記憶し、ステップS116のRAMクリア処理を終える。
なお、上記のようにコマンドの下位バイトデータをレジスタに記憶する動作は、後述するメインループ前処理(図17)のステップS804で送信するコマンド種別を指定する動作として機能する。
In step S603 following step S602, the CPU 20a determines whether or not the system operation status described above is "2". That is, it is determined whether or not the setting change process of step S115 has been performed after the startup.
If the system operation status is "2", the CPU 20a executes the process corresponding to the case of passing through the setting change process in steps S604 to S612.
If the system operation status is not "2", the CPU 20a proceeds with the process in step S613, stores the lower byte data of the RAM clear command in the register, and ends the RAM clear process in step S116.
The operation of storing the lower byte data of the command in the register as described above functions as an operation of designating the command type to be transmitted in step S804 of the main loop preprocessing (FIG. 17) described later.

設定変更処理を経由した場合、CPU20aは、先ずステップS604でシステム動作ステータスを「0」にリセットした上で、ステップS605で設定変更終了コマンド(BA77H)の取得処理を実行し、続くステップS606のコマンド送信処理により設定変更終了コマンドを演出制御部24に送信する。 When passing through the setting change process, the CPU 20a first resets the system operation status to "0" in step S604, executes the acquisition process of the setting change end command (BA77H) in step S605, and then executes the command in step S606. The setting change end command is transmitted to the effect control unit 24 by the transmission process.

ステップS606に続くステップS607〜S612の処理は、設定・性能表示器97における設定値Veの表示に係る処理となる。
先ず、ステップS607でCPU20aは、LEDコモンポートに設定値表示用のセグを指定するデータを出力し、続くステップS608で7セグデコードテーブル(図13参照)から設定値Vdに対応する表示用データを取得し、ステップS609で表示用データにDP付加する処理、すなわち表示用データの7番目のビット位置の値を「1」とする処理を実行した上で、ステップS610の出力処理により表示用データを設定・性能表示器97に出力する。
The processes of steps S607 to S612 following step S606 are processes related to the display of the set value Ve on the setting / performance indicator 97.
First, in step S607, the CPU 20a outputs data for designating the set value display segment to the LED common port, and in the following step S608, the display data corresponding to the set value Vd is output from the 7 segment decode table (see FIG. 13). After executing the process of acquiring and adding DP to the display data in step S609, that is, the process of setting the value of the 7th bit position of the display data to "1", the display data is output by the output process of step S610. Output to the setting / performance indicator 97.

ステップS611に続くステップS612、S613の処理は、設定・性能表示器97における設定値Ve及びDPの表示状態を所定時間(本例では1s)継続させるための処理となる。具体的に、CPU20aはステップS612の表示用タイマカウント処理(例えば先のステップS508(図11参照)と同様の4ms周期のタイマカウント処理)を、ステップS612で1sが経過したと判定するまで繰り返し実行する。 The processes of steps S612 and S613 following step S611 are processes for continuing the display state of the set values Ve and DP on the setting / performance indicator 97 for a predetermined time (1s in this example). Specifically, the CPU 20a repeatedly executes the display timer count process in step S612 (for example, the timer count process having a cycle of 4 ms similar to that in step S508 (see FIG. 11)) until it is determined in step S612 that 1 s has elapsed. To do.

ステップS612で1sが経過したと判定した場合、CPU20aはステップS613の記憶処理を実行し、ステップS116のRAMクリア処理を終える。 If it is determined in step S612 that 1 s has elapsed, the CPU 20a executes the storage process of step S613 and ends the RAM clear process of step S116.

これまでの説明から理解されるように、ステップS115の設定変更処理が実行され、設定変更の完了操作が行われた場合(図10のステップS412:Y)には、ステップS116のRAMクリア処理において設定変更終了コマンドが演出制御部24に送信されて(S605、S606)、設定変更が終了した旨の通知が行われる。
本例の場合、設定変更終了コマンドは、設定変更が終了した旨を演出制御部24に通知するものであって、設定変更処理で設定された設定値Veを通知する機能までは与えられていない。
本例では、設定変更処理で設定された設定値Veは、後述する図17(メインループ前処理)のステップS808の処理で送信される設定値コマンドによって演出制御部24に通知される。
As can be understood from the above description, when the setting change process of step S115 is executed and the setting change completion operation is performed (step S412: Y in FIG. 10), the RAM clear process of step S116 The setting change end command is transmitted to the effect control unit 24 (S605, S606), and a notification that the setting change is completed is given.
In the case of this example, the setting change end command notifies the effect control unit 24 that the setting change has been completed, and does not provide the function of notifying the setting value Ve set in the setting change process. ..
In this example, the set value Ve set in the setting change process is notified to the effect control unit 24 by the set value command transmitted in the process of step S808 of FIG. 17 (main loop preprocessing) described later.

(設定確認処理)

図15は、ステップS109の設定確認処理を示したフローチャートである。
設定確認処理は、設定中の設定値Veを確認表示するための処理となる。
図15において、CPU20aは先ずステップS701で、不正情報タイマに30sをセットする。不正情報タイマは、前述したセキュリティ信号のホールコンピュータHCに対する出力時間を管理するためのタイマである。
続くステップS702で現在の設定値情報を取得する処理を行う。すなわち、RAMのワーク領域に格納されている設定値Vdを取得する。
(Setting confirmation process)

FIG. 15 is a flowchart showing the setting confirmation process in step S109.
The setting confirmation process is a process for confirming and displaying the set value Ve that is being set.
In FIG. 15, the CPU 20a first sets 30s in the fraudulent information timer in step S701. The fraud information timer is a timer for managing the output time of the above-mentioned security signal to the hall computer HC.
In the following step S702, a process of acquiring the current set value information is performed. That is, the set value Vd stored in the work area of the RAM is acquired.

ステップS702に続くステップS703でCPU20aは、設定値オフセット変換テーブルから設定値データを取得する処理を実行する。 In step S703 following step S702, the CPU 20a executes a process of acquiring the set value data from the set value offset conversion table.

図16は、主制御部20のROM20bに格納された設定値オフセット変換テーブルの例を示している。
設定値オフセット変換テーブルは、設定値Vd(00H〜02H)を設定値Ve(「1
」「2」「6」)の識別データ(「SETNUM1」〜「SETNUM6」)に変換するためのテーブルとして機能する。
本例の場合、設定値オフセット変換テーブルは、図中「6215」〜「6220」のアドレス領域のように、少なくとも00H〜05Hの各設定値Vdごとに設定値Veの識別データを格納する領域が確保されており、この領域における最上部の領域に設定値Vd=00Hに対応した設定値Ve「1」の識別データ(図中「00」)が、2番目の領域に設定値Vd=01Hに対応した設定値Ve「2」の識別データ(図中「01」)が、3番目の領域に設定値Vd=02Hに対応した設定値Ve「6」の識別データ(図中「05」)が格納されている。
なお、本例では、設定値Vd=03Hに対応する4番目の領域、設定値Vd=04Hに対応する5番目の領域、及び設定値Vd=05Hに対応する6番目の領域には、設定値Veの識別データとして「00」が格納されているが、その意義については改めて説明する。
FIG. 16 shows an example of a set value offset conversion table stored in the ROM 20b of the main control unit 20.
In the set value offset conversion table, the set value Vd (00H to 02H) is set to the set value Ve ("1".
It functions as a table for converting the identification data ("SETNUM1" to "SETNUM6") of "2" and "6").
In the case of this example, the set value offset conversion table has an area for storing the identification data of the set value Ve for at least each set value Vd of 00H to 05H, such as the address areas of "6215" to "6220" in the figure. The identification data (“00” in the figure) of the set value Ve “1” corresponding to the set value Vd = 00H is set to the set value Vd = 01H in the uppermost area in this area. The identification data (“01” in the figure) of the corresponding set value Ve “2” is the identification data (“05” in the figure) of the set value Ve “6” corresponding to the set value Vd = 02H in the third area. It is stored.
In this example, the set value is set in the fourth area corresponding to the set value Vd = 03H, the fifth area corresponding to the set value Vd = 04H, and the sixth area corresponding to the set value Vd = 05H. "00" is stored as the identification data of Ve, and its significance will be described again.

図15において、CPU20aはステップS703の取得処理により、上記の識別データを「設定値データ」として取得する。 In FIG. 15, the CPU 20a acquires the above-mentioned identification data as “set value data” by the acquisition process in step S703.

ステップS703の取得処理を実行したことに応じ、CPU20aはステップS704で設定確認中コマンド(BA6xH)の取得処理を実行し、続くステップS705のコマンド送信処理により、設定確認中コマンドを演出制御部24に送信する。
CPU20aはステップS704の取得処理において、設定確認中コマンドにステップS703で取得した設定値データ、すなわち現在設定値中の設定中の設定値Veを識別するための識別データを含ませる処理を行う。
これにより、ステップS705のコマンド送信処理が実行されることで、演出制御部24に設定確認中である旨と現在の設定値Veが通知されることになる。
In response to the execution of the acquisition process of step S703, the CPU 20a executes the acquisition process of the setting checking command (BA6xH) in step S704, and then sends the setting checking command to the effect control unit 24 by the command transmission process of step S705. Send.
In the acquisition process of step S704, the CPU 20a performs a process of including the setting value data acquired in step S703, that is, the identification data for identifying the set value Ve being set in the currently set value, in the setting checking command.
As a result, when the command transmission process in step S705 is executed, the effect control unit 24 is notified that the setting is being confirmed and the current set value Ve.

ステップS705に続くステップS706、S707の処理は、現在の設定値Veを設定・性能表示器97に表示させるための処理となる。
具体的に、CPU20aは先ずステップS706で、設定値とDPのデータを取得する処理を実行する。すなわち、RAM20cのワーク領域に格納されている現在の設定値Vdと、設定・性能表示器97におけるDPのデータ(「1」)とを取得する処理を実行する。その上で、ステップS707の出力管理処理を実行する。このステップS707の出力管理処理は、図11に示したステップS413の出力管理処理と同じ処理である。これにより、この場合の設定・性能表示器97には、現在の設定値Veを表す値とDPの表示が行われる。
The processes of steps S706 and S707 following step S705 are processes for displaying the current set value Ve on the setting / performance indicator 97.
Specifically, the CPU 20a first executes a process of acquiring set values and DP data in step S706. That is, the process of acquiring the current set value Vd stored in the work area of the RAM 20c and the DP data (“1”) in the setting / performance display 97 is executed. Then, the output management process of step S707 is executed. The output management process in step S707 is the same process as the output management process in step S413 shown in FIG. As a result, the setting / performance display 97 in this case displays the value representing the current set value Ve and the DP.

ステップS707に続くステップS708でCPU20aは、設定キーOFF(設定キースイッチ94がOFF)であるか否か、つまり設定確認表示の終了指示操作が行われたか否かを判定し、設定キーOFFでなければステップS707の出力管理処理を再度実行する。これにより、ステップS705で設定確認中コマンドが送信された後は、ステップS708の処理により設定確認表示の終了指示操作が行われるまで待機するようにされ、待機中はステップS707の処理によって設定・性能表示器97に現在の設定値Ve及びDPを表示させる処理を継続して行うようにされる。 In step S708 following step S707, the CPU 20a determines whether or not the setting key is OFF (the setting key switch 94 is OFF), that is, whether or not the end instruction operation of the setting confirmation display is performed, and the setting key must be OFF. If so, the output management process of step S707 is executed again. As a result, after the setting confirmation command is transmitted in step S705, the process of step S708 waits until the end instruction operation of the setting confirmation display is performed, and during the standby, the setting / performance is set and performed by the process of step S707. The process of displaying the current set values Ve and DP on the display 97 is continuously performed.

ステップS708で設定キーOFFであると判定した場合、CPU20aはステップS709で設定確認終了コマンド(BA67H)の取得処理を実行し、続くステップS710のコマンド送信処理により設定確認終了コマンドを演出制御部24に送信し、ステップS109の設定確認処理を終える。
When it is determined in step S708 that the setting key is OFF, the CPU 20a executes the acquisition process of the setting confirmation end command (BA67H) in step S709, and issues the setting confirmation end command to the effect control unit 24 by the command transmission process of the subsequent step S710. The transmission is performed, and the setting confirmation process in step S109 is completed.

(メインループ前処理)

図17は、ステップS119のメインループ前処理のフローチャートである。
メインループ前処理において、CPU20aは先ずステップS801で、イニシャライズコマンドの取得処理を実行し、続くステップS802のコマンド送信処理によりイニシャライズコマンドを演出制御部24に送信する。イニシャライズコマンドは、役物としての可動体を動作させる可動体役物モータ80cのイニシャライズ(原点復帰)指示を行うためのコマンドである。
(Main loop pre-processing)

FIG. 17 is a flowchart of the main loop preprocessing in step S119.
In the main loop pre-processing, the CPU 20a first executes the initialization command acquisition process in step S801, and then transmits the initialization command to the effect control unit 24 by the command transmission process in step S802. The initialization command is a command for instructing the initialization (returning to the origin) of the movable body accessory motor 80c that operates the movable body as a accessory.

ステップS802に続くステップS803でCPU20aは、取得した下位バイトコマンドから送信コマンドデータを取得する処理を行い、取得したコマンドデータを、ステップS804のコマンド送信処理により演出制御部24に送信する。
ここで、ステップS803の取得処理では、起動後に経由してきた処理の過程で下位バイトデータがレジスタに格納されたコマンドのデータが取得される。具体的に、ステップS116のRAMクリア処理を経由した場合(設定変更処理とRAMクリア処理の双方が行われた場合、又は設定変更処理が行われずRAMクリア処理のみが行われた場合)には、RAMクリアコマンド(BA02H)のデータが取得される。一方、ステップS111のバックアップ復帰処理が行われた場合(設定確認処理とバックアップ復帰処理の双方が行われた場合、又は設定確認処理が行われずバックアップ復帰処理のみが行われた場合)には停電復帰表示コマンド(OB03H)のデータが取得される。
これにより演出制御部24は、RAMクリア処理が行われた場合、バックアップ復帰処理が行われた場合でそれぞれ異なる処理を実行するようにされている。
In step S803 following step S802, the CPU 20a performs a process of acquiring transmission command data from the acquired lower byte command, and transmits the acquired command data to the effect control unit 24 by the command transmission process of step S804.
Here, in the acquisition process of step S803, the data of the command in which the lower byte data is stored in the register is acquired in the process of the process that has passed after the startup. Specifically, when passing through the RAM clear process in step S116 (when both the setting change process and the RAM clear process are performed, or when the setting change process is not performed and only the RAM clear process is performed), The data of the RAM clear command (BA02H) is acquired. On the other hand, when the backup restoration process of step S111 is performed (when both the setting confirmation process and the backup restoration process are performed, or when the setting confirmation process is not performed and only the backup restoration process is performed), the power failure is restored. The data of the display command (OB03H) is acquired.
As a result, the effect control unit 24 is configured to execute different processes when the RAM clear process is performed and when the backup return process is performed.

ステップS804に続くステップS805でCPU20aは、特図1、特図2の保留個数を送信するための処理を実行する。ここで、このステップS805の処理では、ステップS111のバックアップ復帰処理が行われた場合に特図1、特図2の保留個数を演出制御部24に送信し、ステップS116のRAMクリア処理が行われた場合には該保留個数の送信は行わない(保留個数の情報がクリアされているため)。 In step S805 following step S804, the CPU 20a executes a process for transmitting the reserved number of special figures 1 and 2. Here, in the process of step S805, when the backup restoration process of step S111 is performed, the reserved numbers of special figures 1 and 2 are transmitted to the effect control unit 24, and the RAM clear process of step S116 is performed. In that case, the pending quantity is not transmitted (because the information on the reserved quantity is cleared).

ステップS805に続くステップS806〜S808の処理は、現在の設定値Veを設定値コマンドにより演出制御部24に通知するための処理となる。
先ず、ステップS806でCPU20aは、現在の設定値情報を取得するための処理として、RAM20cのワーク領域に格納されている設定値Vdを取得する処理を行い、続くステップS807で設定値オフセット変換テーブル(図16)から設定値データを取得する処理を実行する。具体的には、ステップS806で取得した設定値Vd(00H〜02H)に対応する設定値Ve(「1」「2」「5」)の識別データを取得する。
そして、CPU20aは続くステップS808で設定値コマンド(F6xxH)の取得処理を行い、ステップS809のコマンド送信処理により設定値コマンドを演出制御部24に送信する。
ステップS808の取得処理では、ステップS807で取得した識別データを含む設定値コマンドを取得する。このような設定値コマンドにより、演出制御部24に現在の設定値Veを通知することができる。
The processes of steps S806 to S808 following step S805 are processes for notifying the effect control unit 24 of the current set value Ve by the set value command.
First, in step S806, the CPU 20a performs a process of acquiring the set value Vd stored in the work area of the RAM 20c as a process for acquiring the current set value information, and in the following step S807, the set value offset conversion table ( The process of acquiring the set value data from FIG. 16) is executed. Specifically, the identification data of the set value Ve (“1”, “2”, “5”) corresponding to the set value Vd (00H to 02H) acquired in step S806 is acquired.
Then, the CPU 20a performs the acquisition process of the set value command (F6xxH) in the following step S808, and transmits the set value command to the effect control unit 24 by the command transmission process of step S809.
In the acquisition process of step S808, the set value command including the identification data acquired in step S807 is acquired. By such a setting value command, the current setting value Ve can be notified to the effect control unit 24.

ステップS809のコマンド送信処理を実行したことに応じ、CPU20aはステップS810で内部機能レジスタの設定処理、すなわちハードウェア乱数のカウント機能等、各種機能の初期設定のためのレジスタ設定処理を実行し、ステップS811で性能表示モニタ点灯用タイマを5sにセットする処理を実行する。性能表示モニタ点灯用タイマは、設定・性能表示器97の起動時における動作確認点灯動作(本例では5秒間の点滅動作)について、その動作時間を管理するためのタイマである。 In response to the command transmission process of step S809, the CPU 20a executes the internal function register setting process, that is, the register setting process for initial setting of various functions such as the hardware random number counting function in step S810, and steps. In S811, the process of setting the performance display monitor lighting timer to 5s is executed. The performance display monitor lighting timer is a timer for managing the operation time of the operation confirmation lighting operation (blinking operation for 5 seconds in this example) at the time of starting the setting / performance indicator 97.

さらに、ステップS811に続くステップS812でCPU20aは、システム動作ステータスを「0」にリセットし、ステップS813で払出制御基板29に対する発射許可信号をONとする。これに応じ払出制御基板29は、発射許可状態であると判断し、上記許可信号を発射制御基板28に対して出力し、発射装置32による遊技球の発射動作を許容する。これにより、発射操作ハンドル15による遊技球の発射が可能になる。
なお、ここでは、主制御部20からの発射許可信号を払出制御基板29が受けて発射動作を許容する構成、つまり、主制御部20からの発射許可の指示情報が、払出制御基板29を通じて間接的に発射制御基板28に送られる構成を例示したが、本発明はこれに限らず、例えば、主制御部20による発射許可信号を直接的に発射制御基板28に出力する構成とすることもできる。
CPU20aは、ステップS813の処理を実行したことに応じ、ステップS119のメインループ前処理を終える。
Further, in step S812 following step S811, the CPU 20a resets the system operation status to "0", and in step S813, turns on the launch permission signal for the payout control board 29. In response to this, the payout control board 29 determines that the launch is permitted, outputs the permission signal to the launch control board 28, and allows the launching device 32 to launch the game ball. As a result, the game ball can be launched by the launch operation handle 15.
Here, the configuration in which the payout control board 29 receives the launch permission signal from the main control unit 20 and allows the launch operation, that is, the launch permission instruction information from the main control unit 20 is indirectly transmitted through the payout control board 29. However, the present invention is not limited to this, and for example, a configuration in which a launch permission signal by the main control unit 20 is directly output to the launch control board 28 may be used. ..
The CPU 20a ends the main loop pre-processing in step S119 in response to the execution of the processing in step S813.

(設定値表示用データテーブルと設定値変換テーブルの利点)

ここで、本実施形態では、図16に示した設定値オフセット変換テーブルのように、主制御部20のROM20bには、設定値を参照して選択される複数の設定値関連情報を含むデータテーブルが格納されている。
そして、このデータテーブルには、主制御部20が設定変更処理(図10参照)により設定可能な設定値Vd(「00H」〜「02H」)を参照した場合に選択される設定値関連情報である第一設定値関連情報と、主制御部20が設定変更処理により設定不能な設定値を参照した場合に選択される設定値関連情報である第二設定値関連情報とが含まれている。具体的に、第一設定値関連情報としては、図16に示す設定値オフセット変換テーブルにおけるアドレス「6215」「6216」「6217」にそれぞれ格納された「00」「01」「05」が該当し、第二設定値関連情報としては、アドレス「6218」「6219」「6220」にそれぞれ格納された「00」「00」「00」が該当する。
さらに、データテーブルにおいては、第一設定値関連情報として、当選確率が最も低い段階を表す設定値Veに関する特定情報(つまりアドレス「6215」における「00」)が、少なくとも記憶され、また第二設定値関連情報として、特定情報と同じ情報が記憶されている。
(Advantages of data table for setting value display and setting value conversion table)

Here, in the present embodiment, like the set value offset conversion table shown in FIG. 16, the ROM 20b of the main control unit 20 contains a data table including a plurality of set value related information selected by referring to the set value. Is stored.
Then, in this data table, the set value related information selected when the main control unit 20 refers to the set value Vd (“00H” to “02H”) that can be set by the setting change process (see FIG. 10). A certain first set value related information and a second set value related information which is the set value related information selected when the main control unit 20 refers to a set value that cannot be set by the setting change process are included. Specifically, as the first set value related information, "00", "01", and "05" stored in the addresses "6215", "6216", and "6217" in the set value offset conversion table shown in FIG. 16 correspond to each other. As the second set value related information, "00", "00", and "00" stored in the addresses "6218", "6219", and "6220", respectively, correspond to each other.
Further, in the data table, as the first set value related information, at least specific information regarding the set value Ve representing the stage with the lowest winning probability (that is, "00" in the address "6215") is stored, and the second setting is made. The same information as the specific information is stored as the value-related information.

設定値Vdが設定不能な値であったときは、RAM20cに格納される設定値Vdを最低段階を表す値に書き替えることが考えられる。
しかし、書き替え後に改竄される等した場合、設定不能な設定値Vdに基づきデータテーブルから対応する情報が取得されて、設定不能な設定値に応じた動作が実現される虞がある。
上記構成によれば、データテーブルから設定不能な設定値Vdに応じた情報を取得することが不能とされるため、不正行為が成立してしまうことの防止を図ることができ、遊技の公平性を高めることができる。
When the set value Vd is a value that cannot be set, it is conceivable to rewrite the set value Vd stored in the RAM 20c to a value representing the lowest stage.
However, if the data is tampered with after rewriting, the corresponding information may be acquired from the data table based on the unsettable setting value Vd, and the operation according to the unsettable setting value may be realized.
According to the above configuration, since it is impossible to acquire information according to the set value Vd that cannot be set from the data table, it is possible to prevent fraudulent acts from being established, and the fairness of the game. Can be enhanced.

また、本実施形態では、上記した特定情報として0が記憶されている。
これにより、設定値関連情報に特定情報=0を書き込むという簡易な手法により、設定値の改竄による不正行為の成立防止を図ることが可能とされる。すなわち、遊技の公平性を簡易な手法により高めることができる。
Further, in the present embodiment, 0 is stored as the above-mentioned specific information.
As a result, it is possible to prevent the establishment of fraudulent acts by falsifying the set value by a simple method of writing the specific information = 0 in the set value related information. That is, the fairness of the game can be enhanced by a simple method.

また、本実施形態では、図12に示した7セグデコードテーブルについても、主制御部20が設定変更処理により設定可能な設定値Vdを参照した場合に選択される設定値関連情報である第一設定値関連情報(アドレス「6203」〜「6205」)と、主制御部20が設定変更処理により設定不能な設定値を参照した場合に選択される設定値関連情報である第二設定値関連情報(アドレス「6206」〜「6208」)とが含まれるようにしている。そして、7セグデコードテーブルでは、第二設定値関連情報として0を記憶させている。
これにより、不正行為や何らかの誤動作等に伴い、設定変更処理で設定不能な設定値Vdによりデータテーブルが参照されたとしても、設定値の表示手段(本例では設定・性能表示器97)に設定値表示が行われないようにすることが可能とされる。具体的に本例では、表示用データとして「00」のデータ、すなわち「00000000」が取得されるので、設定値表示用の7セグにおける「0」〜「6」の全てのセグが非表示とされ、結果、数値表示が行われないことになる。
従って、設定値の誤表示防止を図ることができる。
Further, in the present embodiment, the 7-segment decoding table shown in FIG. 12 is also set value-related information selected when the main control unit 20 refers to the set value Vd that can be set by the setting change process. Second setting value related information which is the setting value related information selected when the setting value related information (addresses "6203" to "6205") and the setting value which cannot be set by the main control unit 20 are referred to by the setting change process. (Addresses "6206" to "6208") are included. Then, in the 7-segment decoding table, 0 is stored as the information related to the second set value.
As a result, even if the data table is referred to by the set value Vd that cannot be set in the setting change process due to fraudulent activity or some malfunction, it is set in the set value display means (setting / performance indicator 97 in this example). It is possible to prevent the value display from being performed. Specifically, in this example, since the data of "00", that is, "00000000000" is acquired as the display data, all the segments "0" to "6" in the 7-segment display for setting value display are hidden. As a result, the numerical display is not performed.
Therefore, it is possible to prevent erroneous display of the set value.

[4-2.主制御側タイマ割込み処理]

図18のフローチャートを参照して、主制御側タイマ割込処理について説明する。
主制御側タイマ割込処理は、CTCからの一定時間(4ms程度)ごとの割込みで起動され、主制御側メイン処理実行中に割り込んで実行される。
[4-2. Main control side timer interrupt processing]

The timer interrupt processing on the main control side will be described with reference to the flowchart of FIG.
The main control side timer interrupt process is started by an interrupt from the CTC at regular time intervals (about 4 ms), and is interrupted and executed during the execution of the main control side main process.

図18において、CPU20aは、タイマ割込みが生じると、先ずはステップS901の電源チェック・バックアップ処理を実行する。この電源チェック・バックアップ処理では、主に、電源基板から供給されている電源レベルを監視し、電断が生じる等の異常が発生した場合、電源復帰時に支障なく遊技を復帰できるように、電断時における所定の遊技情報をRAM20cに格納するバックアップ処理等が行われる。
In FIG. 18, when a timer interrupt occurs, the CPU 20a first executes the power supply check / backup process in step S901. In this power check / backup process, the power level supplied from the power supply board is mainly monitored, and if an abnormality such as a power failure occurs, the game can be restored without any trouble when the power is restored. A backup process or the like for storing predetermined game information at the time in the RAM 20c is performed.

(電源チェック・バックアップ処理)

図19は、ステップS901の電源チェック・バックアップ処理を示したフローチャートである。
電源チェック・バックアップ処理において、CPU20aはステップS1001で、電源基板から出力される電源異常信号を2回読み込み、続くステップS1002で双方の読み込み値が一致しているか否かを判定する。双方の値が一致していない場合は、ステップS1001に戻って再度、電源異常信号を2回読み込む。
(Power check / backup process)

FIG. 19 is a flowchart showing the power supply check / backup process in step S901.
In the power supply check / backup process, the CPU 20a reads the power supply abnormality signal output from the power supply board twice in step S1001, and determines whether or not both read values match in the subsequent step S1002. If both values do not match, the process returns to step S1001 and the power supply abnormality signal is read twice again.

ステップS1002において、双方の値が一致していれば、CPU20aはステップS1003で、電源異常信号が正常レベルか否か(電源異常信号がOFF=正常レベル、ON=正常レベルでない)を判定する。
電源異常信号が正常レベルであれば(ステップS1003:OFF)、CPU20aはステップS1004でバックアップフラグをOFF状態とし、続くステップS1005で電源異常確認カウンタをクリアし、ステップS901の電源異常チェック処理を終える。すなわち、電源異常信号が正常レベルであることが確認された場合は、以降で説明するバックアップ処理は行われずタイマ割込み処理が継続される。
If both values match in step S1002, the CPU 20a determines in step S1003 whether or not the power supply abnormality signal is at a normal level (the power supply abnormality signal is OFF = normal level, ON = not normal level).
If the power supply abnormality signal is at a normal level (step S1003: OFF), the CPU 20a turns off the backup flag in step S1004, clears the power supply abnormality confirmation counter in the following step S1005, and ends the power supply abnormality check process in step S901. That is, when it is confirmed that the power supply abnormality signal is at a normal level, the backup processing described below is not performed and the timer interrupt processing is continued.

一方、ステップS1003で電源異常信号が正常レベルでなかった場合(ステップS1003:ON)、CPU20aはステップS1006で電源異常確認カウンタの値を1インクリメントした上で、ステップS1007で電源異常確認カウンタの値が所定の閾値(閾値=2以上の自然数:例えば「2」)以上であるか否かを判定する。
電源異常確認カウンタの値が閾値以上でなければ、CPU20aはステップS901の電源異常チェック処理を終える。すなわち、電源異常信号が正常レベルでない状態が検知されたが連続的な検知でない場合には、バックアップ処理は行われずタイマ割込み処理が継続される。
On the other hand, when the power supply abnormality signal is not at the normal level in step S1003 (step S1003: ON), the CPU 20a increments the value of the power supply abnormality confirmation counter by 1 in step S1006, and then the value of the power supply abnormality confirmation counter is changed in step S1007. It is determined whether or not it is equal to or more than a predetermined threshold value (threshold value = natural number of 2 or more: for example, “2”).
If the value of the power supply abnormality confirmation counter is not equal to or higher than the threshold value, the CPU 20a ends the power supply abnormality check process in step S901. That is, if a state in which the power supply abnormality signal is not at a normal level is detected but is not continuous detection, the backup process is not performed and the timer interrupt process is continued.

一方、電源異常確認カウンタの値が閾値以上であれば、CPU20aはステップS1008〜S1011として示すバックアップ処理を行う。
具体的に、CPU20aは先ず、電源異常確認カウンタの値をクリアし(S1108)、発射許可信号をOFFとした上で(S1009)、バックアップフラグをONとする(S1010)。
さらに、CPU20aは、電源断コマンドを演出制御部24に送信し(S1011)、ステップS1012に処理を進める。
On the other hand, if the value of the power supply abnormality confirmation counter is equal to or greater than the threshold value, the CPU 20a performs the backup process shown in steps S1008 to S1011.
Specifically, the CPU 20a first clears the value of the power supply abnormality confirmation counter (S1108), turns off the launch permission signal (S1009), and then turns on the backup flag (S1010).
Further, the CPU 20a transmits a power off command to the effect control unit 24 (S1011), and proceeds to the process in step S1012.

ステップS1012でCPU20aは、RAMプロテクトを有効とし、禁止領域を無効に設定する処理を行う。
RAMプロテクトとは、誤作動や誤操作などによるRAM20cに対する書き換え防止機能である。RAMプロテクトを有効に設定することで、RAM20cからのデータ読み出しのみが可能とされてデータの書き込みが不能な状態となる。
また、禁止領域は、IAT(指定エリア外走行禁止)機能における指定エリアに対応した領域であり、禁止領域を無効に設定することで、以降はIATリセットが発生しないようになる。
In step S1012, the CPU 20a performs a process of enabling RAM protection and invalidating the prohibited area.
The RAM protect is a rewrite prevention function for the RAM 20c due to a malfunction or erroneous operation. By enabling RAM protection, only data can be read from the RAM 20c, and data cannot be written.
Further, the prohibited area is an area corresponding to the designated area in the IAT (prohibition of traveling outside the designated area) function, and by setting the prohibited area to invalid, the IAT reset will not occur thereafter.

ステップS1012に続くステップS1013でCPU20aは、出力ポートの値をクリアし、さらに続くステップS1014でタイマ割込み処理を停止すると共に、自身を割込み禁止状態に設定し、無限ループ処理に移行する。
この無限ループ中において、CPU20aはWDTによりリセットされ、また動作電源の喪失により動作停止状態に移行する。
In step S1013 following step S1012, the CPU 20a clears the value of the output port, stops the timer interrupt processing in the subsequent step S1014, sets itself to the interrupt disabled state, and shifts to the infinite loop processing.
In this infinite loop, the CPU 20a is reset by the WDT, and shifts to the operation stop state due to the loss of the operating power supply.

説明を図18に戻す。
図18において、ステップS901の電源チェック・バックアップ処理を終えると、CPU20aはステップS902で入力データ作成処理を実行する。具体的には、各種センサやスイッチから入力情報(ON/OFF信号や、立ち上がり状態(ONエッジ、OFFエッジ))に基づき、入力データ作成する。
ここでの入力情報とは、例えば上始動口センサ34a、下始動口センサ35a、普通図柄始動口センサ37a、大入賞口センサ52a、一般入賞口センサ43a、OUT監視スイッチ49aなどの入賞検出スイッチから出力されるスイッチ信号のON/OFF情報(入賞検出情報)や、設定キースイッチ94、RAMクリアスイッチ98等の設定値Veの設定操作に係るスイッチから出力されるスイッチ信号のON/OFF情報(操作情報)や、払出制御基板29からの状態信号(前扉開放センサ61や満杯検出センサ60のON/OFF情報)等である。これにより、アウト口や各入賞口において遊技球が検出されたか否かが割込みごとに監視される。
The description returns to FIG.
In FIG. 18, when the power check / backup process in step S901 is completed, the CPU 20a executes the input data creation process in step S902. Specifically, input data is created from various sensors and switches based on input information (ON / OFF signal and rising state (ON edge, OFF edge)).
The input information here is, for example, from a winning detection switch such as an upper starting port sensor 34a, a lower starting port sensor 35a, a normal symbol starting port sensor 37a, a large winning port sensor 52a, a general winning port sensor 43a, and an OUT monitoring switch 49a. ON / OFF information of the output switch signal (winning detection information) and ON / OFF information of the switch signal output from the switch related to the setting operation of the set value Ve such as the setting key switch 94 and the RAM clear switch 98 (operation). Information), a status signal from the payout control board 29 (ON / OFF information of the front door opening sensor 61 and the fullness detection sensor 60), and the like. As a result, whether or not a game ball is detected at the out opening or each winning opening is monitored for each interrupt.

ステップS902の入力データ作成処理を終えると、CPU20aはステップS903で、遊技動作制御に用いられるタイマを管理するタイマ管理処理を実行する。ここでは、遊技機1の遊技動作制御に用いる各種タイマの値について更新(減算処理)が行われる。 After completing the input data creation process in step S902, the CPU 20a executes a timer management process for managing the timer used for the game operation control in step S903. Here, the values of various timers used for controlling the game operation of the game machine 1 are updated (subtracted).

次いで、CPU20aはステップS904で、入力管理処理を行う。この入力管理処理では、入力データ作成処理(S902)で作成された入力データに基づき、入賞カウンタやOUT球監視カウンタの値などを更新する。「入賞カウンタ」とは、各入賞口ごとに対応して設けられ、入賞した遊技球数(入賞球数)を計数するカウンタである。またOUT球監視カウンタは、アウト口49から排出される遊技球(アウト球)を計数するカウンタである。
ステップS904の入力管理処理は、各種入賞口センサからの入力信号(検出信号)を管理する入力管理手段として機能する。
Next, the CPU 20a performs an input management process in step S904. In this input management process, the values of the winning counter, the OUT ball monitoring counter, and the like are updated based on the input data created in the input data creation process (S902). The "winning counter" is a counter provided for each winning opening and counting the number of winning game balls (number of winning balls). The OUT ball monitoring counter is a counter that counts game balls (out balls) discharged from the out port 49.
The input management process of step S904 functions as an input management means for managing input signals (detection signals) from various winning opening sensors.

ステップS904に続くステップS905でCPU20aは、設定異常チェック処理を実行する。 In step S905 following step S904, the CPU 20a executes a setting abnormality check process.

図20は、ステップS905の設定異常チェック処理を示したフローチャートである。
図20において、CPU20aはステップS1101で、設定値エラーフラグを確認する。設定値エラーフラグは、設定値Vdの異常が認められた場合に以下で説明するステップS1103の処理によりセットされる(ONされる)フラグであり、本例では「5AH」がON状態を意味する。
FIG. 20 is a flowchart showing the setting abnormality check process in step S905.
In FIG. 20, the CPU 20a confirms the set value error flag in step S1101. The set value error flag is a flag that is set (turned on) by the process of step S1103 described below when an abnormality of the set value Vd is recognized, and in this example, "5AH" means an ON state. ..

ステップS1101において、設定値エラーフラグが「5AH」(ON状態)であれば、CPU20aはステップS905の設定異常チェック処理を終える。すなわち、ステップS1101で設定値エラーフラグがONと判定されるということは、既に後述するステップS1104で設定値異常コマンド(演出制御部24に設定エラー報知の実行を指示するコマンド)の送信が実行されている状態であるため、設定値エラーフラグを再度送信することなく、設定異常チェック処理を終える。 If the set value error flag is "5AH" (ON state) in step S1101, the CPU 20a ends the setting abnormality check process in step S905. That is, the fact that the set value error flag is determined to be ON in step S1101 means that the set value error command (command for instructing the effect control unit 24 to execute the set error notification) is already executed in step S1104 described later. Therefore, the setting error check process is completed without sending the setting value error flag again.

一方、ステップS1101で設定値エラーフラグが「5AH」でない(OFFである)と確認された場合、CPU20aはステップS1102で設定値Vdが正常範囲内の値(0〜2の範囲内)であるか否かを判定する。具体的には、RAM20cのワーク領域に格納されている設定値Vdを取得し、値が「00H」〜「02H」の範囲にあるか否かを判定する。 On the other hand, when it is confirmed in step S1101 that the set value error flag is not "5AH" (OFF), the CPU 20a determines in step S1102 whether the set value Vd is within the normal range (within the range of 0 to 2). Judge whether or not. Specifically, the set value Vd stored in the work area of the RAM 20c is acquired, and it is determined whether or not the value is in the range of "00H" to "02H".

設定値Vdが正常範囲内の値であれば、CPU20aはステップS905の設定異常チェック処理を終える。
設定値Vdが正常範囲内の値でなければ、CPU20aはステップS1103に進んで設定値エラーフラグをセット(ON状態)とし、続くステップS1104で設定値Vdに異常が生じた旨を表すための設定値異常コマンドを演出制御部24に送信し、設定異常チェック処理を終える。
ここで、設定値エラーフラグは、後述する図25のステップS1308(入賞時の設定エラー判定)をはじめとして、図27におけるステップS1501(変動開始時の大当り乱数判定を行う際の設定エラー判定や、図30におけるステップS1701(変動開始時の変動パターン抽選を行う際の設定エラー判定)において用いられる。
If the set value Vd is within the normal range, the CPU 20a ends the setting abnormality check process in step S905.
If the set value Vd is not within the normal range, the CPU 20a proceeds to step S1103 to set the set value error flag (ON state), and in the following step S1104, a setting for indicating that an abnormality has occurred in the set value Vd. A value abnormality command is transmitted to the effect control unit 24, and the setting abnormality check process is completed.
Here, the set value error flag includes step S1308 (setting error determination at the time of winning) of FIG. 25, which will be described later, and step S1501 (setting error determination at the time of jackpot random number determination at the start of fluctuation) in FIG. 27. It is used in step S1701 (determination of setting error when performing fluctuation pattern lottery at the start of fluctuation) in FIG. 30.

ここで、上記の設定値異常コマンドを受け演出制御部24は、設定値Veのデータ異常を報知するための処理を行う。例えば、液晶表示装置36に「RAM異常です。係員を呼んで下さい。」等の表示を含む画像を表示させる処理を行う。
遊技機1において、設定エラー(設定値エラー)は、設定変更操作を行うことで解除可能とされている。
Here, in response to the above-mentioned set value abnormality command, the effect control unit 24 performs a process for notifying the data abnormality of the set value Ve. For example, the liquid crystal display device 36 is subjected to a process of displaying an image including a display such as "RAM is abnormal. Please call a staff member."
In the game machine 1, a setting error (setting value error) can be canceled by performing a setting change operation.

説明を図18に戻す。
CPU20aはステップS905の設定異常チェック処理を終えると、ステップS906でエラー管理処理を実行する。このエラー管理処理では、各種センサ類に係る入力データや払出制御基板29からの状態信号に基づき、エラー発生の有無の監視を行う。
エラーが発生した場合には、CPU20aはエラー処理として、エラーコマンドの送信が必要なエラー種別である場合には当該するコマンドを演出制御部24に送信する。演出制御部24がこのエラーコマンドを受けると、エラー種別に応じたエラー報知を実行する。また、CPU20aは発生中のエラーが解消された場合、エラー解除コマンドを演出制御部24に送信する。演出制御部24がこのエラー解除コマンドを受けると、実行中のエラー報知を終了させる。
The description returns to FIG.
When the CPU 20a finishes the setting abnormality check process in step S905, the CPU 20a executes the error management process in step S906. In this error management process, the presence or absence of an error is monitored based on the input data related to various sensors and the status signal from the payout control board 29.
When an error occurs, the CPU 20a transmits the error command to the effect control unit 24 as an error process if the error type requires the transmission of an error command. When the effect control unit 24 receives this error command, it executes error notification according to the error type. Further, when the error being generated is resolved, the CPU 20a transmits an error canceling command to the effect control unit 24. When the effect control unit 24 receives this error release command, the executing error notification is terminated.

次いで、CPU20aはステップS907で、各変動表示ゲームに係る乱数を定期的に更新するタイマ割込み内乱数管理処理を実行する。ここでは、乱数カウンタのカウント値をランダムなものとするために、特別図柄判定用乱数や補助当り判定用乱数などに対し、乱数の更新(割込み毎に+1加算)と、乱数カウンタが一周するごとに、乱数カウンタのスタート値を変更する処理を行う。なお内部抽選用乱数(大当り判定用乱数)は、乱数生成回路で生成されるので、ここで更新されることはない。 Next, in step S907, the CPU 20a executes a random number management process in the timer interrupt that periodically updates the random numbers related to each variation display game. Here, in order to make the count value of the random number counter random, the random number is updated (+1 is added for each interrupt) for the special symbol judgment random number and the auxiliary hit judgment random number, and each time the random number counter goes around. In addition, the process of changing the start value of the random number counter is performed. Since the internal lottery random number (big hit determination random number) is generated by the random number generation circuit, it is not updated here.

ステップS907に続くステップS908でCPU20aは、賞球管理処理を実行する。この賞球管理処理では、上記の入賞カウンタの確認を行い、入賞がある場合には、賞球数を指定する払出制御コマンドを払出制御基板29に送信する。払出制御基板29は、払出制御コマンドを受信した場合、これに含まれる賞球数情報に基づき遊技球払出装置19を制御し、指定された賞球数分の払い出し動作を実行させる。 In step S908 following step S907, the CPU 20a executes the prize ball management process. In this prize ball management process, the above-mentioned winning counter is confirmed, and if there is a winning, a payout control command for specifying the number of prize balls is transmitted to the payout control board 29. When the payout control board 29 receives the payout control command, the payout control board 29 controls the game ball payout device 19 based on the prize ball number information included in the payout control command, and executes the payout operation for the designated number of prize balls.

次いで、CPU20aはステップS909で、普通図柄管理処理を実行する。この普通図柄管理処理では、普通図柄変動表示ゲームを実行させるために必要な処理を行う。ここでは、普通図柄始動口センサ37aにより遊技球が検出されたか否かを監視し、遊技球が検出された場合には補助当り抽選に必要な所定の遊技情報(補助当り判定用乱数など)を取得し(乱数取得処理)、その遊技情報を保留データ(普通図柄に関する作動保留球)として、最大保留球数を上限まで保留記憶する(保留記憶処理)。そして、普図に関する所定の変動表示開始条件が成立した場合、作動保留球に基づく補助当り抽選を行い、その補助当り抽選結果に基づく普通図柄の変動パターンの選択および普通図柄の停止表示態様(普通停止図柄)を決定する。またここでは、普通図柄を変動表示動作させるために、変動中であれば変動表示用のLED表示用データを作成し、変動中でなければ、停止表示用のLED表示用データを作成する。 Next, the CPU 20a executes the normal symbol management process in step S909. In this normal symbol management process, processing necessary for executing the normal symbol variation display game is performed. Here, whether or not a game ball is detected by the normal symbol start port sensor 37a is monitored, and if the game ball is detected, predetermined game information (random number for determining auxiliary hit, etc.) required for the auxiliary hit lottery is input. Acquire (random number acquisition process), and store the game information as hold data (operation hold ball related to a normal symbol) up to the maximum number of hold balls (hold storage process). Then, when a predetermined variation display start condition for the normal symbol is satisfied, a lottery for the auxiliary hit based on the operation holding ball is performed, the variation pattern of the normal symbol is selected based on the lottery result for the auxiliary hit, and the stop display mode of the normal symbol (normal). Stop symbol) is decided. Further, here, in order to operate the normal symbol in a variable display operation, the LED display data for the variable display is created if it is changing, and the LED display data for the stop display is created if it is not changing.

さらに、CPU20aはステップS910で、普通電動役物管理処理を実行する。この普通電動役物管理処理では、普電開放遊技の実行に必要な処理を行う。具体的には、補助当り抽選の抽選結果が当りの場合に、普通電動役物ソレノイド41cに対するソレノイド制御用データの設定処理を行う。ここで設定されたソレノイド制御用データに基づき、普通電動役物ソレノイド41cに対して励磁信号が出力され、これにより、可動翼片47の開閉動作パターンが制御される。 Further, the CPU 20a executes the normal electric accessory management process in step S910. In this ordinary electric accessory management process, the process necessary for executing the normal electric accessory management process is performed. Specifically, when the lottery result of the auxiliary hit lottery is a win, the solenoid control data setting process for the ordinary electric accessory solenoid 41c is performed. Based on the solenoid control data set here, an excitation signal is output to the ordinary electric accessory solenoid 41c, whereby the opening / closing operation pattern of the movable wing piece 47 is controlled.

次いで、CPU20aはステップS911で、特別図柄管理処理を実行する。この特別図柄管理処理では、主に、特別図柄変動表示ゲームにおける大当り抽選を行い、その抽選結果に基づいて、特別図柄の変動パターン(先読み変動パターン、及び変動開始時の変動パターン)や特別停止図柄の決定等、特別図柄変動表示ゲームに必要な処理が実行される。 Next, the CPU 20a executes a special symbol management process in step S911. In this special symbol management process, a big hit lottery is mainly performed in the special symbol fluctuation display game, and based on the lottery result, the fluctuation pattern of the special symbol (look-ahead fluctuation pattern and the fluctuation pattern at the start of fluctuation) and the special stop symbol are performed. The processing required for the special symbol variation display game, such as the determination of, is executed.

次いで、CPU20aはステップS912で特別電動役物管理処理を実行する。この特別電動役物管理処理では、当り遊技を実行制御するために必要な設定処理を行う。具体的には、大当り抽選結果が大当りであった場合、その当り種別に対応した当り遊技(大当り遊技)を実行制御する。
具体的には、大入賞口ソレノイド52cに対するソレノイド制御用データの設定、ラウンド数のカウント(大当りの場合)、大入賞口50への最大入賞数及び開放時間の監視などを行う。また当り遊技が終了した場合は、当選時の遊技状態と当り種別とに基づく遊技状態の移行設定を行う。
Next, the CPU 20a executes the special electric accessory management process in step S912. In this special electric accessory management process, setting processing necessary for executing and controlling the winning game is performed. Specifically, when the big hit lottery result is a big hit, the hit game (big hit game) corresponding to the hit type is executed and controlled.
Specifically, the solenoid control data is set for the large winning opening solenoid 52c, the number of rounds is counted (in the case of a big hit), the maximum number of winnings to the large winning opening 50 and the opening time are monitored. When the winning game is completed, the transition setting of the game state based on the game state at the time of winning and the winning type is performed.

またここでは、当り遊技の進行状況に応じて、複数の演出制御コマンドを送信する。大当り開始時、ラウンド遊技開始時、ラウンド遊技終了時、最大ラウンド数消化時などにおいて、それぞれ、大当り開始コマンド、ラウンド開始コマンド、ラウンド終了コマンド、大入賞口入賞コマンド、大当り終了コマンドを送信時期の到来に応じて送信する。上記大当り開始コマンドには、今回の当り種別情報が含まれ、演出制御部24側において、当り遊技中に展開される一連の当り演出シナリオを決定する際に利用される。また、大当り終了コマンドには、今回の当り種別とその当り当選時の遊技状態とに関する情報、つまり、当り遊技終了後の遊技状態を特定可能な情報が含まれ、演出制御部24側において、当り遊技後の演出モードを決定する際に利用される。従って、この「大当り終了コマンド」は、当り遊技終了後の遊技状態を特定し得ることから、遊技状態を指定する遊技状態指定コマンドとしての役割を担う。 Further, here, a plurality of effect control commands are transmitted according to the progress of the winning game. At the start of the jackpot, the start of the round game, the end of the round game, the end of the maximum number of rounds, etc., it is time to send the jackpot start command, round start command, round end command, jackpot winning command, and jackpot end command, respectively. Send according to. The jackpot start command includes the hit type information this time, and is used when the effect control unit 24 side determines a series of hit effect scenarios developed during the hit game. In addition, the jackpot end command includes information on the current hit type and the game state at the time of winning the hit, that is, information capable of specifying the game state after the hit game ends, and the effect control unit 24 side hits. It is used when determining the production mode after the game. Therefore, since this "big hit end command" can specify the game state after the end of the hit game, it plays a role as a game state designation command for designating the game state.

上記ステップS912までの遊技進行のための処理を終えると、CPU20aはステップS913で、外部端子管理処理を行う。この外部端子管理処理では、枠用外部集中端子基板21を通して、遊技機1の動作状態情報をホールコンピュータHCや島ランプなどの外部装置に対して出力する。動作状態情報には、例えば、当り遊技発生情報、図柄変動表示ゲーム実行開始情報、入賞数・賞球数情報、エラー情報などの遊技情報がある。 When the process for proceeding with the game up to step S912 is completed, the CPU 20a performs the external terminal management process in step S913. In this external terminal management process, the operating state information of the game machine 1 is output to an external device such as a hall computer HC or an island lamp through the frame external centralized terminal board 21. The operation state information includes, for example, game information such as hit game occurrence information, symbol variation display game execution start information, prize number / prize ball number information, and error information.

次いで、CPU20aはステップS914で、LED管理処理を実行する。このLED管理処理では、普通図柄表示装置39a、特別図柄表示装置38a、38b、設定・性能表示器97などのLED表示器に対する制御信号(ダイナミック点灯データ)の出力制御を行う。普通図柄管理処理(ステップS909)、特別図柄管理処理(ステップS911)などで作成された表示用データに基づく制御信号は、このLED管理処理で対応する表示装置又は表示器に出力され、表示制御が行われる。これにより、特別図柄表示装置38a、38bにおける特別図柄や普通図柄表示装置39aにおける普通図柄の一連の変動表示動作(変動表示および停止表示)等が実現される。 Next, the CPU 20a executes the LED management process in step S914. In this LED management process, the output of control signals (dynamic lighting data) is controlled for LED indicators such as the normal symbol display device 39a, the special symbol display devices 38a and 38b, and the setting / performance indicator 97. The control signal based on the display data created by the normal symbol management process (step S909), the special symbol management process (step S911), etc. is output to the corresponding display device or display in this LED management process, and the display control is performed. Will be done. As a result, a series of variable display operations (variable display and stop display) of the special symbol on the special symbol display devices 38a and 38b and the normal symbol on the normal symbol display device 39a are realized.

ステップS914に続くステップS915でCPU20aは、全レジスタの値を退避させた上で、ステップS916の性能表示モニタ表示処理を行う。すなわち、設定・性能表示器97に前述した通常時比率情報としての値を表示させるための処理である。
先に触れたように本例の場合、通常時比率情報の値は全状態アウト球数が所定規定値に達するごとに演算し直されるものであり、設定・性能表示器97は、現在の通常時比率情報と前回の通常時比率情報(直近の演算し直しタイミングにおいて演算終了とされた通常時比率情報)とを表示可能とされている。このため、この場合のステップS916の表示処理では、設定・性能表示器97にこれら二種の通常時比率情報としての値を表示させる処理を行う。
なお、現在の通常時比率情報の値は、前述したメインループ処理(図11)におけるステップS604の処理で算出される値であり、前回の通常時比率情報の値は、RAM20cの所定領域に保存され、CPU20aは該保存値を読み出して設定・性能表示器97に表示させる。
In step S915 following step S914, the CPU 20a saves the values of all the registers and then performs the performance display monitor display process in step S916. That is, it is a process for displaying the value as the above-mentioned normal time ratio information on the setting / performance display 97.
As mentioned earlier, in the case of this example, the value of the normal time ratio information is recalculated every time the number of out-balls in all states reaches a predetermined specified value, and the setting / performance indicator 97 is the current normal value. It is possible to display the time ratio information and the previous normal time ratio information (normal time ratio information whose calculation is completed at the latest recalculation timing). Therefore, in the display process of step S916 in this case, a process of displaying the values as the normal time ratio information of these two types on the setting / performance indicator 97 is performed.
The current value of the normal time ratio information is a value calculated in the process of step S604 in the above-mentioned main loop process (FIG. 11), and the value of the previous normal time ratio information is stored in a predetermined area of the RAM 20c. Then, the CPU 20a reads out the stored value and displays it on the setting / performance display 97.

次いで、CPU20aはステップS917で全レジスタの値を復帰させ、ステップS918でWDTのカウント値をクリアし、主制御側タイマ割込み処理を終える。 Next, the CPU 20a restores the values of all the registers in step S917, clears the WDT count value in step S918, and ends the main control side timer interrupt process.

以上のタイマ割込み処理が終了すると、CPU20aは次のタイマ割込みが発生するまでの間、メインループ処理(S123)を実行する。
When the above timer interrupt processing is completed, the CPU 20a executes the main loop processing (S123) until the next timer interrupt is generated.

<5.領域内処理と領域外処理との間の処理移行について>
[5-1.使用領域、使用外領域について]

図21は、主制御部20におけるメモリに設定された領域(メモリ領域)についての説明図である。具体的には、ROM20b及びRAM20cとしての、CPU20aがアクセス可能なメモリに設定された領域についての説明図である。
<5. About processing transition between intra-area processing and out-of-area processing>
[5-1. About used area and non-used area]

FIG. 21 is an explanatory diagram of an area (memory area) set in the memory in the main control unit 20. Specifically, it is explanatory drawing about the area set in the memory accessible by CPU 20a as ROM 20b and RAM 20c.

CPU20aがアクセス可能なメモリには、第1のメモリ領域(図中の斜線部)と第2のメモリ領域(図中の梨地部)が設定されている。第1のメモリ領域は、CPU80aが遊技動作(ゲーム)の進行にあたって用いる所定のプログラム及びデータを配置するための領域として定められたものである。第2のメモリ領域は、第1のメモリ領域外に配置することが許可されたプログラム及びデータを配置するための領域として定められている。
本例において、第2のメモリ領域への配置が許可されているのは、前述した性能情報の管理や表示に係るプログラム及びデータとされている。具体的には、図9に示したメインループ処理(S120)における性能表示モニタ集計除算処理(S304)に係るプログラム及びデータや、図18に示した主制御側タイマ割込み処理における性能表示モニタ表示処理(S916)に係るプログラム及びデータ等である。
A first memory area (hatched portion in the figure) and a second memory area (pear-skinned portion in the figure) are set in the memory accessible by the CPU 20a. The first memory area is defined as an area for arranging a predetermined program and data used by the CPU 80a in the progress of the game operation (game). The second memory area is defined as an area for arranging programs and data permitted to be arranged outside the first memory area.
In this example, the programs and data related to the management and display of the performance information described above are permitted to be allocated to the second memory area. Specifically, the program and data related to the performance display monitor aggregation division processing (S304) in the main loop processing (S120) shown in FIG. 9 and the performance display monitor display processing in the main control side timer interrupt processing shown in FIG. The program and data related to (S916).

ここで、第1のメモリ領域は、遊技進行処理で使用可能とされた領域という意味で「使用領域」と呼ばれる。一方、第2のメモリ領域は、遊技進行処理以外の特定処理で使用可能とされた領域という意味で「使用領域外」の領域と呼ばれる。
なお以下、第2のメモリ領域としての「使用領域外」の領域については、「使用外領域」と表記することもある。また、以下の説明において、「領域内」「領域外」といったときは、特に断りがなければ、それぞれ「使用領域内」、「使用領域外」を意味するものとする。
Here, the first memory area is called a "used area" in the sense that it is an area that can be used in the game progress process. On the other hand, the second memory area is called an area "outside the used area" in the sense that it is an area that can be used in a specific process other than the game progress process.
Hereinafter, the area "outside the used area" as the second memory area may be referred to as "outside area". Further, in the following description, the terms "inside the area" and "outside the area" mean "inside the used area" and "outside the used area", respectively, unless otherwise specified.

図示のように、第1のメモリ領域、第2のメモリ領域のそれぞれには、プログラムを格納する制御領域、プログラムにより使用するデータを格納するデータ領域、及びプログラムによる処理の過程で生成される各種のフラグやタイマ値等を書き替え可能に格納するR/W領域(Read/Write領域)が設定されている。制御領域及びデータ領域はROM20b内の領域に相当し、R/W領域はRAM20c内の領域に相当する。 As shown in the figure, each of the first memory area and the second memory area includes a control area for storing a program, a data area for storing data used by the program, and various types generated in the process of processing by the program. The R / W area (Read / Write area) for rewritably storing the flag and timer value of is set. The control area and the data area correspond to the area in the ROM 20b, and the R / W area corresponds to the area in the RAM 20c.

図22は、第1のメモリ領域と第2のメモリ領域とについて定められた規制について説明図である。
第1、第2のメモリ領域のそれぞれにおいて、制御領域におけるプログラムは、自身の領域内におけるR/W領域のデータを参照及び更新(記録)することが許可されている。一方、第1、第2のメモリ領域のそれぞれにおいて、制御領域におけるプログラムは、他方のメモリ領域におけるR/W領域のデータについて参照のみが許可され、更新については不許可とされている。例えば、第2のメモリ領域のプログラムが第2のメモリ領域内のR/W領域に記録したフラグについては、第1のメモリ領域内のプログラムは参照のみが可能とされて更新を行うことはできない。
なお、図示は省略したが、データ領域におけるデータについては、同一メモリ領域内のプログラムのみが参照を許可されている。すなわち、第1のメモリ領域内のプログラムが第2のメモリ領域内のデータ領域のデータを参照したり、第2のメモリ領域内のプログラムが第1のメモリ領域内のデータ領域のデータを参照するといったことは許可されていない。
FIG. 22 is an explanatory diagram of regulations defined for the first memory area and the second memory area.
In each of the first and second memory areas, the program in the control area is permitted to refer to and update (record) the data in the R / W area in its own area. On the other hand, in each of the first and second memory areas, the program in the control area is permitted only to refer to the data in the R / W area in the other memory area, and is not permitted to update. For example, regarding the flag recorded in the R / W area in the second memory area by the program in the second memory area, the program in the first memory area can only refer to it and cannot update it. ..
Although not shown, only programs in the same memory area are allowed to refer to the data in the data area. That is, the program in the first memory area refers to the data in the data area in the second memory area, and the program in the second memory area refers to the data in the data area in the first memory area. Is not allowed.

[5-2.先行例における処理移行手法]

ここで、CPU20aが図5から図20を参照して説明した処理を実行する過程においては、領域内プログラムの処理を実行中に、領域外プログラムの処理が呼び出され(CALLされ)、領域外プログラムの処理の完了に応じて領域内プログラムの処理に復帰するという処理過程が存在する。すなわち、領域内と領域外との間の処理移行が存在する。このような処理移行の具体例としては、図9に示したメインループ処理(S120)において、ステップS302の乱数更新処理(領域内プログラムの処理)を経て、ステップS304の性能表示モニタ集計除算処理(領域外プログラムの処理)を実行した後、再びステップS302の乱数更新処理に遷移する処理過程等を挙げることができる。
[5-2. Processing migration method in the preceding example]

Here, in the process in which the CPU 20a executes the processes described with reference to FIGS. 5 to 20, the processing of the out-of-area program is called (CALLed) while the processing of the in-area program is being executed, and the out-of-area program is executed. There is a processing process of returning to the processing of the program in the area according to the completion of the processing of. That is, there is a processing transition between within and outside the region. As a specific example of such a process transition, in the main loop process (S120) shown in FIG. 9, the random number update process (process of the program in the region) in step S302 is performed, and then the performance display monitor aggregation division process (process in step S304) is performed. After executing the processing of the program outside the region), the processing process of transitioning to the random number update processing of step S302 again can be mentioned.

ここでは先ず、上記のような領域内と領域外との間の処理移行の手法に関して、先行例としての手法を説明する。
図23は、先行例におけるCPU20aのレジスタ構成を示した図である。
図示のように先行例におけるCPU20aは、PC(プログラムカウンタ)レジスタ100、I(インタラプト)レジスタ101、及びR(リフレッシュ)レジスタ102を備えると共に、それぞれが複数のレジスタで成る表レジスタ103、裏レジスタ104を備えている。
表レジスタ103は、Qレジスタ105、A(アキュムレータ)レジスタ106、F(フラグ)レジスタ107、Bレジスタ108、Cレジスタ109、Dレジスタ110、Eレジスタ111、Hレジスタ112、Lレジスタ113、IXレジスタ114、IYレジスタ115、及びSP(スタックポインタ)レジスタ116を有する。
裏レジスタ104は、Q’レジスタ105’、A’レジスタ106’、F’レジスタ107’、B’レジスタ108’、C’レジスタ109’、D’レジスタ110’、E’レジスタ111’、H’レジスタ112’、L’レジスタ113’、IX’レジスタ114’、及びIY’レジスタ115’を有する。
これら各種のレジスタのうち、少なくともBレジスタ108からLレジスタ113や、B’レジスタ108’からL’レジスタ113’は汎用レジスタとされる。
Here, first, a method as a prior example will be described with respect to the method of processing transition between the inside and outside of the area as described above.
FIG. 23 is a diagram showing a register configuration of the CPU 20a in the preceding example.
As shown in the figure, the CPU 20a in the preceding example includes a PC (program counter) register 100, an I (interrupt) register 101, and an R (refresh) register 102, and a front register 103 and a back register 104, each of which is composed of a plurality of registers. It has.
The table register 103 includes a Q register 105, an A (accumulator) register 106, an F (flag) register 107, a B register 108, a C register 109, a D register 110, an E register 111, an H register 112, an L register 113, and an IX register 114. , IY register 115, and SP (stack pointer) register 116.
The back register 104 includes a Q'register 105', an A'register 106', an F'register 107', a B'register 108', a C'register 109', a D'register 110', an E'register 111', and an H'register. It has 112', L'register 113', IX'register 114', and IY'register 115'.
Of these various registers, at least B register 108 to L register 113 and B'register 108'to L'register 113'are general-purpose registers.

図24及び図25を参照し、領域内と領域外との間の処理移行に係るプログラムの例を説明する。
図24は、主制御側メイン処理(図5)における主にステップS120のメインループ処理(特に割込み待ちの部分:図9参照)に対応した部分のプログラムを例示しており、図25は、領域外プログラムとしての、性能表示モニタ集計除算処理(S304)に係るプログラムを例示している。
With reference to FIGS. 24 and 25, an example of a program related to processing transition between the inside and outside of the area will be described.
FIG. 24 exemplifies a program of a portion mainly corresponding to the main loop processing (particularly interrupt waiting portion: see FIG. 9) in step S120 in the main control side main processing (FIG. 5), and FIG. 25 shows an area. An example of a program related to the performance display monitor aggregation division processing (S304) as an external program.

確認のため、プログラムで用いられる各種命令のうち主要な命令について説明しておく。ここでの命令とは、アセンブリ言語におけるニーモニックによる命令を指す。
「DI」は、割込み禁止の命令であり、「EI」は割込み許可の命令である。
「PUSH」は、メモリ(RAM20c)のスタック領域へ指定したレジスタの値を積み上げる(退避させる)命令であり、「POP」はスタック領域の値を指定したレジスタに取り出す(書き込む)命令である。
「LD」はロード命令であり、「LD」の記述後における左辺で指定される場所に対し右辺で指定される場所の値を書き込む命令となる。例えば、「LD R,n」(ただし、Rはレジスタを指定する値、nはメモリ上のアドレスを指定する値を意味する)の記述は、Rで指定されるレジスタに対し、nで指定されるメモリ上のアドレスの値を書き込む命令となる。また、「LD n,R」の記述は、nで指定されるメモリ上のアドレスに対し、Rで指定されるレジスタの値を書き込む命令となる。
「CALL」は、プログラムの呼び出し命令であり、「RET」は、呼び出し元に処理を戻す命令である。
For confirmation, the main instructions among the various instructions used in the program will be explained. The instruction here refers to a mnemonic instruction in assembly language.
"DI" is an interrupt-disabled instruction, and "EI" is an interrupt-enabled instruction.
"PUSH" is an instruction to stack (save) the value of the specified register in the stack area of the memory (RAM 20c), and "POP" is an instruction to retrieve (write) the value of the stack area to the specified register.
"LD" is a load instruction, and is an instruction to write the value of the place specified on the right side with respect to the place specified on the left side after the description of "LD". For example, the description of "LD R, n" (where R means a value that specifies a register and n means a value that specifies an address in memory) is specified by n for the register specified by R. It is an instruction to write the value of the address in the memory. The description of "LD n, R" is an instruction to write the value of the register specified by R to the address on the memory specified by n.
"CALL" is an instruction to call a program, and "RET" is an instruction to return processing to the caller.

図24の下部(図中「ZANYO_1」)には、メインループ処理(S120)における割込み待ち処理のプログラムが示されている。図9を参照して分かるように、メインループ処理では、この割込み待ちの間に乱数更新処理(ステップS302)と性能表示モニタ集計除算処理が実行される。
先ず、割込み待ち処理では、DI命令により割込み禁止状態とする。ここで割込み禁止とするのは、次命令で実行される乱数更新処理の間に割込み処理が実行されてしまうことの防止を図るためである。また、後述する領域外プログラムの実行中に割込み処理が実行されてしまうことの防止を図る意味もある。領域外プログラムが実行されているときに、領域内プログラムとしての割込み処理のプログラムが実行されると、割込み処理のプログラムは、使用領域内のワークメモリにアクセスし、メモリを更新してしまう。すなわち、領域外プログラムの実行中に、領域内が更新されてしまうこととなるため、割込み処理を禁止するものである。
A program for interrupt wait processing in the main loop processing (S120) is shown in the lower part of FIG. 24 (“ZANYO_1” in the figure). As can be seen with reference to FIG. 9, in the main loop processing, the random number update processing (step S302) and the performance display monitor aggregation division processing are executed while waiting for the interrupt.
First, in the interrupt waiting process, the interrupt is disabled by the DI instruction. The reason for disabling interrupts here is to prevent interrupt processing from being executed during the random number update processing executed by the next instruction. It also has a meaning to prevent interrupt processing from being executed during execution of a program outside the region, which will be described later. If the interrupt processing program as the in-area program is executed while the out-of-area program is being executed, the interrupt processing program accesses the work memory in the used area and updates the memory. That is, interrupt processing is prohibited because the inside of the area is updated during the execution of the program outside the area.

次いで、「CALL M_RNDJOB」の命令により、各種乱数の更新処理が呼び出され、実行される。 Next, the command "CALL M_RNDJOB" calls and executes various random number update processes.

「CALL M_RNDJOB」の命令に次ぐ「PUSH AF」の命令により、Aレジスタ106、Fレジスタ107の値をメモリに退避させる。該命令を実行するのは、以降で説明する領域外プログラムにおいて「LD SP,n」を実行するとFレジスタ107の内容が変化するため、Fレジスタ107の内容を退避する必要があるためである。 The values of the A register 106 and the F register 107 are saved in the memory by the instruction of "PUSH AF" following the instruction of "CALL M_RNDJOB". The reason for executing the instruction is that it is necessary to save the contents of the F register 107 because the contents of the F register 107 change when "LD SP, n" is executed in the out-of-area program described later.

上記の「PUSH AF」に次ぐ「CALL _SHKSHM」の命令により、領域外の性能表示モニタ集計除算処理が呼び出される。 The "CALL _SHKSHM" command following the above "PUSH AF" calls the performance display monitor aggregation division processing outside the area.

図25に示すように、性能表示モニタ集計除算処理では、先ず、「LD SP,_ESTPNT」の命令により使用領域外のアドレスを指定するスタックポインタを設定する。そして、図中の「LD (_RBCBUF),BC」「LD (_RDEBUF),DE」「LD (_RHLBUF),HL」の命令により、Bレジスタ108からLレジスタ113の全レジスタ退避の処理を行う。
「LD (_RHLBUF),HL」後の各種命令により、性能情報としての値を演算するための処理が行われる。
As shown in FIG. 25, in the performance display monitor aggregation division processing, first, a stack pointer that specifies an address outside the used area is set by the instruction of "LD SP, _ESTPNT". Then, all the registers of the B register 108 to the L register 113 are saved by the instructions of "LD (_RBCBUF), BC", "LD (_RDEBUF), DE", and "LD (_RHLBUF), HL" in the figure.
Various instructions after "LD (_RHLBUF), HL" perform processing to calculate the value as performance information.

図中、最終行の2行前から4行前までの「LD BC,(_RBCBUF)」「LD DE,(_RDEBUF)」「LD HL,(_RHLBUF)」の各命令により、全レジスタ復帰の処理が行われ、最終行の1行前の「LD SP,_ISTPNT2」の命令によりスタックポインタが復帰される。そして、最終行の「RET」命令により、呼び出し元に処理が戻される。すなわち、領域内プログラムの処理に復帰する。 In the figure, the processing of returning all registers is performed by each instruction of "LD BC, (_RBCBUF)", "LD DE, (_RDEBUF)", and "LD HL, (_RHLBUF)" from the 2nd line to the 4th line before the last line. This is done, and the stack pointer is returned by the instruction "LD SP, _ISTPNT2" one line before the last line. Then, the processing is returned to the caller by the "RET" instruction on the last line. That is, it returns to the processing of the program in the area.

上記の「RET」命令に応じて、図24の「CALL _SHKSHM」後の命令「POP AF」が実行される。この「POP AF」により、Aレジスタ106、Fレジスタ107の値が復帰される。
次いで、「EI」により割込み処理を許可状態とし、「JR ZANYO_1」により「ZANYO_1」の先頭に処理が戻り、割込み待ち処理としてのループ処理が実現される。
In response to the above "RET" instruction, the instruction "POP AF" after "CALL _SHKSHM" in FIG. 24 is executed. By this "POP AF", the values of the A register 106 and the F register 107 are restored.
Next, "EI" enables interrupt processing, and "JR ZANYO_1" returns the processing to the beginning of "ZANYO_1", and loop processing as interrupt waiting processing is realized.

ここで、先行例においては、SP(スタックポインタ)レジスタ116が一つとされているため、領域内プログラムと領域外プログラムとでSPポインタ116を共用するものとされている。このため、領域内と領域外との間の処理移行の際に、「PUSH AF」や「POP AF」の処理を行うことが必要とされる。すなわち、領域内プログラムにおいて、領域外プログラムをCALLする際には、これら「PUSH AF」や「POP AF」の命令を必ず記述することを要する。
前述のように、使用領域は、遊技動作の進行に係るプログラムを配置する領域とされるが、近年、遊技動作の複雑化等に伴い、使用領域のプログラム容量やデータ容量は増加傾向にあり、使用領域が圧迫される傾向にある。このため、使用領域におけるプログラム容量の削減を図ることが要請されている。
Here, in the preceding example, since the SP (stack pointer) register 116 is one, the SP pointer 116 is shared by the in-domain program and the out-of-domain program. Therefore, it is necessary to perform "PUSH AF" and "POP AF" processing when transferring processing between the inside and outside of the area. That is, in the in-area program, when the out-of-area program is CALLed, it is necessary to always describe these "PUSH AF" and "POP AF" instructions.
As described above, the used area is defined as the area where the program related to the progress of the game operation is arranged. However, in recent years, the program capacity and the data capacity of the used area have been increasing due to the complexity of the game operation and the like. The area of use tends to be squeezed. Therefore, it is required to reduce the program capacity in the used area.

[5-3.実施形態としての処理移行手法]

図26は、実施形態におけるCPU20aのレジスタ構成を示した図である。
図示のように実施形態のCPU20aは、PCレジスタ100、Iレジスタ101、及びRレジスタ102を備えると共に、第一レジスタバンク121、第二レジスタバンク122、及びIFF(割込み制御フラグ)レジスタ125を備えている。
ここで、レジスタバンクは、汎用レジスタを含む複数のレジスタで成るレジスタ群である。第一レジスタバンク121、第二レジスタバンク122はそれぞれメインレジスタ123とサブレジスタ124とを有しており、メインレジスタ123は、図23に示した表レジスタ103に対応するものであり、Qレジスタ105、Aレジスタ106、Fレジスタ107、Bレジスタ108、Cレジスタ109、Dレジスタ110、Eレジスタ111、Hレジスタ112、Lレジスタ113、IXレジスタ114、IYレジスタ115、及びSPレジスタ116を有している。
サブレジスタ124は、図23に示した裏レジスタ104に対応するものであり、Q’レジスタ105’、A’レジスタ106’、F’レジスタ107’、B’レジスタ108’、C’レジスタ109’、D’レジスタ110’、E’レジスタ111’、H’レジスタ112’、L’レジスタ113’、IX’レジスタ114’、及びIY’レジスタ115’を有している。
なお、メインレジスタ123はUレジスタ130を有しているが、このUレジスタ130については後に改めて説明する。
[5-3. Processing migration method as an embodiment]

FIG. 26 is a diagram showing a register configuration of the CPU 20a in the embodiment.
As shown in the figure, the CPU 20a of the embodiment includes a PC register 100, an I register 101, and an R register 102, as well as a first register bank 121, a second register bank 122, and an IFF (interrupt control flag) register 125. There is.
Here, the register bank is a register group including a plurality of registers including a general-purpose register. The first register bank 121 and the second register bank 122 each have a main register 123 and a sub register 124, and the main register 123 corresponds to the table register 103 shown in FIG. 23, and the Q register 105. , A register 106, F register 107, B register 108, C register 109, D register 110, E register 111, H register 112, L register 113, IX register 114, IY register 115, and SP register 116. ..
The sub-register 124 corresponds to the back register 104 shown in FIG. 23, and has Q'register 105', A'register 106', F'register 107', B'register 108', C'register 109', It has a D'register 110', an E'register 111', an H'register 112', an L'register 113', an IX'register 114', and an IY'register 115'.
The main register 123 has a U register 130, and the U register 130 will be described later.

IFFレジスタ125は、割込み制御フラグIFFを格納するためのレジスタである。割込み制御フラグIFFは、割込み処理の許可/禁止の状態、すなわち割込み制御状態を管理するためのフラグである。本例では、割込み制御フラグIFFとしては「IFF1」と「IFF2」の2種が扱われる。これに対応し、IFFレジスタ125には割込み制御フラグIFF1、IFF2を個別に格納することが可能とされている。
ここで、割込み制御フラグIFF1、IFF2のうち、割込み制御状態の参照値として用いられるのはIFF1側のみであり、IFF2はIFF1の値を管理するために補助的に用いられる。
The IFF register 125 is a register for storing the interrupt control flag IFF. The interrupt control flag IFF is a flag for managing the enable / disable state of interrupt processing, that is, the interrupt control state. In this example, two types of interrupt control flags IFF are handled, "IFF1" and "IFF2". Corresponding to this, the interrupt control flags IFF1 and IFF2 can be individually stored in the IFF register 125.
Here, among the interrupt control flags IFF1 and IFF2, only the IFF1 side is used as the reference value of the interrupt control state, and IFF2 is auxiliary used to manage the value of IFF1.

本実施形態では、図26に示すように第一レジスタバンク121と第二レジスタバンク122とを設けた上で、第一レジスタバンク121を領域内プログラムにより使用し、第二レジスタバンク122を領域外プログラムにより使用する。すなわち、領域内プログラムの処理から領域外プログラムの処理に移行する際には、使用するレジスタバンクを第一レジスタバンク121から第二レジスタバンク122に切り替える。逆に、領域外プログラムの処理から領域内プログラムの処理に移行する際には、使用するレジスタバンクを第二レジスタバンク122から第一レジスタバンク121に切り替える。 In the present embodiment, as shown in FIG. 26, the first register bank 121 and the second register bank 122 are provided, the first register bank 121 is used by the in-region program, and the second register bank 122 is out of the region. Used by the program. That is, when shifting from the processing of the in-region program to the processing of the out-of-region program, the register bank to be used is switched from the first register bank 121 to the second register bank 122. On the contrary, when shifting from the processing of the program outside the region to the processing of the program inside the region, the register bank to be used is switched from the second register bank 122 to the first register bank 121.

上記のように第一レジスタバンク121と第二レジスタバンク122とを設け、第一レジスタバンク121を領域内用、第二レジスタバンク122を領域外用として用いるようにしたことで、領域内プログラムと領域外プログラムとでそれぞれ専用のSPレジスタ116を使用することができるようになり、「PUSH AF」や「POP AF」を実行する必要がなくなる。従って、領域内プログラムについて、プログラム容量の削減を図ることができる。 As described above, the first register bank 121 and the second register bank 122 are provided, and the first register bank 121 is used for the inside of the area and the second register bank 122 is used for the outside of the area. It becomes possible to use the dedicated SP register 116 with the external program, and it is not necessary to execute "PUSH AF" or "POP AF". Therefore, it is possible to reduce the program capacity of the program in the area.

また、本実施形態では、「CALL」「RET」に代替可能な命令として、「CALLEX」「RETEX」を採用する。
「CALLEX」は、領域内プログラムから領域外プログラムを呼び出す命令であり、具体的には、割込み処理の禁止命令(DI)、使用するレジスタバンクを切り替える(第一レジスタバンク121から第二レジスタバンク122への切り替え)命令、及び指定された領域外プログラムのCALL命令の各命令を単一命令として集約したものである。
「RETEX」は、領域外プログラムから領域内プログラムに復帰するための命令であり、具体的には、使用するレジスタバンクを切り替える(第二レジスタバンク122から第一レジスタバンク121への切り替え)命令、割込み制御状態(許可/禁止)をCALLEX命令の実行直前の状態に戻すための処理の実行命令、及び呼び出し元に処理を戻すRET命令の各命令を単一命令として集約したものである。
Further, in the present embodiment, "CALLEX" and "RETEX" are adopted as instructions that can be substituted for "CALL" and "RET".
"CALLEX" is an instruction to call an out-of-area program from an in-area program. Specifically, an interrupt processing prohibition instruction (DI) and a register bank to be used are switched (first register bank 121 to second register bank 122). (Switch to) instruction and each instruction of the specified out-of-area program CALL instruction are aggregated as a single instruction.
"RETEX" is an instruction for returning from an out-of-area program to an in-area program. Specifically, an instruction for switching the register bank to be used (switching from the second register bank 122 to the first register bank 121), It is a collection of each instruction of the process execution instruction to return the interrupt control state (permission / prohibition) to the state immediately before the execution of the CALLEX instruction and the RET instruction to return the processing to the caller as a single instruction.

ここで、上記のように「CALLEX」によって割込み禁止の状態とし、「RETEX」により割込み制御状態をCALLEX命令の実行直前の状態に戻すことを可能とするために、「CALLEX」「RETEX」や「DI」「EI」の実行時において、それぞれ次のように割込み制御フラグIFFの更新を行うことが定められている。
図27は、割込み制御フラグIFFの更新ルールについての説明図である。
図示のように「DI」命令の実行時には、割込み制御フラグIFF1及びIFF2の双方に割込み禁止を表す「0」(禁止値)をセットする。一方、「EI」命令の実行時には、割込み制御フラグIFF1及びIFF2の双方に割込み許可を表す「1」(許可値)をセットする。
また、「CALLEX」命令の実行時には、割込み制御フラグIFF1に禁止値である「0」をセットし、割込み制御フラグIFF2については値を維持させる(つまり変化させない)。さらに、「RETEX」命令の実行時には、割込み制御フラグIFF1に対し割込み制御フラグIFF2の値を代入する。このとき、割込み制御フラグIFF2については値を維持させる。
Here, in order to enable the interrupt disabled state by "CALLEX" as described above and the interrupt control state to be returned to the state immediately before the execution of the CALLEX instruction by "RETEX", "CALLEX", "RETEX" and "RETEX" It is stipulated that the interrupt control flag IFF is updated as follows when "DI" and "EI" are executed.
FIG. 27 is an explanatory diagram of an update rule for the interrupt control flag IFF.
As shown in the figure, when the "DI" instruction is executed, both the interrupt control flags IFF1 and IFF2 are set to "0" (prohibited value) indicating interrupt prohibition. On the other hand, when the "EI" instruction is executed, both the interrupt control flags IFF1 and IFF2 are set to "1" (permission value) indicating interrupt permission.
Further, when the "CALLEX" instruction is executed, the interrupt control flag IFF1 is set to the prohibited value "0", and the value of the interrupt control flag IFF2 is maintained (that is, not changed). Further, when the "RETEX" instruction is executed, the value of the interrupt control flag IFF2 is assigned to the interrupt control flag IFF1. At this time, the value of the interrupt control flag IFF2 is maintained.

上記のようなルールにより割込み制御フラグIFFが更新されることで、「CALLEX」命令の実行によって割込み禁止の状態が実現され、また、「RETEX」命令の実行により割込み制御状態がCALLEX命令の実行直前の状態に戻されることになる。 By updating the interrupt control flag IFF according to the above rules, the interrupt disabled state is realized by executing the "CALLEX" instruction, and the interrupt control state is immediately before the execution of the CALLEX instruction by executing the "RETEX" instruction. Will be returned to the state of.

図24及び図25で例示した領域内と領域外との間の処理移行に係るプログラムに対し、「CALLEX」「RETEX」を適用した実施形態としてのプログラムを図28及び図29に例示する。
なお、図28、図29では、それぞれ図24、図25に示した各種命令のうち実施形態としての手法の適用により省略される命令をグレーアウトさせて示している。
28 and 29 exemplify a program as an embodiment in which "CALLEX" and "RETEX" are applied to the program related to the process transition between the inside and outside of the region illustrated in FIGS. 24 and 25.
In addition, in FIGS. 28 and 29, among the various instructions shown in FIGS. 24 and 25, the instructions omitted due to the application of the method as the embodiment are grayed out.

前述のように、第一レジスタバンク121と第二レジスタバンク122を設けたことで、領域内プログラムにおいて、領域外プログラムの呼び出し時に必要とされていた「PUSH AF」、及び領域外プログラムからの復帰時に必要とされていた「POP AF」が不要となる。
これにより、領域内プログラムについて、プログラム容量の削減を図ることができる。
As described above, by providing the first register bank 121 and the second register bank 122, the “PUSH AF” required when calling the out-of-area program in the in-region program and the return from the out-of-region program are provided. The "POP AF" that was sometimes needed is no longer necessary.
As a result, it is possible to reduce the program capacity of the program in the area.

ここで、「CALLEX」は「DI」命令を含むため、場合によっては「DI」命令の削減効果(プログラム容量の削減効果)が得られることもある。図24の例では、領域外プログラムの呼び出し前に乱数更新処理が行われるプログラム構成であるため、乱数更新処理の前に「DI」命令が実行されて、割込み禁止状態のまま領域外プログラムの呼び出しが行われる。このようなケースは、そもそも領域外プログラムの呼び出しのために「DI」命令を実行することが不要なケースであるため、「CALLEX」の適用による「DI」命令の削減効果は得られない。しかしながら、割込み許可状態において、領域外プログラムを呼び出すプログラム構成が採られる場合もあり得る。そのようなケースでは、「CALL」による領域外プログラムの呼び出し前に「DI」命令が実行されることになるため、「CALLEX」の適用により、該「DI」命令を削減することができ、プログラム容量の削減効果を得ることができる。 Here, since "CALLEX" includes the "DI" instruction, the reduction effect of the "DI" instruction (the effect of reducing the program capacity) may be obtained in some cases. In the example of FIG. 24, since the random number update process is performed before calling the out-of-area program, the “DI” instruction is executed before the random number update process, and the out-of-area program is called while the interrupt is disabled. Is done. In such a case, it is not necessary to execute the "DI" instruction in order to call the program outside the region. Therefore, the effect of reducing the "DI" instruction by applying "CALLEX" cannot be obtained. However, a program configuration that calls an out-of-area program may be adopted in the interrupt enabled state. In such a case, since the "DI" instruction is executed before the "CALL" calls the out-of-area program, the application of "CALLEX" can reduce the "DI" instruction, and the program can be reduced. The capacity reduction effect can be obtained.

なお、実施形態では、領域外用の第二レジスタバンク122を設けたことで、領域内プログラムから領域外プログラムへの移行の際に、レジスタの値の退避や復帰を行う必要がなくなる。このため、領域外プログラム(図29)においては、レジスタの値を退避させるための「LD (_RBCBUF),BC」「LD (_RDEBUF),DE」「LD (_RHLBUF),HL」の各命令や、退避させた値を復帰させるための「LD BC,(_RBCBUF)」「LD DE,(_RDEBUF)」「LD HL,(_RHLBUF)」の各命令、及び領域内のスタックポインタの値を復帰させるための「LD SP,_ISTPNT2」の命令を記述する必要がなくなる。 In the embodiment, the provision of the second register bank 122 for outside the region eliminates the need to save or restore the register value when the program in the region shifts to the program outside the region. Therefore, in the out-of-area program (Fig. 29), each instruction of "LD (_RBCBUF), BC", "LD (_RDEBUF), DE", "LD (_RHLBUF), HL" for saving the register value, and Each instruction of "LD BC, (_RBCBUF)" "LD DE, (_RDEBUF)" "LD HL, (_RHLBUF)" to restore the saved value, and to restore the value of the stack pointer in the area. There is no need to write the instruction of "LD SP, _ISTPNT2".

ここで、図28に例示したプログラムを参照して理解されるように、本実施形態では、領域内プログラムにおいて、「DI」命令を実行した後、「EI」命令を実行するよりも前に、「CALLEX」命令を実行している。これは、「EI」命令を「第一命令」、「DI」命令を「第二命令」、「CALLEX」命令を「第三命令」とすると、第二命令を実行した後、第一命令を実行するよりも前に、第三命令を実行していると換言できる。 Here, as will be understood with reference to the program illustrated in FIG. 28, in the present embodiment, after executing the "DI" instruction in the intra-regional program, before executing the "EI" instruction, The "CALLEX" command is being executed. This means that if the "EI" instruction is the "first instruction", the "DI" instruction is the "second instruction", and the "CALLEX" instruction is the "third instruction", the first instruction is executed after the second instruction is executed. In other words, the third instruction is executed before it is executed.

領域外プログラムを実行するときは、割込み禁止状態とすることを要する。この前提に立てば、CALLEX(第三命令)実行前にEI(第一命令)を実行してしまうと、割込み禁止状態と割込み許可状態が頻繁に切り替わってしまうことになる。
具体的に、CALLEX前にEIを行う場合には、ループ処理内の最初のDIで割込み禁止状態→乱数更新処理実行→EIで割込み許可状態→CALLEXで割込み禁止状態→RETEXで割込み許可状態となる。すなわち、メインループ処理内での切り替え回数=3回となる。一方、CALLEX後にEIを行う実施形態の場合は、最初のDIから領域外プログラム実行→領域内プログラムに復帰までの間、継続して割込み禁止状態が維持され、その後、EIにより割込み許可状態に切り替わる。すなわち、メインループ処理内での切り替え回数=1である。
従って、CALLEX前にEIを行う場合には、制御状態が頻繁に切り替わり、制御の安定性が損なわれることになるが、CALLEX後にEIを行う実施形態によれば、制御状態の切り替わり回数を抑えることができ、制御の安定性向上を図ることができる。
When executing a program outside the area, it is necessary to put it in the interrupt disabled state. Based on this premise, if the EI (first instruction) is executed before the CALLEX (third instruction) is executed, the interrupt disabled state and the interrupt enabled state are frequently switched.
Specifically, when performing EI before CALLEX, the first DI in the loop processing is in the interrupt disabled state → random number update processing is executed → EI is in the interrupt enabled state → CALLEX is in the interrupt disabled state → RETEX is in the interrupt enabled state. .. That is, the number of switchings in the main loop processing = 3 times. On the other hand, in the case of the embodiment in which EI is performed after CALLEX, the interrupt disabled state is continuously maintained from the first DI to the execution of the out-of-area program → the return to the in-area program, and then the EI switches to the interrupt enabled state. .. That is, the number of switchings in the main loop processing = 1.
Therefore, when EI is performed before CALLEX, the control state is frequently switched and the stability of control is impaired. However, according to the embodiment in which EI is performed after CALLEX, the number of times the control state is switched is suppressed. It is possible to improve the stability of control.

また、上記した実施形態としての移行手法によると、PUSH、POPの処理が不要となるため、処理速度の向上を図ることができる。 Further, according to the migration method as the above-described embodiment, the processing of PUSH and POP becomes unnecessary, so that the processing speed can be improved.

図30、図31は、図18に示した主制御側タイマ割込み処理における領域外プログラムの呼び出しについてCALLEX、RETEXを適用した場合のプログラムを例示しており、図30は主制御側タイマ割込み処理のプログラム(領域内プログラム)を例示し、図31はステップS916の性能表示モニタ表示処理に対応したプログラム(領域外プログラム)を例示している。
なお、図30では図示の都合から、ステップS918のWDTクリア処理に対応した命令の図示は省略している。また、これら図30、図31を始めとして、以下で例示する図63までの各図においては、先の図28及び図29と同様、CALLEX、RETEXの適用により省略される命令をグレーアウトさせて示している。
30 and 31 exemplify a program in which CALLEX and RETEX are applied to the call of the program outside the region in the main control side timer interrupt processing shown in FIG. 18, and FIG. 30 shows the main control side timer interrupt processing. An example of a program (in-area program) is illustrated, and FIG. 31 illustrates a program (out-of-area program) corresponding to the performance display monitor display process in step S916.
In FIG. 30, for convenience of illustration, the instruction corresponding to the WDT clear process in step S918 is not shown. Further, in each of the drawings up to FIG. 63 illustrated below, including those in FIGS. 30 and 31, the instructions omitted due to the application of CALLEX and RETEX are grayed out and shown as in FIGS. 28 and 29 above. ing.

図30において、領域外プログラムである性能表示モニタ表示処理の呼び出しにCALLEXではなくCALLの命令を採用した場合(つまり図23のレジスタ構成を採る場合)には、必要な命令は「PUSH AF」→「DI」→「CALL _SHYMT」→「POP AF」→「EI」→「RETI」となるが、CALLEXを採用する場合(図26のレジスタ構成を採る場合)には、必要な命令は「CALLEX _SHYMT」→「EI」→「RETI」となり、「PUSH AF」「DI」及び「POP AF」の命令の削減により、領域内プログラムについてのプログラム容量削減を図ることができる。 In FIG. 30, when the CALL instruction is adopted instead of CALLEX for calling the performance display monitor display process which is an out-of-area program (that is, when the register configuration of FIG. 23 is adopted), the necessary instruction is “PUSH AF” →. "DI"-> "CALL _SHYMT"-> "POP AF"-> "EI"-> "RETI", but when CALLEX is adopted (when the register configuration shown in Fig. 26 is adopted), the required instruction is "CALLEX _SHYMT". ”→“ EI ”→“ RETI ”, and by reducing the instructions for“ PUSH AF ”,“ DI ”and“ POP AF ”, the program capacity for programs in the area can be reduced.

また、図31に示す性能表示モニタ表示処理のプログラムでは、先ず、「LD SP,_ESTPNT」の命令により使用領域外のアドレスを指定するスタックポインタが設定される。CALLやRETを採用する先行例の場合には、「LD SP,_ESTPNT」後の命令としてレジスタの値を退避させるための「LD (_RBCBUF),BC」「LD (_RDEBUF),DE」「LD (_RHLBUF),HL」の各命令が必要とされていたが、本実施形態ではこれらの命令が省略される。
図中、「RWMの初期判定」から「初期表示タイマー減算処理」までの各命令は、設定・性能表示器97に性能情報の値を表示させる処理を実現するための命令である。これらの命令の後、先行例では、退避させた値をレジスタに復帰させるための「LD BC,(_RBCBUF)」「LD DE,(_RDEBUF)」「LD HL,(_RHLBUF)」の各命令、及び領域内のスタックポインタを復帰させるための「LD SP,_ISTPNT2」の命令が必要とされていたが、本実施形態ではこれらの命令も省略される。
最終行の「RETEX」により、使用するレジスタバンクの第二レジスタバンク122から第一レジスタバンク121への切り替え、割込み制御状態の復帰(この場合は禁止状態の維持)、及び呼び出し元への処理の復帰が行われる。
Further, in the performance display monitor display processing program shown in FIG. 31, first, a stack pointer that specifies an address outside the used area is set by the instruction of "LD SP, _ESTPNT". In the case of the precedent example that adopts CALL or RET, "LD (_RBCBUF), BC""LD (_RDEBUF), DE""LD(" to save the register value as an instruction after "LD SP, _ESTPNT". Each instruction of "_RHLBUF), HL" was required, but these instructions are omitted in this embodiment.
In the figure, each instruction from "initial determination of RWM" to "initial display timer subtraction process" is an instruction for realizing a process of displaying a value of performance information on the setting / performance indicator 97. After these instructions, in the preceding example, the "LD BC, (_RBCBUF)", "LD DE, (_RDEBUF)", "LD HL, (_RHLBUF)" instructions for returning the saved value to the register, and Although the "LD SP, _ISTPNT2" instruction for returning the stack pointer in the area was required, these instructions are also omitted in the present embodiment.
By "RETEX" on the last line, switching from the second register bank 122 of the register bank to be used to the first register bank 121, returning the interrupt control state (maintaining the prohibited state in this case), and processing to the caller are performed. A return is made.

なお、図30における最終行の1行前の「EI」命令は必須ではない。図30におけるCALLEX命令の実行直前における割込み制御状態が「割込み許可状態」であれば、図31に示すRETEX命令の実行により、領域内プログラムに復帰した際の割込み制御状態が「割込み許可状態」となるためである。 The "EI" instruction one line before the last line in FIG. 30 is not essential. If the interrupt control state immediately before the execution of the CALLEX instruction in FIG. 30 is the "interrupt enable state", the interrupt control state when returning to the in-region program by executing the RETEX instruction shown in FIG. 31 is the "interrupt enable state". This is to become.

ここで、図29及び図31では、領域外プログラムの1行目において、「LD SP,_ESTPNT」の命令を実行する、すなわち、第二レジスタバンク122におけるSPレジスタ116に対して領域外プログラムで用いるスタックメモリのアドレス値(メモリ上の「ESTPNT」の格納値)を格納する処理を実行するものとしている。このことは、次のように換言できる。すなわち、領域内プログラムにおける「CALLEX」命令により領域外プログラムの第一アドレスを指定して呼び出す場合(図28の「CALLEX _SHKSHM」)と、第二アドレスを指定して呼び出す場合(図30の「CALLEX _SHYMT」)とがあり、領域外プログラムにおいて、第一アドレスが呼び出された場合と、第二アドレスが呼び出された場合の何れにおいても、第二レジスタバンク122のSPレジスタ116に共通のスタックメモリのアドレス情報(「ESTPNT」の格納値)を記憶させる命令(第五命令)を実行するというものである。 Here, in FIGS. 29 and 31, the instruction “LD SP, _ESTPNT” is executed in the first line of the out-of-area program, that is, the SP register 116 in the second register bank 122 is used in the out-of-area program. The process of storing the address value of the stack memory (the stored value of "ESTPNT" in the memory) is to be executed. This can be rephrased as follows. That is, when calling by specifying the first address of the program outside the area by the "CALLEX" instruction in the program inside the area ("CALLEX _SHKSHM" in FIG. 28) and when calling by specifying the second address ("CALLEX" in FIG. 30). _SHYMT "), and in the out-of-area program, the stack memory common to the SP register 116 of the second register bank 122 regardless of whether the first address is called or the second address is called. The instruction (fifth instruction) for storing the address information (stored value of "ESTPNT") is executed.

これにより、領域外プログラムで用いるスタックポインタの値を、領域外プログラムが呼び出されるごとにセットし直すことが可能とされる。
従って、仮に、或る領域外プログラムの実行後に第二スタックポインタの記憶値が何らかの不具合等により変化してしまっても、別の領域外プログラムが実行されたときに正しいスタックポインタの値をセットし直すことができ、領域外プログラムによるスタック処理の安定性を高めることができる。
This makes it possible to reset the value of the stack pointer used in the out-of-area program each time the out-of-area program is called.
Therefore, even if the stored value of the second stack pointer changes due to some trouble after the execution of a certain out-of-area program, the correct stack pointer value is set when another out-of-area program is executed. It can be fixed and the stability of stack processing by the out-of-area program can be improved.

なお、領域外プログラムの処理開始時にセットされているべきスタックポインタの値は「ESTPNT」としての固定の値であるため、領域外プログラムの処理の開始ごとに「LD SP,_ESTPNT」を実行することは必須ではない。具体的に、「LD SP,_ESTPNT」の命令は、遊技機の起動ごとに、少なくとも最初に領域外プログラムを実行する際にのみ実行されればよい。
例えば、図29の領域外プログラムが図31の領域外プログラムよりも先に実行されるのであれば、「LD SP,_ESTPNT」の命令は、図29の領域外プログラムでのみ実行されればよい。或いは、逆に、図31の領域外プログラムが図29の領域外プログラムよりも先に実行されるのであれば、「LD SP,_ESTPNT」は、図31の領域外プログラムでのみ実行されればよい。
このことは、次のように換言できる。すなわち、領域内プログラムにおいて、CALLEX命令を実行して領域外プログラムを呼び出す際に、領域外プログラムの第一アドレスを指定して呼び出す場合(図29又は図31の何れか一方の領域外プログラムを呼び出す場合)と、その後のタイミングにて、第二アドレスを指定して呼び出す場合(図29又は図31の何れか他方の領域外プログラムを呼び出す場合)とがあり、領域外プログラムにおいて、第一アドレスが呼び出された場合にのみ、第二スタックポインタに共通のスタックメモリのアドレス情報を記憶させるための命令(第六命令)を実行する、というものである。
Since the value of the stack pointer that should be set at the start of processing of the out-of-area program is a fixed value as "ESTPNT", execute "LD SP, _ESTPNT" every time the processing of the out-of-area program starts. Is not required. Specifically, the "LD SP, _ESTPNT" command needs to be executed only when the out-of-area program is executed at least for the first time each time the game machine is started.
For example, if the out-of-area program of FIG. 29 is executed before the out-of-area program of FIG. 31, the instruction of "LD SP, _ESTPNT" needs to be executed only in the out-of-area program of FIG. 29. Alternatively, conversely, if the out-of-area program of FIG. 31 is executed before the out-of-area program of FIG. 29, "LD SP, _ESTPNT" need only be executed in the out-of-area program of FIG. ..
This can be rephrased as follows. That is, in the case of calling the out-of-area program by executing the CALLEX instruction in the in-area program, the case where the first address of the out-of-area program is specified and called (the out-of-area program in either FIG. 29 or FIG. 31 is called). In the case), there is a case where the second address is specified and called at a subsequent timing (when the other out-of-area program of FIG. 29 or FIG. 31 is called), and in the out-of-area program, the first address is Only when it is called, the instruction (sixth instruction) for storing the address information of the common stack memory in the second stack pointer is executed.

上述のように領域外プログラムの処理開始時にセットされているべきスタックメモリのアドレス情報は固定のアドレス情報であるため、領域外プログラムとして第一アドレスのプログラムの後に第二アドレスのプログラムが実行される場合には、第二スタックポインタに対するアドレス情報の記憶処理は、先に実行される第一アドレスのプログラムにおいてのみ行われれば足る。
従って、上記のように第一アドレスが呼び出された場合にのみ第二スタックポインタに所定のスタックメモリのアドレス情報を記憶させる命令を実行することで、処理の効率化を図ることができる。
As described above, since the address information of the stack memory that should be set at the start of processing of the out-of-area program is fixed address information, the program of the second address is executed after the program of the first address as the out-of-area program. In this case, it is sufficient that the memory processing of the address information for the second stack pointer is performed only in the program of the first address executed first.
Therefore, the processing efficiency can be improved by executing the instruction to store the address information of the predetermined stack memory in the second stack pointer only when the first address is called as described above.

[5-4.プログラムの別例]

図32及び図33は、先の図28及び図29に示したプログラムの別例を示している。具体的には、メインループ処理(S120)において領域外プログラムを呼び出す部分に対応したプログラムの別例(図32)と、図32の処理により呼び出される領域外プログラムの別例(図33)をそれぞれ示している。
[5-4. Another example of the program]

32 and 33 show another example of the program shown in FIGS. 28 and 29 above. Specifically, another example of the program corresponding to the portion that calls the out-of-area program in the main loop processing (S120) (FIG. 32) and another example of the out-of-area program called by the processing of FIG. 32 (FIG. 33) are shown. Shown.

図34及び図35は、先の図30及び図31に示したプログラムの別例、すなわち、主制御側タイマ割込み処理のプログラムの別例(図34)と、該タイマ割込み処理で呼び出される領域外プログラムの別例(図35)を示している。 34 and 35 show another example of the program shown in FIGS. 30 and 31, that is, another example of the program for the main control side timer interrupt processing (FIG. 34) and the outside of the area called by the timer interrupt processing. Another example of the program (FIG. 35) is shown.

なお、図33、図35に示す領域外プログラムにおいては、第二スタックポインタ(第二レジスタバンク122におけるSPレジスタ116)にセットすべき値を格納するメモリ上のアドレスは、図29、図31の場合の「ESTPNT」ではなく、「@RWM2SP」と定義されている。
図33、図35における「LD SP,@RWM2SP」の命令を参照して分かるように、ここでは、領域外プログラムの実行ごとに第二スタックポインタに「@RWM2SP」の格納値としての共通のアドレス情報をセットする例を挙げているが、この場合も、先に実行される領域外プログラムにおいてのみ、第二スタックポインタに対するアドレス情報の記憶処理が行われるようにすることもできる。
In the out-of-area program shown in FIGS. 33 and 35, the address on the memory for storing the value to be set in the second stack pointer (SP register 116 in the second register bank 122) is shown in FIGS. 29 and 31. It is defined as "@ RWM2SP" instead of "ESTPNT" in the case.
As can be seen by referring to the instructions of "LD SP, @ RWM2SP" in FIGS. 33 and 35, here, a common address as a stored value of "@ RWM2SP" is set in the second stack pointer for each execution of the out-of-area program. Although an example of setting information is given, in this case as well, it is possible to store the address information for the second stack pointer only in the out-of-area program that is executed first.

図36から図53は、実施形態としての処理移行手法を回胴式遊技機(スロットマシン)における主制御部の処理に適用した場合のプログラムの例を示している。
図36、図38、図40、図42、図44、図46、図48、図50、及び図52は、回胴式遊技機の主制御部が実行する領域内プログラムの処理のうち、領域外プログラムの呼び出し命令を含む各種処理のプログラムの例を示している。具体的に、図36は電源投入時の初期設定処理、図38は遊技実行処理、図40は遊技メダルの投入やスタートレバーの操作に応じた処理、図42は遊技開始時のRMW設定処理、図44は役比モニタ表示関連情報更新処理、図46は設定変更処理、図48は条件装置信号出力処理、図50は遊技メダル投入処理、図52は遊技メダル投入エラー処理についてのプログラムを例示している。
図37、図39、図41、図43、図45、図47、図49、図51、及び図53は、上記した各種の領域内プログラムの処理におけるCALLEX命令で呼び出される領域外プログラムを例示しており、具体的に、図37は領域外ワークエリア処理3、図39は再遊技状態識別信号出力処理、図41は条件装置信号出力クリア処理、図43は条件装置信号出力処理、図45は役比モニタ制御処理、図47は領域外ワークエリア処理1、図49は条件装置信号出力監視処理、図51は滞留チェック処理、図53は領域外ワークエリア処理2についてのプログラムを例示している。
36 to 53 show an example of a program when the processing transition method as an embodiment is applied to the processing of the main control unit in the rotating cylinder type game machine (slot machine).
36, 38, 40, 42, 44, 46, 48, 50, and 52 are regions among the processes of the in-region program executed by the main control unit of the rotating cylinder type game machine. An example of a program of various processing including a call instruction of an external program is shown. Specifically, FIG. 36 shows the initial setting process when the power is turned on, FIG. 38 shows the game execution process, FIG. 40 shows the process according to the insertion of the game medal and the operation of the start lever, and FIG. 42 shows the RMW setting process at the start of the game. FIG. 44 illustrates a program for updating information related to the combination monitor display, FIG. 46 shows a setting change process, FIG. 48 shows a condition device signal output process, FIG. 50 shows a game medal insertion process, and FIG. 52 shows a program for a game medal insertion error process. ing.
37, 39, 41, 43, 45, 47, 49, 51, and 53 exemplify an out-of-area program called by the CALLEX instruction in the processing of the various in-area programs described above. Specifically, FIG. 37 shows an out-of-area work area process 3, FIG. 39 shows a replay state identification signal output process, FIG. 41 shows a condition device signal output clear process, FIG. 43 shows a condition device signal output process, and FIG. 45 shows. The role ratio monitor control process, FIG. 47 is an out-of-area work area process 1, FIG. 49 is a condition device signal output monitoring process, FIG. 51 is a retention check process, and FIG. 53 is an example of a program for an out-of-area work area process 2. ..

なお、ここで例示した領域内プログラムについて、例えば図36、図38、図40等に示される「(DI保証)」とは、少なくとも該(DI保証)が記述された行において割込み禁止状態であること保証されている(つまり、該行よりも前の何れかの行においてDI命令が実行されていることが保証されている)ことを意味する。 Regarding the in-region program illustrated here, for example, "(DI guarantee)" shown in FIGS. 36, 38, 40, etc. is an interrupt disabled state at least in the line in which the (DI guarantee) is described. It means that it is guaranteed (that is, it is guaranteed that the DI instruction is executed on any line before the line).

ここで例示した領域内プログラムのうち、図38、図40、図48に示す領域内プログラムは、「DI」命令を実行した後、「EI」命令を実行するよりも前に、「CALLEX」命令を実行する例に該当している。
これにより、割込み制御状態が頻繁に切り替わることの防止を図ることができ、制御の安定性向上を図ることができる。
Among the in-region programs illustrated here, the in-region programs shown in FIGS. 38, 40, and 48 have the "CALLEX" instruction after executing the "DI" instruction and before executing the "EI" instruction. Corresponds to the example of executing.
As a result, it is possible to prevent the interrupt control state from being frequently switched, and it is possible to improve the stability of control.

特に、図48のプログラムでは、二つのCALLEX命令が連続して記述されているが、この場合において、仮に、「DI」命令を実行した後、「EI」命令を実行するよりも前に「CALLEX」命令を実行するものとはせず、「CALLEX」命令の実行前に「EI」命令を実行するようにした場合には、割込み制御状態の切り替え回数が5回となる。具体的には、DI→EI→CALLEX(割込み禁止状態に切り替え)→RETEX(割込み許可状態に戻す)→CALLEX(割込み禁止状態に切り替え)→RETEX(割込み許可状態に戻す)による計6回である。一方、実施形態のように「DI」命令を実行した後、「EI」命令を実行するよりも前に「CALLEX」命令を実行する手法を採用した場合、割込み制御状態の切り替え回数は1回に抑えることができ、制御の安定性を高めることができる。 In particular, in the program of FIG. 48, two CALLEX instructions are described in succession. In this case, if the "DI" instruction is executed and then the "EI" instruction is executed, "CALLEX" is executed. If the "EI" instruction is executed before the "CALLEX" instruction is executed instead of executing the "" instruction, the interrupt control state is switched 5 times. Specifically, DI → EI → CALLEX (switch to interrupt disabled state) → RETEX (return to interrupt enabled state) → CALLEX (switch to interrupt disabled state) → RETEX (return to interrupt enabled state) for a total of 6 times. .. On the other hand, when the method of executing the "CALLEX" instruction after executing the "DI" instruction and before executing the "EI" instruction as in the embodiment is adopted, the interrupt control state can be switched once. It can be suppressed and the stability of control can be improved.

図37、図39、図41、図43、図45、図47、図49、図51、図53の各図の1行目に示す「LD SP,CMN_STACK」を参照して分かるように、この場合における使用外領域用のスタックポインタ(第二レジスタバンク122におけるSPレジスタ116にセットすべき値)の格納アドレスは、「CMN_STACK」と定義されている。
そして、「LD SP,CMN_STACK」の命令が図37等の各図に含まれることからも理解されるように、ここでは、領域外プログラムの実行ごとに、第二スタックポインタに共通のアドレス情報をセットする例を挙げている。
As can be seen by referring to "LD SP, CMN_STACK" shown in the first line of each of FIGS. 37, 39, 41, 43, 45, 47, 49, 51, and 53. The storage address of the stack pointer (value to be set in the SP register 116 in the second register bank 122) for the unused area in the case is defined as "CMN_STACK".
Then, as can be understood from the fact that the instruction of "LD SP, CMN_STACK" is included in each figure such as FIG. 37, here, the address information common to the second stack pointer is input for each execution of the out-of-area program. An example of setting is given.

回胴式遊技機の場合には、領域内プログラムから呼び出される領域外プログラムの種類が3以上ある。このように呼び出し対象の領域外プログラムが3種以上ある場合には、少なくとも、それらのうち二者の関係について、先に実行される領域外プログラムにおいてのみ第二スタックポインタに対するアドレス情報の記憶処理が行われるようにすることも可能である。このとき、処理の効率化を図る上では、第二スタックポインタに対するアドレス情報の記憶処理は、3種以上ある領域外プログラムのうち、最初に実行される領域外プログラムにおいてのみ実行されることが望ましい。
In the case of the rotating drum type game machine, there are three or more types of out-of-area programs called from the in-area programs. When there are three or more types of out-of-area programs to be called in this way, at least for the relationship between two of them, the storage process of the address information for the second stack pointer is performed only in the out-of-area program executed first. It is also possible to make it happen. At this time, in order to improve the efficiency of processing, it is desirable that the storage processing of the address information for the second stack pointer is executed only in the out-of-area program that is executed first among the three or more types of out-of-area programs. ..

[5-5.プログラムの変形例]

続いて、プログラムの変形例について、図54から図63を参照して説明する。
これまでの説明では、CALLEXやRETEXに使用するレジスタバンクの切り替え命令を含ませる例を挙げたが、レジスタバンクの切り替え命令を独立した命令として定義することもできる。ここでは、レジスタバンクの切り替え命令(ニーモニック)が「BANKF」と定義された例を挙げるが、該切り替え命令の具体的な名称については「BANKF」に限定されるものではない。
[5-5. Program modification]

Subsequently, a modification of the program will be described with reference to FIGS. 54 to 63.
In the explanation so far, an example of including the register bank switching instruction used for CALLEX and RETEX has been given, but the register bank switching instruction can also be defined as an independent instruction. Here, an example in which the register bank switching instruction (mnemonic) is defined as "BANKF" is given, but the specific name of the switching instruction is not limited to "BANKF".

「BANKF」としての独立したレジスタバンクの切り替え命令を用いる場合、領域内と領域外との間の処理移行の際には、一つの「CALL」命令、二つの「BANKF」命令、及び一つの「RET」命令を用いることになる。
図54、図56、図58、及び図60は、先の図36で例示した電源投入時の初期設定処理に対する「BANKF」命令の適用例として考えられ得る各種のプログラム例を示している。図55、図57、図59、及び図61は、それぞれ図54、図56、図58、図60の領域内プログラムで呼び出される領域外プログラム(領域外ワークエリア処理3)の例を示している。
When using an independent register bank switching instruction as "BANKF", one "CALL" instruction, two "BANKF" instructions, and one "BANKF" instruction when transferring processing between the inside and outside of the area. The "RET" instruction will be used.
54, 56, 58, and 60 show various program examples that can be considered as application examples of the "BANKF" instruction to the initial setting process at power-on illustrated in FIG. 36 above. 55, 57, 59, and 61 show examples of an out-of-area program (out-of-area work area processing 3) called by the in-area program of FIGS. 54, 56, 58, and 60, respectively. ..

図54及び図55の組で示す例は、レジスタバンクを領域内用の第一レジスタバンク121から領域外用の第二レジスタバンク122に切り替えるための「BANKF」命令を領域外プログラム側で行い、領域外用の第二レジスタバンク122から領域内用の第一レジスタバンク121に切り替えるための「BANKF」命令を領域内プログラム側で行う例である。
この場合の領域内プログラムでは、図54に示すように対象の領域外プログラムを呼び出すための「CALL」命令(CALL O_CLRWM3)に続けてレジスタバンクを第二レジスタバンク122から第一レジスタバンク121に切り替えるための「BANKF」命令が記述されている。また、この場合の領域外プログラムでは、図55に示すように1行目にレジスタバンクを第一レジスタバンク121から第二レジスタバンク122に切り替えるための「BANKF」命令が記述され、最終行に「RET」命令が記述されている。
In the example shown in the set of FIGS. 54 and 55, the "BANKF" instruction for switching the register bank from the first register bank 121 for the inside of the region to the second register bank 122 for the outside of the region is executed on the out-of-region program side, and the region This is an example in which the “BANKF” instruction for switching from the second register bank 122 for external use to the first register bank 121 for internal use is executed on the program side in the area.
In the in-region program in this case, as shown in FIG. 54, the register bank is switched from the second register bank 122 to the first register bank 121 following the "CALL" instruction (CALL O_CLRWM3) for calling the target out-of-region program. The "BANKF" instruction for this is described. Further, in the out-of-area program in this case, as shown in FIG. 55, a "BANKF" instruction for switching the register bank from the first register bank 121 to the second register bank 122 is described in the first line, and "BANKF" instruction is described in the last line. The "RET" instruction is described.

ここで、図55に示す領域外プログラムでは、2行目に「LD SP,CMN_STACK」の命令(第二スタックポインタのセット)が記述されているが、領域外プログラム側で第一レジスタバンク121から第二レジスタバンク122に切り替えるための「BANKF」命令を実行する場合には、該「BANKF」命令は、「LD SP,CMN_STACK」の命令の実行前に実行する。 Here, in the out-of-area program shown in FIG. 55, the instruction (set of the second stack pointer) of "LD SP, CMN_STACK" is described in the second line, but from the first register bank 121 on the out-of-area program side. When executing the "BANKF" instruction for switching to the second register bank 122, the "BANKF" instruction is executed before the execution of the "LD SP, CMN_STACK" instruction.

図56及び図57の組で示す例は、第一レジスタバンク121から第二レジスタバンク122に切り替えるための「BANKF」命令と、第二レジスタバンク122から第一レジスタバンク121に切り替えるための「BANKF」命令の双方を領域内プログラム側で行う例である。
この場合の領域内プログラムでは、図56に示すように、「CALL」命令の直前の行に第一レジスタバンク121から第二レジスタバンク122に切り替えるための「BANKF」命令が記述され、「CALL」命令の次行に第二レジスタバンク122から第一レジスタバンク121に切り替えるための「BANKF」命令が記述されている。
The example shown in the set of FIGS. 56 and 57 includes a "BANKF" instruction for switching from the first register bank 121 to the second register bank 122 and a "BANKF" instruction for switching from the second register bank 122 to the first register bank 121. This is an example in which both instructions are executed on the intra-regional program side.
In the in-region program in this case, as shown in FIG. 56, the "BANKF" instruction for switching from the first register bank 121 to the second register bank 122 is described in the line immediately before the "CALL" instruction, and "CALL". The "BANKF" instruction for switching from the second register bank 122 to the first register bank 121 is described on the next line of the instruction.

図58及び図59の組で示す例は、第一レジスタバンク121から第二レジスタバンク122に切り替えるための「BANKF」命令を領域内プログラム側で行い、第二レジスタバンク122から第一レジスタバンク121に切り替えるための「BANKF」命令を領域外プログラム側で行う例である。
図58に示すように、この場合の領域内プログラムでは、「CALL」命令の直前の行に第一レジスタバンク121から第二レジスタバンク122に切り替えるための「BANKF」命令が記述され、領域外プログラムでは、図59に示すように、「RET」命令の直前の行に第二レジスタバンク122から第一レジスタバンク121に切り替えるための「BANKF」命令が記述されている。
In the example shown by the set of FIGS. 58 and 59, the “BANKF” instruction for switching from the first register bank 121 to the second register bank 122 is executed on the intra-region program side, and the second register bank 122 to the first register bank 121 This is an example in which the "BANKF" instruction for switching to is executed on the out-of-area program side.
As shown in FIG. 58, in the in-region program in this case, the "BANKF" instruction for switching from the first register bank 121 to the second register bank 122 is described in the line immediately before the "CALL" instruction, and the out-of-area program Then, as shown in FIG. 59, the "BANKF" instruction for switching from the second register bank 122 to the first register bank 121 is described in the line immediately before the "RET" instruction.

図60及び図61の組で示す例は、第一レジスタバンク121から第二レジスタバンク122に切り替えるための「BANKF」命令と、第二レジスタバンク122から第一レジスタバンク121に切り替えるための「BANKF」命令の双方を領域外プログラム側で行う例である。図61に示すようにこの場合の領域外プログラムでは、1行目に第一レジスタバンク121から第二レジスタバンク122に切り替えるための「BANKF」命令が記述され、「RET」命令の直前の行に第二レジスタバンク122から第一レジスタバンク121に切り替えるための「BANKF」命令が記述されている。 In the example shown in the set of FIGS. 60 and 61, a "BANKF" instruction for switching from the first register bank 121 to the second register bank 122 and a "BANKF" instruction for switching from the second register bank 122 to the first register bank 121 are shown. This is an example in which both instructions are executed on the out-of-area program side. As shown in FIG. 61, in the out-of-area program in this case, a "BANKF" instruction for switching from the first register bank 121 to the second register bank 122 is described in the first line, and the line immediately before the "RET" instruction is used. A "BANKF" instruction for switching from the second register bank 122 to the first register bank 121 is described.

上記のような「BANKF」命令を定義することで、領域内と領域外との間の処理移行を実現させるための命令としてCALLEXやRETEX以外の選択肢(CALLとBANKF、又はRETとBANKF)を設けることが可能となり、プログラム作成の自由度向上を図ることができる。 By defining the "BANKF" instruction as described above, options other than CALLEX and RETEX (CALL and BANKF, or RET and BANKF) are provided as instructions for realizing the processing transition between the inside and outside of the area. This makes it possible to improve the degree of freedom in program creation.

ここで、領域内と領域外との間の処理移行の全てについてCALLEX、RETEXを適用することは必須ではない。例えば、領域内プログラムにおいて、領域外プログラムの呼び出し命令の前後のプログラムの処理内容によっては、CALLEX、RETEXではなく、従来通りCALL、RETを使用できる場面がある。例えば、領域内プログラムへの復帰命令により領域内に復帰した後に割込み禁止の状態で行う処理がある場面では、領域内への復帰時にEIを実行する必要はないため、CALLEX、RETEXではなくCALL、RETを用いたとしても、適切な割込み制御状態を実現できる。 Here, it is not essential to apply CALLEX and RETEX to all the processing transitions between the inside and outside of the area. For example, in an intra-regional program, CALL and RET can be used as before, instead of CALLEX and RETEX, depending on the processing contents of the program before and after the call instruction of the out-of-region program. For example, in a situation where there is a process to be performed in the interrupt disabled state after returning to the area by a return instruction to the program in the area, it is not necessary to execute EI when returning to the area, so CALL, not CALLEX or RETEX. Even if RET is used, an appropriate interrupt control state can be realized.

図62及び図63の組により、そのような場面においてCALL、RETを用いた場合の領域内、領域外のプログラム例を示す。
なお、これら図62及び図63では、領域外用の第二レジスタバンク122を用いない場合のプログラム例を示したが、例えば図54及び図55等で説明した「BUNKF」を用いることで、領域内プログラムにおけるAF退避、復帰のための命令(「PUSH AF」、「POP AF」)の省略や、また、領域外プログラムにおけるスタックポインタ(領域内用のスタックポインタ)の退避、復帰ための命令(「LD (W_STKBAK),SP」、「LD SP,(W_STKBAK)」)及び全レジスタ退避、復帰のための命令(「PUSH ALL」「EX AF,AF'」「EXX」「PUSH GPR」、「POP GPR」「EX AF,AF'」「EXX」「POP ALL」)の省略が図られるようにすることもできる。
The set of FIGS. 62 and 63 shows an example of a program inside and outside the region when CALL and RET are used in such a situation.
Note that FIGS. 62 and 63 show an example of a program when the second register bank 122 for outside the area is not used. However, by using “BUNKF” described in FIGS. 54 and 55, for example, the inside of the area can be used. Instructions for saving and restoring AF in the program ("PUSH AF", "POP AF") are omitted, and instructions for saving and restoring the stack pointer (stack pointer for the inside of the area) in the program outside the area ("" LD (W_STKBAK), SP "," LD SP, (W_STKBAK) ") and instructions for saving and restoring all registers ("PUSH ALL", "EX AF, AF'", "EXX", "PUSH GPR", "POP GPR""""EX AF, AF'""EXX""POPALL") can be omitted.

[5-6.その他変形例]

なお、これまでの説明では、領域内プログラムから領域外プログラムの呼び出し時において、DI(第二命令)を実行した後、EI(第一命令)を実行するよりも前に、CALLEX(第三命令)を実行する例を挙げたが、EIを実行した後に、CALLEXを実行する、換言すれば、CALLEXの前にEIを実行する手法を採ることもできる。
CALLEXの実行前にEIを実行することで、割込み禁止状態の継続時間長を短くすることができる。つまり、割込み処理が実行できないことによる処理遅延の抑制を図ることができる。
[5-6. Other variants]

In the explanation so far, when calling the program outside the area from the program inside the area, after executing DI (second instruction) and before executing EI (first instruction), CALLEX (third instruction) is executed. ) Was given, but it is also possible to execute CALLEX after executing EI, in other words, execute EI before CALLEX.
By executing EI before executing CALLEX, the duration of the interrupt disabled state can be shortened. That is, it is possible to suppress the processing delay due to the inability to execute interrupt processing.

ここで、本例の遊技機1においては、タイマ割込み処理において入賞情報の更新が行われる(S908の賞球管理処理を参照)。そして、例示した各種の領域外プログラムのうち、図29等で示した性能表示モニタ集計除算処理では、このように割込み処理で更新される入賞情報を用いて性能情報の値が計算される。このため、このような性能表示モニタ集計除算処理を呼び出す際に、CALLEXの前にEIを実行する手法を採るものとすれば、領域外プログラムでの性能情報の計算は、その直前で更新された入賞情報を用いて行うことができ、好適である。
Here, in the game machine 1 of this example, the winning information is updated in the timer interrupt processing (see the prize ball management processing of S908). Then, among the various programs outside the region illustrated, in the performance display monitor aggregation division processing shown in FIG. 29 and the like, the value of the performance information is calculated using the winning information updated by the interrupt processing in this way. Therefore, if the method of executing EI before CALLEX is adopted when calling such a performance display monitor aggregation division process, the calculation of the performance information in the out-of-area program is updated immediately before that. This can be done using the winning information, which is preferable.

<6.Qレジスタ及びUレジスタについて>

続いて、Qレジスタ(Qレジスタ105及びQ’レジスタ105’)、及びUレジスタ130について説明する。
先ずは、図64のメモリマップを参照して、主制御部20におけるCPU20aのメモリアドレス空間について説明する。
図示のようにCPU20aのメモリアドレス空間としては、アドレス0000h(hは16進数を意味する)からアドレスFFFFhまでの計65536バイト分の空間が用意されている。
アドレス0000hからアドレス3FFFhまでの16384バイト(16kバイト)分の領域は内蔵ROMの領域とされ、アドレスF000hからアドレスF3FFhまでの1024バイト(1kバイト)分の領域は内蔵RAMの領域とされる。
これら内蔵ROMと内蔵RAMの領域の間に位置されたアドレス4000hからアドレスEFFFhまでの領域は未使用エリアとされている。
<6. About Q register and U register>

Subsequently, the Q register (Q register 105 and Q'register 105') and the U register 130 will be described.
First, the memory address space of the CPU 20a in the main control unit 20 will be described with reference to the memory map of FIG.
As shown in the figure, as the memory address space of the CPU 20a, a space for a total of 65536 bytes from the address 0000h (h means a hexadecimal number) to the address FFFFh is prepared.
The area of 16384 bytes (16 kbytes) from the address 0000h to the address 3FFFh is the area of the built-in ROM, and the area of 1024 bytes (1 kbytes) from the address F000h to the address F3FFh is the area of the built-in RAM.
The area from the address 4000h to the address EFFFh located between the areas of the built-in ROM and the built-in RAM is regarded as an unused area.

アドレスF400hからFDFFhまでは未使用エリアとされ、アドレスFE00hからFEFFhまでの領域は内蔵レジスタ1の領域、アドレスFF00hからアドレスFFCFhまでの領域は内蔵レジスタ2の領域とされる。 The area from the address F400h to the FDFFh is regarded as an unused area, the area from the address FE00h to the FEFFh is the area of the built-in register 1, and the area from the address FF00h to the address FFCFh is the area of the built-in register 2.

アドレスFFD0fからアドレスFFFFhまでの領域はXCSデコードエリアとされる。
ここで、本例のCPU20aは、データの入出力管理の手法として、メモリマップド(Memory Mapped) I/Oの手法を採用している。周知のようにメモリマップドI/Oは、データメモリと同じアドレス空間にI/Oのレジスタを割り当てる手法である。
本例では、XCSデコードエリアに対してI/Oレジスタに相当する記憶領域が割り当てられている。この意味で、XCSデコードエリアのことを以下、「入出力ポートエリア(I/Oポートエリア)」と称する。
The area from the address FFD0f to the address FFFFh is an XCS decoding area.
Here, the CPU 20a of this example adopts a memory-mapped I / O method as a data input / output management method. As is well known, memory-mapped I / O is a method of allocating I / O registers in the same address space as data memory.
In this example, a storage area corresponding to an I / O register is allocated to the XCS decode area. In this sense, the XCS decoding area is hereinafter referred to as an "input / output port area (I / O port area)".

先の図21を参照して説明したように、CPU20aがアクセス可能なメモリ領域としては、第1のメモリ領域としての使用領域と、第2のメモリ領域としての使用外領域とに区別される。図64では、内蔵RAMの領域における使用領域と使用外領域の区分を示しているが、図示のように本例における内蔵RAMの領域では、アドレスF000hからアドレスF1FFhまでの512バイト分の領域が使用領域、アドレスF200hからアドレスF2FFhまでの256バイト分の領域が使用外領域とされている。 As described with reference to FIG. 21 above, the memory area accessible to the CPU 20a is divided into a used area as a first memory area and an unused area as a second memory area. FIG. 64 shows the division of the used area and the unused area in the built-in RAM area, but as shown in the figure, the built-in RAM area in this example uses 512 bytes of the area from the address F000h to the address F1FFh. The area, which is 256 bytes from the address F200h to the address F2FFh, is regarded as an unused area.

以上を踏まえ、Qレジスタ、及びQレジスタに関連した命令である「LDQ」命令について説明する。
Qレジスタ105、及びQ’レジスタ105’は、「LDQ」命令で扱う一部のアドレスの上位値を格納するレジスタとされる。本例では、これらQレジスタ105、及びQ’レジスタ105’は8ビット(1バイト)のレジスタとされる。
Based on the above, the Q register and the "LDQ" instruction, which is an instruction related to the Q register, will be described.
The Q register 105 and the Q'register 105'are used as registers for storing high-order values of some addresses handled by the "LDQ" instruction. In this example, these Q register 105 and Q'register 105'are 8-bit (1 byte) registers.

「LDQ」命令は、例えば「LDQ R,m」(Rはレジスタを指定する値、mはメモリ上のアドレスを指定する値を意味する)や「LDQ m,R」のように記述され、「LD」命令と同様のロード命令として機能するものであり、基本的には、「LDQ」の記述後における左辺で指定される場所に対し右辺で指定される場所の値を書き込む命令となる。「LD」命令との差異は、「m」の値として、メモリ上のアドレスの下位値のみを記述すればよいという点である。すなわち、「LDQ」命令は、「m」として記述された値を下位値、Qレジスタ105又はQ’レジスタ105’の格納値を上位値としたアドレスにアクセスする命令となる。具体的に、「LDQ R,m」であれば、「R」で指定されたレジスタに対し、「m」の値を下位値、Qレジスタ105又はQ’レジスタ105’の格納値を上位値としたメモリ上のアドレスに記憶されている値を書き込む命令となる。また、「LDQ m,R」であれば、「m」の値を下位値、Qレジスタ105又はQ’レジスタ105’の格納値を上位値としたメモリ上のアドレスに対し、「R」で指定されたレジスタの値を書き込む命令となる。 The "LDQ" instruction is described as, for example, "LDQ R, m" (R means a value that specifies a register, m means a value that specifies an address in memory) or "LDQ m, R", and is described as "LDQ m, R". It functions as a load instruction similar to the "LD" instruction, and is basically an instruction to write the value of the location specified on the right side with respect to the location specified on the left side after the description of "LDQ". The difference from the "LD" instruction is that only the lower value of the address in the memory needs to be described as the value of "m". That is, the "LDQ" instruction is an instruction to access an address in which the value described as "m" is the lower value and the stored value of the Q register 105 or the Q'register 105'is the upper value. Specifically, in the case of "LDQ R, m", the value of "m" is the lower value and the stored value of the Q register 105 or the Q'register 105'is the upper value with respect to the register specified by "R". It is an instruction to write the value stored in the address on the memory. If it is "LDQ m, R", specify "R" for the address in the memory where the value of "m" is the lower value and the stored value of the Q register 105 or the Q'register 105'is the upper value. It is an instruction to write the value of the registered register.

Qレジスタは、このような「LDQ」命令を実現するために設けられたレジスタである。Qレジスタを設けることで、プログラムにはアドレスの上位値を記述する必要がなくなり、プログラム容量の削減を図ることができる。 The Q register is a register provided to realize such an "LDQ" instruction. By providing the Q register, it is not necessary to describe the upper value of the address in the program, and the program capacity can be reduced.

ここで、本例では、上記のような「LDQ」命令を、図64に示した内蔵RAMの領域における使用領域に対するアクセスに適用する。そのため、Qレジスタ105、Q’レジスタ105’には、それぞれ「F0h」、「F1h」を格納する。
図64に示したように、内蔵RAMにおける使用領域は、アドレスF000hからアドレスF1FFhまでの領域として設定されている。つまり、該使用領域は、アドレス値の下位1バイト(8ビット)で賄うことのできる256バイトを超えるサイズの領域とされている。このため、仮にQレジスタを一つしか設けない場合には、上記のような「LDQ」命令は、使用領域におけるアドレス上位値が「F0h」、「F1h」何れかの領域に対してしか適用できない。
本例では、QレジスタとしてQレジスタ105、Q’レジスタ105’の二つを設けることで、内蔵RAMの使用領域における何れのアドレスであっても「LDQ」命令を適用できるようにしている。
Here, in this example, the above-mentioned "LDQ" instruction is applied to access the used area in the internal RAM area shown in FIG. 64. Therefore, "F0h" and "F1h" are stored in the Q register 105 and the Q'register 105', respectively.
As shown in FIG. 64, the used area in the built-in RAM is set as an area from the address F000h to the address F1FFh. That is, the used area is an area having a size exceeding 256 bytes that can be covered by the lower 1 byte (8 bits) of the address value. Therefore, if only one Q register is provided, the above-mentioned "LDQ" instruction can be applied only to the area where the upper address value in the used area is either "F0h" or "F1h". ..
In this example, by providing two Q registers 105 and Q'register 105', the "LDQ" instruction can be applied to any address in the used area of the built-in RAM.

本例では、上記のような「F0h」、「F1h」の格納は、第一レジスタバンク121におけるQレジスタ105、Q’レジスタ105’に対してのみでなく、第二レジスタバンク122におけるQレジスタ105、Q’レジスタ105’に対しても行われる。これらQレジスタ105、Q’レジスタ105’に対する「F0h」、「F1h」の格納処理は、CPU20aのリセット後の起動時において、Qレジスタ105、Q’レジスタ105’に対する初期値の設定処理として自動的に実行される。
或いは、これらQレジスタ105、Q’レジスタ105’に対する「F0h」、「F1h」の格納処理は、例えば「初期設定処理」(S101)における「起動時の各種設定処理」(S206)において実行することもできる。
In this example, the storage of "F0h" and "F1h" as described above is not only for the Q register 105 and the Q'register 105'in the first register bank 121, but also for the Q register 105 in the second register bank 122. , Q'Register 105'is also performed. The storage process of "F0h" and "F1h" for the Q register 105 and the Q'register 105'is automatically set as the initial value setting process for the Q register 105 and the Q'register 105'at the time of starting after the reset of the CPU 20a. Is executed.
Alternatively, the storage processing of "F0h" and "F1h" for the Q register 105 and the Q'register 105'is executed, for example, in the "various setting processing at startup" (S206) in the "initial setting processing" (S101). You can also.

前述のように第二レジスタバンク122は、領域外プログラムにより使用されるレジスタ群である。
上記のように第二レジスタバンク122のQレジスタ105、Q’レジスタ105’に対しても「F0h」、「F1h」をそれぞれ格納しておくことで、領域外プログラムが内蔵RAMにおける使用領域の記憶データを参照する際にも「LDQ」命令を使用することができる。すなわち、領域外プログラムについても「LDQ」命令を用いることによるプログラム容量の削減を図ることができる。
なお確認のため述べておくと、領域外プログラムが使用領域のデータを更新することは不許可とされているが、参照することは許可されている(図22を参照)。
As described above, the second register bank 122 is a group of registers used by the out-of-area program.
By storing "F0h" and "F1h" in the Q register 105 and the Q'register 105'of the second register bank 122 as described above, the out-of-area program can store the used area in the built-in RAM. You can also use the "LDQ" command when referencing data. That is, it is possible to reduce the program capacity by using the "LDQ" instruction even for a program outside the region.
For confirmation, it is not permitted for the out-of-area program to update the data in the used area, but it is permitted to refer to it (see FIG. 22).

ここで、「LDQ」命令の実際の使用例については、図36、図39、図40、図42、図43、図46、図50等を参照されたい。これらのうち、図39や図43に示される「LDQ」命令は、領域外プログラムの実行時に使用領域のアドレスにアクセスする命令に該当する。 Here, please refer to FIG. 36, FIG. 39, FIG. 40, FIG. 42, FIG. 43, FIG. 46, FIG. 50 and the like for an actual usage example of the “LDQ” instruction. Of these, the "LDQ" instruction shown in FIGS. 39 and 43 corresponds to an instruction for accessing the address of the used area when the out-of-area program is executed.

「LDQ」命令を用いて内蔵RAMの使用領域内を適切にアクセスし分けるためには、該使用領域内のアクセス先のアドレスに応じて、「LDQ」命令で参照するQレジスタを切り替える必要がある。具体的には、Qレジスタ105、Q’レジスタ105’の何れを参照するかを適切に切り替えることを要する。 In order to properly access and separate the used area of the built-in RAM using the "LDQ" instruction, it is necessary to switch the Q register referred to by the "LDQ" instruction according to the address of the access destination in the used area. .. Specifically, it is necessary to appropriately switch which of the Q register 105 and the Q'register 105'is referred to.

本例では、このようなQレジスタの切り替えは、「EX」命令により実現される。具体的には、「EX Q,Q'」の命令により実現される。
本例において、この「EX Q,Q'」の命令は、「LDQ」命令で参照するQレジスタをQレジスタ105とQ’レジスタ105’との間でトグル的に切り替える命令とされる。すなわち、参照するQレジスタ=Qレジスタ105の状態での「EX Q,Q'」の命令に応じて、参照するQレジスタをQ’レジスタ105’に切り替える。また、参照するQレジスタ=Q’レジスタ105’の状態での「EX Q,Q'」の命令に応じて、参照するQレジスタをQレジスタ105に切り替える。
In this example, such switching of the Q register is realized by the "EX" instruction. Specifically, it is realized by the command of "EX Q, Q'".
In this example, the "EX Q, Q'" instruction is an instruction that toggles the Q register referred to by the "LDQ" instruction between the Q register 105 and the Q'register 105'. That is, the referenced Q register is switched to the Q'register 105'in response to the instruction of "EX Q, Q'" in the state of the referenced Q register = Q register 105. Further, the reference Q register is switched to the Q register 105 in response to the instruction of "EX Q, Q'" in the state of the reference Q register = Q'register 105'.

なお、上記では「LDQ」命令の適用対象領域(つまり本例では内蔵RAMの使用領域)が256×2=512バイト分の領域とされ、これに応じてQレジスタを二つ設ける例を挙げたが、「LDQ」命令の適用対象領域は512バイトよりも大きいサイズの領域とすることができる。その場合には、Qレジスタの数を3以上とすることで、対象領域内の何れのアドレスにアクセスする際にも「LDQ」命令が使用可能となるようにすることができる。 In the above, the application target area of the "LDQ" instruction (that is, the area used by the built-in RAM in this example) is set to 256 × 2 = 512 bytes, and two Q registers are provided accordingly. However, the application target area of the "LDQ" instruction can be an area having a size larger than 512 bytes. In that case, by setting the number of Q registers to 3 or more, the "LDQ" instruction can be used when accessing any address in the target area.

続いて、Uレジスタ130について説明する。
Uレジスタ130は、図64に示した入出力ポートエリアのアドレス上位値を格納するレジスタとされる。具体的に、本例におけるUレジスタ130には「FFh」が格納される。
このUレジスタ130を設けることで、入出力命令(「IN」命令又は「OUT」命令)において入出力ポートエリアのアクセス先アドレスを指定するにあたり、該アクセス先アドレスの上位値をプログラムに記述する必要をなくすことが可能となる。
Subsequently, the U register 130 will be described.
The U register 130 is a register that stores the upper address value of the input / output port area shown in FIG. 64. Specifically, "FFh" is stored in the U register 130 in this example.
By providing this U register 130, when specifying the access destination address of the input / output port area in the input / output instruction ("IN" instruction or "OUT" instruction), it is necessary to describe the upper value of the access destination address in the program. Can be eliminated.

なお、本例では、メモリマップドI/Oを採用しているが、データの入出力に係る命令については、ポートマップドI/Oを採用する場合と同様の「IN」命令や「OUT」命令を採用している(例えば、図38、図40、図48等を参照)。
具体的に、この場合の「IN」命令については、「IN r,m」のように記述され、これは、「r」で指定されたレジスタに対し、「m」として記述された値を下位値、Uレジスタ130の格納値を上位値とした入出力ポートエリア内のアドレス(つまり仮想的な入出力レジスタ)に記憶された値を書き込む命令となる。また、「OUT」命令については、「OUT m,r」のように記述され、これは、「m」として記述された値を下位値、Uレジスタ130の格納値を上位値とした入出力ポートエリア内のアドレスに対し、「r」で指定されたレジスタの格納値を書き込む命令となる。
なお、上記の「IN」「OUT」命令の説明から理解されるように、メモリマップドI/Oを採用した場合には、データの入出力に係る命令として「LD」命令を用いることもできる。
In this example, memory-mapped I / O is adopted, but for instructions related to data input / output, the same "IN" instruction and "OUT" as when port-mapped I / O is adopted. The instructions are adopted (see, for example, FIGS. 38, 40, 48, etc.).
Specifically, the "IN" instruction in this case is described as "IN r, m", which is lower than the value described as "m" for the register specified by "r". It is an instruction to write the value stored in the address (that is, the virtual input / output register) in the input / output port area with the value and the stored value of the U register 130 as the upper value. Further, the "OUT" instruction is described as "OUT m, r", which is an input / output port in which the value described as "m" is the lower value and the stored value of the U register 130 is the upper value. It is an instruction to write the stored value of the register specified by "r" to the address in the area.
As can be understood from the above explanation of the "IN" and "OUT" instructions, when the memory-mapped I / O is adopted, the "LD" instruction can also be used as an instruction related to data input / output. ..

図26に示したように、本例においてUレジスタ130は、第一レジスタバンク121、第二レジスタバンク122にそれぞれ一つのみ設けられている。具体的に、第一レジスタバンク121、第二レジスタバンク122のそれぞれにおいて、Uレジスタ130は、メインレジスタ123のうちの一つとして設けられている。
第二レジスタバンク122に対してもUレジスタ130が設けられることで、領域外プログラムの実行時においても、Uレジスタ130に格納されたアドレス上位値を用いた入出力ポートエリアへのアクセスを行うことが可能とされる。すなわち、領域外プログラムにおいても「IN」命令や「OUT」命令においてアクセス先アドレスの上位値を記述する必要をなくすことが可能となる。
As shown in FIG. 26, in this example, only one U register 130 is provided in each of the first register bank 121 and the second register bank 122. Specifically, in each of the first register bank 121 and the second register bank 122, the U register 130 is provided as one of the main registers 123.
Since the U register 130 is also provided in the second register bank 122, the input / output port area can be accessed using the upper address value stored in the U register 130 even when the out-of-area program is executed. Is possible. That is, it is possible to eliminate the need to describe the upper value of the access destination address in the "IN" instruction and the "OUT" instruction even in the out-of-area program.

前述のように、入出力ポートエリアはアドレスFFD0hからアドレスFFFFhまでの領域とされ、領域サイズとしては48バイトとされる。すなわち、アドレスの下位値で賄うことのできる領域サイズである。
このため、第一レジスタバンク121、第二レジスタバンク122のそれぞれにおいて、Uレジスタ130の数は単数としている。
As described above, the input / output port area is an area from the address FFD0h to the address FFFFh, and the area size is 48 bytes. That is, it is an area size that can be covered by the lower value of the address.
Therefore, the number of U registers 130 is singular in each of the first register bank 121 and the second register bank 122.

ここで、前述のようにQレジスタについては、第一レジスタバンク121、第二レジスタバンク122のそれぞれにおいて、Qレジスタ105、Q’レジスタ105’ごとに共通の値が格納されるが、Uレジスタ130についても、第一レジスタバンク121、第二レジスタバンク122のそれぞれにおいて共通の値を格納する。具体的に本例では、それぞれのUレジスタ130に「FFh」を格納する。
このようなUレジスタ130に対する「FFh」の格納処理は、CPU20aのリセット後の起動時において、Uレジスタ130に対する初期値の設定処理として自動的に実行される。
或いは、Uレジスタ130に対する「FFh」の格納処理は、例えば「初期設定処理」(S101)における「起動時の各種設定処理」(S206)において実行することもできる。
Here, as described above, for the Q register, a common value is stored for each of the Q register 105 and the Q'register 105'in the first register bank 121 and the second register bank 122, respectively, but the U register 130. Also, a common value is stored in each of the first register bank 121 and the second register bank 122. Specifically, in this example, "FFh" is stored in each U register 130.
Such a storage process of "FFh" for the U register 130 is automatically executed as an initial value setting process for the U register 130 at the time of starting after the reset of the CPU 20a.
Alternatively, the storage process of "FFh" in the U register 130 can be executed, for example, in the "various setting processes at startup" (S206) in the "initial setting process" (S101).

なお、前述したQレジスタの説明では、アドレス上位値が異なる領域にアクセスする際に「EX」命令を使用することを言及したが、「EX」命令を使用することは必須ではなく、場合によってはアクセス先アドレスの上位値をプログラムに記述してアクセスを行うこともできる。
例えば、使用するQレジスタがQレジスタ105に選択されている状態で上位値「F1h」のアドレスをアクセスする場合において、使用するQレジスタを「EX」命令でQ’レジスタ105’に切り替えるのではなく、アクセス先アドレスの情報として上位値「F1h」を含むアドレス情報をプログラムに記述しておくようにしてもよい。或いは、使用するQレジスタとしてQ’レジスタ105’が選択されている状態で上位値「F0h」のアドレスをアクセスする場合において、使用するQレジスタを「EX」命令でQレジスタ105に切り替えるのではなく、アクセス先アドレスの情報として上位値「F0h」を含むアドレス情報をプログラムに記述しておくようにしてもよい。
ここで、前者の場合、Qレジスタは、上位値「F0h」のアドレスにアクセスする際には使用されるが、上位値「F1h」のアドレスにアクセスする際には使用されない。また、後者の場合、Qレジスタは、上位値「F1h」のアドレスにアクセスする際には使用されるが、上位値「F0h」のアドレスにアクセスする際には使用されない。すなわち、これらの場合におけるQレジスタは、メモリ上の使用領域内(つまりメモリ上の対象領域内)にアクセスが行われる際に、使用される場合と使用されない場合とがある、ということになる。
この一方で、Uレジスタ130は、アドレス上位値「FFh」の領域のみを対象領域とするため、メモリ上の対象領域にアクセスが行われる際に、必ず使用されることになる。
In the above-mentioned explanation of the Q register, it was mentioned that the "EX" instruction is used when accessing the area where the upper address value is different, but it is not essential to use the "EX" instruction, and in some cases, it is necessary to use the "EX" instruction. It is also possible to describe the upper value of the access destination address in the program for access.
For example, when accessing the address of the upper value "F1h" while the Q register to be used is selected in the Q register 105, the Q register to be used is not switched to the Q'register 105'by the "EX" instruction. , The address information including the upper value "F1h" may be described in the program as the information of the access destination address. Alternatively, when accessing the address of the upper value "F0h" with the Q'register 105'selected as the Q register to be used, the Q register to be used is not switched to the Q register 105 by the "EX" instruction. , The address information including the upper value "F0h" may be described in the program as the information of the access destination address.
Here, in the former case, the Q register is used when accessing the address of the upper value "F0h", but is not used when accessing the address of the upper value "F1h". Further, in the latter case, the Q register is used when accessing the address of the upper value "F1h", but is not used when accessing the address of the upper value "F0h". That is, the Q register in these cases may or may not be used when the used area on the memory (that is, the target area on the memory) is accessed.
On the other hand, since the U register 130 targets only the area having the address upper value "FFh" as the target area, it is always used when the target area on the memory is accessed.

<7.実施形態のまとめ>

上記のように実施形態としての第一の遊技機は、それぞれが複数の汎用レジスタを含んで構成される第一レジスタ群(第一レジスタバンク121)、及び第二レジスタ群(第二レジスタバンク122)と、第一割込み管理レジスタ(IFFレジスタ125のIFF1)、及び第二割込み管理レジスタ(IFFレジスタ125のIFF2)と、を備える。
また、第一割込み管理レジスタと第二割込み管理レジスタに許可値を書き込む第一命令(「EI」命令)と、第一割込み管理レジスタと第二割込み管理レジスタに禁止値を書き込む第二命令(「DI」命令)と、領域内プログラムから領域外プログラムを呼び出す際に使用される第三命令(「CALLEX」命令)と、領域外プログラムから領域内プログラムに復帰する際に使用される第四命令(「RETEX」命令)と、がある。
そして、第三命令は、領域外プログラムを呼び出すよりも前に、第一割込み管理レジスタに禁止値を書き込み、使用するレジスタ群を第一レジスタ群から第二レジスタ群に切り替えるための処理を実行可能であり、第四命令は、領域内プログラムに復帰するよりも前に、第二割込み管理レジスタの値を第一割込み管理レジスタに上書きし、使用するレジスタ群を第二レジスタ群から第一レジスタ群に切り替えるための処理を実行可能とされる。
さらに、領域内プログラムにおいて、第二命令を実行した後、第一命令を実行するよりも前に、第三命令を実行するものである。
<7. Summary of embodiments>

As described above, the first gaming machine as the embodiment has a first register group (first register bank 121) and a second register group (second register bank 122), each of which is composed of a plurality of general-purpose registers. ), A first interrupt management register (IFF1 of the IFF register 125), and a second interrupt management register (IFF2 of the IFF register 125).
In addition, the first instruction (“EI” instruction) that writes the permitted value to the first interrupt management register and the second interrupt management register, and the second instruction (“EI” instruction) that writes the prohibited value to the first interrupt management register and the second interrupt management register. The DI "instruction), the third instruction ("CALLEX" instruction) used when calling the out-of-area program from the in-area program, and the fourth instruction ("CALLEX" instruction) used when returning from the out-of-area program to the in-area program. There is a "RETEX" command).
Then, the third instruction can write a prohibited value to the first interrupt management register and execute a process for switching the register group to be used from the first register group to the second register group before calling the out-of-area program. The fourth instruction overwrites the value of the second interrupt management register with the first interrupt management register before returning to the in-region program, and changes the register group to be used from the second register group to the first register group. The process for switching to is enabled.
Further, in the intra-regional program, the third instruction is executed after the second instruction is executed and before the first instruction is executed.

領域外プログラムを実行するときは割込み禁止状態とすることを要する。そのため、第三命令の実行前に第一命令を実行してしまうと、割込み禁止状態と割込み許可状態が頻繁に切り替わってしまうことになる。これに対し、上記のように第二命令を実行した後、第一命令を実行するよりも前に、第三命令を実行するものとすれば、割込み禁止状態が維持されたまま領域外プログラムの呼び出しと領域内プログラムへの復帰が行われるため、割込み制御状態の切り替え回数が抑えられる。
従って、制御状態の切り替わり回数を抑えることができ、制御の安定性向上を図ることができる。
When executing a program outside the area, it is necessary to put it in the interrupt disabled state. Therefore, if the first instruction is executed before the execution of the third instruction, the interrupt disabled state and the interrupt enabled state are frequently switched. On the other hand, if the third instruction is executed after the second instruction is executed and before the first instruction is executed as described above, the interrupt disabled state of the out-of-area program is maintained. Since the call and the return to the program in the area are performed, the number of times the interrupt control state is switched can be suppressed.
Therefore, the number of times the control state is switched can be suppressed, and the stability of control can be improved.

また、実施形態としての第一の遊技機においては、第一レジスタ群は、スタックポインタを記憶する第一スタックポインタ(第一レジスタバンク121のSPレジスタ116)を有し、第二レジスタ群は、スタックポインタを記憶する第二スタックポインタ(第二レジスタバンク122のSPレジスタ116)を有し、第一スタックポインタに、領域内プログラムで使用するスタックメモリのアドレス情報を記憶させ、第二スタックポインタに、領域外プログラムで使用するスタックメモリのアドレス情報を記憶させ、領域内プログラムにおいて、第三命令を実行して領域外プログラムを呼び出す際に、領域外プログラムの第一アドレスを指定して呼び出す場合と、第二アドレスを指定して呼び出す場合とがあり、領域外プログラムにおいて、第一アドレスが呼び出された場合と、第二アドレスが呼び出された場合の何れにおいても、第二スタックポインタに共通のスタックメモリのアドレス情報を記憶させるための第五命令を実行している。 Further, in the first gaming machine as the embodiment, the first register group has a first stack pointer (SP register 116 of the first register bank 121) for storing the stack pointer, and the second register group has It has a second stack pointer (SP register 116 of the second register bank 122) that stores the stack pointer, stores the address information of the stack memory used by the program in the area in the first stack pointer, and stores the address information of the stack memory used in the in-region program in the second stack pointer. , When the address information of the stack memory used in the out-of-area program is stored and the out-of-area program is called by executing the third instruction in the in-area program, the first address of the out-of-area program is specified and called. , The second address may be specified and called. In the out-of-area program, the stack common to the second stack pointer is used regardless of whether the first address is called or the second address is called. The fifth instruction for storing the address information of the memory is executed.

これにより、領域外プログラムで用いるスタックポインタの値を、領域外プログラムが呼び出されるごとにセットし直すことが可能とされる。
従って、仮に、或る領域外プログラムの実行後に第二スタックポインタの記憶値が何らかの不具合等により変化してしまっても、別の領域外プログラムが実行されたときに正しいスタックポインタの値をセットし直すことができ、領域外プログラムによるスタック処理の安定性を高めることができる。
This makes it possible to reset the value of the stack pointer used in the out-of-area program each time the out-of-area program is called.
Therefore, even if the stored value of the second stack pointer changes due to some trouble after the execution of a certain out-of-area program, the correct stack pointer value is set when another out-of-area program is executed. It can be fixed and the stability of stack processing by the out-of-area program can be improved.

さらに、実施形態としての第一の遊技機においては、第一レジスタ群は、スタックポインタを記憶する第一スタックポインタを有し、第二レジスタ群は、スタックポインタを記憶する第二スタックポインタを有し、前記第一スタックポインタに、前記領域内プログラムで使用するスタックメモリのアドレス情報を記憶させ、前記第二スタックポインタに、領域外プログラムで使用するスタックメモリのアドレス情報を記憶させ、領域内プログラムにおいて、第三命令を実行して領域外プログラムを呼び出す際に、領域外プログラムの第一アドレスを指定して呼び出す場合と、その後のタイミングにて、第二アドレスを指定して呼び出す場合とがあり、領域外プログラムにおいて、第一アドレスが呼び出された場合にのみ、第二スタックポインタに所定のスタックメモリのアドレス情報を記憶させるための第六命令を実行している。 Further, in the first gaming machine as the embodiment, the first register group has a first stack pointer that stores the stack pointer, and the second register group has a second stack pointer that stores the stack pointer. Then, the first stack pointer stores the address information of the stack memory used by the in-area program, and the second stack pointer stores the address information of the stack memory used in the out-of-area program. In, when the third instruction is executed and the out-of-area program is called, there are cases where the first address of the out-of-area program is specified and called, and there are cases where the second address is specified and called at a subsequent timing. , In the out-of-area program, the sixth instruction for storing the address information of the predetermined stack memory in the second stack pointer is executed only when the first address is called.

領域外プログラムの処理開始時に第二スタックポインタに対してセットされているべきスタックメモリのアドレス情報は固定のアドレス情報であるため、領域外プログラムとして、第一アドレスのプログラムの実行後に第二アドレスのプログラムが実行される場合には、第二スタックポインタに対するアドレス情報の記憶処理は、先に実行される方のプログラムである第一アドレスのプログラムにおいてのみ行われれば足る。
従って、上記のように第一アドレスが呼び出された場合にのみ第二スタックポインタに所定のスタックメモリのアドレス情報を記憶させる命令を実行することで、処理の効率化を図ることができる。
Since the address information of the stack memory that should be set for the second stack pointer at the start of processing of the out-of-area program is fixed address information, the address information of the second address after the execution of the program of the first address as the out-of-area program When the program is executed, it is sufficient that the memory processing of the address information for the second stack pointer is performed only in the program of the first address, which is the program to be executed first.
Therefore, the processing efficiency can be improved by executing the instruction to store the address information of the predetermined stack memory in the second stack pointer only when the first address is called as described above.

実施形態としての第二の遊技機は、遊技進行に係る制御を行う制御手段を備え、制御手段は、アクセス可能なメモリアドレス空間を有すると共に、汎用レジスタと、一部の命令において扱うメモリアドレス空間のアドレスの上位値を格納するレジスタである上位値レジスタとをそれぞれ複数含んだレジスタ群(レジスタバンク)を少なくとも一つ有している。
そして、メモリアドレス空間には、領域サイズが所定サイズの第一領域(「内蔵RAM」の領域)と、第一領域とは異なる領域であって領域サイズが所定サイズよりも小さい第二領域(「入出力ポートエリア」の領域)とがあり、上位値レジスタには、第一領域に関連した第一種上位値レジスタ(Qレジスタ)と、第二領域におけるアドレスの上位値を格納する第二種上位値レジスタ(Uレジスタ)とがあり、レジスタ群において、第一種上位値レジスタの数が複数、第二種上位値レジスタの数が単数とされ、レジスタ群における複数の第一種上位値レジスタには、第1の第一種上位値レジスタ(Qレジスタ105)と、第1の第一種上位値レジスタの格納値に連続する値を格納する第2の第一種上位値レジスタ(Q’レジスタ105’)とが含まれるものである。
The second gaming machine as an embodiment includes a control means for controlling the progress of the game, and the control means has an accessible memory address space, a general-purpose register, and a memory address space handled by some instructions. It has at least one register group (register bank) including a plurality of upper value registers, which are registers for storing the upper values of the addresses of.
Then, in the memory address space, a first area (“built-in RAM” area) having a predetermined area size and a second area (“internal RAM” area) which is different from the first area and whose area size is smaller than the predetermined size (“” There is an area of "input / output port area"), and the upper value register is a first type upper value register (Q register) related to the first area and a second type that stores the upper value of the address in the second area. There is a high-order value register (U register), and in the register group, the number of first-class high-value registers is plural, the number of second-class high-value registers is singular, and a plurality of first-class high-value registers in the register group. The first type upper value register (Q register 105) and the second type first type upper value register (Q') that stores consecutive values in the stored values of the first type first type upper value register. Registers 105') and are included.

上位値レジスタを設けることで、第一領域や第二領域における所要のアドレスにアクセスする際には、上位値レジスタに格納された上位値を用いたアクセスを行うことで、プログラムに該アドレスの上位値を記述する必要をなくすことが可能となる。すなわち、プログラム容量の削減を図ることが可能となる。このとき、アドレス下位値のバイト数によっては、アクセス対象とする領域全体を賄えないことがある。例えば、アドレス下位値で賄うことのできる領域のサイズが256バイト(つまりアドレス下位値=1バイト)であるとして、仮に、第一領域のサイズが256バイトを超えるサイズである場合には、アドレス下位値で第一領域の全体を賄うことができない。つまりこの場合は、第一領域における256バイト以内の領域と256バイトを超える領域とで、異なるアドレス上位値を使用することを要する。このため、第一種上位値レジスタとしては、第1の第一種上位値レジスタと、第1の第一種上位値レジスタの格納値に連続する値を格納する第2の第一種上位値レジスタとを少なくとも設けるようにしている。これにより、第一領域における何れのアドレスにアクセスする際にも、上位値レジスタに格納された上位値を用いたアクセスを行うことが可能となり、プログラムにアクセス先アドレスの上位値を記述する必要をなくすことが可能となる。第二領域については、所定サイズよりも小さい領域であるため、第二種上位値レジスタの数は単数であってもプログラムにアクセス先アドレスの上位値を記述する必要をなくすことが可能である。
従って、上記のように第一種上位値レジスタを複数、第二種上位値レジスタを単数とした構成により、プログラム容量の削減を図ることができる。
By providing the upper value register, when accessing the required address in the first area or the second area, the upper value of the address is given to the program by accessing using the upper value stored in the upper value register. It is possible to eliminate the need to describe the value. That is, it is possible to reduce the program capacity. At this time, depending on the number of bytes of the lower address value, the entire area to be accessed may not be covered. For example, assuming that the size of the area that can be covered by the address lower value is 256 bytes (that is, the address lower value = 1 byte), if the size of the first area exceeds 256 bytes, the address lower value is used. The value cannot cover the entire first area. That is, in this case, it is necessary to use different address upper values in the area within 256 bytes and the area exceeding 256 bytes in the first area. Therefore, as the first-class upper-value register, the second-class upper-value register that stores consecutive values in the first-class upper-value register and the first-class upper-value register is stored. At least a register is provided. As a result, when accessing any address in the first area, it is possible to access using the upper value stored in the upper value register, and it is necessary to describe the upper value of the access destination address in the program. It will be possible to eliminate it. Since the second area is smaller than a predetermined size, it is possible to eliminate the need to describe the upper value of the access destination address in the program even if the number of the second type upper value registers is singular.
Therefore, the program capacity can be reduced by the configuration in which the first-class upper-value register is a plurality and the second-class upper-value register is a single number as described above.

また、実施形態としての第二の遊技機においては、第二領域は、制御手段の入出力レジスタを割り当てた領域である。 Further, in the second gaming machine as the embodiment, the second area is an area to which the input / output registers of the control means are assigned.

これにより、メモリマップド (Memory Mapped) I/Oを採用可能となる。
メモリマップドI/Oでは、ハードウェアとしてのI/Oレジスタを設ける必要がなくなるため、制御手段の内部回路を簡略化することができ、処理の高速化や低価格化を図ることができる。
This makes it possible to employ Memory Mapped I / O.
Since it is not necessary to provide an I / O register as hardware in the memory-mapped I / O, the internal circuit of the control means can be simplified, and the processing speed and price can be reduced.

さらに、実施形態としての第二の遊技機においては、第一領域には、領域内プログラムにより使用可能とされた領域である使用領域と、領域外プログラムにより使用可能とされた領域である使用外領域とが含まれ、使用領域は、アドレスの上位値が連続した二つの領域で構成され、使用外領域は、アドレスの上位値が使用領域とは異なる領域とされ、レジスタ群として、少なくとも領域内プログラムで用いる第一レジスタ群を備え、第一レジスタ群において、前記第1の第一種上位値レジスタと前記第2の第一種上位値レジスタとが設けられている。 Further, in the second gaming machine as the embodiment, the first area includes a used area, which is an area made available by the in-area program, and an out-of-use area, which is an area made available by the out-of-area program. The used area is composed of two areas in which the upper value of the address is continuous, and the unused area is an area in which the upper value of the address is different from the used area. A first-class register group used in a program is provided, and the first-class upper-value register and the second-class first-class upper-value register are provided in the first register group.

これにより、使用領域における何れのアドレスにアクセスする際にも、二つの第一種上位値レジスタのうち対応する何れかに格納されたアドレス上位値を用いたアクセスを行うことが可能となる。すなわち、領域内プログラムにアクセス先アドレスの上位値を記述する必要をなくすことが可能となる。
従って、使用領域におけるプログラム容量の削減を図ることができる。
As a result, when accessing any address in the used area, it is possible to perform access using the address upper value stored in any of the two first-class upper value registers. That is, it is possible to eliminate the need to describe the upper value of the access destination address in the program in the area.
Therefore, it is possible to reduce the program capacity in the used area.

さらにまた、実施形態としての第二の遊技機においては、第一領域には、領域内プログラムにより使用可能とされた領域である使用領域と、領域外プログラムにより使用可能とされた領域である使用外領域とが含まれ、レジスタ群として、領域内プログラムで用いる第一レジスタ群と、領域外プログラムで用いる第二レジスタ群の二つを備え、第一、第二レジスタ群のそれぞれに第1の第一種上位値レジスタと第2の第一種上位値レジスタと第二種上位値レジスタとがあり、第一、第二レジスタ群のそれぞれにおいて、第1の第一種上位値レジスタ、第2の第一種上位値レジスタ、第二種上位値レジスタごとにそれぞれ共通の値が格納される。 Furthermore, in the second gaming machine as the embodiment, the first area is a used area that is a region that can be used by the in-region program and a use that is a region that can be used by the out-of-area program. An outer region is included, and the register group includes two groups, a first register group used in the in-region program and a second register group used in the out-of-region program, and each of the first and second register groups has a first register group. There are a first-class high-value register, a second-class high-value register, and a second-class high-value register. In each of the first and second register groups, the first-class high-value register and the second type high-value register are available. A common value is stored for each of the first-class upper-value register and the second-class upper-value register.

すなわち、第二レジスタ群における二つの第一種上位値レジスタ、単数の第二種上位値レジスタに対して、それぞれ第一レジスタ群側と同じ値が格納される。これにより、領域外プログラムの実行時(つまり第二レジスタ群の使用時)に第一領域や第二領域にアクセスする際に、第一種上位値レジスタや第二種上位値レジスタに格納されたアドレス上位値を用いることが可能となる。つまりは、領域外プログラムについても、第一領域や第二領域にアクセスするための命令にアドレス上位値を記述する必要をなくすことが可能となる。
従って、領域外プログラムの容量が徒に拡大してしまうことの防止を図ることができる。
That is, the same values as those on the first register group side are stored in each of the two first-class upper-value registers and the singular second-class upper-value register in the second register group. As a result, when accessing the first area or the second area when the program outside the area is executed (that is, when the second register group is used), it is stored in the first-class upper-value register or the second-class upper-value register. It is possible to use the upper address value. That is, it is possible to eliminate the need to describe the address upper value in the instruction for accessing the first area and the second area even for the program outside the area.
Therefore, it is possible to prevent the capacity of the out-of-area program from being unnecessarily expanded.

1 パチンコ遊技機
13 演出ボタン
15a 十字キー
15b 決定ボタン
20 主制御基板(主制御部)
20a CPU
20b ROM
20c RAM
24 演出制御基板(演出制御部)
24a CPU
24b ROM
24c RAM
36M 主液晶表示装置
36S 副液晶表示装置
38a、38b 特別図柄表示装置
45 装飾ランプ
45a 光表示装置
46 スピーカ
46a 音響発生装置
61 前扉開放センサ
83 ハンドルセンサ
94 設定キースイッチ
97 設定・性能表示器
98 RAMクリアスイッチ
100 PC(プログラムカウンタ)レジスタ
105 Qレジスタ
105’ Q’レジスタ
116 SP(スタックポインタ)レジスタ
121 第一レジスタバンク
122 第二レジスタバンク
125 IFF(割込み制御フラグ)レジスタ
130 Uレジスタ
1 Pachinko game machine 13 Direction button 15a Cross key 15b Enter button 20 Main control board (main control unit)
20a CPU
20b ROM
20c RAM
24 Production control board (Production control unit)
24a CPU
24b ROM
24c RAM
36M Main liquid crystal display device 36S Sub liquid crystal display device 38a, 38b Special symbol display device 45 Decorative lamp 45a Light display device 46 Speaker 46a Sound generator 61 Front door open sensor 83 Handle sensor 94 Setting key switch 97 Setting / performance display 98 RAM Clear switch 100 PC (program counter) register 105 Q register 105'Q' register 116 SP (stack pointer) register 121 1st register bank 122 2nd register bank 125 IFF (interrupt control flag) register 130 U register

Claims (4)

遊技進行に係る制御を行う制御手段を備え、
前記制御手段は、
アクセス可能なメモリアドレス空間を有すると共に、
汎用レジスタと、一部の命令において扱う前記メモリアドレス空間のアドレスの上位値を格納するレジスタである上位値レジスタとをそれぞれ複数含んだレジスタ群を少なくとも一つ有し、
前記メモリアドレス空間には、領域サイズが所定サイズの第一領域と、前記第一領域とは異なる領域であって領域サイズが前記所定サイズよりも小さい第二領域とがあり、
前記上位値レジスタには、前記第一領域に関連した第一種上位値レジスタと、前記第二領域におけるアドレスの上位値を格納する第二種上位値レジスタとがあり、
前記レジスタ群において、前記第一種上位値レジスタの数が複数、前記第二種上位値レジスタの数が単数とされ、
前記レジスタ群における複数の前記第一種上位値レジスタには、第1の第一種上位値レジスタと、前記第1の第一種上位値レジスタの格納値に連続する値を格納する第2の第一種上位値レジスタとが含まれる
遊技機。
Equipped with control means to control the progress of the game
The control means
It has an accessible memory address space and
It has at least one register group including a plurality of general-purpose registers and a plurality of upper value registers which are registers for storing upper values of addresses in the memory address space handled in some instructions.
The memory address space includes a first area having a predetermined area size and a second area different from the first area and having an area size smaller than the predetermined size.
The upper value register includes a first type upper value register related to the first area and a second type upper value register for storing an upper value of an address in the second area.
In the register group, the number of the first-class upper-value registers is plural, and the number of the second-class upper-value registers is singular.
In the plurality of the first-class upper-value registers in the register group, a second type-first upper-value register and a second value continuous with the stored values of the first-class upper-value register are stored in the first-class upper-value register. A game machine that includes a first-class high-value register.
前記第二領域は、前記制御手段の入出力レジスタを割り当てた領域である
請求項1に記載の遊技機。
The gaming machine according to claim 1, wherein the second area is an area to which the input / output registers of the control means are allocated.
前記第一領域には、
領域内プログラムにより使用可能とされた領域である使用領域と、領域外プログラムにより使用可能とされた領域である使用外領域とが含まれ、
前記使用領域は、アドレスの上位値が連続した二つの領域で構成され、前記使用外領域は、アドレスの上位値が前記使用領域とは異なる領域とされ、
前記レジスタ群として、少なくとも前記領域内プログラムで用いる第一レジスタ群を備え、
前記第一レジスタ群において、前記第1の第一種上位値レジスタと前記第2の第一種上位値レジスタとが設けられた
請求項1又は請求項2に記載の遊技機。
In the first region,
It includes a used area, which is an area made available by the in-area program, and an out-of-use area, which is an area made available by the out-of-area program.
The used area is composed of two areas in which the upper value of the address is continuous, and the unused area is an area in which the upper value of the address is different from the used area.
As the register group, at least the first register group used in the program in the area is provided.
The gaming machine according to claim 1 or 2, wherein in the first register group, the first type first upper value register and the second type first upper value register are provided.
前記第一領域には、
領域内プログラムにより使用可能とされた領域である使用領域と、領域外プログラムにより使用可能とされた領域である使用外領域とが含まれ、
前記レジスタ群として、前記領域内プログラムで用いる第一レジスタ群と、前記領域外プログラムで用いる第二レジスタ群の二つを備え、
前記第一、第二レジスタ群のそれぞれに前記第1の第一種上位値レジスタと前記第2の第一種上位値レジスタと前記第二種上位値レジスタとがあり、
前記第一、第二レジスタ群のそれぞれにおいて、前記第1の第一種上位値レジスタ、前記第2の第一種上位値レジスタ、前記第二種上位値レジスタごとにそれぞれ共通の値が格納される
請求項1から請求項3の何れかに記載の遊技機。
In the first region,
It includes a used area, which is an area made available by the in-area program, and an out-of-use area, which is an area made available by the out-of-area program.
The register group includes two groups, a first register group used in the in-region program and a second register group used in the out-of-region program.
Each of the first and second register groups includes the first type first upper value register, the second type first upper value register, and the second type upper value register.
In each of the first and second register groups, a common value is stored for each of the first type first type upper value register, the second type first type upper value register, and the second type upper value register. The gaming machine according to any one of claims 1 to 3.
JP2019172984A 2019-09-24 2019-09-24 game machine Active JP7282643B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019172984A JP7282643B2 (en) 2019-09-24 2019-09-24 game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019172984A JP7282643B2 (en) 2019-09-24 2019-09-24 game machine

Publications (2)

Publication Number Publication Date
JP2021049021A true JP2021049021A (en) 2021-04-01
JP7282643B2 JP7282643B2 (en) 2023-05-29

Family

ID=75154917

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019172984A Active JP7282643B2 (en) 2019-09-24 2019-09-24 game machine

Country Status (1)

Country Link
JP (1) JP7282643B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022161415A (en) * 2021-04-09 2022-10-21 株式会社平和 game machine
JP2022163773A (en) * 2021-04-15 2022-10-27 株式会社平和 game machine
JP2022163770A (en) * 2021-04-15 2022-10-27 株式会社平和 game machine
JP2022163769A (en) * 2021-04-15 2022-10-27 株式会社平和 game machine
JP2022163772A (en) * 2021-04-15 2022-10-27 株式会社平和 game machine
JP2022163766A (en) * 2021-04-15 2022-10-27 株式会社平和 game machine
JP2022163765A (en) * 2021-04-15 2022-10-27 株式会社平和 game machine
JP2022163771A (en) * 2021-04-15 2022-10-27 株式会社平和 game machine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017164252A (en) * 2016-03-15 2017-09-21 株式会社オリンピア Game machine
JP2018029840A (en) * 2016-08-25 2018-03-01 株式会社三共 Game machine
JP2019141675A (en) * 2019-04-23 2019-08-29 株式会社エルイーテック Processor
JP2019154838A (en) * 2018-03-14 2019-09-19 株式会社ユニバーサルエンターテインメント Game machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017164252A (en) * 2016-03-15 2017-09-21 株式会社オリンピア Game machine
JP2018029840A (en) * 2016-08-25 2018-03-01 株式会社三共 Game machine
JP2019154838A (en) * 2018-03-14 2019-09-19 株式会社ユニバーサルエンターテインメント Game machine
JP2019141675A (en) * 2019-04-23 2019-08-29 株式会社エルイーテック Processor

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022161415A (en) * 2021-04-09 2022-10-21 株式会社平和 game machine
JP7407761B2 (en) 2021-04-09 2024-01-04 株式会社平和 gaming machine
JP2022163773A (en) * 2021-04-15 2022-10-27 株式会社平和 game machine
JP2022163770A (en) * 2021-04-15 2022-10-27 株式会社平和 game machine
JP2022163769A (en) * 2021-04-15 2022-10-27 株式会社平和 game machine
JP2022163772A (en) * 2021-04-15 2022-10-27 株式会社平和 game machine
JP2022163766A (en) * 2021-04-15 2022-10-27 株式会社平和 game machine
JP2022163765A (en) * 2021-04-15 2022-10-27 株式会社平和 game machine
JP2022163771A (en) * 2021-04-15 2022-10-27 株式会社平和 game machine

Also Published As

Publication number Publication date
JP7282643B2 (en) 2023-05-29

Similar Documents

Publication Publication Date Title
JP6827898B2 (en) Game machine
JP6768605B2 (en) Game machine
JP7282643B2 (en) game machine
JP6642945B2 (en) Gaming machine
JP6656209B2 (en) Gaming machine
JP6646911B2 (en) Gaming machine
JP6787862B2 (en) Game machine
JP6827901B2 (en) Game machine
JP6827900B2 (en) Game machine
JP6827899B2 (en) Game machine
JP2023158039A (en) Game machine
JP6967553B2 (en) Pachinko machine
JP6907355B2 (en) Pachinko machine
JP6964149B2 (en) Pachinko machine
JP2021062264A (en) Game machine
JP2021164722A (en) Game machine
JP2021164724A (en) Game machine
JP2021164721A (en) Game machine
JP5465839B2 (en) Amusement stand
JP7083378B2 (en) Pachinko machine
JP6999605B2 (en) Pachinko machine
JP6914819B2 (en) Pachinko machine
JP2021058764A (en) Game machine
JP2021058763A (en) Game machine
JP2021058765A (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220805

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20220805

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230419

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230425

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230517

R150 Certificate of patent or registration of utility model

Ref document number: 7282643

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150