JP6879603B2 - Pachinko machine - Google Patents

Pachinko machine Download PDF

Info

Publication number
JP6879603B2
JP6879603B2 JP2020089036A JP2020089036A JP6879603B2 JP 6879603 B2 JP6879603 B2 JP 6879603B2 JP 2020089036 A JP2020089036 A JP 2020089036A JP 2020089036 A JP2020089036 A JP 2020089036A JP 6879603 B2 JP6879603 B2 JP 6879603B2
Authority
JP
Japan
Prior art keywords
reel
reels
winning combination
register
variables
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2020089036A
Other languages
Japanese (ja)
Other versions
JP2021023797A (en
Inventor
智裕 久保田
智裕 久保田
純也 杉山
純也 杉山
田村 純一
純一 田村
Original Assignee
株式会社オリンピア
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社オリンピア filed Critical 株式会社オリンピア
Priority to JP2020089036A priority Critical patent/JP6879603B2/en
Publication of JP2021023797A publication Critical patent/JP2021023797A/en
Application granted granted Critical
Publication of JP6879603B2 publication Critical patent/JP6879603B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Slot Machines And Peripheral Devices (AREA)

Description

本発明は、遊技者に遊技上の利益を付与するか否かを抽選により決定する遊技機に関する。 The present invention relates to a gaming machine that determines by lottery whether or not to give a gaming benefit to a player.

遊技機としてのスロットマシンでは、遊技者によるメダル(遊技媒体)のベットおよびスタートスイッチの操作に応じて、当選役の抽選を行うとともに、種々の図柄が記された複数のリールが回転する。そして、抽選結果と遊技者によるストップスイッチの操作に応じてリールが順次停止され、払い出しの対象となるライン上である有効ライン上に、当選役に対応する図柄組み合わせが表示されると、所定枚数のメダルが払い出されるなど、遊技上の利益(以下、単に遊技利益という)が遊技者に付与されることとなる。 In a slot machine as a game machine, a lottery of winning combinations is performed according to a bet of a medal (game medium) and an operation of a start switch by a player, and a plurality of reels on which various symbols are written are rotated. Then, the reels are sequentially stopped according to the lottery result and the operation of the stop switch by the player, and when the symbol combination corresponding to the winning combination is displayed on the effective line on the line to be paid out, the predetermined number of reels is displayed. A game profit (hereinafter, simply referred to as a game profit) will be given to the player, such as the medals being paid out.

このようなスロットマシンでは、遊技性を高めるため、有限なメモリの記憶領域を有効利用することが望まれる。例えば、同一の滑り数データを複数の図柄位置に対応付けることで、リールの停止制御を実行する際のデータ容量を削減する技術が知られている(例えば、特許文献1)。 In such a slot machine, it is desired to effectively use the storage area of a finite memory in order to improve the playability. For example, there is known a technique for reducing the data capacity when executing reel stop control by associating the same slip number data with a plurality of symbol positions (for example, Patent Document 1).

特開2006−239010号公報Japanese Unexamined Patent Publication No. 2006-239010

スロットマシンでは、遊技の進行を制御する遊技制御処理に係るプログラムを、主制御基板のROMにおける使用領域(制御領域4.5kbyte+データ領域3.0kbyte)に配置しなければならない。しかし、遊技利益が大きい当選役(選択当選役)を含む当選種別に当選したときに、その選択当選役の入賞条件となるストップスイッチの操作態様が報知されることで、当該選択当選役に対応する図柄組み合わせを、遊技者が有効ライン上に容易に表示させることができる、所謂、AT(アシストタイム)が実行されるAT演出状態を主制御基板において管理する場合や、リールユニットを多彩な態様で回転させる所謂リール演出を、主制御基板において管理する場合、その処理により、使用領域の特に制御領域が圧迫されるおそれがある。 In the slot machine, a program related to the game control process for controlling the progress of the game must be arranged in the used area (control area 4.5 kbytes + data area 3.0 kbytes) in the ROM of the main control board. However, when a winning type including a winning combination (selected winning combination) with a large game profit is won, the operation mode of the stop switch, which is a winning condition for the selected winning combination, is notified to correspond to the selected winning combination. The main control board manages the AT effect state in which the so-called AT (assist time) is executed, in which the player can easily display the symbol combination to be performed on the effective line, or the reel unit can be used in various modes. When the so-called reel effect of rotating with is managed by the main control board, the processing may put pressure on the used area, particularly the control area.

本発明は、このような課題に鑑み、遊技制御処理を行うための制御領域の容量を確保することが可能な遊技機を提供することを目的としている。 In view of such a problem, an object of the present invention is to provide a gaming machine capable of securing a capacity of a control area for performing a gaming control process.

上記課題を解決するために、遊技の進行に用いられる複数のリールと、前記複数のリールを制御するCPUと、前記CPUに用いられるプログラムが格納されたROMと、前記プログラムにより更新される変数を保持するRAMと、を備える本発明の遊技機では、前記CPUは、前記ROMから前記プログラムを読み出し、前記RAMで保持された変数を更新して、前記複数のリールを制御し、前記RAMには、前記複数のリールそれぞれにおいて、前記リールを制御するためのパラメータの属性である複数種類のリール属性それぞれに変数が割り当てられており、前記複数のリールそれぞれに対応する前記複数種類のリール属性それぞれに割り当てられた変数がアドレスを異ならせて前記リール属性毎に纏めて配置されている。 In order to solve the above problems, a plurality of reels used for the progress of the game, a CPU for controlling the plurality of reels, a ROM in which a program used for the CPU is stored, and variables updated by the program are provided. In the gaming machine of the present invention including a holding RAM, the CPU reads the program from the ROM, updates the variables held in the RAM, controls the plurality of reels, and causes the RAM. , In each of the plurality of reels, variables are assigned to each of the plurality of types of reel attributes which are the attributes of the parameters for controlling the reels, and the plurality of types of reel attributes corresponding to the plurality of reels are assigned to each. The assigned variables have different addresses and are collectively arranged for each reel attribute.

上記課題を解決するために、遊技の進行に用いられる複数のリールと、前記複数のリールを制御するCPUと、前記CPUに用いられるプログラムが格納されたROMと、前記プログラムにより更新される変数を保持するRAMと、を備える本発明の他の遊技機では、前記CPUは、前記ROMから前記プログラムを読み出し、前記RAMで保持された変数を更新して、前記複数のリールを制御し、前記RAMには、前記複数のリールそれぞれにおいて、前記リールを制御するためのパラメータの属性である複数種類のリール属性それぞれに変数が割り当てられており、前記複数のリールそれぞれに対応する前記複数種類のリール属性それぞれに割り当てられた変数がアドレスを異ならせて前記リール属性毎に纏めて配置されている場合と、前記複数種類のリール属性に割り当てられた変数がアドレスを異ならせて前記リール単位で纏めて配置されている場合とが混在する。 In order to solve the above problems, a plurality of reels used for the progress of the game, a CPU for controlling the plurality of reels, a ROM in which a program used for the CPU is stored, and variables updated by the program are provided. In another gaming machine of the present invention comprising a holding RAM, the CPU reads the program from the ROM, updates the variables held in the RAM, controls the plurality of reels, and controls the RAM. In each of the plurality of reels, variables are assigned to each of the plurality of types of reel attributes which are the attributes of the parameters for controlling the reels, and the plurality of types of reel attributes corresponding to each of the plurality of reels are assigned. Variables assigned to each are arranged together for each reel attribute with different addresses, and variables assigned to the plurality of types of reel attributes are arranged together for each reel with different addresses. There is a mixture of cases where it is done.

本発明によれば、遊技制御処理を行うための制御領域の容量を確保することが可能となる。 According to the present invention, it is possible to secure the capacity of the control area for performing the game control process.

スロットマシンの概略的な機械的構成を説明するための外観図である。It is an external view for demonstrating the schematic mechanical structure of a slot machine. スロットマシンの概略的な機械的構成を説明するための前面扉を開いた状態での外観図である。It is an external view in the state which the front door is opened for demonstrating the schematic mechanical structure of a slot machine. リールの図柄配列および有効ラインを説明する図である。It is a figure explaining the symbol arrangement and effective line of a reel. スロットマシンの概略的な電気的構成を示したブロック図である。It is a block diagram which showed the schematic electrical structure of a slot machine. 当選役を説明するための説明図である。It is explanatory drawing for demonstrating the winning combination. 遊技状態の遷移を説明するための説明図である。It is explanatory drawing for demonstrating transition of a game state. 当選役抽選テーブルを示す図である。It is a figure which shows the winning combination lottery table. 主制御基板のメイン処理を示したフローチャートである。It is a flowchart which showed the main processing of the main control board. メインROMおよびメインRAMのメモリマップを示す説明図である。It is explanatory drawing which shows the memory map of the main ROM and the main RAM. メインCPUの内部レジスタを説明するための説明図である。It is explanatory drawing for demonstrating the internal register of a main CPU. ワークエリアにおける変数の配置を説明するための説明図である。It is explanatory drawing for demonstrating arrangement of a variable in a work area. ワークエリアにおける変数の配置を説明するための説明図である。It is explanatory drawing for demonstrating arrangement of a variable in a work area. リール制御手段の処理を説明するための説明図である。It is explanatory drawing for demonstrating the processing of a reel control means. リール制御手段の処理を説明するための説明図である。It is explanatory drawing for demonstrating the processing of a reel control means. スロットマシンの概略的な機械的構成を説明するための外観図である。It is an external view for demonstrating the schematic mechanical structure of a slot machine. リール数が4つの場合のプログラムの違いを説明するための説明図である。It is explanatory drawing for demonstrating the difference of the program when the number of reels is four. リール数が4つの場合のプログラムの違いを説明するための説明図である。It is explanatory drawing for demonstrating the difference of the program when the number of reels is four. リール制御手段の処理を説明するためのフローチャートである。It is a flowchart for demonstrating the processing of a reel control means. 図18のフローチャートを実現するためのプログラムを説明するための説明図である。It is explanatory drawing for demonstrating the program for realizing the flowchart of FIG. ワークエリアにおける変数の配置を説明するための説明図である。It is explanatory drawing for demonstrating arrangement of a variable in a work area. リール制御手段の処理全体を実現するためのプログラムを説明するための説明図である。It is explanatory drawing for demonstrating the program for realizing the whole processing of a reel control means. リール制御手段の処理全体を実現するためのプログラムを説明するための説明図である。It is explanatory drawing for demonstrating the program for realizing the whole processing of a reel control means. リール制御手段の処理全体を実現するためのプログラムを説明するための説明図である。It is explanatory drawing for demonstrating the program for realizing the whole processing of a reel control means. リール制御手段の処理全体を実現するためのプログラムを説明するための説明図である。It is explanatory drawing for demonstrating the program for realizing the whole processing of a reel control means. リール制御手段の処理全体を実現するためのプログラムを説明するための説明図である。It is explanatory drawing for demonstrating the program for realizing the whole processing of a reel control means. リール制御手段の処理全体を実現するためのプログラムを説明するための説明図である。It is explanatory drawing for demonstrating the program for realizing the whole processing of a reel control means.

以下に添付図面を参照しながら、本発明の好適な実施形態について詳細に説明する。かかる実施形態に示す寸法、材料、その他具体的な数値等は、発明の理解を容易とするための例示にすぎず、特に断る場合を除き、本発明を限定するものではない。なお、本明細書および図面において、実質的に同一の機能、構成を有する要素については、同一の符号を付することにより重複説明を省略し、また本発明に直接関係のない要素は図示を省略する。 Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The dimensions, materials, other specific numerical values, etc. shown in the embodiment are merely examples for facilitating the understanding of the invention, and do not limit the present invention unless otherwise specified. In the present specification and drawings, elements having substantially the same function and configuration are designated by the same reference numerals to omit duplicate description, and elements not directly related to the present invention are not shown. To do.

本発明の実施形態の理解を容易にするため、まず、遊技者が遊技可能なスロットマシン(遊技機)の機械的構成および電気的構成を簡単に説明し、その後、スロットマシンの各基板における具体的な処理(役構成や遊技状態の遷移)および本実施形態で特徴的な処理を説明し、これらを実現するためのフローチャートを詳述する。 In order to facilitate the understanding of the embodiment of the present invention, first, the mechanical configuration and the electrical configuration of the slot machine (game machine) in which the player can play the game will be briefly described, and then the specifics in each substrate of the slot machine will be described. Processing (transition of winning combination and gaming state) and characteristic processing in the present embodiment will be described, and a flowchart for realizing these will be described in detail.

(スロットマシン100の機械的構成)
図1および図2の外観図に示すように、スロットマシン100は、略矩形状の箱体である筐体102と、筐体102の前面開口部に対して開閉可能に取り付けられた前面上扉104と、前面上扉104の下方に位置し、前面上扉104同様、筐体102の前面開口部に対して開閉可能に取り付けられた前面下扉106と、前面下扉106の下部に位置し、メダル排出口108aから払い出されたメダルを貯留するための受け皿部108とを備えている。
(Mechanical configuration of slot machine 100)
As shown in the external views of FIGS. 1 and 2, the slot machine 100 includes a housing 102 which is a substantially rectangular box body, and a front upper door which is openably and closably attached to a front opening of the housing 102. 104, located below the front upper door 104, and like the front upper door 104, located below the front lower door 106 and the front lower door 106 that are openable and closable with respect to the front opening of the housing 102. , A saucer portion 108 for storing medals paid out from the medal discharge port 108a is provided.

前面下扉106の上部には操作部設置台122が形成され、操作部設置台122には、メダル投入部124、ベットスイッチ126、スタートスイッチ128、ストップスイッチ130等が配設されている。 An operation unit installation table 122 is formed on the upper part of the front lower door 106, and a medal insertion unit 124, a bet switch 126, a start switch 128, a stop switch 130, and the like are arranged on the operation unit installation table 122.

操作部設置台122の右側に位置するメダル投入部124は、メダル投入口(投入口)124aを通じて遊技媒体としてのメダルの投入を受け付け、前面下扉106の背面に設けられたメダルセレクタ(図示せず)にメダルを送る。メダルセレクタには、メダルの投入が可能な投入期間外に投入されたメダルや規格外のメダルをメダル排出口108aに導くブロッカー(図示せず)と、投入期間内に投入された規格内のメダルの通過を検出する投入メダル検出部124bとが設けられている。ここで、メダル排出口108aに導かれたメダルは受け皿部108に排出される。遊技者により、1遊技を開始するために必要なメダルのベット枚数である複数の規定枚数のうち、最大規定枚数(例えば3枚)を超えてメダルが投入されると、その最大規定枚数を超えた分のメダルが、所定の上限枚数(例えば50枚)を上限としてスロットマシン100の内部(メインRAM200c)に電気的に貯留(以下、単にクレジットという)される。 The medal insertion unit 124 located on the right side of the operation unit installation table 122 accepts the insertion of medals as a game medium through the medal insertion port (insertion port) 124a, and the medal selector provided on the back surface of the front lower door 106 (shown) Send a medal to. The medal selector includes a blocker (not shown) that guides medals inserted outside the insertion period or non-standard medals to the medal outlet 108a, and medals within the standard inserted during the insertion period. The inserted medal detection unit 124b for detecting the passage of the above is provided. Here, the medals guided to the medal discharge port 108a are discharged to the saucer portion 108. When a player inserts medals in excess of the maximum specified number (for example, 3) among a plurality of specified number of medals required to start one game, the maximum specified number is exceeded. The number of medals is electrically stored (hereinafter, simply referred to as credit) inside the slot machine 100 (main RAM 200c) up to a predetermined upper limit (for example, 50).

ベットスイッチ126は、クレジットされているメダルのうち最大規定枚数のメダルをベットする、押圧式のボタンスイッチである。最大規定枚数以上のメダルがクレジットされている状態で、ベットスイッチ126を押圧すると、最大規定枚数のメダルがベットされるとともに、貯留枚数が最大規定枚数分だけ減枚される。なお、最大規定枚数未満のメダルがクレジットされている状態で、ベットスイッチ126を押圧すると、貯留枚数のメダルの全てがベットされるとともに、貯留枚数が0枚に減枚される。 The bet switch 126 is a push-type button switch for betting the maximum specified number of medals among the credited medals. When the bet switch 126 is pressed while the maximum number of medals is credited, the maximum number of medals is bet and the number of stored medals is reduced by the maximum number of medals. If the bet switch 126 is pressed while medals less than the maximum specified number are credited, all the stored medals are bet and the stored number is reduced to 0.

操作部設置台122の左側に位置するスタートスイッチ128は、傾倒操作を検出可能なレバーで構成され、遊技者による1遊技の開始操作を検出する。また、スタートスイッチ128は、押圧操作を検出可能なボタンスイッチによって構成することも可能である。 The start switch 128 located on the left side of the operation unit installation table 122 is composed of a lever capable of detecting the tilting operation, and detects the start operation of one game by the player. Further, the start switch 128 can also be configured by a button switch capable of detecting a pressing operation.

前面上扉104の下部略中央には、ガラス板や透明樹脂板等で構成された無色透明の図柄表示窓136が設けられ、筐体102内の図柄表示窓136に対応した位置には、リールユニット134が設けられている。リールユニット134には、図3(a)のリールの図柄配列に示すように、20等分された各領域に複数種類の図柄がそれぞれ配列された3つのリール134a、134b、134cが、それぞれ独立して回動可能に設けられ、遊技者は、図柄表示窓136を通じて、リール134a、134b、134cを視認することができる。リールユニット134は、スタートスイッチ128の操作を契機として、リール134a、134b、134cの回転を開始する。 A colorless and transparent design display window 136 made of a glass plate, a transparent resin plate, or the like is provided in the lower center of the front upper door 104, and a reel is provided at a position corresponding to the design display window 136 in the housing 102. A unit 134 is provided. In the reel unit 134, as shown in the reel symbol arrangement of FIG. 3A, three reels 134a, 134b, and 134c in which a plurality of types of symbols are arranged in each region divided into 20 equal parts are independent of each other. The reels 134a, 134b, and 134c can be visually recognized through the symbol display window 136. The reel unit 134 starts the rotation of the reels 134a, 134b, and 134c triggered by the operation of the start switch 128.

操作部設置台122の中央に位置するストップスイッチ130は、リール134a、134b、134cそれぞれに対応して設けられた、遊技者の押圧操作を検出可能なボタンスイッチであり、リール134a、134b、134cそれぞれを停止させようとする遊技者の停止操作を検出する。なお、ストップスイッチ130に係る3つのボタンスイッチを、その位置に応じて左から順にストップスイッチ130a、130b、130cとする。 The stop switch 130 located at the center of the operation unit installation base 122 is a button switch provided corresponding to each of the reels 134a, 134b, and 134c and capable of detecting the pressing operation of the player, and is a button switch capable of detecting the pressing operation of the player, and the reels 134a, 134b, 134c. The stop operation of the player who tries to stop each is detected. The three button switches related to the stop switch 130 are the stop switches 130a, 130b, and 130c in order from the left according to their positions.

このように、ストップスイッチ130a、130b、130cを通じた停止操作により、リール134a、134b、134cがそれぞれ停止する。ここでは、その停止態様を遊技者が把握できるように、図3(b)のように、有効ラインが設けられている。有効ラインは1本であり、具体的に、図柄表示窓136に臨む9個の図柄(3リール×上中下の3段)のうち、リール134a、134b、134cの中段に停止する図柄に対応する位置を結んだラインを当選役の入賞を判定するための有効ラインAとして設定している。 In this way, the reels 134a, 134b, and 134c are stopped by the stop operation through the stop switches 130a, 130b, and 130c, respectively. Here, an effective line is provided as shown in FIG. 3B so that the player can grasp the stopping mode. There is only one effective line, and specifically, it corresponds to the symbol that stops at the middle of reels 134a, 134b, and 134c out of the nine symbols (3 reels x 3 stages of upper, middle, and lower) facing the symbol display window 136. The line connecting the winning positions is set as the effective line A for determining the winning combination.

前面上扉104の上部略中央には、演出に伴う様々な映像を表示する液晶表示部(画像表示部)138が設けられている。また、前面上扉104の上部や左右には、例えば高輝度の発光ダイオード(LED)によって構成される演出用ランプ142が設けられる。 A liquid crystal display unit (image display unit) 138 for displaying various images accompanying the effect is provided at substantially the center of the upper part of the front upper door 104. Further, on the upper portion and the left and right of the front upper door 104, for example, an effect lamp 142 composed of a high-intensity light emitting diode (LED) is provided.

また、図2に示すように、前面上扉104の裏面における液晶表示部138の左右位置や前面下扉106の裏面における内面左右位置には、効果音や楽音等による聴覚的な演出を行うスピーカ140が設けられている。さらに、筐体102内におけるリールユニット134の下方には、メダル排出口108aからメダルを払い出すためのメダル払出装置(メダルホッパー)264が設けられている。メダル払出装置264は、メダルを貯留するメダル貯留部264aと、メダル貯留部264aに貯留されたメダルをメダル排出口108aから排出するための払出制御部264bと、メダル排出口108aから排出されるメダルを検出する払出メダル検出部264cとを備えている。 Further, as shown in FIG. 2, speakers that produce auditory effects such as sound effects and musical sounds at the left and right positions of the liquid crystal display unit 138 on the back surface of the front upper door 104 and the inner surface left and right positions on the back surface of the front lower door 106. 140 is provided. Further, below the reel unit 134 in the housing 102, a medal payout device (medal hopper) 264 for paying out medals from the medal discharge port 108a is provided. The medal payout device 264 includes a medal storage unit 264a for storing medals, a payout control unit 264b for discharging medals stored in the medal storage unit 264a from the medal discharge port 108a, and medals discharged from the medal discharge port 108a. It is provided with a payout medal detection unit 264c for detecting the above.

また、図1や図2では図示していないが、各リール134a、134b、134cの内側には、それぞれに施された図柄のうち、図柄表示窓136に対応する各リール134a、134b、134cの上段、中段、下段の図柄を背面から個々に独立して照射するリールバックライト144(図4参照)が設けられている。また、図柄表示窓136の裏面上部にもリール134a、134b、134c全ての正面を直接照射するリール上方ライト146が設けられている。 Further, although not shown in FIGS. 1 and 2, inside the reels 134a, 134b, and 134c, among the symbols applied to the reels 134a, 134b, and 134c, the reels 134a, 134b, and 134c corresponding to the symbol display window 136 are formed. A reel backlight 144 (see FIG. 4) is provided to illuminate the upper, middle, and lower symbols independently from the back surface. Further, a reel upper light 146 that directly illuminates the front surface of all the reels 134a, 134b, and 134c is also provided on the upper part of the back surface of the symbol display window 136.

また、図1に示すように、操作部設置台122において、図柄表示窓136とストップスイッチ130との間に設けられた段部122aの略水平面には、メインクレジット表示部152およびメイン払出表示部154が設けられている。また、図柄表示窓136と操作部設置台122との間には、サブクレジット表示部156およびサブ払出表示部158が設けられている。これらメインクレジット表示部152およびサブクレジット表示部156には内部的に記憶された貯留枚数が表示され、メイン払出表示部154およびサブ払出表示部158にはメダルの払出枚数が表示される。なお、サブクレジット表示部156およびサブ払出表示部158には、演出に伴う様々な数値を表示することもできる。 Further, as shown in FIG. 1, in the operation unit installation table 122, the main credit display unit 152 and the main payout display unit are on the substantially horizontal plane of the step portion 122a provided between the symbol display window 136 and the stop switch 130. 154 is provided. Further, a sub-credit display unit 156 and a sub-payout display unit 158 are provided between the symbol display window 136 and the operation unit installation table 122. The number of stored medals stored internally is displayed on the main credit display unit 152 and the sub credit display unit 156, and the number of medals paid out is displayed on the main payout display unit 154 and the sub payout display unit 158. The sub-credit display unit 156 and the sub-payment display unit 158 can also display various numerical values associated with the effect.

また、筐体102内の任意の位置には、電源スイッチ148が設けられている。電源スイッチ148は、ロッカースイッチ等、押圧操作を検出可能なスイッチで構成され、当該スロットマシン100を管理する管理者側が操作し、電源の切断状態と電源の投入状態の2つの状態を切り換えるために用いられる。 Further, a power switch 148 is provided at an arbitrary position in the housing 102. The power switch 148 is composed of a switch such as a rocker switch that can detect a pressing operation, and is operated by an administrator who manages the slot machine 100 to switch between two states, a power off state and a power on state. Used.

(スロットマシン100の電気的構成)
図4は、スロットマシン100の概略的な電気的構成を示したブロック図である。図4に示すように、スロットマシン100は、主として、制御基板によって制御されている。ここでは、制御基板の一例として、制御基板の機能を分担した、主制御基板200と、副制御基板202とを挙げて説明する。例えば、遊技の進行に関わるプログラムのうち、遊技に供する当選役の抽選やその入賞といったような、特に重要な処理を主制御基板200で実行し、それ以外の例えば演出に関する処理を副制御基板202で実行している。また、図4に示したように、主制御基板200と副制御基板202との間の電気的な信号の伝達は、不正防止等の観点から、主制御基板200から副制御基板202への一方向のみに制限される。ただし、このような制限がなければ、電気的に双方向通信も技術的に可能である。
(Electrical configuration of slot machine 100)
FIG. 4 is a block diagram showing a schematic electrical configuration of the slot machine 100. As shown in FIG. 4, the slot machine 100 is mainly controlled by a control board. Here, as an example of the control board, the main control board 200 and the sub control board 202, which share the functions of the control board, will be described. For example, among the programs related to the progress of the game, the main control board 200 executes particularly important processing such as the lottery of the winning combination to be used for the game and its winning, and the sub control board 202 performs other processing related to the production, for example. Is running on. Further, as shown in FIG. 4, the transmission of electrical signals between the main control board 200 and the sub control board 202 is one from the main control board 200 to the sub control board 202 from the viewpoint of fraud prevention and the like. Limited to direction only. However, without such restrictions, two-way communication is technically possible.

(主制御基板200)
主制御基板200は、中央処理装置であるメインCPU200a、プログラム等が格納されたメインROM200b、ワークエリアとして機能するメインRAM(RWM)200c等を含む各種半導体集積回路を有し、スロットマシン100全体を統括的に制御する。ただし、メインRAM200cには不図示のバックアップ電源が接続されており、電源が切断された場合においても、設定変更が行われてメインRAM200cの初期化処理を実行しない限り、データが消去されることなく保持される。
(Main control board 200)
The main control board 200 has various semiconductor integrated circuits including a main CPU 200a which is a central processing unit, a main ROM 200b in which programs and the like are stored, a main RAM (RWM) 200c which functions as a work area, and the like. Control in a centralized manner. However, a backup power supply (not shown) is connected to the main RAM 200c, and even if the power is turned off, the data will not be erased unless the settings are changed and the initialization process of the main RAM 200c is executed. Be retained.

また、主制御基板200は、メインCPU200aが、メインROM200bに格納されたプログラムに基づきメインRAM200cと協働することで機能する、初期化手段300、ベット手段302、当選役抽選手段304、リール制御手段306、判定手段308、払出制御手段310、状態移行手段312、コマンド決定手段314、コマンド送信手段316等の機能部を有する。 Further, the main control board 200 functions by the main CPU 200a cooperating with the main RAM 200c based on the program stored in the main ROM 200b, the initialization means 300, the betting means 302, the winning combination lottery means 304, and the reel control means. It has functional units such as 306, determination means 308, payout control means 310, state transition means 312, command determination means 314, and command transmission means 316.

初期化手段300は、主制御基板200における初期化処理を実行する。ベット手段302は、遊技に使用するためのメダルをベットする。ここで、ベットは、ベットスイッチ126の操作を通じてクレジットされているメダルを投入する場合と、メダル投入部124を通じてメダルを投入する場合と、リプレイ役が有効ラインA上に表示されたことに基づいてメダルを自動投入する場合のいずれも含む。当選役抽選手段304は、メダルのベットおよびスタートスイッチ128の操作に基づき、小役、リプレイ役、および、ボーナス役を含む複数種類の当選役、ならびに、不当選のうちいずれかを当選役抽選により決定する。 The initialization means 300 executes the initialization process on the main control board 200. The betting means 302 bets medals for use in the game. Here, the bet is based on the case where the credited medal is inserted through the operation of the bet switch 126, the case where the medal is inserted through the medal insertion unit 124, and the case where the replay combination is displayed on the valid line A. This includes all cases where medals are automatically inserted. Based on the bet of the medal and the operation of the start switch 128, the winning combination lottery means 304 selects a plurality of types of winning combinations including a small winning combination, a replay winning combination, and a bonus winning combination, and one of the unwinning winning combination by lottery. decide.

リール制御手段306は、スタートスイッチ128の操作に応じて、複数のリール134a、134b、134cを回転制御し、回転しているリール134a、134b、134cにそれぞれ対応した複数のストップスイッチ130a、130b、130cの操作に応じ、操作されたストップスイッチ130a、130b、130cに対応するリール134a、134b、134cをそれぞれ停止制御する。また、リール制御手段306は、スタートスイッチ128の操作に応じて、前回の遊技においてストップスイッチ130の操作を有効化してから、当選役抽選の抽選結果を表示するために遊技者によるストップスイッチ130の操作を有効化するまで(前回の遊技におけるストップスイッチ130の操作完了により無効化されている)の時間を規定の時間(ウェイト時間、例えば、4.1秒)より延長し、その間、リール134a、134b、134cを多彩な態様で回転制御するリール演出(フリーズ演出)を行う場合がある。リール演出は、本来有効となるべき任意のスイッチを所定時間有効にしなかったり、本来実行されるべき処理を所定時間保留したり、本来送受信されるべき任意のスイッチの信号を所定時間送信または受信させなかったりすることでも実現できる。 The reel control means 306 controls the rotation of the plurality of reels 134a, 134b, 134c according to the operation of the start switch 128, and the plurality of stop switches 130a, 130b, corresponding to the rotating reels 134a, 134b, 134c, respectively. In response to the operation of 130c, the reels 134a, 134b, and 134c corresponding to the operated stop switches 130a, 130b, and 130c are stopped and controlled, respectively. Further, the reel control means 306 activates the operation of the stop switch 130 in the previous game in response to the operation of the start switch 128, and then displays the lottery result of the winning combination lottery of the stop switch 130 by the player. The time until the operation is enabled (disabled by the completion of the operation of the stop switch 130 in the previous game) is extended from the specified time (wait time, for example, 4.1 seconds), during which the reel 134a, A reel effect (freeze effect) may be performed in which the rotation of 134b and 134c is controlled in various modes. In the reel effect, an arbitrary switch that should be originally enabled is not enabled for a predetermined time, a process that should be originally executed is held for a predetermined time, or a signal of an arbitrary switch that should be originally transmitted / received is transmitted or received for a predetermined time. It can be realized by not having it.

判定手段308は、当選役抽選で決定した当選役に対応する図柄組み合わせが有効ラインA上に表示されたか否か判定する。ここで、当選役抽選で決定した当選役に対応する図柄組み合わせが有効ラインA上に表示されることを単に入賞という場合がある。払出制御手段310は、当選役抽選で決定した当選役に対応する図柄組み合わせが有効ラインA上に表示されたこと(入賞したこと)に基づいて、当該当選役に対応する数だけメダルを払い出す。状態移行手段312は、ボーナス役の当選や入賞に基づいて遊技状態を遷移させる。 The determination means 308 determines whether or not the symbol combination corresponding to the winning combination determined in the winning combination lottery is displayed on the valid line A. Here, the display of the symbol combination corresponding to the winning combination determined in the winning combination lottery on the valid line A may be simply referred to as winning. The payout control means 310 pays out the number of medals corresponding to the winning combination based on the fact that the symbol combination corresponding to the winning combination determined in the winning combination lottery is displayed on the valid line A (winning). .. The state transition means 312 transitions the gaming state based on the winning or winning of the bonus combination.

コマンド決定手段314は、ベット手段302、当選役抽選手段304、リール制御手段306、判定手段308、払出制御手段310、状態移行手段312等の動作に伴う、遊技に関するコマンドを順次決定する。コマンド送信手段316は、コマンド決定手段314が決定したコマンドを副制御基板202に順次送信する。 The command determining means 314 sequentially determines commands related to the game associated with the operations of the betting means 302, the winning combination lottery means 304, the reel control means 306, the determination means 308, the payout control means 310, the state transition means 312, and the like. The command transmitting means 316 sequentially transmits the commands determined by the command determining means 314 to the sub-control board 202.

主制御基板200では、投入メダル検出部124b、ベットスイッチ126、スタートスイッチ128およびストップスイッチ130から各種の検出信号を受信しており、受信した検出信号に基づいて、ベット手段302、当選役抽選手段304、リール制御手段306、判定手段308が上述した種々の処理を実行する。また、主制御基板200には、メインクレジット表示部152およびメイン払出表示部154が接続されており、払出制御手段310が両表示部152、154に対してメダルの貯留枚数や払出枚数の表示を制御する。 The main control board 200 receives various detection signals from the input medal detection unit 124b, the bet switch 126, the start switch 128, and the stop switch 130, and based on the received detection signals, the bet means 302 and the winning combination lottery means. The 304, the reel control means 306, and the determination means 308 perform the various processes described above. Further, the main credit display unit 152 and the main payout display unit 154 are connected to the main control board 200, and the payout control means 310 displays the number of stored medals and the number of payouts on both display units 152 and 154. Control.

また、主制御基板200には、リール駆動制御部258が接続されている。このリール駆動制御部258は、スタートスイッチ128の操作信号に応じ、リール制御手段306から送信される各リール134a、134b、134cの回転開始信号に基づいて、ステッピングモータ262を駆動するとともに、ストップスイッチ130の操作信号に応じ、リール制御手段306から送信される、リール134a、134b、134cそれぞれの停止信号および回転位置検出回路260の検出信号に基づいて、ステッピングモータ262の駆動を停止する。 Further, a reel drive control unit 258 is connected to the main control board 200. The reel drive control unit 258 drives the stepping motor 262 and stops switches based on the rotation start signals of the reels 134a, 134b, and 134c transmitted from the reel control means 306 in response to the operation signal of the start switch 128. The drive of the stepping motor 262 is stopped based on the stop signals of the reels 134a, 134b, and 134c and the detection signals of the rotation position detection circuit 260 transmitted from the reel control means 306 in response to the operation signal of the 130.

また、主制御基板200には、メダル払出装置264が接続されている。主制御基板200には払出メダル検出部264cの検出信号が入力されるようになっており、払出制御手段310は、その検出信号に応じてメダルの払出枚数を計数しながら払出制御部264bからのメダルの排出を制御する。 Further, a medal payout device 264 is connected to the main control board 200. The detection signal of the payout medal detection unit 264c is input to the main control board 200, and the payout control means 310 from the payout control unit 264b counts the number of medals to be paid out according to the detection signal. Control the ejection of medals.

また、主制御基板200には、乱数発生器200dが設けられる。乱数発生器200dは、計数値を順次インクリメントし、所定の総数(例えば65536)内でループさせ(0〜65535)、所定の時点における計数値を抽出することで乱数を生成(取得)する。主制御基板200の乱数発生器200dによって生成される乱数(以下、当選役抽選乱数という)は、遊技者に付与する遊技利益、例えば、当選役抽選手段304が当選役を決定するために用いられる。 Further, the main control board 200 is provided with a random number generator 200d. The random number generator 200d sequentially increments the count value, loops within a predetermined total number (for example, 65536) (0 to 65535), and generates (acquires) a random number by extracting the count value at a predetermined time point. The random numbers generated by the random number generator 200d of the main control board 200 (hereinafter referred to as the winning combination lottery random numbers) are used for the game profit given to the player, for example, the winning combination lottery means 304 for determining the winning combination. ..

(副制御基板202)
また、副制御基板202は、主制御基板200と同様に、中央処理装置であるサブCPU202a、プログラム等が格納されたサブROM202b、ワークエリアとして機能するサブRAM202c等を含む各種半導体集積回路を有し、主制御基板200からのコマンドに基づき、特に演出を制御する。また、サブRAM202cにもメインRAM200c同様、不図示のバックアップ電源が接続されており、電源が切断された場合においても、データが消去されることなく保持される。なお、副制御基板202にも、主制御基板200同様、乱数発生器202dが設けられており、乱数発生器202dによって生成される乱数(以下、演出抽選乱数という)は、主に演出の態様を決定するために用いられる。
(Sub-control board 202)
Further, the sub control board 202 has various semiconductor integrated circuits including a sub CPU 202a which is a central processing device, a sub ROM 202b in which programs and the like are stored, a sub RAM 202c which functions as a work area, and the like, similarly to the main control board 200. , In particular, the effect is controlled based on the command from the main control board 200. Further, like the main RAM 200c, a backup power supply (not shown) is connected to the sub RAM 202c, and even when the power supply is turned off, the data is retained without being erased. Similar to the main control board 200, the sub-control board 202 is also provided with a random number generator 202d, and the random numbers generated by the random number generator 202d (hereinafter referred to as effect lottery random numbers) mainly represent the mode of the effect. Used to determine.

また、副制御基板202は、サブCPU202aが、サブROM202bに格納されたプログラムに基づき、サブRAM202cと協働することで機能する、初期化決定手段330、コマンド受信手段332、演出制御手段334等の機能部を有する。 Further, the sub control board 202 functions by the sub CPU 202a collaborating with the sub RAM 202c based on the program stored in the sub ROM 202b, such as the initialization determination means 330, the command receiving means 332, and the effect control means 334. It has a functional part.

初期化決定手段330は、副制御基板202における初期化処理を実行する。コマンド受信手段332は、主制御基板200等、他の制御基板からのコマンドを受信し、コマンドに対する処理を行う。演出制御手段334は、当選役コマンドに基づいて液晶表示部138、スピーカ140、演出用ランプ142の各デバイスで行われる遊技の演出を決定する。具体的に、演出制御手段334は、液晶表示部138に表示される画像データや、演出用ランプ142、リールバックライト144、リール上方ライト146、サブクレジット表示部156、サブ払出表示部158等の電飾機器を通じた演出のための電飾データを決定するとともに、スピーカ140から出力すべき音声を構成する音声データを決定する。そして、演出制御手段334は、決定した遊技の演出を実行する。 The initialization determining means 330 executes the initialization process on the sub-control board 202. The command receiving means 332 receives a command from another control board such as the main control board 200, and processes the command. The effect control means 334 determines the effect of the game performed by each device of the liquid crystal display unit 138, the speaker 140, and the effect lamp 142 based on the winning combination command. Specifically, the effect control means 334 includes image data displayed on the liquid crystal display unit 138, an effect lamp 142, a reel backlight 144, a reel upper light 146, a sub credit display unit 156, a sub payout display unit 158, and the like. The lighting data for the production through the lighting device is determined, and the audio data constituting the sound to be output from the speaker 140 is determined. Then, the effect control means 334 executes the effect of the determined game.

演出は、上述したリール演出のような主制御基板200によって実行される演出と、副制御基板202によって実行される演出がある。副制御基板202によって実行される演出は、遊技の進行に伴い、液晶表示部138、スピーカ140、演出用ランプ142、リールバックライト144、リール上方ライト146、サブクレジット表示部156、サブ払出表示部158等を通じて提供される視覚的および聴覚的な表現手段であり、当該遊技にストーリー性を与えたり、当選役抽選の結果をよりダイナミックな画像で示唆したりすることができる。このような演出では、例えば、ボーナス遊技の当選を示唆する演出を複数遊技に亘って行い、遊技者の期待感を高めることができる。また、たとえ、いずれの当選役にも当選していなかったとしても、恰も当選しているかのような演出を通じて遊技者に高配当の期待感を持たせ、遊技者を飽きさせないようにすることが可能となる。上記の主制御基板200および副制御基板202を連動させることで、様々な遊技性を構築することができる。以下、主となる遊技態様を詳述する。 The effect includes an effect executed by the main control board 200 such as the reel effect described above, and an effect executed by the sub control board 202. The effect executed by the sub control board 202 includes a liquid crystal display unit 138, a speaker 140, an effect lamp 142, a reel backlight 144, a reel upper light 146, a sub credit display unit 156, and a sub payout display unit as the game progresses. It is a visual and auditory means of expression provided through 158 and the like, and can give a story to the game and suggest the result of the winning combination lottery with a more dynamic image. In such an effect, for example, an effect suggesting winning of a bonus game can be performed over a plurality of games to raise the player's expectation. In addition, even if none of the winning roles have been won, it is possible to give the player a sense of expectation of a high payout through the production as if he had won, so that the player does not get bored. It will be possible. By interlocking the main control board 200 and the sub control board 202, various playability can be constructed. Hereinafter, the main game modes will be described in detail.

(主制御基板200で用いられるテーブル)
スロットマシン100においては、複数の遊技状態が設けられており、遊技の進行に応じて遊技状態が遷移する。そして、主制御基板200では、状態移行手段312により管理される遊技状態に対応する複数の当選役抽選テーブル等がメインROM200bに格納されている。当選役抽選手段304は、メインRAM200cに記憶された現在の遊技状態(後述するボーナス役の成立有無に基づく遊技状態等)に応じて、対応する当選役抽選テーブルをメインROM200bから抽出し、抽出した当選役抽選テーブルと現在の設定値に基づき、スタートスイッチ128の操作信号に応じて取得された当選役抽選乱数が当選役抽選テーブル内のいずれの当選役または不当選に対応するか判定する。ここで、設定値は、遊技利益を得る容易性を段階的に示したものであり、その設定値の数値が高いほど、遊技利益を得易い。なお、設定値は、一般的に、ホール側管理者により少なくとも遊技開始時には決定されており、遊技者が、遊技中に設定値を取得および変更することはできないようになっている。
(Table used in the main control board 200)
In the slot machine 100, a plurality of gaming states are provided, and the gaming states change according to the progress of the game. Then, in the main control board 200, a plurality of winning combination lottery tables and the like corresponding to the gaming states managed by the state transition means 312 are stored in the main ROM 200b. The winning combination lottery means 304 extracts and extracts the corresponding winning combination lottery table from the main ROM 200b according to the current gaming state (game state based on the presence or absence of establishment of the bonus combination described later) stored in the main RAM 200c. Based on the winning combination lottery table and the current set value, it is determined which winning combination or non-winning combination in the winning combination lottery table is the winning combination lottery random number acquired in response to the operation signal of the start switch 128. Here, the set value indicates the ease of obtaining the game profit step by step, and the higher the numerical value of the set value, the easier it is to obtain the game profit. The set value is generally determined by the hall-side manager at least at the start of the game, and the player cannot acquire or change the set value during the game.

ここで、当選役抽選テーブルで抽出される当選役には、リプレイ役、小役、ボーナス役がある。このような当選役に対応する図柄組み合わせが、有効ラインA上に揃った状態を表示または入賞といい、当選役に当選し、その当選役に対応する図柄組み合わせが表示されるまでの状態を内部当選状態とする。当選役のうちのリプレイ役は、そのリプレイ役に対応する図柄組み合わせが有効ラインA上に表示されると、遊技者によるメダルの新たなるベットを行わずして再度1遊技を実行できる役であり、小役は、その小役に対応する図柄組み合わせが有効ラインA上に表示されることにより、図柄組み合わせに応じて所定枚数のメダルの払い出しを受けることができる役である。また、ボーナス役は、そのボーナス役に対応する図柄組み合わせが有効ラインA上に表示されることにより、状態移行手段312により管理される遊技状態をボーナス遊技状態に移行させることができる当選役である。以下に、当選役および遊技者に付与される遊技利益について説明する。 Here, the winning combination extracted in the winning combination lottery table includes a replay role, a small role, and a bonus role. The state in which the symbol combinations corresponding to such winning combinations are aligned on the effective line A is called display or winning, and the state from winning the winning combination to displaying the symbol combination corresponding to the winning combination is internally. Win a prize. The replay role among the winning combinations is a role in which one game can be executed again without making a new bet of a medal by the player when the symbol combination corresponding to the replay combination is displayed on the valid line A. The small winning combination is a combination in which a predetermined number of medals can be paid out according to the symbol combination by displaying the symbol combination corresponding to the small winning combination on the effective line A. Further, the bonus combination is a winning combination that can shift the gaming state managed by the state transition means 312 to the bonus gaming state by displaying the symbol combination corresponding to the bonus combination on the effective line A. .. The game profits given to the winning combination and the player will be described below.

図5は、当選役を説明するための説明図であり、図6は、遊技状態の遷移を説明するための説明図である。 FIG. 5 is an explanatory diagram for explaining the winning combination, and FIG. 6 is an explanatory diagram for explaining the transition of the gaming state.

また、本実施形態においては、当選役として、図5に示すように、当選役「リプレイ」、「ベル」、「ビッグボーナス(以下「BB」という)」が設けられている。このうち、当選役「リプレイ」が上記リプレイ役に相当し、当選役「ベル」が上記小役に相当し、当選役「BB」が上記ボーナス役に相当する。 Further, in the present embodiment, as the winning combination, as shown in FIG. 5, the winning combination "replay", "bell", and "big bonus (hereinafter referred to as" BB ")" are provided. Of these, the winning combination "replay" corresponds to the replay combination, the winning combination "bell" corresponds to the small combination, and the winning combination "BB" corresponds to the bonus combination.

(リプレイ役)
当選役抽選の結果、当選役「リプレイ」に当選すると、図5に示した当選役「リプレイ」に対応する図柄組み合わせである、各リール134a、134b、134cそれぞれに記される図柄「リプレイ」が有効ラインA上に表示可能となり、当選役「リプレイ」に対応する図柄組み合わせが有効ラインA上に表示されると、上記したように、遊技者によるベットを行わずして再度1遊技(再遊技)を実行できる。
(Replay role)
As a result of the winning combination lottery, when the winning combination "replay" is won, the symbol "replay" written on each reel 134a, 134b, 134c, which is a combination of symbols corresponding to the winning combination "replay" shown in FIG. 5, is displayed. When it becomes possible to display on the effective line A and the symbol combination corresponding to the winning combination "replay" is displayed on the effective line A, as described above, one game (replay) is performed again without betting by the player. ) Can be executed.

ここで、本実施形態においては、遊技者によってストップスイッチ130が押圧操作されたときに、当選役に対応する図柄組み合わせを構成する図柄が有効ラインA上にある場合には、リール制御手段306によって、当該図柄が有効ラインA上に停止するように停止制御がなされる。また、ストップスイッチ130が押圧操作されたときに、当選役に対応する図柄組み合わせを構成する図柄が、有効ラインA上にはないが、各リール134a、134b、134cの回転方向と反対の方向の図柄4コマ分に相当する範囲(引込範囲)内に存在している場合には、リール制御手段306によって、離れている図柄数が滑りコマ数となり、当該当選役に対応する図柄組み合わせを構成する図柄を有効ラインA上に引き込むように滑りコマ数分回転を維持した後に停止するように停止制御がなされる。また、当選役に対応する図柄が各リール134a、134b、134c中に複数あり、いずれも各リール134a、134b、134cの引込範囲内に存在している場合には、予め定められた優先順位に従っていずれの図柄を有効ラインA上に引き込むか決定され、当該優先された図柄を有効ラインA上に引き込むように滑りコマ数分回転を維持した後に停止するように停止制御がなされる。なお、ストップスイッチ130が押圧操作されたときに、当選した当選役以外の当選役に対応する図柄組み合わせを構成する図柄が有効ラインA上にある場合には、リール制御手段306によって、その図柄を有効ラインA上に停止させないようにする、所謂蹴飛ばし処理も並行して実行される。 Here, in the present embodiment, when the stop switch 130 is pressed by the player, if the symbols constituting the symbol combination corresponding to the winning combination are on the effective line A, the reel control means 306 is used. , Stop control is performed so that the symbol stops on the effective line A. Further, when the stop switch 130 is pressed, there is no symbol on the effective line A that constitutes the symbol combination corresponding to the winning combination, but in the direction opposite to the rotation direction of the reels 134a, 134b, 134c. When the symbols are within the range corresponding to four frames (pull-in range), the number of distant symbols becomes the number of sliding frames by the reel control means 306, and the symbol combination corresponding to the winning combination is configured. Stop control is performed so that the symbol is pulled onto the effective line A and the rotation is maintained for the number of sliding frames and then stopped. In addition, when there are a plurality of symbols corresponding to the winning combination in each reel 134a, 134b, 134c and all of them are within the pull-in range of each reel 134a, 134b, 134c, according to a predetermined priority. It is determined which symbol is to be drawn onto the effective line A, and stop control is performed so as to keep the rotation for the number of sliding frames so that the prioritized symbol is drawn onto the effective line A and then stop. When the stop switch 130 is pressed, if there is a symbol on the effective line A that constitutes a symbol combination corresponding to the winning combination other than the winning combination, the reel control means 306 transfers the symbol. The so-called kicking process, which prevents the player from stopping on the effective line A, is also executed in parallel.

そして、各リール134a、134b、134cにおいては、当選役「リプレイ」に対応する図柄組み合わせを構成する図柄が、上記の停止制御によって、必ず有効ラインA上に表示可能なように配列されている(図3および図5参照)。具体的に、当選役「リプレイ」に対応する図柄組み合わせを構成する図柄同士は、各リール134a、134b、134c内で最大図柄4コマ分しか離隔していないので、停止制御によって必ず有効ラインA上に表示することができる。このように、当選役「リプレイ」に当選すると、これら当選役「リプレイ」に対応する図柄組み合わせが、必ず、有効ラインA上に表示されることとなる。このようにして、当選役「リプレイ」に対応する図柄組み合わせが有効ラインA上に表示された場合には、メダルを投入することなく次の1遊技を開始することが可能となる。 Then, in each of the reels 134a, 134b, and 134c, the symbols constituting the symbol combination corresponding to the winning combination "replay" are arranged so that they can always be displayed on the effective line A by the above stop control (the above-mentioned stop control). See FIGS. 3 and 5). Specifically, the symbols that make up the symbol combination corresponding to the winning combination "replay" are separated by only a maximum of 4 frames in each reel 134a, 134b, 134c, so they are always on the effective line A by stop control. Can be displayed on. In this way, when the winning combination "replay" is won, the symbol combinations corresponding to these winning combination "replays" are always displayed on the effective line A. In this way, when the symbol combination corresponding to the winning combination "replay" is displayed on the effective line A, it is possible to start the next one game without inserting a medal.

(小役)
また、当選役抽選の結果、当選役「ベル」に当選した場合には、当選役「ベル」に対応する図柄組み合わせである、各リール134a、134b、134cそれぞれに記される図柄「ベルA」が有効ラインA上に表示可能となり、当選役「ベル」に対応する図柄組み合わせが有効ラインA上に表示された場合には、当選役に対応した枚数(ここでは9枚)のメダルが遊技者に払い出される。ここで、当選役「ベル」に対応する図柄組み合わせを構成する図柄「ベルA」同士は、各リール134a、134b、134c内で最大図柄4つ分しか離隔していないので(図3および図5参照)、当選役「リプレイ」同様、上記の停止制御によって、必ず有効ラインA上に表示することができる。
(Small role)
In addition, when the winning combination "Bell" is won as a result of the winning combination lottery, the symbol "Bell A" written on each reel 134a, 134b, 134c, which is a combination of symbols corresponding to the winning combination "Bell". Can be displayed on the valid line A, and when the symbol combination corresponding to the winning combination "bell" is displayed on the valid line A, the number of medals corresponding to the winning combination (9 in this case) is displayed by the player. Will be paid out to. Here, since the symbols "Bell A" constituting the symbol combination corresponding to the winning combination "Bell" are separated from each other by a maximum of four symbols in each reel 134a, 134b, 134c (FIGS. 3 and 5). (See), as with the winning combination "replay", it can always be displayed on the effective line A by the above stop control.

(ボーナス役)
また、当選役抽選の結果、当選役「BB」に当選すると、図5に示した当選役「BB」に対応する図柄組み合わせである、各リール134a、134b、134cそれぞれに記される図柄「赤7」が有効ラインA上に表示可能となり、当選役「BB」に対応する図柄組み合わせが有効ラインA上に表示されると、遊技状態がボーナス遊技状態に設定され、次の1遊技(以下、単に次遊技という)以降、メダルが所定枚数(例えば、297枚)払い出されるまで、ボーナス遊技状態にて遊技を実行することが可能となる。なお、各リール134a、134b、134cにおいては、それぞれ図柄「赤7」が、上記の停止制御によっても、有効ラインA上に表示されない場合があるように配列されている(図3および図5参照)。そのため、当選役「BB」に当選したとしても、遊技者は、当選役「BB」に対応する図柄組み合わせを必ずしも有効ラインA上に表示させられるとは限らない。
(Bonus role)
Further, as a result of the winning combination lottery, when the winning combination "BB" is won, the symbol "red" written on each reel 134a, 134b, 134c, which is a combination of symbols corresponding to the winning combination "BB" shown in FIG. 7 ”can be displayed on the valid line A, and when the symbol combination corresponding to the winning combination“ BB ”is displayed on the valid line A, the game state is set to the bonus game state, and the next one game (hereinafter, hereafter, After that (simply referred to as the next game), the game can be executed in the bonus game state until a predetermined number (for example, 297) of medals are paid out. In each of the reels 134a, 134b, and 134c, the symbol "red 7" is arranged so that it may not be displayed on the effective line A even by the above stop control (see FIGS. 3 and 5). ). Therefore, even if the winning combination "BB" is won, the player is not always able to display the symbol combination corresponding to the winning combination "BB" on the effective line A.

なお、上述したいずれかの当選役に当選すると、それぞれの当選役に対応する内部当選フラグが成立(ON)するとともに、この内部当選フラグの成立状況に応じて、リール134a、134b、134cそれぞれの停止制御がなされることとなる。このとき、小役に当選したものの、その小役に対応する図柄組み合わせを、その1遊技内で有効ラインA上に表示させることができなかった場合には、当該1遊技の終了後に内部当選フラグがOFFされる。つまり、小役の当選の権利は小役に当選した1遊技内のみに限られ、当該権利を次遊技に持ち越すことはできない。また、リプレイ役である当選役「リプレイ」に対応する内部当選フラグが成立した場合には、当選役「リプレイ」に対応する図柄組み合わせが必ず有効ラインA上に表示され、メダルを要することなく次遊技を行うために必要となる処理が行われた後に、当該内部当選フラグがOFFされる。これらに対して、当選役「BB」に当選した場合には、BB内部当選フラグが成立(ON)するとともに、当選役「BB」に対応する図柄組み合わせが有効ラインA上に表示されるまで、BB内部当選フラグが遊技を跨いで持ち越される。 When any of the above-mentioned winning combinations is won, the internal winning flag corresponding to each winning combination is established (ON), and the reels 134a, 134b, and 134c are respectively established according to the establishment status of the internal winning combination. Stop control will be performed. At this time, if the small winning combination is won, but the symbol combination corresponding to the small winning combination cannot be displayed on the valid line A in the one game, the internal winning flag is set after the end of the one game. Is turned off. That is, the right to win a small role is limited to one game in which the small role is won, and the right cannot be carried over to the next game. In addition, when the internal winning flag corresponding to the winning combination "Replay", which is the replay combination, is established, the symbol combination corresponding to the winning combination "Replay" is always displayed on the valid line A, and the next one without requiring a medal. The internal winning flag is turned off after the processing required for playing the game is performed. On the other hand, when the winning combination "BB" is won, the BB internal winning flag is established (ON) and the symbol combination corresponding to the winning combination "BB" is displayed on the valid line A until it is displayed. The BB internal winning flag is carried over across the game.

(遊技状態の遷移)
ここで、BB内部当選フラグについて、遊技状態の遷移と合わせて具体的に説明する。BB内部当選フラグが成立すると、BB内部当選フラグの成立状況に応じて、図6の(1)に示すように、主制御基板200で管理している遊技状態が、ボーナス役である当選役「BB」に当選していないボーナス非成立遊技状態から、ボーナス遊技状態の準備状態に相当するボーナス成立遊技状態となり、ボーナス成立遊技状態に基づいてリール134a、134b、134cそれぞれの停止制御がなされる。このとき、当選役「BB」に対応する図柄組み合わせを有効ラインA上に表示させることができなかった場合には、そのままBB内部当選フラグが次遊技に持ち越され(ボーナス成立遊技状態が維持され)、次回以降の遊技においても当選役「BB」に対応する図柄組み合わせを有効ラインA上に表示させることが可能となる。そして、遊技者が、当選役「BB」に対応する図柄組み合わせを有効ラインA上に表示させると、図6の(2)に示すように、遊技状態がボーナス成立遊技状態からボーナス遊技状態に移行する。また、ボーナス遊技状態において、所定枚数(例えば、297枚)を超えるメダルが払い出されると、図6の(3)に示すように、遊技状態が、ボーナス遊技状態からボーナス非成立遊技状態に移行する。ただし、図6の(4)に破線の矢印で示すように、ボーナス非成立遊技状態における当選役「BB」が成立した遊技で、当選役「BB」に対応する図柄組み合わせを有効ラインA上に表示させた場合、ボーナス成立遊技状態を経由せず、直接、ボーナス遊技状態に移行する。
(Transition of game state)
Here, the BB internal winning flag will be specifically described together with the transition of the gaming state. When the BB internal winning flag is established, the gaming state managed by the main control board 200 is the winning combination, which is a bonus combination, as shown in FIG. 6 (1), depending on the establishment status of the BB internal winning flag. From the non-bonus-established gaming state that has not been won in "BB" to the bonus-established gaming state corresponding to the preparation state of the bonus gaming state, the reels 134a, 134b, and 134c are stopped and controlled based on the bonus-established gaming state. At this time, if the symbol combination corresponding to the winning combination "BB" cannot be displayed on the effective line A, the BB internal winning flag is carried over to the next game as it is (the bonus-established game state is maintained). In the next and subsequent games, the symbol combination corresponding to the winning combination "BB" can be displayed on the effective line A. Then, when the player displays the symbol combination corresponding to the winning combination "BB" on the effective line A, the game state shifts from the bonus established game state to the bonus game state as shown in (2) of FIG. To do. Further, in the bonus game state, when a predetermined number of medals (for example, 297 medals) are paid out, the game state shifts from the bonus game state to the bonus non-established game state as shown in (3) of FIG. .. However, as shown by the broken line arrow in (4) of FIG. 6, in the game in which the winning combination "BB" is established in the game state in which the bonus is not established, the symbol combination corresponding to the winning combination "BB" is placed on the effective line A. When it is displayed, it directly shifts to the bonus game state without going through the bonus established game state.

(当選役抽選テーブル)
図7は、当選役抽選乱数を判定する場合に用いられる当選役抽選テーブルを示す図である。当選役抽選テーブルでは、複数の当選領域が区画されており、各遊技状態によって抽選の対象となる当選役が異なったりする。図7は、各遊技状態(ボーナス非成立遊技状態、ボーナス成立遊技状態、ボーナス遊技状態)毎に割り当てられた当選領域(当選役)を「○」で表している。したがって、「○」が記載されていない当選領域は、その遊技状態に割り当てられていないことを示す。区画化された各当選領域にはそれぞれ当選範囲を示す数値である所定の置数(当選範囲値)と当選役が対応付けられており、遊技状態毎に割り当てられた全ての当選領域の置数を合計すると当選役抽選乱数の総数(65536)となる。したがって、当選役それぞれが決定される確率は、当選領域に対応付けられた置数を当選役抽選乱数の総数で除算した値となる。当選役抽選手段304は、その時点の遊技状態に基づいて、当該当選役抽選テーブルにおける複数の当選領域のうち番号の高い方から、順次、置数を取得し、その置数を当選役抽選乱数から減算して、その減算値が0未満となると、その時点の当選領域に対応付けられた当選役を抽選結果としている。当該抽選の手順は、他の抽選においても適用できる。
(Winner lottery table)
FIG. 7 is a diagram showing a winning combination lottery table used when determining a winning combination lottery random number. In the winning combination lottery table, a plurality of winning areas are divided, and the winning combination to be the target of the lottery may differ depending on each game state. In FIG. 7, the winning area (winning combination) assigned to each gaming state (bonus non-established gaming state, bonus established gaming state, bonus gaming state) is represented by “◯”. Therefore, the winning area not marked with "○" indicates that it is not assigned to the gaming state. Each of the partitioned winning areas is associated with a predetermined number (winning range value), which is a numerical value indicating the winning range, and a winning combination, and the number of all winning areas assigned for each gaming state. Is summed up to be the total number of winning combination lottery random numbers (65536). Therefore, the probability that each winning combination is determined is a value obtained by dividing the number of places associated with the winning area by the total number of winning combination lottery random numbers. The winning combination lottery means 304 sequentially acquires the number of the winning combination lottery means from the one with the highest number among the plurality of winning areas in the winning combination lottery table based on the game state at that time, and determines the number of the winning combination lottery random numbers. When the subtraction value is less than 0, the winning combination associated with the winning area at that time is used as the lottery result. The lottery procedure can be applied to other lottery.

また、各遊技状態によって抽選の対象となる当選役が異なっている。例えば、図7において、ボーナス非成立遊技状態と、ボーナス成立遊技状態とを比較すると、前者は当選役「BB」の抽選を行っているのに対し、後者では当選役「BB」の抽選を行っていない。これは、後者では、既に当選役「BB」に当選しているので重ねて当選役「BB」を当選させることができないからである。また、後者では、前者に比べ、当選役「リプレイ」の当選確率を高く設定している。また、図7のボーナス遊技状態によれば、重ねて当選役「BB」の抽選を行わないとともに、当選役「リプレイ」の抽選も行われない。また、当選役「ベル」が高確率で当選するように設定されているので、ボーナス非成立遊技状態やボーナス成立遊技状態と比べて、1遊技で獲得できる枚数の平均値を示す期待獲得枚数が高くなっている。なお、当選役抽選テーブルの当選領域0には、「不当選」が対応付けられており、当選役抽選によって「不当選」が決定すると、図5に示したいずれの当選役に対応する図柄組み合わせも有効ラインA上に表示されることなく、メダルの払い出し等が行われることはない。ただし、ボーナス成立遊技状態(BB内部当選フラグがON)において、当選役抽選によって「不当選」が決定すると、当選役「BB」に対応する図柄組み合わせが有効ラインA上に表示可能となる。 In addition, the winning combination to be the target of the lottery differs depending on each game state. For example, in FIG. 7, when the bonus non-established gaming state and the bonus established gaming state are compared, the former draws the winning combination "BB", while the latter draws the winning combination "BB". Not. This is because in the latter case, since the winning combination "BB" has already been won, the winning combination "BB" cannot be won again. Further, in the latter, the winning probability of the winning combination "replay" is set higher than that in the former. Further, according to the bonus game state of FIG. 7, the winning combination "BB" is not drawn again, and the winning combination "replay" is not drawn. In addition, since the winning combination "Bell" is set to win with a high probability, the expected number of cards that can be obtained in one game is higher than that of the non-bonus game state or the bonus game state. It's getting higher. A "non-winning" is associated with the winning area 0 of the winning combination lottery table, and when the "unwinning" is determined by the winning combination lottery, the symbol combination corresponding to any of the winning combinations shown in FIG. Is not displayed on the valid line A, and medals are not paid out. However, if "unwinning" is determined by the winning combination lottery in the bonus-established game state (BB internal winning flag is ON), the symbol combination corresponding to the winning combination "BB" can be displayed on the valid line A.

以下、主制御基板200における具体的処理をフローチャートに基づいて説明する。 Hereinafter, specific processing on the main control board 200 will be described with reference to a flowchart.

(主制御基板200のメイン処理)
図8は、主制御基板200のメイン処理を示したフローチャートである。ここでは、まず、主制御基板200のメイン処理に沿って、初期化後の1遊技の概略を説明する。また、詳細な説明は省略するが、各処理が遂行される際、各処理において用いられるスイッチ(ベットスイッチ126、スタートスイッチ128、ストップスイッチ130a、130b、130c、130d)は、処理の開始時に有効化され、処理の終了時に無効化される。
(Main processing of main control board 200)
FIG. 8 is a flowchart showing the main processing of the main control board 200. Here, first, the outline of one game after initialization will be described along with the main processing of the main control board 200. Further, although detailed description is omitted, when each process is performed, the switches (bet switch 126, start switch 128, stop switch 130a, 130b, 130c, 130d) used in each process are effective at the start of the process. And invalidated at the end of the process.

(ステップS100)
電源スイッチ148を介してスロットマシン100の電源が投入され、通電状態になると、初期化手段300は、遊技開始に備え初期化処理を実行する。初期化手段300は、電源が投入されている間、随時バックアップデータを生成し、そのバックアップデータをメインRAM200cに保持している。したがって、不意の電断が生じたとしても、この初期化処理において、保持されたバックアップデータを用い電断前の状態に復帰させることができる。例えば、リール134a、134b、134cの回転中に不意の電断が起きたとしても、復帰動作後に再度各リール134a、134b、134cが回転している状態から開始される。したがって、初期化処理では、基本的に、メインRAM200cの初期化(RAMクリア)は行われない。
(Step S100)
When the power of the slot machine 100 is turned on via the power switch 148 and the power is turned on, the initialization means 300 executes the initialization process in preparation for the start of the game. The initialization means 300 generates backup data at any time while the power is turned on, and holds the backup data in the main RAM 200c. Therefore, even if an unexpected power failure occurs, it is possible to restore the state before the power failure by using the retained backup data in this initialization process. For example, even if an unexpected power failure occurs during the rotation of the reels 134a, 134b, 134c, the reels 134a, 134b, 134c are started from the state of being rotated again after the return operation. Therefore, in the initialization process, the main RAM 200c is basically not initialized (RAM clear).

(ステップS200)
また、コマンド決定手段314は、ベット枚数に変更があった場合に、変更されたベット枚数および貯留枚数を示す投入コマンドを生成し、コマンド送信手段316は、生成された投入コマンドを副制御基板202に送信する。
(Step S200)
Further, the command determining means 314 generates an input command indicating the changed number of bets and the number of stored sheets when the number of bets is changed, and the command transmitting means 316 transmits the generated input command to the sub-control board 202. Send to.

(ステップS300)
次に、当選役抽選手段304は、スタートスイッチ128に対する遊技開始操作を有効化し、スタートスイッチ128の操作待ち状態に移行する。ここで、当選役抽選手段304は、遊技者によるスタートスイッチ128の操作に応じて、主制御基板200の乱数発生器200dによって更新された当選役抽選乱数から、スタートスイッチ128が操作された時点における1の当選役抽選乱数を取得する。そして、当選役抽選手段304は、図7に示した当選役抽選テーブル、および、現在設定されている遊技状態に基づいて、取得した当選役抽選乱数が、いずれの当選領域に対応するか判定し、判定された当選領域の当選役または不当選を抽選結果として決定する。また、コマンド決定手段314は、スタートスイッチ128の操作に応じて抽選結果が決定された後、当選役抽選の抽選結果(当選役または不当選)や遊技状態に関する情報等を含む当選役コマンドを生成し、コマンド送信手段316は、生成された当選役コマンドを副制御基板202に送信する。また、状態移行手段312は、ボーナス非成立遊技状態において当選役「BB」に当選したことに基づき遊技状態をボーナス非成立遊技状態からボーナス成立遊技状態へ移行させる。
(Step S300)
Next, the winning combination lottery means 304 activates the game start operation for the start switch 128, and shifts to the operation waiting state of the start switch 128. Here, the winning combination lottery means 304 is at the time when the start switch 128 is operated from the winning combination lottery random numbers updated by the random number generator 200d of the main control board 200 in response to the operation of the start switch 128 by the player. Acquire the winning combination lottery random number of 1. Then, the winning combination lottery means 304 determines which winning area the acquired winning combination lottery random number corresponds to based on the winning combination lottery table shown in FIG. 7 and the currently set gaming state. , The winning combination or the unwinning of the determined winning area is determined as the lottery result. Further, after the lottery result is determined according to the operation of the start switch 128, the command determination means 314 generates a winning combination command including information on the lottery result (winning combination or unwinning combination) of the winning combination lottery, the game state, and the like. Then, the command transmitting means 316 transmits the generated winning combination command to the sub-control board 202. In addition, the state transition means 312 shifts the gaming state from the bonus non-established gaming state to the bonus established gaming state based on winning the winning combination "BB" in the bonus non-established gaming state.

(ステップS400)
スタートスイッチ128が操作されると、リール制御手段306は、ステッピングモータ262を駆動してリール134a、134b、134cを回転させる。このリール回転処理においては、前回の1遊技におけるリール134a、134b、134cの回転開始時点から所定の時間(例えば4.1秒)が経過すると(ウェイト)、当該遊技におけるリール134a、134b、134cの回転を開始し、リール134a、134b、134cの全てが定速回転となったところで、ステップS500に処理を移す。また、リール制御手段306は、リール演出を実行する場合もある。
(Step S400)
When the start switch 128 is operated, the reel control means 306 drives the stepping motor 262 to rotate the reels 134a, 134b, 134c. In this reel rotation process, when a predetermined time (for example, 4.1 seconds) has elapsed from the start of rotation of the reels 134a, 134b, 134c in the previous game (wait), the reels 134a, 134b, 134c in the game When the rotation is started and all of the reels 134a, 134b, and 134c are rotated at a constant speed, the process is transferred to step S500. In addition, the reel control means 306 may execute a reel effect.

(ステップS500)
続いて、リール制御手段306は、ストップスイッチ130a、130b、130c、130dを有効化し、遊技者によるストップスイッチ130a、130b、130c、130dの操作を受け付けると、その操作に対応するリール134a、134b、134cのいずれかを停止制御する。また、コマンド決定手段314は、ストップスイッチ130a、130b、130c、130dのいずれかの操作がなされると、操作がなされたストップスイッチ130a、130b、130c、130dの情報を示す停止コマンド(第1停止コマンド、第2停止コマンド、第3停止コマンド)を操作の度に生成し、コマンド送信手段316は、生成された停止コマンドを順次、副制御基板202に送信する。
(Step S500)
Subsequently, the reel control means 306 activates the stop switches 130a, 130b, 130c, 130d, and when the player accepts the operation of the stop switches 130a, 130b, 130c, 130d, the reels 134a, 134b, corresponding to the operation, Stop control of any of 134c. Further, when any one of the stop switches 130a, 130b, 130c, and 130d is operated, the command determining means 314 is a stop command (first stop) indicating information on the stopped switches 130a, 130b, 130c, and 130d that have been operated. A command, a second stop command, and a third stop command) are generated each time the operation is performed, and the command transmission means 316 sequentially transmits the generated stop command to the sub-control board 202.

(ステップS600)
次に、判定手段308は、図3(b)に示した有効ラインA上に表示された図柄組み合わせが予め定められたどの組み合わせに相当するかを判定し、その図柄組み合わせに応じて遊技状態の変更やリプレイに際して要求される種々の処理を実行する。また、コマンド決定手段314は、有効ラインA上に表示された図柄組み合わせや、有効ラインA上に小役に対応する図柄組み合わせが表示された場合におけるメダルの払出枚数等を含む入賞コマンドを生成し、コマンド送信手段316は、生成された入賞コマンドを副制御基板202に送信する。また、状態移行手段312は、ボーナス成立遊技状態において当選役「BB」に対応する図柄組み合わせが有効ラインA上に表示されたことに基づき、遊技状態をボーナス成立遊技状態からボーナス遊技状態へ移行させる。
(Step S600)
Next, the determination means 308 determines which predetermined combination the symbol combination displayed on the effective line A shown in FIG. 3B corresponds to, and the game state is determined according to the symbol combination. Performs various processes required for changes and replays. Further, the command determining means 314 generates a winning command including the number of medals to be paid out when the symbol combination displayed on the effective line A and the symbol combination corresponding to the small winning combination is displayed on the effective line A. , The command transmitting means 316 transmits the generated winning command to the sub-control board 202. Further, the state transition means 312 shifts the gaming state from the bonus-established gaming state to the bonus gaming state based on the fact that the symbol combination corresponding to the winning combination "BB" is displayed on the valid line A in the bonus-established gaming state. ..

(ステップS700)
続いて、払出制御手段310は、ステップS600における判定結果に基づき、例えば、有効ラインA上に小役に対応する図柄組み合わせが表示されると、当該小役に対応するメダルの払出処理を実行し、有効ラインA上にリプレイ役に対応する図柄組み合わせが表示されると、自動的に次遊技のベットを行うための処理を実行する。また、状態移行手段312は、ボーナス遊技状態においてメダルの所定枚数の払い出しが実行されると、遊技状態をボーナス遊技状態からボーナス非成立遊技状態へ移行させる。このように、払出制御手段310は、有効ラインA上に表示された図柄組み合わせに対応して種々の処理を遂行し、当該1遊技を終了する。また、コマンド決定手段314は、メダルの払出処理がなされた場合、払出処理がなされたことを示す払出コマンドを生成し、コマンド送信手段316は、生成された払出コマンドを副制御基板202に送信する。
(Step S700)
Subsequently, the payout control means 310 executes a medal payout process corresponding to the small winning combination when, for example, a symbol combination corresponding to the small winning combination is displayed on the effective line A based on the determination result in step S600. , When the symbol combination corresponding to the replay combination is displayed on the effective line A, the process for betting the next game is automatically executed. Further, the state transition means 312 shifts the gaming state from the bonus gaming state to the bonus non-established gaming state when a predetermined number of medals are paid out in the bonus gaming state. In this way, the payout control means 310 executes various processes corresponding to the symbol combinations displayed on the effective line A, and ends the one game. Further, when the medal payout process is performed, the command determination means 314 generates a payout command indicating that the payout process has been performed, and the command transmission means 316 transmits the generated payout command to the sub-control board 202. ..

ステップS200からステップS700までの一連の処理を通じて1遊技が実行される。以後は、ステップS200からステップS700までのメインループを繰り返すこととなる。 One game is executed through a series of processes from step S200 to step S700. After that, the main loop from step S200 to step S700 will be repeated.

(メインCPU200aによるメモリ管理)
ところで、上述したように、主制御基板200においては、メインCPU200aが、メインROM200bに格納されたプログラムに基づきメインRAM200cと協働することで、初期化手段300、ベット手段302、当選役抽選手段304、リール制御手段306、判定手段308、払出制御手段310、状態移行手段312、コマンド決定手段314、コマンド送信手段316等として機能し、遊技の進行を制御する。これらの機能部を実行するためのプログラムは、メインROM200bおよびメインRAM200cの所定の領域(使用領域)に配される。
(Memory management by main CPU 200a)
By the way, as described above, in the main control board 200, the main CPU 200a cooperates with the main RAM 200c based on the program stored in the main ROM 200b, so that the initialization means 300, the betting means 302, and the winning combination lottery means 304 , Reel control means 306, determination means 308, payout control means 310, state transition means 312, command determination means 314, command transmission means 316, etc., and controls the progress of the game. The program for executing these functional units is arranged in a predetermined area (used area) of the main ROM 200b and the main RAM 200c.

図9は、メインROM200bおよびメインRAM200cのメモリマップを示す説明図である。ここで、メインROM200bには、0000h〜2FFFh(12kbyte)のメモリ空間が割り当てられ、メインRAM200cには、F000h〜F1FFh(512byte)およびF200h〜F3FFh(512byte)のメモリ空間が割り当てられている。また、メインROM200bおよびメインRAM200cのいずれにおいても使用領域が規定されている。 FIG. 9 is an explanatory diagram showing a memory map of the main ROM 200b and the main RAM 200c. Here, the main ROM 200b is allocated a memory space of 0000h to 2FFFh (12kbyte), and the main RAM 200c is allocated a memory space of F000h to F1FFh (512byte) and F200h to F3FFh (512byte). Further, the used area is defined in both the main ROM 200b and the main RAM 200c.

メインROM200bの0000h〜1DF3hのメモリ空間には使用領域が割り当てられている。具体的に、0000h〜11FFh(4.5kbyte)に制限されたメモリ空間(制御領域)に、初期化手段300、ベット手段302、当選役抽選手段304、リール制御手段306、判定手段308、払出制御手段310、状態移行手段312、コマンド決定手段314、コマンド送信手段316を機能させて遊技の進行を制御する遊技制御処理を実行するためのプログラムの命令コードが格納され、1200h〜1DF3h(3.0kbyte)に制限されたメモリ空間(データ領域)に、遊技制御処理のプログラムに用いられるデータが格納されている。また、1E00h〜1EFFhのメモリ空間にはコメント領域が割り当てられ、2FC0h〜2FFFhのメモリ空間にはプログラム管理領域が割り当てられている。また、プログラムの命令コードはアセンブラ言語で記述されている。ここで、プログラムは、命令コードで構成されたものであり、コンピュータに読み出され、データやワークエリアと協働して所定の処理を実現することができる。 A used area is allocated to the memory space of the main ROM 200b from 0000h to 1DF3h. Specifically, in the memory space (control area) limited to 0000h to 11FFh (4.5kbyte), the initialization means 300, the betting means 302, the winning combination lottery means 304, the reel control means 306, the determination means 308, and the payout control. The instruction code of the program for executing the game control process for controlling the progress of the game by operating the means 310, the state transition means 312, the command determination means 314, and the command transmission means 316 is stored, and 1200h to 1DF3h (3.0 kbyte). ), The data used for the game control processing program is stored in the memory space (data area). A comment area is allocated to the memory space of 1E00h to 1EFFh, and a program management area is allocated to the memory space of 2FC0h to 2FFFh. The instruction code of the program is written in assembler language. Here, the program is composed of an instruction code, is read by a computer, and can realize a predetermined process in cooperation with data and a work area.

また、メインRAM200cのF000h〜F1FFhのメモリ空間には使用領域が割り当てられている。具体的に、F000h〜F13Fhのメモリ空間には、上記遊技制御処理のワークエリアが割り当てられ、タイマ、カウンタ、フラグ等の変数管理に用いられる。F1C0h〜F1FFhのメモリ空間には、上記遊技制御処理のスタック領域が割り当てられている。また、メインCPU200aには内部レジスタが設けられている。 Further, a used area is allocated to the memory spaces of F000h to F1FFh of the main RAM 200c. Specifically, the work area for the game control process is allocated to the memory spaces of F000h to F13Fh, and is used for managing variables such as timers, counters, and flags. The stack area of the game control process is allocated to the memory spaces of F1C0h to F1FFh. Further, the main CPU 200a is provided with an internal register.

図10は、メインCPU200aの内部レジスタを説明するための説明図である。内部レジスタは、それぞれ8bitまたは16bitで構成され、単独で用いる場合と、予め定められている組み合わせ(ペアレジスタ)で用いる場合とがある。また、内部レジスタには表レジスタと、一部の表レジスタに対応した裏レジスタとがある。 FIG. 10 is an explanatory diagram for explaining the internal register of the main CPU 200a. The internal registers are composed of 8 bits or 16 bits, respectively, and may be used alone or in a predetermined combination (pair register). Further, the internal registers include a front register and a back register corresponding to some front registers.

図10に示す内部レジスタのうち、Qレジスタ(キューレジスタ)は、遊技機用拡張仕様の8ビット専用レジスタである。かかるQレジスタの上位1バイトはF0h固定で、F000h〜F0FFhのメインRAM200cのアクセスに利用する。Iレジスタは、割込先アドレスの上位8ビットを記憶する専用レジスタである。Aレジスタは、演算処理やデータ転送に使う8ビットのアキュムレータである。Fレジスタは、各種演算結果を保持する8ビットのフラグレジスタである。ここで、Fレジスタの各ビットは、図10に示すように、最上位ビット(MSB:Most Significant Bit)から最下位ビット(LSB:Least Significant Bit)にかけて、sは、演算結果が負のとき1にセットされるサインフラグであり、zは、演算の結果、全ビットが0のとき1にセットされるゼロフラグ(第1ゼロフラグ)であり、tzは、データ転送命令(LD;ロード)の実行により、全ビットが0のとき1にセットされる(値の変わる)遊技機用拡張仕様の特定ビットフラグ(第2ゼロフラグ)であり、ティーゼットフラグと呼ぶ場合もある。hは、プログラマーが関与できないハーフキャリーフラグであり、*は、予約ビット(未定義)であり、p/vは、パリティオーバーフローフラグであり、nは、プログラマーが関与できない加減算フラグであり、cは、演算の結果、桁上げまたはボロー発生時に1がセットされるキャリーフラグである。なお、Fレジスタは、AレジスタとペアレジスタAFを構成する。 Of the internal registers shown in FIG. 10, the Q register (cue register) is an 8-bit dedicated register with extended specifications for gaming machines. The upper 1 byte of the Q register is fixed at F0h and is used for accessing the main RAM 200c of F000h to F0FFh. The I register is a dedicated register that stores the upper 8 bits of the interrupt destination address. The A register is an 8-bit accumulator used for arithmetic processing and data transfer. The F register is an 8-bit flag register that holds various calculation results. Here, as shown in FIG. 10, each bit of the F register is from the most significant bit (MSB: Most Significant Bit) to the least significant bit (LSB: Least Significant Bit), and s is 1 when the operation result is negative. Is a sine flag set in, z is a zero flag (first zero flag) set to 1 when all bits are 0 as a result of the operation, and tz is a data transfer instruction (LD; load) executed. , It is a specific bit flag (second zero flag) of the extended specification for a game machine, which is set to 1 (the value changes) when all the bits are 0, and may be called a tee set flag. h is a half-carry flag that the programmer cannot participate in, * is a reserved bit (undefined), p / v is a parity overflow flag, n is an addition / subtraction flag that the programmer cannot participate in, and c is an addition / subtraction flag. , A carry flag that is set to 1 when carry or borrow occurs as a result of calculation. The F register constitutes a pair register AF with the A register.

また、Bレジスタ、Cレジスタ、Dレジスタ、Eレジスタ、Hレジスタ、Lレジスタは、8ビットの汎用レジスタであり、それぞれ16ビットのペアレジスタBC、DE、HLを構成する。IXレジスタ、IYレジスタは、インデックスアドレッシング用16ビット専用レジスタであり、IXh、IYhは、上位8ビットを示し、IXl、IYlは下位8ビットを示す。A’レジスタ、F’レジスタ、B’レジスタ、C’レジスタ、D’レジスタ、E’レジスタ、H’レジスタ、L’レジスタは、Aレジスタ、Fレジスタ、Bレジスタ、Cレジスタ、Dレジスタ、Eレジスタ、Hレジスタ、Lレジスタの表レジスタとの交換命令によりデータ(内容)交換可能な裏レジスタであり、A’レジスタとF’レジスタでペアレジスタAF’を構成し、B’レジスタとC’レジスタでペアレジスタBC’を構成し、D’レジスタとE’レジスタでペアレジスタDE’を構成し、H’レジスタとL’レジスタでペアレジスタHL’を構成する。かかる裏レジスタは、割込処理の発生時に表レジスタのスタック領域として機能する。 The B register, C register, D register, E register, H register, and L register are 8-bit general-purpose registers, and each constitutes a 16-bit pair register BC, DE, and HL. The IX register and the IY register are 16-bit dedicated registers for index addressing, IXh and IYh indicate the upper 8 bits, and IXl and IYl indicate the lower 8 bits. A'register, F'register, B'register, C'register, D'register, E'register, H'register, L'register are A register, F register, B register, C register, D register, E register. , H register, L register is a back register whose data (contents) can be exchanged by the exchange instruction with the front register. A'register and F'register form a pair register AF', and B'register and C'register. The pair register BC'is configured, the D'register and the E'register form the pair register DE', and the H'register and the L'register form the pair register HL'. Such a back register functions as a stack area of the front register when an interrupt process occurs.

このような環境の下、メインCPU200aは、例えば、1.49msec毎の割込信号に応じて、使用領域のプログラムの命令コードに従い、使用領域のプログラムデータを参照しつつ、また、各内部レジスタ、使用領域のワークエリアやスタック領域を利用して、初期化手段300、ベット手段302、当選役抽選手段304、リール制御手段306、判定手段308、払出制御手段310、状態移行手段312、コマンド決定手段314、コマンド送信手段316を機能させる遊技制御処理を遂行する。 Under such an environment, the main CPU 200a, for example, responds to an interrupt signal every 1.49 msec, follows the instruction code of the program in the used area, refers to the program data in the used area, and also refers to each internal register. Initialization means 300, betting means 302, winning combination lottery means 304, reel control means 306, determination means 308, payout control means 310, state transition means 312, command determination means using the work area or stack area of the used area. 314, the game control process that makes the command transmission means 316 function is executed.

なお、ここでは、命令コードとして、エルイーテック(LETech)社が販売するLEM50A−P(製品名)に対して準備されたコマンドを用いている。LEM50A―Pは、遊技機業界で汎用的に用いられる(市場占有率が高い)、NC80EXというZ80系CPUを搭載したマイクロプロセッサである。 Here, as an instruction code, a command prepared for LEM50A-P (product name) sold by LETech is used. The LEM50A-P is a microprocessor equipped with a Z80 CPU called NC80EX, which is widely used in the gaming machine industry (has a high market share).

このように、メインCPU200aにおいて、使用領域の記憶容量は予め定められており、例えば、図9に示したように、制御領域が4.5kbyteに制限され、データ領域が3.0kbyteに制限されている。したがって、AT演出状態や、リールユニット134を多彩な態様で回転させる所謂リール演出を、メインCPU200aが管理する場合、制御領域の中で、遊技制御処理の記憶容量がさらに制限されるおそれがある。ここでは、変数の配列を工夫することで、遊技制御処理を行うための制御領域の容量を確保する。 As described above, in the main CPU 200a, the storage capacity of the used area is predetermined. For example, as shown in FIG. 9, the control area is limited to 4.5 kbytes and the data area is limited to 3.0 kbytes. There is. Therefore, when the main CPU 200a manages the AT effect state and the so-called reel effect of rotating the reel unit 134 in various modes, the storage capacity of the game control process may be further limited in the control area. Here, by devising an array of variables, the capacity of the control area for performing the game control process is secured.

遊技制御処理として、例えば、リール制御手段306が、3つのリール134a、134b、134cを制御するプログラムを挙げる。リール制御手段306は、3つのリール134a、134b、134cを制御するため、上述した内部レジスタに加え、ワークエリアにおいて複数の変数を保持する。以下、変数について詳述する。 As the game control process, for example, a program in which the reel control means 306 controls three reels 134a, 134b, and 134c can be mentioned. In order to control the three reels 134a, 134b, and 134c, the reel control means 306 holds a plurality of variables in the work area in addition to the internal registers described above. The variables will be described in detail below.

本実施形態では、3つのリール134a、134b、134cを回動するために、ステップ数の総数が252であるステッピングモータ262を用いている。これは、図柄数が仮に21であった場合に、252が21の倍数なので、図柄毎のステップ数を均等に扱えるからである。なお、本実施形態では、ステッピングモータ262を1−2相励磁で動作させているので、分解能を上げ、そのステップ数を252の2倍の504で計数することができる。したがって、以下の例では、ステップ数の総数を504として扱っている。 In this embodiment, a stepping motor 262 having a total number of steps of 252 is used to rotate the three reels 134a, 134b, and 134c. This is because if the number of symbols is 21, 252 is a multiple of 21, so the number of steps for each symbol can be handled evenly. In this embodiment, since the stepping motor 262 is operated by 1-2 phase excitation, the resolution can be increased and the number of steps can be counted at 504, which is twice that of 252. Therefore, in the following example, the total number of steps is treated as 504.

また、リール134a、134b、134cの状態は、モータフェーズ、ステップカウンタ値、現在出現図柄番号の3つの属性(パラメータ)で表される。モータフェーズは、リール134a、134b、134cの動作状態、すなわち、加速中、定常回転中、停止中、待機中を示す。具体的に、モータフェーズに割り当てられた1バイトの変数が、そのモータの動作状態に応じて、加速中=3、定常回転中=2、停止中=1、待機中=0といった値に変化する。なお、ここでは、加速中、定常回転中、停止中、待機中といった動作を挙げているが、動作として減速中が含まれていてもよい。 The states of the reels 134a, 134b, and 134c are represented by three attributes (parameters) of the motor phase, the step counter value, and the currently appearing symbol number. The motor phase indicates the operating state of the reels 134a, 134b, 134c, that is, during acceleration, steady rotation, stop, and standby. Specifically, the 1-byte variable assigned to the motor phase changes to values such as acceleration = 3, steady rotation = 2, stopped = 1, and standby = 0, depending on the operating state of the motor. .. Although the operations such as acceleration, steady rotation, stop, and standby are mentioned here, deceleration may be included as the operation.

また、ステップカウンタ値は、単位図柄におけるステップの計数を示す。例えば、図柄数が21の場合、単位図柄におけるステップカウンタ値の最大値は504/21=24となるので、24を計数することで図柄を更新し、かつ、ステップカウンタ値を初期化する。ただし、本実施形態では図柄数が20なので、504を除算した値は整数にならない。そこで、本実施形態では、20コマ中、12コマでステップカウンタ値の最大値を26とし、8コマでステップカウンタ値の最大値を24としている。具体的に、ステップカウンタ値の最大値を、5つ分の図柄に対し、図柄毎に26→24→26→24→26と順に移行させ、その組み合わせを4回繰り返す。こうして、20コマ中、3×4回=12コマでステップカウンタ値の最大値を26とし、2×4回=8コマでステップカウンタ値の最大値を24とすることができる。したがって、図柄(図柄番号)に応じて、24または26を計数することで図柄が更新され、ステップカウンタ値が初期化される。 The step counter value indicates the count of steps in the unit symbol. For example, when the number of symbols is 21, the maximum value of the step counter value in the unit symbol is 504/21 = 24, so the symbol is updated by counting 24 and the step counter value is initialized. However, since the number of symbols is 20 in this embodiment, the value obtained by dividing 504 is not an integer. Therefore, in the present embodiment, the maximum value of the step counter value is set to 26 in 12 frames out of 20 frames, and the maximum value of the step counter value is set to 24 in 8 frames. Specifically, the maximum value of the step counter value is shifted in the order of 26 → 24 → 26 → 24 → 26 for each symbol for five symbols, and the combination is repeated four times. In this way, the maximum value of the step counter value can be set to 26 at 3 × 4 times = 12 frames out of 20 frames, and the maximum value of the step counter value can be set to 24 at 2 × 4 times = 8 frames. Therefore, the symbol is updated by counting 24 or 26 according to the symbol (symbol number), and the step counter value is initialized.

また、現在出現図柄番号は、所定の位置(例えば、有効ラインA上)に現在出現している図柄の番号を示す。ここでは、図柄数が20なので、番号を順次更新し、20を計数することで、リール134a、134b、134cが1回転したとし、現在出現図柄番号を初期化する。かかる3つの属性(モータフェーズ、ステップカウンタ値、現在出現図柄番号)を参照することで、ステッピングモータ262の動作状態とリールの位置とを把握することができる。 Further, the currently appearing symbol number indicates the number of the symbol currently appearing at a predetermined position (for example, on the effective line A). Here, since the number of symbols is 20, the numbers are sequentially updated, and by counting 20, it is assumed that the reels 134a, 134b, and 134c have rotated once, and the currently appearing symbol numbers are initialized. By referring to these three attributes (motor phase, step counter value, and currently appearing symbol number), the operating state of the stepping motor 262 and the position of the reel can be grasped.

なお、以後の説明において、リール134a、リール134b、リール134cといったように、スロットマシン100の一部であり、それぞれ物理的に独立して認識可能なものをデバイスと称することがあり、モータフェーズ、ステップカウンタ値、現在出現図柄番号といったように、デバイスを制御するためのパラメータ(データ)の属性(種類)をデバイス属性と称することがある。デバイス属性は、デバイスを制御するための複数のパラメータに対応して複数種類設けられる。 In the following description, a device that is a part of the slot machine 100 and can be physically recognized independently, such as reel 134a, reel 134b, and reel 134c, may be referred to as a device. The attribute (type) of the parameter (data) for controlling the device, such as the step counter value and the currently appearing symbol number, may be referred to as a device attribute. A plurality of types of device attributes are provided corresponding to a plurality of parameters for controlling the device.

ここでは、3つのリール134a、134b、134c(複数のデバイス)それぞれについて、モータフェーズ、ステップカウンタ値、現在出現図柄番号といった3つのデバイス属性(複数種類のデバイス属性)に対応する変数がワークエリアに配置される。その配置の態様としては2通りが考えられる。一方は、リール134a、134b、134c等、デバイスを基準とした配置、具体的に、デバイス単位で、モータフェーズ、ステップカウンタ値、現在出現図柄番号といったデバイス属性の変数を並置した(纏めた)配置である。他方は、デバイス属性を基準とした配置、具体的に、デバイス属性単位で、デバイスの変数を並置した(纏めた)配置である。 Here, for each of the three reels 134a, 134b, and 134c (multiple devices), variables corresponding to the three device attributes (multiple types of device attributes) such as the motor phase, the step counter value, and the currently appearing symbol number are set in the work area. Be placed. There are two possible modes of arrangement. One is an arrangement based on the device such as reels 134a, 134b, 134c, etc., specifically, an arrangement in which device attribute variables such as a motor phase, a step counter value, and a currently appearing symbol number are juxtaposed (collected) for each device. Is. The other is an arrangement based on device attributes, specifically, an arrangement in which device variables are juxtaposed (collected) in units of device attributes.

(デバイス属性基準)
図11は、ワークエリアにおける変数の配置を説明するための説明図である。ここでは、リール134a、134b、134c等、デバイス単位で纏めて変数を配置している。具体的に、初期化手段300は、図11(a)のプログラムに従って、1リール目、2リール目、3リール目の順に纏めて(連続させて)変数を割り当てる。そして、初期化手段300は、電源投入時(電源ONの度、設定変更時)の初期化処理S100において、各リール内で、モータフェーズ(_SMC_PHS)、ステップカウンタ値(_STE_CNT)、現在出現図柄番号(_FIG_NUM)といったデバイス属性に対応する変数を、その順に割り当てる。したがって、ワークエリアには、図11(b)のように、1リール目のモータフェーズ、ステップカウンタ値、現在出現図柄番号、2リール目のモータフェーズ、ステップカウンタ値、現在出現図柄番号、3リール目のモータフェーズ、ステップカウンタ値、現在出現図柄番号の順に変数が配置されることとなる。なお、初期化手段300は、電源投入時において、変数のバックアップデータが存在していれば、そのバックアップデータを復帰させ、変数のバックアップデータが存在していなければ、上記のように各デバイス属性内で各リールの変数を割り当てる。
(Device attribute standard)
FIG. 11 is an explanatory diagram for explaining the arrangement of variables in the work area. Here, variables such as reels 134a, 134b, 134c, etc. are collectively arranged for each device. Specifically, the initialization means 300 allocates variables collectively (consecutively) in the order of the first reel, the second reel, and the third reel according to the program of FIG. 11A. Then, in the initialization process S100 when the power is turned on (every time the power is turned on, when the setting is changed), the initialization means 300 has a motor phase (_SMC_PHS), a step counter value (_STE_CNT), and a currently appearing symbol number in each reel. Variables corresponding to device attributes such as (_FIG_NUM) are assigned in that order. Therefore, as shown in FIG. 11B, the work area has the motor phase of the first reel, the step counter value, the currently appearing symbol number, the motor phase of the second reel, the step counter value, the currently appearing symbol number, and the third reel. The variables are arranged in the order of the motor phase of the eye, the step counter value, and the currently appearing symbol number. When the power is turned on, the initialization means 300 restores the backup data of the variable if the backup data of the variable exists, and if the backup data of the variable does not exist, the initialization means 300 is included in each device attribute as described above. Assign variables for each reel with.

図12は、ワークエリアにおける変数の他の配置を説明するための説明図である。ここでは、モータフェーズ、ステップカウンタ値、現在出現図柄番号といったデバイス属性単位で纏めて変数を配置している。具体的に、初期化手段300は、図12(a)のプログラムに従って、モータフェーズ(_SMC_PHS)、ステップカウンタ値(_STE_CNT)、現在出現図柄番号(_FIG_NUM)といったデバイス属性に対応する変数を、その順に纏めて(連続させて)割り当てる。そして、初期化手段300は、電源投入時(電源ONの度、設定変更時)の初期化処理S100において、各デバイス属性内で、1リール目、2リール目、3リール目といったように、各リールの変数を、その順に割り当てる。したがって、ワークエリアには、図12(b)のように、モータフェーズの1リール目、2リール目、3リール目、ステップカウンタ値の1リール目、2リール目、3リール目、現在出現図柄番号の1リール目、2リール目、3リール目の順に配置されることとなる。 FIG. 12 is an explanatory diagram for explaining other arrangement of variables in the work area. Here, variables are collectively arranged for each device attribute such as the motor phase, the step counter value, and the currently appearing symbol number. Specifically, the initialization means 300 sets variables corresponding to device attributes such as the motor phase (_SMC_PHS), the step counter value (_STE_CNT), and the currently appearing symbol number (_FIG_NUM) in that order according to the program of FIG. 12 (a). Allocate collectively (continuously). Then, in the initialization process S100 when the power is turned on (every time the power is turned on, when the setting is changed), the initialization means 300 includes the first reel, the second reel, the third reel, and so on in each device attribute. Assign reel variables in that order. Therefore, as shown in FIG. 12B, in the work area, the 1st reel, the 2nd reel, the 3rd reel of the motor phase, the 1st reel, the 2nd reel, and the 3rd reel of the step counter value, and the currently appearing symbol The numbers are arranged in the order of the 1st reel, the 2nd reel, and the 3rd reel.

図11(b)と図12(b)とを比較すると、変数がワークエリアを占有する容量は9バイトで変わっていない。また、図11(b)の変数の配置は、リール134a、134b、134c単位で変数を参照する場合や、その値を確認する場合に把握し易い。一方、図12(b)の変数の配置は、モータフェーズ、ステップカウンタ値、現在出現図柄番号それぞれについて変数を参照する場合や、その値を確認する場合に把握し易いことが理解できる。 Comparing FIG. 11 (b) and FIG. 12 (b), the capacity of the variable occupying the work area is 9 bytes, which is unchanged. Further, the arrangement of the variables in FIG. 11B can be easily grasped when the variables are referred to in units of reels 134a, 134b, and 134c, or when the values are confirmed. On the other hand, it can be understood that the arrangement of the variables in FIG. 12B is easy to grasp when referring to the variables for each of the motor phase, the step counter value, and the currently appearing symbol number, or when confirming the values.

図13および図14は、リール制御手段306の処理を説明するための説明図である。ここで、メインCPU200aは、例えば、1.49msec毎の割込信号に応じ、使用領域に格納されているプログラム(使用プログラム)の命令コードによって遊技制御処理を遂行する。そして、メインCPU200aは、メインルーチンを実行し、メインルーチンからサブルーチンを呼び出し、そのサブルーチンにおいて、3つのリール134a、134b、134c全てが待機中であるか否かを判定する(励磁開放待ち処理)例を挙げて説明する。ここで、リール制御手段306は、各リール134a、134b、134cの定常回転中(モータフェーズの値は、定常回転中=2)における、ストップスイッチ130a、130b、130cそれぞれの操作(押下)に応じ、ステッピングモータ262の全相励磁を通じて対応するリール134a、134b、134cを減速し(モータフェーズの値は、停止中=1)、リール134a、134b、134cが完全に停止すると、待機中に移行するとともにステッピングモータ262を励磁開放する。モータフェーズは、待機中となったことにより、その値が0となる。なお、ここでは、各リール134a、134b、134cの定常回転中における、ストップスイッチ130a、130b、130cそれぞれの押下操作に応じ、リール134a、134b、134cを減速する例を挙げているが、ストップスイッチ130a、130b、130cそれぞれの押下操作の解除に応じ、リール134a、134b、134cを減速してもよい。 13 and 14 are explanatory views for explaining the processing of the reel control means 306. Here, for example, the main CPU 200a executes the game control process by the instruction code of the program (used program) stored in the used area in response to the interrupt signal every 1.49 msec. Then, the main CPU 200a executes the main routine, calls a subroutine from the main routine, and determines whether or not all three reels 134a, 134b, and 134c are waiting in the subroutine (excitation release waiting process). Will be explained. Here, the reel control means 306 responds to the operation (pressing) of the stop switches 130a, 130b, 130c during the steady rotation of the reels 134a, 134b, 134c (the value of the motor phase is during the steady rotation = 2). , The corresponding reels 134a, 134b, 134c are decelerated through all-phase excitation of the stepping motor 262 (the value of the motor phase is stopped = 1), and when the reels 134a, 134b, 134c are completely stopped, the process shifts to standby. At the same time, the stepping motor 262 is excited and released. The value of the motor phase becomes 0 because it is in standby mode. Here, an example in which the reels 134a, 134b, and 134c are decelerated in response to the pressing operation of the stop switches 130a, 130b, and 130c during the steady rotation of the reels 134a, 134b, and 134c is given. The reels 134a, 134b, and 134c may be decelerated in response to the release of the pressing operation of each of the 130a, 130b, and 130c.

例えば、図11(b)に示すような変数の配置を採用した場合、図13(a)に示すような処理を行うことが考えられる。図13(a)のフローチャートに示すように、リール制御手段306は、まず、1リール目のモータフェーズの変数をAレジスタに設定する(S210)。次に、リール制御手段306は、2リール目のモータフェーズの変数とAレジスタの値との論理和をとる(S212)。こうして、1リール目のモータフェーズの変数、または、2リール目のモータフェーズの変数のいずれかに0以外の値が含まれている場合、Aレジスタの値も0以外となる。続いて、リール制御手段306は、3リール目のモータフェーズの変数とAレジスタの値との論理和をとる(S214)。こうして、1リール目のモータフェーズの変数、2リール目のモータフェーズの変数、または、3リール目のモータフェーズの変数のいずれかに0以外の値が含まれている場合、Aレジスタの値も0以外となる。次に、リール制御手段306は、Aレジスタの値が0以外であるか否か判定し(S216)、その結果、Aレジスタが0以外であれば(S216におけるYES)、当該フローチャートを最初から繰り返し、Aレジスタが0であれば(S216におけるNO)、全てのリール134a、134b、134cが待機中になったとして、当該フローチャートを終了し、メインルーチンに戻る(S218)。 For example, when the arrangement of variables as shown in FIG. 11B is adopted, it is conceivable to perform the processing as shown in FIG. 13A. As shown in the flowchart of FIG. 13A, the reel control means 306 first sets the variable of the motor phase of the first reel in the A register (S210). Next, the reel control means 306 ORs the variable of the motor phase of the second reel and the value of the A register (S212). In this way, when either the variable of the motor phase of the first reel or the variable of the motor phase of the second reel contains a value other than 0, the value of the A register is also other than 0. Subsequently, the reel control means 306 ORs the variable of the motor phase of the third reel and the value of the A register (S214). Thus, if any of the variables of the motor phase of the first reel, the variable of the motor phase of the second reel, or the variable of the motor phase of the third reel contains a value other than 0, the value of the A register is also It is other than 0. Next, the reel control means 306 determines whether or not the value of the A register is other than 0 (S216), and as a result, if the A register is other than 0 (YES in S216), the flowchart is repeated from the beginning. If the A register is 0 (NO in S216), it is assumed that all the reels 134a, 134b, and 134c are on standby, the flowchart is terminated, and the process returns to the main routine (S218).

このような図13(a)で示したフローチャートは、例えば、図13(b)のプログラムによって実現される。図13(b)の1行目の「EXCFREE」は、当該サブルーチンの先頭アドレスを示す。2行目の「LDQ A,(LOW _SMC_PHS1)」は、1リール目のモータフェーズのアドレス(_SMC_PHS1)の値をAレジスタに設定することを示す。ここで、「LDQ」等、「Q」が付されている命令コマンドは、NC80EX独自で利用されるコマンドであり、Qレジスタの値をIYレジスタの上位に設定した上で、_SMC_PHSそのもののアドレス値をIYレジスタの下位に設定し、IYレジスタで示されるアドレスにアクセスする。したがって、「Q」が付されている命令コマンドでは、2バイトで構成される_SMC_PHSそのもののアドレス値の下位バイトを指定するため、アドレスの表記は「(LOW _SMC_PHS1)」となる。かかる2行目のコマンドが、図13(a)のステップS210に対応する。3行目の「ORQ (LOW _SMC_PHS2)」は、2リール目のモータフェーズのアドレス(_SMC_PHS2)の値とAレジスタの値との論理和をとり、その結果をAレジスタに設定することを示す。かかる3行目のコマンドが、図13(a)のステップS212に対応する。4行目の「ORQ (LOW _SMC_PHS3)」は、3リール目のモータフェーズのアドレス(_SMC_PHS3)の値とAレジスタの値との論理和をとり、その結果をAレジスタに設定することを示す。かかる4行目のコマンドが、図13(a)のステップS214に対応する。2〜4行目のコマンドにより、結果的に、1リール目のモータフェーズのアドレス(_SMC_PHS1)の値、2リール目のモータフェーズのアドレス(_SMC_PHS2)の値、および、3リール目のモータフェーズのアドレス(_SMC_PHS3)の値の論理和を計算することとなり、いずれかに0以外の値が含まれている場合、その結果が0以外となる(0にはならない)。5行目の「JR NZ,EXCFREE」は、第1ゼロフラグが0でなければ、EXCFREEに移動することを示す。かかる5行目のコマンドが、図13(a)のステップS216に対応する。そして、6行目の「RET」によって、メインルーチンに戻ることとなる。 Such a flowchart shown in FIG. 13 (a) is realized by, for example, the program of FIG. 13 (b). “EXCFREE” on the first line of FIG. 13B indicates the start address of the subroutine. The second line "LDQ A, (LOW_SMC_PHS1)" indicates that the value of the motor phase address (_SMC_PHS1) of the first reel is set in the A register. Here, the instruction command with "Q" such as "LDQ" is a command used uniquely to NC80EX, and after setting the value of the Q register to the upper level of the IY register, the address value of _SMC_PHS itself. Is set below the IY register to access the address indicated by the IY register. Therefore, in the instruction command with "Q", since the lower byte of the address value of _SMC_PHS itself composed of 2 bytes is specified, the address notation is "(LOW_SMC_PHS1)". The command on the second line corresponds to step S210 in FIG. 13 (a). The third line "ORQ (LOW_SMC_PHS2)" indicates that the value of the address (_SMC_PHS2) of the motor phase of the second reel and the value of the A register are logically summed and the result is set in the A register. The command on the third line corresponds to step S212 in FIG. 13 (a). The fourth line "ORQ (LOW_SMC_PHS3)" indicates that the logical sum of the value of the address (_SMC_PHS3) of the motor phase of the third reel and the value of the A register is taken and the result is set in the A register. The command on the fourth line corresponds to step S214 in FIG. 13 (a). The commands on the 2nd and 4th lines result in the value of the motor phase address (_SMC_PHS1) of the first reel, the value of the address (_SMC_PHS2) of the second reel motor phase, and the value of the motor phase of the third reel. The logical sum of the values of the address (_SMC_PHS3) will be calculated, and if any of them contains a value other than 0, the result will be non-zero (not 0). "JR NZ, EXCFREE" on the 5th line indicates that if the first zero flag is not 0, it moves to EXCFREE. The command on the fifth line corresponds to step S216 in FIG. 13 (a). Then, "RET" on the 6th line returns to the main routine.

かかる図13(b)の例において、命令コマンドをマシン語にしたときのコードの長さ(コマンド長)は、「LDQ A,(LOW _SMC_PHS1)」が2バイト、「ORQ (LOW _SMC_PHS2)」が3バイト、「ORQ (LOW _SMC_PHS3)」が3バイト、「JR NZ,EXCFREE」が2バイト、「RET」が1バイトとなる。したがって、図13(b)のプログラムのコマンド長の合計は11バイトとなる。 In the example of FIG. 13B, the code length (command length) when the instruction command is in machine language is 2 bytes for "LDQ A, (LOW_SMC_PHS1)" and "ORQ (LOW_SMC_PHS2)". 3 bytes, "ORQ (LOW_SMC_PHS3)" is 3 bytes, "JR NZ, EXCFREE" is 2 bytes, and "RET" is 1 byte. Therefore, the total command length of the program shown in FIG. 13B is 11 bytes.

一方、図12(b)に示すような変数の配置を採用した場合、図14(a)に示すような処理を行うことが考えられる。図14(a)のフローチャートに示すように、リール制御手段306は、まず、1リール目のモータフェーズの変数が0以外であるか否か判定し(S230)、その結果、0以外であれば(S230におけるYES)、当該フローチャートを最初から繰り返し、0であれば(S230におけるNO)、2リール目のモータフェーズの変数および3リール目のモータフェーズの変数をHLレジスタに設定する(S232)。次に、リール制御手段306は、HLレジスタの値が0以外であるか否か判定し(S234)、その結果、0以外であれば(S234におけるYES)、当該フローチャートを最初から繰り返し、0であれば(S234におけるNO)、当該フローチャートを終了し、メインルーチンに戻る(S236)。 On the other hand, when the arrangement of the variables as shown in FIG. 12B is adopted, it is conceivable to perform the processing as shown in FIG. 14A. As shown in the flowchart of FIG. 14A, the reel control means 306 first determines whether or not the variable of the motor phase of the first reel is other than 0 (S230), and as a result, if it is other than 0. (YES in S230), the flowchart is repeated from the beginning, and if it is 0 (NO in S230), the variable of the motor phase of the second reel and the variable of the motor phase of the third reel are set in the HL register (S232). Next, the reel control means 306 determines whether or not the value of the HL register is other than 0 (S234), and as a result, if it is other than 0 (YES in S234), the flowchart is repeated from the beginning, and the value is 0. If there is (NO in S234), the flowchart is terminated and the main routine is returned (S236).

このような図14(a)で示したフローチャートは、例えば、図14(b)のプログラムによって実現される。図14(b)の1行目の「EXCFREE」は、当該サブルーチンの先頭アドレスを示す。2行目の「JTQ NZ,(LOW _SMC_PHS),EXCFREE」は、「Q」が付されたNC80EX独自で利用されるコマンドであり、1リール目のモータフェーズのアドレス(_SMC_PHS)の値から0(ゼロ)を減算した場合の第1ゼロフラグが0でなければ、EXCFREEに移動することを示す。かかる2行目のコマンドが、図14(a)のステップS230に対応する。3行目の「LDQ HL,(LOW _SMC_PHS+1)」は、2リール目のモータフェーズのアドレス(_SMC_PHS+1)と、3リール目のモータフェーズのアドレス(_SMC_PHS+2)の内容をHLレジスタに設定することを示す。なお、単にレジスタに値を呼び出した場合であっても、その呼び出した値が0であれば、第2ゼロフラグは0となる。かかる3行目のコマンドが、図14(a)のステップS232に対応する。4行目の「JR NTZ,EXCFREE」は、第2ゼロフラグが0でなければ、EXCFREEに移動することを示す。かかる4行目のコマンドが、図14(a)のステップS234に対応する。そして、5行目の「RET」によって、メインルーチンに戻ることとなる。 Such a flowchart shown in FIG. 14 (a) is realized by, for example, the program of FIG. 14 (b). “EXCFREE” on the first line of FIG. 14B indicates the start address of the subroutine. The second line "JTQ NZ, (LOW _SMC_PHS), EXCFREE" is a command used uniquely to NC80EX with "Q", and is 0 (_SMC_PHS) from the value of the motor phase address (_SMC_PHS) of the first reel. If the first zero flag when subtracting (zero) is not 0, it indicates that the command moves to EXCFREE. The command on the second line corresponds to step S230 in FIG. 14 (a). The third line "LDQ HL, (LOW_SMC_PHS + 1)" indicates that the contents of the address of the motor phase of the second reel (_SMC_PHS + 1) and the address of the motor phase of the third reel (_SMC_PHS + 2) are set in the HL register. .. Even when a value is simply called to the register, if the called value is 0, the second zero flag becomes 0. The command on the third line corresponds to step S232 in FIG. 14 (a). "JR NTZ, EXCFREE" on the 4th line indicates that if the second zero flag is not 0, it moves to EXCFREE. The command on the fourth line corresponds to step S234 in FIG. 14 (a). Then, the "RET" on the fifth line returns to the main routine.

かかる図14(b)の例において、コマンドをマシン語にしたときのコマンド長は、「JTQ NZ,(LOW _SMC_PHS),EXCFREE」が4バイト、「LDQ HL,(LOW _SMC_PHS+1)」が2バイト、「JR NTZ,EXCFREE」が2バイト、「RET」が1バイトとなる。したがって、図14(b)のプログラムのコマンド長の合計は9バイトとなる。かかる図14(b)のプログラムのコマンド長の合計は、図13(b)のプログラムのコマンド長の合計である11バイトより2バイト短縮されている。 In the example of FIG. 14B, the command length when the command is in machine language is 4 bytes for "JTQ NZ, (LOW_SMC_PHS), EXCFREE" and 2 bytes for "LDQ HL, (LOW_SMC_PHS + 1)". "JR NTZ, EXCFREE" is 2 bytes, and "RET" is 1 byte. Therefore, the total command length of the program shown in FIG. 14B is 9 bytes. The total command length of the program shown in FIG. 14B is 2 bytes shorter than the total command length of the program shown in FIG. 13B, which is 11 bytes.

ここで、図11(b)に示したように、リール134a、134b、134c等、デバイス単位で纏めて変数を配置する場合と、図12(b)で示したように、モータフェーズ、ステップカウンタ値、現在出現図柄番号といったデバイス属性単位で纏めて変数を配置している場合とで、ワークエリアの変数が占有する容量は変わっていない。一方、プログラムのコマンド長の合計は、図13を用いて説明したように、リール134a、134b、134c等、デバイス単位で纏めて変数を配置する場合と、図14を用いて説明したように、モータフェーズ、ステップカウンタ値、現在出現図柄番号といったデバイス属性単位で纏めて変数を配置している場合とで差が生じる。つまり、プログラムのコマンド長の合計は、モータフェーズ、ステップカウンタ値、現在出現図柄番号といったデバイス属性単位で纏めて変数を配置している場合の方が短縮できる。これは、図14(b)の場合、リール制御手段306が、1の命令コマンド(「LDQ HL,(LOW _SMC_PHS+1)」)または連続する複数の命令コマンド(「JTQ NZ,(LOW _SMC_PHS),EXCFREE」および「LDQ HL,(LOW _SMC_PHS+1)」)によって、同一のデバイス属性(_SMC_PHS)に対応する異なる複数のデバイス(リール134a、134b、134c)の変数にアクセスしているからであり、これにより、命令コマンドを少なく、かつ、コマンド長を短縮することができる。こうして、遊技制御処理を行うための制御領域の容量を確保することが可能となる。 Here, as shown in FIG. 11B, there are cases where variables are collectively arranged for each device such as reels 134a, 134b, 134c, and as shown in FIG. 12B, the motor phase and the step counter. The capacity occupied by the variables in the work area has not changed depending on whether the variables are arranged in units of device attributes such as the value and the currently appearing symbol number. On the other hand, the total command length of the program is determined by arranging variables for each device such as reels 134a, 134b, 134c, etc. as described with reference to FIG. 13, and as described with reference to FIG. There is a difference between the case where variables are arranged collectively for each device attribute such as motor phase, step counter value, and currently appearing symbol number. That is, the total command length of the program can be shortened when the variables are arranged collectively for each device attribute such as the motor phase, the step counter value, and the currently appearing symbol number. This is because, in the case of FIG. 14B, the reel control means 306 has one instruction command (“LDQ HL, (LOW _SMC_PHS + 1)”) or a plurality of consecutive instruction commands (“JTQ NZ, (LOW _SMC_PHS), EXCFREE). And "LDQ HL, (LOW_SMC_PHS + 1)") to access variables of different devices (reels 134a, 134b, 134c) corresponding to the same device attribute (_SMC_PHS). Command The number of commands can be reduced and the command length can be shortened. In this way, it is possible to secure the capacity of the control area for performing the game control process.

また、図12(b)を参照して理解できるように、モータフェーズ、ステップカウンタ値、現在出現図柄番号といったデバイス属性単位で纏めて変数を配置することで、モータフェーズ、ステップカウンタ値、現在出現図柄番号それぞれについて変数を参照する場合や、その値を確認する場合に把握し易く、デバイス属性単位で他のデバイスと矛盾する値になっていることに気付かなかったり、一部の変数の書き換えを失念してしまう等の問題を回避することができる。 Further, as can be understood with reference to FIG. 12B, by arranging variables collectively for each device attribute such as the motor phase, the step counter value, and the currently appearing symbol number, the motor phase, the step counter value, and the present appearance It is easy to grasp when referring to variables for each symbol number or when checking the value, and you do not notice that the value is inconsistent with other devices for each device attribute, or rewrite some variables It is possible to avoid problems such as forgetting.

なお、ここでは、リール数が3つの場合を挙げ、変数の配置によりコマンド長の合計が2バイト短縮される例を説明したが、リール数を4以上に増やした場合、短縮されるコマンド長の合計はさらに増加することとなる。 Here, the case where the number of reels is three is taken up, and an example in which the total command length is shortened by 2 bytes by arranging the variables has been described. However, when the number of reels is increased to 4 or more, the command length is shortened. The total will increase further.

図15は、スロットマシン100の概略的な機械的構成を説明するための外観図である。ここでは、図1と同スロットマシン100において、図1のスロットマシン100よりリール数およびストップスイッチ数が1つ増えている。したがって、図15のスロットマシン100では、図1のスロットマシン100と比べてリール134dが追加されるとともに、ストップスイッチ130dが追加されている。 FIG. 15 is an external view for explaining a schematic mechanical configuration of the slot machine 100. Here, in the slot machine 100 shown in FIG. 1, the number of reels and the number of stop switches are increased by one as compared with the slot machine 100 shown in FIG. Therefore, in the slot machine 100 of FIG. 15, the reel 134d is added and the stop switch 130d is added as compared with the slot machine 100 of FIG.

なお、ここでは、リール134a、134b、134c、134dの状態として、モータフェーズ、ステップカウンタ値、現在出現図柄番号の3つのデバイス属性に加え、停止要求フラグ、インデックス前回値、シーケンスカウンタ、回転エラー検出カウンタ、初回検出エッジ種別といったデバイス属性も管理することとする。 Here, as the states of the reels 134a, 134b, 134c, and 134d, in addition to the three device attributes of the motor phase, the step counter value, and the currently appearing symbol number, the stop request flag, the index previous value, the sequence counter, and the rotation error detection. Device attributes such as counters and initial detection edge types are also managed.

ここで、停止要求フラグは、図柄の停止を要求するフラグであり、ビット7が1であれば停止要求されていることを示し、その停止要求対象である図柄番号がビット6〜0で示される。インデックス前回値は、インデックスセンサの前回値を示し、前回値がオンであれば1が、オフであれば0が設定される。シーケンスカウンタは、リール134a、134b、134c、134dの回転に関する時間を計数するカウンタであり、例えば、割り込み周期1.49msecを135まで計数して全相励磁の201.15msecを計時する。回転エラー検出カウンタは、リール134a、134b、134c、134dの回転が正常か否か判定するカウンタであり、割り込み周期1.49msec2回分で1ずつインクリメントし、インデックスセンサの変化時において、計数値が6未満、または、計数値が131以上であれば、回転エラーと判定する。初回検出エッジ種別は、インデックスセンサの極性を保持するもので、リール134a、134b、134c、134dの加速後、停止禁止タイマが0になってから、最初のインデックスセンサの変化がオフ→オンか、オン→オフかを記憶している。そして、初回検出エッジ種別が記憶された以後の遊技では、初回検出エッジ種別に記憶されているエッジの変化タイミングでのみ、現在出現図柄番号とステップカウンタ値を更新する。 Here, the stop request flag is a flag that requests the stop of the symbol, and if bit 7 is 1, it indicates that the stop request is made, and the symbol number that is the target of the stop request is indicated by bits 6 to 0. .. The index previous value indicates the previous value of the index sensor, and 1 is set if the previous value is on, and 0 is set if the previous value is off. The sequence counter is a counter that counts the time related to the rotation of the reels 134a, 134b, 134c, and 134d. For example, the interrupt period 1.49 msec is counted up to 135 to measure 201.15 msec of all-phase excitation. The rotation error detection counter is a counter that determines whether or not the rotation of the reels 134a, 134b, 134c, and 134d is normal. The rotation error detection counter is incremented by 1 in two interrupt cycles of 1.49 msec, and the count value is 6 when the index sensor changes. If it is less than or the count value is 131 or more, it is determined as a rotation error. The initial detection edge type retains the polarity of the index sensor. After accelerating the reels 134a, 134b, 134c, 134d, after the stop prohibition timer becomes 0, the change of the first index sensor is off → on. I remember whether it was on → off. Then, in the game after the first detection edge type is stored, the currently appearing symbol number and the step counter value are updated only at the edge change timing stored in the first detection edge type.

図16および図17は、リール数が4つ(リール134a、134b、134c、134d)の場合のプログラムの違いを説明するための説明図である。図16(a)では、図11(b)同様、初期化手段300が電源投入時の初期化処理S100において、デバイス単位で纏めて変数を配置しているが、リール数が多い分だけ、変数が占有する容量が増えている(12バイト)。かかる変数の配置を採用して、4つのリール134a、134b、134c、134d全てが待機中であるか否かを判定するプログラムを作成すると、例えば、図16(b)のような命令コードとなる。ここでは、図13(b)と比べ、5行目の「ORQ (LOW _SMC_PHS4)」が追加されている。5行目の「ORQ (LOW _SMC_PHS4)」は、4リール目のモータフェーズのアドレス(_SMC_PHS4)の値とAレジスタの値との論理和をとり、その結果をAレジスタに設定することを示す。このように、コマンド長が3バイトである「ORQ (LOW _SMC_PHS4)」が追加されたことで、プログラムのコマンド長の合計が14バイトとなり、リール数が3つの場合より3バイト増加していることが理解できる。 16 and 17 are explanatory views for explaining the difference in the programs when the number of reels is four (reels 134a, 134b, 134c, 134d). In FIG. 16A, as in FIG. 11B, the initialization means 300 arranges the variables collectively for each device in the initialization process S100 when the power is turned on, but the variables are arranged as the number of reels is large. The capacity occupied by is increasing (12 bytes). When a program for determining whether or not all four reels 134a, 134b, 134c, and 134d are waiting is created by adopting the arrangement of such variables, the instruction code is as shown in FIG. 16B, for example. .. Here, “ORQ (LOW_SMC_PHS4)” on the fifth line is added as compared with FIG. 13 (b). The fifth line "ORQ (LOW_SMC_PHS4)" indicates that the logical sum of the value of the address (_SMC_PHS4) of the motor phase of the fourth reel and the value of the A register is taken and the result is set in the A register. In this way, by adding "ORQ (LOW_SMC_PHS4)" whose command length is 3 bytes, the total command length of the program is 14 bytes, which is 3 bytes more than the case where the number of reels is 3. Can be understood.

一方、図17(a)では、図12(b)同様、初期化手段300が電源投入時の初期化処理S100において、デバイス属性単位で纏めて変数を配置している。図16(a)と比較して、変数が占有する容量は12バイトで変わっていない。かかる変数の配置を採用して、4つのリール134a、134b、134c、134d全てが待機中であるか否かを判定するプログラムを作成すると、例えば、図17(b)のような命令コードとなる。ここでは、図14(b)と比べ、図14(b)の2行目の「JTQ NZ,(LOW _SMC_PHS),EXCFREE」が、図17(b)の2行目の「LDQ HL,(LOW _SMC_PHS)」と、図17(b)の3行目の「JR NTZ,EXCFREE」に置換され、図14(b)の3行目の「LDQ HL,(LOW _SMC_PHS+1)」の記述が、図17(b)の4行目のように「LDQ HL,(LOW _SMC_PHS+2)」に変更されている。図17(b)の2行目の「LDQ HL,(LOW _SMC_PHS)」は、1リール目のモータフェーズのアドレス(_SMC_PHS)と、2リール目のモータフェーズのアドレス(_SMC_PHS+1)の内容をHLレジスタに設定することを示す。なお、単にレジスタに値を呼び出した場合であっても、その呼び出した値が0であれば、第2ゼロフラグは0となる。図17(b)の3行目の「JR NTZ,EXCFREE」は、第2ゼロフラグが0でなければ、EXCFREEに移動することを示す。図17(b)の4行目の「LDQ HL,(LOW _SMC_PHS+2)」は、3リール目のモータフェーズのアドレス(_SMC_PHS+2)と、4リール目のモータフェーズのアドレス(_SMC_PHS+3)の内容をHLレジスタに設定することを示す。ここでは、2、3行目のコマンドで、1リール目のモータフェーズと2リール目のモータフェーズとの両者を対象として0であるか否か判定し、4、5行目のコマンドで、3リール目のモータフェーズと4リール目のモータフェーズとの両者を対象として0であるか否か判定している。図14(b)と比較し、命令コードの行数は追加されているが、図14(b)の2行目の「JTQ NZ,(LOW _SMC_PHS),EXCFREE」のコマンド長が4バイトであるのに対し、図17(b)の2行目の「LDQ HL,(LOW _SMC_PHS)」のコマンド長が2バイト、3行目の「JR NTZ,EXCFREE」のコマンド長が2バイトなので、結果的にコマンド長が変わらない。また、図17(b)の4行目の「LDQ HL,(LOW _SMC_PHS+2)」への記述変更はコマンド長に影響を及ぼさない(コマンド長は変わらない)。したがって、プログラムのコマンド長の合計が9バイトとなり、リール数が3つの場合と等しい。したがって、プログラムのコマンド長の合計は、図16のように、リール134a、134b、134c、134d等、デバイス単位で纏めて変数を配置する場合と、図17のように、モータフェーズ、ステップカウンタ値、現在出現図柄番号といったデバイス属性単位で纏めて変数を配置している場合とで差がさらに広がる。つまり、プログラムのコマンド長の合計は、モータフェーズ、ステップカウンタ値、現在出現図柄番号といったデバイス属性単位で纏めて変数を配置している場合の方がより短縮されていることが理解できる。 On the other hand, in FIG. 17A, as in FIG. 12B, the initialization means 300 arranges variables collectively for each device attribute in the initialization process S100 when the power is turned on. Compared with FIG. 16A, the capacity occupied by the variable is 12 bytes, which is unchanged. When a program for determining whether or not all four reels 134a, 134b, 134c, and 134d are waiting is created by adopting the arrangement of such variables, the instruction code is as shown in FIG. 17B, for example. .. Here, as compared with FIG. 14 (b), "JTQ NZ, (LOW_SMC_PHS), EXCFREE" in the second line of FIG. 14 (b) is replaced with "LDQ HL, (LOW)" in the second line of FIG. 17 (b). _SMC_PHS) ”is replaced with“ JR NTZ, EXCFREE ”in the third line of FIG. 17 (b), and the description of“ LDQ HL, (LOW _SMC_PHS + 1) ”in the third line of FIG. 14 (b) is shown in FIG. It has been changed to "LDQ HL, (LOW_SMC_PHS + 2)" as in the fourth line of (b). “LDQ HL, (LOW _SMC_PHS)” on the second line of FIG. 17 (b) contains the contents of the motor phase address (_SMC_PHS) of the first reel and the motor phase address (_SMC_PHS + 1) of the second reel in the HL register. Indicates to be set to. Even when a value is simply called to the register, if the called value is 0, the second zero flag becomes 0. “JR NTZ, EXCFREE” on the third line of FIG. 17B indicates that if the second zero flag is not 0, the train moves to EXCFREE. “LDQ HL, (LOW _SMC_PHS + 2)” on the fourth line of FIG. 17 (b) contains the contents of the address of the motor phase of the third reel (_SMC_PHS + 2) and the address of the motor phase of the fourth reel (_SMC_PHS + 3) in the HL register. Indicates to be set to. Here, the commands on the 2nd and 3rd lines determine whether or not both the motor phase of the 1st reel and the motor phase of the 2nd reel are 0, and the commands on the 4th and 5th lines are 3 Whether or not it is 0 is determined for both the motor phase of the third reel and the motor phase of the fourth reel. Compared with FIG. 14 (b), the number of lines of the instruction code is added, but the command length of "JTQ NZ, (LOW _SMC_PHS), EXCFREE" on the second line of FIG. 14 (b) is 4 bytes. On the other hand, the command length of "LDQ HL, (LOW_SMC_PHS)" on the second line of FIG. 17B is 2 bytes, and the command length of "JR NTZ, EXCFREE" on the third line is 2 bytes, which is a result. The command length does not change. Further, the description change to "LDQ HL, (LOW_SMC_PHS + 2)" on the fourth line of FIG. 17B does not affect the command length (the command length does not change). Therefore, the total command length of the program is 9 bytes, which is equivalent to the case where the number of reels is three. Therefore, the total command length of the program is the case where variables are collectively arranged for each device such as reels 134a, 134b, 134c, 134d as shown in FIG. 16, and the motor phase and step counter values as shown in FIG. , The difference is further widened when variables are arranged collectively for each device attribute such as the currently appearing symbol number. That is, it can be understood that the total command length of the program is shorter when the variables are arranged collectively for each device attribute such as the motor phase, the step counter value, and the currently appearing symbol number.

このように、デバイス属性単位で複数のデバイスの変数を纏めて配置することで、1のデバイス属性に関する各デバイスの変数を参照する場合に、コマンド長の短い命令コマンドを利用でき、結果的に、遊技制御処理を行うための制御領域の容量を確保することが可能となる。 In this way, by arranging the variables of a plurality of devices together for each device attribute, when referring to the variables of each device related to one device attribute, an instruction command with a short command length can be used, and as a result, the instruction command has a short command length. It is possible to secure the capacity of the control area for performing the game control process.

また、ここでは、異なるデバイス属性同士において、対応するデバイスの順が等しくなるように変数を配置している。例えば、図17(a)に示すように、モータフェーズ、ステップカウンタ値、現在出現図柄番号といった全ての区分において、4つのリール134a、134b、134c、134dに対応する変数が、同一の順(上からリール134a、134b、134c、134d)に並べられている。 Further, here, the variables are arranged so that the order of the corresponding devices is the same among the different device attributes. For example, as shown in FIG. 17A, the variables corresponding to the four reels 134a, 134b, 134c, and 134d are in the same order (above) in all the categories such as the motor phase, the step counter value, and the currently appearing symbol number. Are arranged on reels 134a, 134b, 134c, 134d).

かかる構成により、各デバイス属性単位でリールに対応する変数を参照する際に、図13(b)や図17(b)のような画一的なプログラムによって規則的に(順番に連続させて)変数を参照することができるので、遊技制御処理を行うための制御領域の容量を確保することが可能となる。また、かかる構成によると、変数を目視した場合であっても、図12(b)や図17(a)のように、リール134a、134b、134c、134dの順に規則的に(連続した並びで)確認することができるので、設計負荷を軽減することが可能となる。 With this configuration, when the variables corresponding to the reels are referred to in each device attribute unit, they are regularly (continuously in order) by a uniform program as shown in FIGS. 13 (b) and 17 (b). Since the variables can be referred to, it is possible to secure the capacity of the control area for performing the game control process. Further, according to such a configuration, even when the variables are visually observed, as shown in FIGS. 12 (b) and 17 (a), the reels 134a, 134b, 134c, and 134d are ordered regularly (in a continuous arrangement). ) Since it can be confirmed, it is possible to reduce the design load.

(デバイス基準)
なお、上記では、リール134a、134b、134c、134d等、デバイス単位で纏めて変数を配置する場合より、モータフェーズ、ステップカウンタ値、現在出現図柄番号といったデバイス属性単位で纏めて変数を配置した方が、プログラムのコマンド長の合計を短縮できる例を挙げて説明した。しかし、プログラムによっては、モータフェーズ、ステップカウンタ値、現在出現図柄番号といったデバイス属性単位で纏めて変数を配置する場合より、リール134a、134b、134c、134d等、デバイス単位で纏めて変数を配置した方が、プログラムのコマンド長の合計を短縮できる場合もある。以下、具体的な例を示す。
(Device standard)
In the above, rather than arranging variables collectively for each device such as reels 134a, 134b, 134c, 134d, etc., those who arrange variables collectively for each device attribute such as motor phase, step counter value, and currently appearing symbol number. However, I explained with an example that the total command length of the program can be shortened. However, depending on the program, variables are arranged in device units such as reels 134a, 134b, 134c, 134d, etc., rather than in the case of arranging variables in device attribute units such as motor phase, step counter value, and currently appearing symbol number. In some cases, the total command length of the program can be shortened. A specific example will be shown below.

図18は、リール制御手段306の処理を説明するためのフローチャートである。ここでは、図15で示したようなリール数が4つのスロットマシン100を挙げ、メインルーチンから呼び出された図18に示すサブルーチンにおいて、リール134a、134b、134c、134dの定常回転中処理を構成する複数の処理のうち、特に、図柄情報更新に関する処理を実行する例を挙げて説明する。 FIG. 18 is a flowchart for explaining the processing of the reel control means 306. Here, a slot machine 100 having four reels as shown in FIG. 15 is mentioned, and in the subroutine shown in FIG. 18 called from the main routine, processing during steady rotation of the reels 134a, 134b, 134c, and 134d is configured. Among a plurality of processes, an example of executing a process related to symbol information update will be described.

図18に示すサブルーチンにおいて、定常回転中処理を構成する複数の処理のうちの図柄情報更新に関する処理に至ると、リール制御手段306は、ステップカウンタ値を取得し(S250)、ステップカウンタ値を更新する。具体的に、リール制御手段306は、ステップカウンタ値を1だけデクリメントし(S252)、ステップカウンタ値が単位図柄の範囲(例えば26)を超えたか否か判定する(S254)。その結果、ステップカウンタ値が単位図柄の範囲を超えていなければ(S254におけるNO)、リール制御手段306は、そのデクリメントされた値でステップカウンタ値を更新して(S256)、定常回転中処理を構成する他の処理が実行された後、当該サブルーチンを終了する。一方、ステップカウンタ値が単位図柄の範囲を超えていれば(S254におけるYES)、リール制御手段306は、ステップカウンタ値に初期値として所定のステップ数(例えば26)を設定し(S258)、現在出現図柄番号を取得し(S260)、現在出現図柄番号を1だけデクリメントして(S262)、現在出現図柄番号がリールの範囲(例えば20)を超えたか否か判定する(S264)。その結果、ステップ数がリールの範囲を超えていれば(S264におけるYES)、リール制御手段306は、現在出現図柄番号に初期値として所定の図柄数(例えば20)を設定する(S266)。一方、現在出現図柄番号がリールの範囲を超えていなければ(S264におけるNO)、リール制御手段306は、現在出現図柄番号をそのデクリメントされた値に更新する(S268)。 In the subroutine shown in FIG. 18, when the process related to the symbol information update among the plurality of processes constituting the steady rotation process is reached, the reel control means 306 acquires the step counter value (S250) and updates the step counter value. To do. Specifically, the reel control means 306 decrements the step counter value by 1 (S252), and determines whether or not the step counter value exceeds the range of the unit symbol (for example, 26) (S254). As a result, if the step counter value does not exceed the range of the unit symbol (NO in S254), the reel control means 306 updates the step counter value with the decremented value (S256), and performs the process during steady rotation. After the other constituent processes are executed, the subroutine is terminated. On the other hand, if the step counter value exceeds the range of the unit symbol (YES in S254), the reel control means 306 sets a predetermined number of steps (for example, 26) as an initial value in the step counter value (S258), and currently The appearance symbol number is acquired (S260), the currently appearing symbol number is decremented by 1 (S262), and it is determined whether or not the currently appearing symbol number exceeds the reel range (for example, 20) (S264). As a result, if the number of steps exceeds the range of the reels (YES in S264), the reel control means 306 sets a predetermined number of symbols (for example, 20) as an initial value in the currently appearing symbol number (S266). On the other hand, if the currently appearing symbol number does not exceed the reel range (NO in S264), the reel control means 306 updates the currently appearing symbol number to the decremented value (S268).

続いて、リール制御手段306は、図柄の位置に応じてステップカウンタ値を更新する。具体的に、リール制御手段306は、現在出現図柄番号を5で除算し(S270)、その除算した余り(剰余)のビット0の値が0であるか否か、すなわち、偶数であるか否か判定する(S272)。その結果、ビット0の値が0であれば(S272におけるYES)、ステップS256に処理を移行し、ビット0の値が0でなければ、すなわち、1であれば(S272におけるNO)、リール制御手段306は、ステップカウンタ値に初期値として上記のステップ数(26)とは異なる所定のステップ数(例えば24)を設定し(S274)、ステップS256に処理を移行する。 Subsequently, the reel control means 306 updates the step counter value according to the position of the symbol. Specifically, the reel control means 306 divides the currently appearing symbol number by 5 (S270), and whether or not the value of bit 0 of the divided remainder (remainder) is 0, that is, whether or not it is an even number. Is determined (S272). As a result, if the value of bit 0 is 0 (YES in S272), the process shifts to step S256, and if the value of bit 0 is not 0, that is, 1 (NO in S272), reel control is performed. The means 306 sets a predetermined number of steps (for example, 24) different from the above-mentioned number of steps (26) as an initial value in the step counter value (S274), and shifts the process to step S256.

これは、以下の理由による。すなわち、上述したように、モータのステップ数504は20で割り切れない。そこで、20コマ中、12コマでステップカウンタ値の最大値を26とし、8コマでステップカウンタ値の最大値を24としている。そうすると、ステップカウンタ値の最大値を26とする図柄と、ステップカウンタ値の最大値を24とする図柄の比が3:2となるので、5で除算した余りが偶数の場合に26、奇数の場合に24とすることでステップ数を適切に按分することができる。そこで、本実施形態では、まず、ステップカウンタ値として26を設定しておき、現在出現図柄番号を5で除算した余りが奇数であれば、それを24と置き換えることとしている。こうして、20コマ中、12コマでステップカウンタ値の最大値を26とし、8コマでステップカウンタ値の最大値を24とすることが可能となる。 This is due to the following reasons. That is, as described above, the number of steps 504 of the motor is not divisible by 20. Therefore, the maximum value of the step counter value is set to 26 in 12 frames out of 20 frames, and the maximum value of the step counter value is set to 24 in 8 frames. Then, the ratio of the symbol whose maximum value of the step counter value is 26 to the symbol whose maximum value of the step counter value is 24 is 3: 2. Therefore, when the remainder divided by 5 is an even number, it is 26, or an odd number. In some cases, the number of steps can be appropriately divided by setting it to 24. Therefore, in the present embodiment, 26 is first set as the step counter value, and if the remainder obtained by dividing the currently appearing symbol number by 5 is an odd number, it is replaced with 24. In this way, it is possible to set the maximum value of the step counter value to 26 in 12 frames out of 20 frames and to set the maximum value of the step counter value to 24 in 8 frames.

図19は、図18のフローチャートを実現するためのプログラムを説明するための説明図である。図19の1行目の「SMCPROC」は、当該サブルーチンの先頭アドレスを示す。2行目の「LD A,(IY+_STE_CNT−_SMC_PHS)」は、IYレジスタの値(変数の先頭アドレス)に、ステップカウンタ値のアドレス(_STE_CNT)からモータフェーズのアドレス(_SMC_PHS)を減算したオフセット値(例えば4)を足したアドレス、すなわち、ステップカウンタ値のアドレスが示す内容を、Aレジスタに設定することを示す。かかる2行目のコマンドが、図18のステップS250に対応する。 FIG. 19 is an explanatory diagram for explaining a program for realizing the flowchart of FIG. “SMCPROC” on the first line of FIG. 19 indicates the start address of the subroutine. The second line "LD A, (IY + _STE_CNT-_SMC_PHS)" is an offset value (_SMC_PHS) obtained by subtracting the motor phase address (_SMC_PHS) from the step counter value address (_STE_CNT) to the IY register value (variable start address). For example, it indicates that the address obtained by adding 4), that is, the content indicated by the address of the step counter value is set in the A register. The command on the second line corresponds to step S250 in FIG.

図19の3行目の「DCPLD A,26−1」は、NC80EX独自で利用されるコマンドであり、Aレジスタの値を1だけデクリメントし、デクリメントによってキャリアが生じた(マイナスになった)場合、所定のステップ数である(26−1)の値を設定することを示す。ここで、所定のステップ数を26−1としたのは、ステップカウンタ値の範囲を26とした場合、ステップカウンタ値は0〜25の間の値をとるからである。4行目の「LD E,A」は、EレジスタにAレジスタの値を設定することを示す。ここでは、Aレジスタを開放するため、ステップカウンタ値をEレジスタに退避している。5行目の「JR NC,SMC_ROT07」は、キャリアが生じていなければ、SMC_ROT07に移動することを示す。かかる3〜5行目のコマンドが、図18のステップS252、S254、S258に対応する。 “DCPLD A, 26-1” on the third line of FIG. 19 is a command used uniquely to NC80EX, and when the value of the A register is decremented by 1 and a carrier is generated (becomes negative) by decrementing. , Indicates that the value of (26-1), which is a predetermined number of steps, is set. Here, the reason why the predetermined number of steps is set to 26-1 is that when the range of the step counter value is set to 26, the step counter value takes a value between 0 and 25. “LDE, A” on the 4th line indicates that the value of the A register is set in the E register. Here, in order to release the A register, the step counter value is saved in the E register. "JR NC, SMC_ROT07" on the 5th line indicates that if no carrier has occurred, it will move to SMC_ROT07. The commands on the 3rd to 5th lines correspond to steps S252, S254, and S258 of FIG.

図19の6行目の「LD A,(IY+_FIG_NUM−_SMC_PHS)」は、IYレジスタの値(変数の先頭アドレス)に、現在出現図柄番号のアドレス(_FIG_NUM)からモータフェーズのアドレス(_SMC_PHS)を減算したオフセット値(例えば8)を足したアドレス、すなわち、現在出現図柄番号のアドレスが示す内容を、Aレジスタに設定することを示す。ここで、図19の6行目で用いられている所定のアドレスに格納された変数をメインCPU200aの所定のレジスタに読み出すコマンドである「LD A,(qq+v)」は、単なる「LD」と異なり、NC80EXにおいて改良されたコマンドであり、vが8ビットで表される数値のうち0〜7以外の数値(−128〜−1もしくは8〜127のいずれか)であれば、当該「LD A,(qq+v)」は、「LD A,(qq+d)」として扱われ、コマンド自体の長さ(コマンド長)は3バイトとなるものの、0〜7のいずれかであれば、当該「LD A,(qq+v)」のコマンド長を2バイトに短縮できる。なお、qqは、IXレジスタもしくはIYレジスタが用いられる。このようなコマンドは、主として、BCレジスタ、DEレジスタ、および、HLレジスタを利用することができない場合に利用されることが多い。かかる6行目のコマンドが、図18のステップS260に対応する。 In the sixth line of FIG. 19, "LDA, (IY + _FIG_NUM-_SMC_PHS)" is obtained by subtracting the motor phase address (_SMC_PHS) from the address of the currently appearing symbol number (_FIG_NUM) to the value of the IY register (starting address of the variable). It indicates that the address obtained by adding the offset values (for example, 8), that is, the content indicated by the address of the currently appearing symbol number is set in the A register. Here, the command "LD A, (qq + v)" that reads the variable stored at the predetermined address used in the sixth line of FIG. 19 into the predetermined register of the main CPU 200a is different from the simple "LD". , NC80EX is an improved command, and if v is a numerical value other than 0 to 7 (either -128 to -1 or 8 to 127) among the numerical values represented by 8 bits, the relevant "LD A, "(Qq + v)" is treated as "LD A, (qq + d)", and the length of the command itself (command length) is 3 bytes, but if it is any of 0 to 7, the "LD A, (" The command length of "qq + v)" can be shortened to 2 bytes. For qq, an IX register or an IY register is used. Such commands are often used primarily when the BC, DE, and HL registers are not available. The command on the sixth line corresponds to step S260 in FIG.

図19の7行目の「DCPLD A,20−1」は、Aレジスタの値を1だけデクリメントし、それによってキャリアが生じた(マイナスになった)場合、所定の図柄数である(20−1)の値を設定することを示す。ここで、所定の図柄数を20−1としたのは、現在出現図柄番号の範囲を20とした場合、ステップカウンタ値は0〜19の間の値をとるからである。8行目の「LD (IY+_FIG_NUM−_SMC_PHS),A」は、Aレジスタの内容を、IYレジスタの値(変数の先頭アドレス)に、現在出現図柄番号のアドレス(_FIG_NUM)からモータフェーズのアドレス(_SMC_PHS)を減算したオフセット値(例えば8)を足したアドレス、すなわち、現在出現図柄番号のアドレスに設定することを示す。ここで、図19の8行目で用いられている所定のアドレスに格納された変数をメインCPU200aの所定のレジスタの値で更新するコマンドである「LD (qq+v)、A」は、単なる「LD」と異なり、NC80EXにおいて改良されたコマンドであり、vが0〜7以外の数値であれば、当該「LD (qq+v)A,」は、「LD (qq+d),A」として扱われ、コマンド自体の長さ(コマンド長)は3バイトとなるものの、0〜7のいずれかであれば、当該「LD (qq+v)、A」のコマンド長を2バイトに短縮できる。かかる7、8行目のコマンドが、図18のステップS262、S264、S266、S268に対応する。 “DCPLD A, 20-1” on the 7th line of FIG. 19 is a predetermined number of symbols when the value of the A register is decremented by 1 and carriers are generated (negative) as a result (20-). Indicates that the value of 1) is set. Here, the reason why the predetermined number of symbols is set to 20-1 is that the step counter value takes a value between 0 and 19 when the range of the currently appearing symbol numbers is 20. The 8th line "LD (IY + _FIG_NUM-_SMC_PHS), A" changes the contents of the A register to the value of the IY register (starting address of the variable) from the address of the currently appearing symbol number (_FIG_NUM) to the address of the motor phase (_SMC_PHS). ) Is subtracted from the offset value (for example, 8), that is, the address of the currently appearing symbol number is set. Here, the command "LD (qq + v), A" for updating the variable stored at the predetermined address used in the eighth line of FIG. 19 with the value of the predetermined register of the main CPU 200a is simply "LD". It is an improved command in NC80EX, and if v is a numerical value other than 0 to 7, the "LD (qq + v) A," is treated as "LD (qq + d), A" and the command itself. Although the length (command length) of is 3 bytes, the command length of the "LD (qq + v), A" can be shortened to 2 bytes if any of 0 to 7. The commands on the 7th and 8th lines correspond to steps S262, S264, S266, and S268 in FIG.

図19の9行目の「DIV D,A,5」は、Aアドレスの値(現在出現図柄番号)を5で除算した余り(剰余)をDレジスタに設定することを示す。かかる9行目のコマンドが、図18のステップS270に対応する。10行目の「JBIT Z,0,D,SMC_ROT07」は、NC80EX独自で利用されるコマンドであり、Dレジスタのビット0が0であれば、「SMC_ROT07」に移動することを示す。かかる10行目のコマンドが、図18のステップS272に対応する。11行目の「LD E,24−1」は、Eレジスタに、26とは異なる所定のステップ数(ここでは24)を設定することを示す。かかる11行目のコマンドが、図18のステップS274に対応する。12行目の「SMC_ROT07:」は、5行目の「JR NC,SMC_ROT07」の移動先アドレスを示す。13行目の「LD (IY+_STE_CNT−_SMC_PHS),E」は、Eレジスタの内容(ステップカウンタ値)で、IYレジスタの値(変数の先頭アドレス)に、現在出現図柄番号のアドレス(_STE_CNT)からモータフェーズのアドレス(_SMC_PHS)を減算したオフセット値(例えば4)を足したアドレス、すなわち、ステップカウンタ値のアドレスの値を更新することを示す。かかる13行目のコマンドが、図18のステップS256に対応する。 “DIV D, A, 5” on the 9th line of FIG. 19 indicates that the remainder (remainder) obtained by dividing the value of the A address (currently appearing symbol number) by 5 is set in the D register. The command on the ninth line corresponds to step S270 in FIG. The 10th line "JBIT Z, 0, D, SMC_ROT07" is a command used uniquely to NC80EX, and indicates that if bit 0 of the D register is 0, it moves to "SMC_ROT07". The command on the tenth line corresponds to step S272 in FIG. “LDE, 24-1” on the 11th line indicates that a predetermined number of steps (24 in this case) different from 26 is set in the E register. The command on the 11th line corresponds to step S274 in FIG. “SMC_ROT07:” on the 12th line indicates the destination address of “JR NC, SMC_ROT07” on the 5th line. The 13th line "LD (IY + _STE_CNT-_SMC_PHS), E" is the content of the E register (step counter value), and the value of the IY register (starting address of the variable) is the motor from the address of the currently appearing symbol number (_STE_CNT). It indicates that the address obtained by adding the offset value (for example, 4) obtained by subtracting the phase address (_SMC_PHS), that is, the address value of the step counter value is updated. The command on the 13th line corresponds to step S256 in FIG.

かかる図19のプログラムに対し、図17(a)のように、モータフェーズ、ステップカウンタ値、現在出現図柄番号といったデバイス属性単位で纏めて変数を配置し、リール毎に、例えば、ステッピングモータ262のステップ数を1だけ進めて、リール134a、134b、134c、134dの状態を更新し、それを4リール分繰り返す場合、以下のように変数を指定する。すなわち、図19の6行目の「LD A,(IY+_FIG_NUM−_SMC_PHS)」において、現在出現図柄番号とモータフェーズとの差分をIYに加算することで現在出現図柄番号をAレジスタに設定し、図19の8行目の「LD (IY+_FIG_NUM−_SMC_PHS),A」において、現在出現図柄番号とモータフェーズとの差分をIYに加算することで、現在出現図柄番号をAレジスタの値で更新する。ここでは、モータフェーズ(_SMC_PHS)、ステップカウンタ値(_STE_CNT)、現在出現図柄番号(_FIG_NUM)を示すアドレスの差分(相対値)を用いることで、変数の配置変更がプログラムに影響を及ぼさないようにしている。 For the program of FIG. 19, as shown in FIG. 17A, variables are collectively arranged for each device attribute such as the motor phase, the step counter value, and the currently appearing symbol number, and for each reel, for example, the stepping motor 262. When the number of steps is advanced by 1, the states of the reels 134a, 134b, 134c, and 134d are updated, and this is repeated for 4 reels, the variables are specified as follows. That is, in "LDA, (IY + _FIG_NUM-_SMC_PHS)" on the sixth line of FIG. 19, the currently appearing symbol number is set in the A register by adding the difference between the currently appearing symbol number and the motor phase to IY. In "LD (IY + _FIG_NUM-_SMC_PHS), A" on the 8th line of 19, the currently appearing symbol number is updated with the value of the A register by adding the difference between the currently appearing symbol number and the motor phase to IY. Here, by using the difference (relative value) of the addresses indicating the motor phase (_SMC_PHS), the step counter value (_STE_CNT), and the currently appearing symbol number (_FIG_NUM), the variable arrangement change does not affect the program. ing.

上述したように、所定のアドレスに格納された変数をメインCPU200aの所定のレジスタに読み出すコマンドである「LD A,(qq+v)」や、所定のアドレスに格納された変数をメインCPU200aの所定のレジスタの値に更新するコマンドである「LD (qq+v),A」といったコマンドは、vが0〜7以外の数値であれば、コマンド自体の長さ(コマンド長)は3バイトとなる。ここで、図19の6行目の「LD A,(IY+_FIG_NUM−_SMC_PHS)」および8行目の「LD (IY+_FIG_NUM−_SMC_PHS),A」を参照すると、そのアドレス距離(アドレス間のバイト数)が、デバイス属性2つ分(4バイト×2デバイス属性)離れているので、_FIG_NUM−_SMC_PHSは8となる。これは、0〜7の範囲に含まれないので、コマンド長が3バイトとなってしまう。 As described above, "LDA, (qq + v)" which is a command to read the variable stored at the predetermined address into the predetermined register of the main CPU 200a, and the variable stored at the predetermined address are read into the predetermined register of the main CPU 200a. For a command such as "LD (qq + v), A" which is a command to update to the value of, if v is a numerical value other than 0 to 7, the length of the command itself (command length) is 3 bytes. Here, referring to "LD A, (IY + _FIG_NUM-_SMC_PHS)" on the 6th line and "LD (IY + _FIG_NUM-_SMC_PHS), A" on the 8th line in FIG. 19, the address distance (number of bytes between addresses) is Since they are separated by two device attributes (4 bytes x 2 device attributes), _FIG_NUM-_SMC_PHS is 8. Since this is not included in the range of 0 to 7, the command length becomes 3 bytes.

一方、かかる図19のプログラムに対し、図16(a)のように、リール134a、134b、134c、134d等、デバイス単位で纏めて変数を配置し、リール毎に、例えば、ステッピングモータ262のステップ数を1だけ進めて、リール134a、134b、134c、134dの状態を更新し、それを4リール分繰り返す場合、以下のように変数を指定する。例えば、図19の6行目の「LD A,(IY+_FIG_NUM−_SMC_PHS)」や8行目の「LD (IY+_FIG_NUM−_SMC_PHS),A」では、同一コマンドの中で、モータフェーズのアドレスと現在出現図柄番号のアドレスとが参照され、そのアドレス距離がコマンドに用いられる。ここでは、リール毎に、モータフェーズ、ステップカウンタ値、現在出現図柄番号を配置しているので、リール間のアドレス距離は大きくなるものの(3、6、または、9)、同一のリールにおけるデバイス属性毎のアドレス距離は最大で現在出現図柄番号のアドレス−モータフェーズのアドレスの2となる。したがって、図13に示した同一のプログラムであっても、「LD (qq+v),A」や「LD A,(qq+v)」のvが0〜7の範囲(所定距離範囲)に収まるので、コード化した場合のコマンド長を2バイトに短縮することが可能となる。これは、図19のプログラムが、IYレジスタの値に所定のオフセット値を加えたアドレスに格納された変数をAレジスタに読み出すコマンド、もしくは、IYレジスタの値に所定のオフセット値を加えたアドレスに格納された変数をAレジスタの値に更新するコマンドを、IYレジスタの値を変更することなくオフセット値を0〜7の範囲でのみ変更して実行する所定の処理を、IYレジスタの値をオフセットさせながら繰り返し実行しているからであり、これにより、コマンド長を短縮することができる。こうして、遊技制御処理を行うための制御領域の容量を確保することが可能となる。 On the other hand, with respect to the program of FIG. 19, variables such as reels 134a, 134b, 134c, and 134d are collectively arranged for each device as shown in FIG. 16A, and for each reel, for example, a step of the stepping motor 262. When the number is advanced by 1, the states of the reels 134a, 134b, 134c, and 134d are updated, and this is repeated for 4 reels, the variables are specified as follows. For example, in the 6th line "LD A, (IY + _FIG_NUM-_SMC_PHS)" and the 8th line "LD (IY + _FIG_NUM-_SMC_PHS), A" in FIG. The address of the number is referred to and the address distance is used in the command. Here, since the motor phase, the step counter value, and the currently appearing symbol number are arranged for each reel, the address distance between the reels becomes large (3, 6, or 9), but the device attributes in the same reel. The maximum address distance for each is 2 of the address of the currently appearing symbol number and the address of the motor phase. Therefore, even in the same program shown in FIG. 13, v of "LD (qq + v), A" and "LD A, (qq + v)" falls within the range of 0 to 7 (predetermined distance range). It is possible to shorten the command length to 2 bytes in the case of conversion. This is a command in which the program of FIG. 19 reads a variable stored in the address obtained by adding a predetermined offset value to the value of the IY register to the A register, or an address obtained by adding a predetermined offset value to the value of the IY register. The command to update the stored variable to the value of the A register is executed by changing the offset value only in the range of 0 to 7 without changing the value of the IY register. The value of the IY register is offset. This is because the command length can be shortened by repeating the execution. In this way, it is possible to secure the capacity of the control area for performing the game control process.

(デバイス属性基準およびデバイス基準の混在)
また、上記では、モータフェーズ、ステップカウンタ値、現在出現図柄番号といったデバイス属性単位で纏めて変数を配置する場合と、リール134a、134b、134c、134d等、デバイス単位で纏めて変数を配置する場合とで、いずれの場合でも、プログラムによっては、そのコマンド長の合計を短縮可能であることを説明した。しかし、単に、いずれか一方を基準とする場合に比べ、両者を混在させること、すなわち、変数の種類に基づいて、デバイス属性単位で纏めたり、デバイス単位で纏めて、変数を使い分けることで、プログラムのコマンド長の合計をより短縮することが可能となる。以下、具体的な例を示す。
(Mixed device attribute standard and device standard)
Further, in the above, there are cases where variables are collectively arranged in device attribute units such as motor phase, step counter value, and currently appearing symbol number, and cases where variables are collectively arranged in device units such as reels 134a, 134b, 134c, and 134d. In either case, it was explained that the total command length can be shortened depending on the program. However, compared to the case where only one of them is used as a reference, the program can be mixed by mixing both, that is, by grouping by device attribute or by device based on the type of variable and using different variables. It is possible to further shorten the total command length of. A specific example will be shown below.

図20〜26は、リール制御手段306の処理全体を実現するためのプログラムを説明するための説明図である。なお、図21〜23は、デバイス属性単位で纏めて変数を配置した場合を示し、図24〜26は、デバイス属性単位で纏めて変数を配置した場合と、デバイス単位で纏めて変数を配置した場合とを混在させている。 20 to 26 are explanatory views for explaining a program for realizing the entire processing of the reel control means 306. It should be noted that FIGS. 21 to 23 show a case where variables are arranged collectively for each device attribute, and FIGS. 24 to 26 show a case where variables are arranged collectively for each device attribute and a case where variables are arranged collectively for each device. The case is mixed.

ここでは、例えば、図20のように、デバイス属性(例えば、モータフェーズ)単位で複数のデバイスの変数が纏めて配置されており、それと並行して、デバイス(例えばモータ)単位で複数種類のデバイス属性(例えば、ステップカウンタ値、現在出現図柄番号)の変数が纏めて配置されている。 Here, for example, as shown in FIG. 20, variables of a plurality of devices are collectively arranged for each device attribute (for example, motor phase), and in parallel with this, a plurality of types of devices are arranged for each device (for example, motor). Variables of attributes (for example, step counter value, currently appearing symbol number) are arranged together.

ここでは、リール制御手段306の処理として、「制御回胴データ設定処理」、「タイマ割り込み」、「ステッピングモータ制御処理」、「加速処理」、「定常回転中処理」、「停止励磁処理」、「回転エラー処理」、「励磁パターン更新前処理」、「励磁パターン更新処理」、「励磁開放待ち処理」、「停止制御回動設定処理」、「押下基準位置取得処理」、「回胴停止処理」の順で処理が遂行される。このうち「励磁開放待ち処理」が図13(b)、図14(b)のプログラムに相当し、「定常回転中処理」の「図柄情報更新」が、図19のプログラムに相当する。なお、ここに挙げた他の処理の内容は本実施形態と直接には関係ないので、その詳細な説明を割愛し、上記のように変数の配置を変えたことによる効果のみを説明する。 Here, as the processing of the reel control means 306, "control rotation cylinder data setting processing", "timer interrupt", "stepping motor control processing", "acceleration processing", "steady rotation processing", "stop excitation processing", "Rotation error processing", "Excitation pattern update pre-processing", "Excitation pattern update processing", "Excitation release wait processing", "Stop control rotation setting processing", "Pressing reference position acquisition processing", "Rotating cylinder stop processing" The processing is carried out in the order of. Of these, the "excitation release waiting process" corresponds to the program of FIGS. 13 (b) and 14 (b), and the "design information update" of the "steady-state rotation process" corresponds to the program of FIG. Since the contents of the other processes mentioned here are not directly related to the present embodiment, the detailed description thereof will be omitted, and only the effect of changing the arrangement of the variables as described above will be described.

図21〜23のように、デバイス属性単位で纏めて変数を配置した場合に対し、図24〜26に示すように、一部、デバイス属性単位で、複数のデバイスの変数を纏めて配置し、他は、デバイス単位で、複数種類のデバイス属性の変数を纏めて配置することで、プログラム全体では、コマンド長を例えば4バイト削減することができる。ここでは、4リールを対象とした場合にコマンド長を削減する例を挙げて説明したが、リール数に拘わらず、例えば、3リールであっても、コマンド長を削減することができる。こうして、遊技制御処理を行うための制御領域の容量を確保することが可能となる。 In contrast to the case where variables are collectively arranged in device attribute units as shown in FIGS. 21 to 23, as shown in FIGS. 24 to 26, variables of a plurality of devices are partially arranged in device attribute units. Other than that, by arranging variables of a plurality of types of device attributes together for each device, the command length can be reduced by, for example, 4 bytes in the entire program. Here, an example of reducing the command length when targeting 4 reels has been described, but the command length can be reduced regardless of the number of reels, for example, even with 3 reels. In this way, it is possible to secure the capacity of the control area for performing the game control process.

以上、添付図面を参照しながら本発明の好適な実施形態について説明したが、本発明はかかる実施形態に限定されないことはいうまでもない。当業者であれば、特許請求の範囲に記載された範疇において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。 Although the preferred embodiment of the present invention has been described above with reference to the accompanying drawings, it goes without saying that the present invention is not limited to such an embodiment. It is clear that a person skilled in the art can come up with various modifications or modifications within the scope of the claims, and it is understood that these also naturally belong to the technical scope of the present invention. Will be done.

また、上述した実施形態では、主制御基板200と副制御基板202とが、遊技を進行するための機能部を分担するように配したが、主制御基板200の機能部を副制御基板202に配しても、副制御基板202の機能部を主制御基板200に配してもよく、また、全ての機能部を1の制御基板に纏めて配することもできる。 Further, in the above-described embodiment, the main control board 200 and the sub control board 202 are arranged so as to share the functional part for advancing the game, but the functional part of the main control board 200 is assigned to the sub control board 202. Alternatively, the functional parts of the sub-control board 202 may be arranged on the main control board 200, or all the functional parts may be arranged together on one control board.

また、上述した実施形態においては、遊技利益としてボーナス遊技を挙げて説明したが、かかる場合に限らず、上述したAT演出状態や、リプレイ役の当選確率が通常遊技より高くなるように設定してメダルの消費を抑えることで、メダルの消費に対する当選役の抽選機会を増やす、RT(リプレイタイム)遊技や、上記のATとRT遊技が同時に進行されるART遊技を設けてもよい。 Further, in the above-described embodiment, the bonus game is described as the game profit, but not limited to such a case, the above-mentioned AT production state and the winning probability of the replay combination are set to be higher than the normal game. By suppressing the consumption of medals, an RT (replay time) game that increases the chances of drawing a winning combination for the consumption of medals, or an ART game in which the above AT and RT games are simultaneously performed may be provided.

また、上述した主制御基板200および副制御基板202が行う各処理は、必ずしもフローチャートとして記載された順序に沿って時系列に処理する必要はなく、並列的あるいはサブルーチンによる処理を含んでもよい。 Further, each process performed by the main control board 200 and the sub control board 202 described above does not necessarily have to be processed in chronological order in the order described in the flowchart, and may include parallel or subroutine processing.

100 スロットマシン(遊技機)
134a、134b、134c リール
200a メインCPU
200b メインROM
200c メインRAM
262 ステッピングモータ
300 初期化手段
306 リール制御手段
100 slot machine (game machine)
134a, 134b, 134c reel 200a main CPU
200b main ROM
200c main RAM
262 Stepping motor 300 Initializing means 306 Reel control means

Claims (2)

遊技の進行に用いられる複数のリールと、前記複数のリールを制御するCPUと、前記CPUに用いられるプログラムが格納されたROMと、前記プログラムにより更新される変数を保持するRAMと、を備える遊技機であって、
前記CPUは、前記ROMから前記プログラムを読み出し、前記RAMで保持された変数を更新して、前記複数のリールを制御し、
前記RAMには、
前記複数のリールそれぞれにおいて、前記リールを制御するためのパラメータの属性である複数種類のリール属性それぞれに変数が割り当てられており、
前記複数のリールそれぞれに対応する前記複数種類のリール属性それぞれに割り当てられた変数がアドレスを異ならせて前記リール属性毎に纏めて配置されている遊技機。
A game including a plurality of reels used for the progress of the game, a CPU for controlling the plurality of reels, a ROM in which a program used in the CPU is stored, and a RAM for holding variables updated by the program. It ’s a machine,
The CPU reads the program from the ROM, updates the variables held in the RAM, and controls the plurality of reels.
In the RAM
In each of the plurality of reels, variables are assigned to each of the plurality of types of reel attributes which are the attributes of the parameters for controlling the reels.
A gaming machine in which variables assigned to each of the plurality of types of reel attributes corresponding to each of the plurality of reels are arranged together for each reel attribute with different addresses.
遊技の進行に用いられる複数のリールと、前記複数のリールを制御するCPUと、前記CPUに用いられるプログラムが格納されたROMと、前記プログラムにより更新される変数を保持するRAMと、を備える遊技機であって、
前記CPUは、前記ROMから前記プログラムを読み出し、前記RAMで保持された変数を更新して、前記複数のリールを制御し、
前記RAMには、
前記複数のリールそれぞれにおいて、前記リールを制御するためのパラメータの属性である複数種類のリール属性それぞれに変数が割り当てられており、
前記複数のリールそれぞれに対応する前記複数種類のリール属性それぞれに割り当てられた変数がアドレスを異ならせて前記リール属性毎に纏めて配置されている場合と、前記複数種類のリール属性に割り当てられた変数がアドレスを異ならせて前記リール単位で纏めて配置されている場合とが混在する遊技機。
A game including a plurality of reels used for the progress of the game, a CPU for controlling the plurality of reels, a ROM in which a program used in the CPU is stored, and a RAM for holding variables updated by the program. It ’s a machine,
The CPU reads the program from the ROM, updates the variables held in the RAM, and controls the plurality of reels.
In the RAM
In each of the plurality of reels, variables are assigned to each of the plurality of types of reel attributes which are the attributes of the parameters for controlling the reels.
Variables assigned to each of the plurality of types of reel attributes corresponding to each of the plurality of reels are collectively arranged for each of the reel attributes with different addresses, and are assigned to the plurality of types of reel attributes. A gaming machine in which variables are arranged together in reel units with different addresses.
JP2020089036A 2020-05-21 2020-05-21 Pachinko machine Active JP6879603B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020089036A JP6879603B2 (en) 2020-05-21 2020-05-21 Pachinko machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020089036A JP6879603B2 (en) 2020-05-21 2020-05-21 Pachinko machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2019145777A Division JP6736139B1 (en) 2019-08-07 2019-08-07 Amusement machine

Publications (2)

Publication Number Publication Date
JP2021023797A JP2021023797A (en) 2021-02-22
JP6879603B2 true JP6879603B2 (en) 2021-06-02

Family

ID=74663416

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020089036A Active JP6879603B2 (en) 2020-05-21 2020-05-21 Pachinko machine

Country Status (1)

Country Link
JP (1) JP6879603B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5709149B1 (en) * 2014-02-28 2015-04-30 サミー株式会社 Slot machine
JP6736139B1 (en) * 2019-08-07 2020-08-05 株式会社オリンピア Amusement machine
JP6736138B1 (en) * 2019-08-07 2020-08-05 株式会社オリンピア Amusement machine

Also Published As

Publication number Publication date
JP2021023797A (en) 2021-02-22

Similar Documents

Publication Publication Date Title
JP6736138B1 (en) Amusement machine
JP6736139B1 (en) Amusement machine
JP6570094B1 (en) Game machine
JP2013085823A (en) Game machine
JP6895185B2 (en) Pachinko machine
JP2013085828A (en) Game machine
JP6902289B2 (en) Pachinko machine
JP6678977B1 (en) Amusement machine
JP6879603B2 (en) Pachinko machine
JP6931262B2 (en) Pachinko machine
JP6954706B1 (en) Pachinko machine
JP2022100598A (en) Game machine
JP2022100602A (en) Game machine
JP2021122362A (en) Game machine
JP6936516B2 (en) Pachinko machine
JP6936515B2 (en) Pachinko machine
JP6936517B2 (en) Pachinko machine
JP6884437B1 (en) Pachinko machine
JP6936514B2 (en) Pachinko machine
JP7382101B2 (en) gaming machine
JP7412031B2 (en) gaming machine
JP6325990B2 (en) Game machine
JP6387297B2 (en) Game machine
JP2022100600A (en) Game machine
JP2022100605A (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200602

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210420

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210422

R150 Certificate of patent or registration of utility model

Ref document number: 6879603

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250