JP5991638B2 - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP5991638B2
JP5991638B2 JP2011267404A JP2011267404A JP5991638B2 JP 5991638 B2 JP5991638 B2 JP 5991638B2 JP 2011267404 A JP2011267404 A JP 2011267404A JP 2011267404 A JP2011267404 A JP 2011267404A JP 5991638 B2 JP5991638 B2 JP 5991638B2
Authority
JP
Japan
Prior art keywords
command
screen
commands
display device
flag
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.)
Expired - Fee Related
Application number
JP2011267404A
Other languages
Japanese (ja)
Other versions
JP2013118911A (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 JP2011267404A priority Critical patent/JP5991638B2/en
Publication of JP2013118911A publication Critical patent/JP2013118911A/en
Application granted granted Critical
Publication of JP5991638B2 publication Critical patent/JP5991638B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、スロットマシンやパチンコ機のような遊技機に関し、特に液晶表示装置などの表示装置を備える遊技機に関するものである。   The present invention relates to a gaming machine such as a slot machine or a pachinko machine, and particularly to a gaming machine including a display device such as a liquid crystal display device.

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

遊技機では、遊技の興趣向上を図るべく様々な演出がなされる。例えば、装飾部材、モニタ(画面表示装置、液晶表示装置)、スピーカ、LEDランプを取り付け、見た目による演出、映像による演出、音による演出、光による演出等が行われている。   In the gaming machine, various effects are made to improve the interest of the game. For example, a decorative member, a monitor (screen display device, liquid crystal display device), a speaker, and an LED lamp are attached, and a visual effect, a video effect, a sound effect, a light effect, and the like are performed.

特開平07−125372号公報 プリンター技術に関する。受信した印刷データのコマンド中に描画情報の共有化の指定があるか否かを判別するとともに、受信した印刷データの描画備報が、記憶手段に保持されている描画情報と一致するか否かを判定する。一致判定がなされた場合、あるいは共有化の指定が判別された場合には、当該描画情報の解析をスキップさせる。これにより、印刷時間を短縮できるようにした。JP, 07-125372, A It relates to printer technology. It is determined whether or not drawing information sharing is specified in the received print data command, and whether or not the received drawing data drawing data matches the drawing information held in the storage means. Determine. If a match determination is made, or if sharing is determined, analysis of the drawing information is skipped. As a result, the printing time can be shortened. 特開2010−220706号公報 フレームの更新時間になっても次のフレームの液晶画像の作成が終わらなかった場合にはその時間分だけ更新時間が遅れるといういわゆる処理落ちが発生するが、このとき処理落ちが発生した次のフレームの画像については、優先度合いの低いシートを描画しないことによって、処理落ちが発生した分を取り戻す。When the creation of the liquid crystal image of the next frame is not completed even after the frame update time, a so-called processing drop occurs in which the update time is delayed by that time. With respect to the image of the next frame in which the drop has occurred, the amount of the drop in processing is recovered by not drawing a sheet having a low priority.

液晶表示装置において所定の画像を表示するためには、サブ基板から液晶制御基板へコマンドを送信する。アニメーションなどにより演出を行う際には、多数のコマンドを連続的に次々と送信する必要がある。サブ基板は当該コマンドを生成する機能を持ち、演出の際にコマンドを次々に作成する。これに対し、当該コマンドを解釈して所定の画像を生成する液晶制御基板の処理装置(グラフィックディスプレイプロセッサ、表示装置制御部。以下「VDP」と記すことがある)は、非常に多くのデータを処理するために、一度に多数のコマンドを処理することができない。このため、サブ基板とVDPの間にはバッファが設けられ、生成されたコマンドをバッファに一時的に蓄積し、必要に応じてVDPがバッファからコマンドを読み出すようにしている。このようにすることにより、VDPにとって処理能力を超える多数のコマンドが生成されたとしても、それらのコマンドを逐次実行することができ、VDPでコマンドを受け取らないことによるコマンドの喪失や、コマンドの一部が実行されないことによる処理落ちという問題をかなりの程度解消することができる。   In order to display a predetermined image in the liquid crystal display device, a command is transmitted from the sub board to the liquid crystal control board. When performing an effect by animation or the like, it is necessary to transmit a large number of commands successively one after another. The sub-board has a function of generating the command, and creates commands one after another at the time of production. On the other hand, the processing device (graphic display processor, display device controller, hereinafter referred to as “VDP”) of the liquid crystal control board that interprets the command and generates a predetermined image generates a very large amount of data. In order to process, a large number of commands cannot be processed at once. For this reason, a buffer is provided between the sub-board and the VDP, and the generated commands are temporarily stored in the buffer, and the VDP reads commands from the buffer as necessary. By doing this, even if a large number of commands exceeding the processing capability for the VDP are generated, these commands can be executed sequentially. Loss of commands due to not receiving commands in the VDP, The problem of processing loss due to the fact that the part is not executed can be solved to a considerable extent.

ところで、従来の遊技機では、サブ基板と、液晶表示装置の画像を生成する液晶制御基板とはシリアル通信回線で接続されていた。液晶制御基板は独立した基板であり、サブ基板の周辺基板という位置づけであった。   By the way, in the conventional gaming machine, the sub board and the liquid crystal control board for generating the image of the liquid crystal display device are connected by a serial communication line. The liquid crystal control board is an independent board and is positioned as a peripheral board of the sub board.

これに対し、サブ基板にVDPを搭載することが検討されている。この場合、液晶表示装置はサブ基板に直接接続される。このようにすることにより、サブ基板のコマンド生成部とVDPの間を低速な通信回線ではなくバスなどの高速の線路によって接続することができる。通信のネックとなる通信回線を備えないので、生成した多数のコマンドを一度にバッファに書き込むことができるようになる。   On the other hand, mounting a VDP on a sub-board is being studied. In this case, the liquid crystal display device is directly connected to the sub-board. In this way, the command generation unit of the sub-board and the VDP can be connected by a high-speed line such as a bus instead of a low-speed communication line. Since there is no communication line that becomes a bottleneck for communication, a large number of generated commands can be written to the buffer at one time.

このことは、VDPはバッファに蓄積された多数のコマンドを一度に解析できることを意味する。ところで、コマンドにはさまざま種類のものがある。例えば、キャラクタの画像を変更するなど既に生成・表示されている画面の一部を変更するコマンドA、全く別の画面に変更するために画面全体を新たに生成するコマンドBなどがある。もし、コマンドAの実行の後すぐにコマンドBが実行されると、コマンドBにより全画面が書き換えられるからコマンドAによる画面が表示されることは実質的にない。すなわち、コマンドAとBの実行間隔が短く、コマンドAの画面表示の前にコマンドBが描画されてしまうこと、あるいは、コマンドBですぐに上書きされることによりコマンドAによる画面は遊技者が認識できる程度に長い時間表示されない(コマンドAによる画面は三十分の一秒程度しか表示されない)、といったことが生じる。このような状況においてはコマンドAを解釈・実行(解析・描画)することは意味が無い。   This means that VDP can analyze many commands stored in the buffer at once. By the way, there are various types of commands. For example, there are a command A for changing a part of the screen that has already been generated and displayed, such as changing the character image, and a command B for newly generating the entire screen to change to a completely different screen. If the command B is executed immediately after the execution of the command A, the entire screen is rewritten by the command B, so that the screen by the command A is not substantially displayed. That is, the execution interval between the commands A and B is short, and the command B is drawn before the screen display of the command A, or the screen by the command A is recognized by the player by being overwritten immediately by the command B. For example, the screen may not be displayed for as long as possible (the screen displayed by the command A is displayed only for about one-third of a second). In such a situation, it is meaningless to interpret / execute (analyze / draw) command A.

しかし、従来の遊技機ではバッファに蓄積されたコマンドを順番に読み出してすべて解釈・実行することになっていた。上記例ではコマンドAの解釈・実行は無駄である。最終的に表示されないコマンドであっても解釈・実行することにより、処理落ちが発生する頻度は高くなると予想される。このように、従来のようにバッファに蓄積されたコマンドを順番にすべて読み出して解釈・実行することには意味がなく、却って弊害が生じる。   However, in the conventional gaming machine, the commands stored in the buffer are sequentially read and all are interpreted and executed. In the above example, the interpretation and execution of command A is useless. Even if the command is not finally displayed, it is expected that the frequency of processing failures will increase by interpreting and executing the command. As described above, it is meaningless to read, interpret, and execute all the commands stored in the buffer in order as in the prior art, and a bad effect occurs.

この発明は上記課題を解決するためになされたもので、最終的に表示されないコマンドについて解釈・実行を行わなくて済むようにできる遊技機を提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a gaming machine that can avoid interpretation / execution of a command that is not finally displayed.

この発明は、内部抽選処理を含む遊技に係る制御を実行するメイン基板と、前記メイン基板からの信号に基づき演出に関する処理を実行するサブ基板と、前記演出のための画面を表示する表示装置とを備える遊技機において、
前記サブ基板は、前記表示装置の画面を生成するための予め定められたコマンドを生成するコマンド生成部と、前記コマンド生成部により生成された前記コマンドを順番に格納するコマンドバッファと、前記コマンドバッファから前記コマンドを読み出して実行し、前記表示装置を制御する表示装置制御部とを備え、
前記コマンド生成部又は前記表示装置制御部は、前記コマンドバッファを調べ、前記コマンドバッファに前記コマンドが複数格納されているときに、
複数の前記コマンドについて前記表示装置の画面の全体を描画するもの(以下、画面の全体を描画するコマンドを「全画面描画コマンド」とする)であるかどうか判定し、
前記全画面描画コマンドが存在するとき、前記全画面描画コマンドのうちで順番が最後であるものを特定し、
順番が最後であると特定された当該全画面描画コマンド(以下、「有効コマンド」とする)よりも前の前記コマンドを破棄するか又は実行しないように設定し、
前記表示装置制御部は、前記有効コマンド及びこれ以降の前記コマンドを順番に読み出して実行する、ものである。
The present invention relates to a main board that executes control related to a game including an internal lottery process, a sub board that executes processing related to effects based on a signal from the main board, and a display device that displays a screen for the effects. In a gaming machine comprising
The sub-board includes a command generation unit that generates a predetermined command for generating a screen of the display device, a command buffer that sequentially stores the commands generated by the command generation unit, and the command buffer A display device control unit that reads and executes the command from and controls the display device,
The command generation unit or the display device control unit examines the command buffer, and when a plurality of the commands are stored in the command buffer,
It is determined whether or not the plurality of commands are those for drawing the entire screen of the display device (hereinafter, a command for drawing the whole screen is referred to as a “full-screen drawing command”),
When the full-screen drawing command is present, the full-screen drawing command is identified in the last order,
Set to discard or not execute the command before the full-screen drawing command (hereinafter referred to as “valid command”) identified as the last in order,
The display device control unit sequentially reads and executes the valid command and the subsequent commands.

前記コマンド生成部又は前記表示装置制御部は、例えば、前記コマンドバッファに格納されている前記コマンドについて、当該コマンドにより描画する際に用いられる素材のサイズ、当該素材の貼り付けられる画面上の位置の情報に基づいて前記全画面描画コマンドであるかどうか判定する。   The command generation unit or the display device control unit, for example, for the command stored in the command buffer, the size of the material used when drawing by the command, the position on the screen where the material is pasted It is determined whether the full screen drawing command is based on the information.

前記コマンド生成部又は前記表示装置制御部は、さらに、当該コマンドにより描画する際に用いられる素材の透明度に基づいて前記全画面描画コマンドであるかどうか判定するようにしてもよい。   The command generation unit or the display device control unit may further determine whether the command is the full-screen drawing command based on the transparency of the material used when drawing by the command.

前記コマンド生成部又は前記表示装置制御部は、前記複数のコマンドの実行間隔が予め定められた閾値よりも短いときに、前記有効コマンドよりも前の前記コマンドを破棄するか又は実行しないように設定し、
前記閾値は、例えば、前記表示装置の画面の表示単位であるフレーム時間を基準として設定される。
The command generation unit or the display device control unit is set to discard or not execute the command before the valid command when the execution interval of the plurality of commands is shorter than a predetermined threshold. And
The threshold is set based on, for example, a frame time that is a display unit of the screen of the display device.

この発明は、内部抽選処理を含む遊技に係る制御を実行するメイン基板と、前記メイン基板からの信号に基づき演出に関する処理を実行するサブ基板と、前記演出のための画像を表示する表示装置とを備える遊技機において、
前記サブ基板は、前記表示装置の画面を生成するための予め定められたコマンド及び前記コマンドごとに予め定められた上書きフラグを生成するコマンド生成部と、前記コマンド生成部により生成された前記コマンド及び前記上書きフラグを順番に格納するコマンドバッファと、前記コマンドバッファから前記コマンドを読み出して実行し、前記表示装置を制御する表示装置制御部とを備え、
前記コマンド生成部又は前記表示装置制御部は、前記コマンドバッファを調べ、前記コマンドバッファに前記コマンドが複数格納されているときに、
前記複数のコマンドについて前記上書きフラグが上書き可能を示すもの(以下、上書き可能であることを前記上書きフラグが「オン」であるとする)を含むかどうか判定し、
前記上書きフラグがオンである前記コマンドが存在するとき、前記上書きフラグがオンである前記コマンドのうちで順番が最後であるものを特定し、
順番が最後であると特定された当該コマンド(以下、「有効コマンド」とする)よりも前の前記コマンドを破棄するか又は実行しないように設定し、
前記表示装置制御部は、前記有効コマンド及びこれ以降の前記コマンドを順番に読み出して実行する、ものである。
The present invention relates to a main board that executes control related to a game including an internal lottery process, a sub board that executes a process related to an effect based on a signal from the main board, and a display device that displays an image for the effect. In a gaming machine comprising
The sub-board includes a command generation unit that generates a predetermined command for generating a screen of the display device and a predetermined overwrite flag for each command, the command generated by the command generation unit, A command buffer for sequentially storing the overwrite flag, and a display device control unit for reading and executing the command from the command buffer and controlling the display device,
The command generation unit or the display device control unit examines the command buffer, and when a plurality of the commands are stored in the command buffer,
Determining whether or not the overwriting flag indicates that overwriting is possible for the plurality of commands (hereinafter, the overwriting flag is assumed to be “on”).
When the command with the overwrite flag on is present, identify the command with the last one of the commands with the overwrite flag on,
Set to discard or not execute the command before the command identified as the last one (hereinafter referred to as “valid command”),
The display device control unit sequentially reads and executes the valid command and the subsequent commands.

前記コマンド生成部は、例えば、生成した前記コマンドが前記表示装置の画面の全体を更新するものであるとき、前記上書きフラグをオンとし、生成した前記コマンドとともに前記上書きフラグを前記コマンドバッファに書き込む。   For example, when the generated command updates the entire screen of the display device, the command generation unit turns on the overwrite flag and writes the overwrite flag together with the generated command in the command buffer.

前記コマンド生成部又は前記表示装置制御部は、前記複数のコマンドの実行間隔が予め定められた閾値よりも短いときに、前記有効コマンドよりも前の前記コマンドを破棄するか又は実行しないように設定し、
前記閾値は、例えば、前記表示装置の画面の表示単位であるフレーム時間を基準として設定される。
The command generation unit or the display device control unit is set to discard or not execute the command before the valid command when the execution interval of the plurality of commands is shorter than a predetermined threshold. And
The threshold is set based on, for example, a frame time that is a display unit of the screen of the display device.

この発明は、内部抽選処理を含む遊技に係る制御を実行するメイン基板と、前記メイン基板からの信号に基づき演出に関する処理を実行するサブ基板と、前記演出のための画面を表示する表示装置とを備える遊技機において、
前記サブ基板は、前記表示装置の画面を構成する複数のレイヤに対してそれぞれ予め定められた処理を行う複数のサブコマンドを含むコマンドを生成するコマンド生成部と、前記コマンド生成部により生成された前記コマンドを順番に格納するコマンドバッファと、前記コマンドバッファから前記コマンドを読み出して実行し、前記複数のレイヤに対して描画を行うとともに、前記複数のレイヤを合成して前記表示装置の画面を生成する表示装置制御部とを備え、
前記コマンドバッファには、前記コマンドごとにその実行の有無を判別するための実行フラグが設けられ、
前記コマンド生成部又は前記表示装置制御部は、前記コマンドバッファを調べ、前記コマンドバッファに前記コマンドが複数格納されているときに、
前記複数のレイヤのひとつを指定する第1ステップと、
前記コマンドバッファの複数の前記コマンドから前記第1ステップで指定された前記レイヤの前記サブコマンドを読み出す第2ステップと、
読み出された前記サブコマンドが前記レイヤに対して処理を行わないものであるかどうか判定する第3ステップと、
当該サブコマンドが前記レイヤに対して処理を行わないものでないとき、当該サブコマンドを含む前記コマンドの前記実行フラグをセットする第4ステップと、
当該サブコマンドが前記レイヤに対して処理を行わないものであるとき、当該サブコマンドを含む前記コマンドの前記実行フラグをリセットする第5ステップと、
前記第1ステップで指定した以外のレイヤについて、前記第1ステップ乃至前記第5ステップを繰り返す第6ステップとを実行し、
前記表示装置制御部は、前記実行フラグがセットされている前記コマンドを順番に読み出して実行する、ものである。
The present invention relates to a main board that executes control related to a game including an internal lottery process, a sub board that executes processing related to effects based on a signal from the main board, and a display device that displays a screen for the effects. In a gaming machine comprising
The sub-board is generated by a command generator that generates a command including a plurality of sub-commands that respectively perform predetermined processing on a plurality of layers that constitute the screen of the display device, and the command generator A command buffer for sequentially storing the commands, and reading and executing the commands from the command buffer, drawing the plurality of layers, and combining the plurality of layers to generate a screen of the display device A display device control unit,
The command buffer is provided with an execution flag for determining the presence or absence of execution for each command,
The command generation unit or the display device control unit examines the command buffer, and when a plurality of the commands are stored in the command buffer,
A first step of designating one of the plurality of layers;
A second step of reading the subcommand of the layer specified in the first step from a plurality of the commands of the command buffer;
A third step of determining whether or not the read subcommand is for performing no processing on the layer;
A fourth step of setting the execution flag of the command including the subcommand when the subcommand does not perform processing on the layer;
A fifth step of resetting the execution flag of the command including the subcommand when the subcommand does not perform processing on the layer;
And a sixth step that repeats the first to fifth steps for layers other than those designated in the first step,
The display device control unit sequentially reads and executes the commands for which the execution flag is set.

前記コマンド生成部又は前記表示装置制御部は、前記複数のコマンドの実行間隔が予め定められた閾値よりも短いときに、前記第1乃至前記第6ステップを実行し、
前記閾値は、例えば、画面の表示単位であるフレーム時間を基準として設定される。
The command generation unit or the display device control unit executes the first to sixth steps when an execution interval of the plurality of commands is shorter than a predetermined threshold,
The threshold is set, for example, based on a frame time that is a display unit of the screen.

本発明によれば、サブ基板は、表示装置の画面を生成するための予め定められたコマンド及びコマンドごとに予め定められた上書きフラグを生成するコマンド生成部と、コマンド生成部により生成されたコマンド及び上書きフラグを順番に格納するコマンドバッファと、コマンドバッファからコマンドを読み出して実行し、表示装置を制御する表示装置制御部とを備え、コマンドについて表示装置の画面の全体を描画する全画面描画コマンドであるかどうか判定し、全画面描画コマンドのうちで順番が最後であるものを特定し、順番が最後であると特定された当該コマンドよりも前のコマンドをスキップするので、最終的に表示されないコマンドについて解釈・実行を行わなくて済むようにでき、表示装置制御部の負荷を軽減することができる。   According to the present invention, the sub board includes a command generation unit that generates a predetermined command for generating a screen of the display device and a predetermined overwrite flag for each command, and a command generated by the command generation unit. And a command buffer that sequentially stores the overwrite flag, and a display device control unit that reads and executes the command from the command buffer and controls the display device, and draws the entire screen of the display device with respect to the command. Since the command that identifies the last command in the full-screen drawing command is identified and the command that precedes the command identified as the last command is skipped, it is not finally displayed. This eliminates the need to interpret and execute commands, reducing the load on the display controller. .

前扉を閉めた状態を示すスロットマシンの正面図である。It is a front view of the slot machine which shows the state which closed the front door. 前扉を180度開いた状態を示すスロットマシンの正面図である。It is a front view of the slot machine which shows the state which opened the front door 180 degree | times. スロットマシンのブロック図である。It is a block diagram of a slot machine. スロットマシンの遊技処理のフローチャートである。It is a flowchart of the gaming process of the slot machine. 発明の実施の形態に係るサブ基板のブロック図である。It is a block diagram of a sub board concerning an embodiment of the invention. VDP(表示装置制御部)のブロック図である。It is a block diagram of VDP (display apparatus control part). コマンドバッファに蓄積されたコマンドの状態の説明図である。It is explanatory drawing of the state of the command accumulate | stored in the command buffer. 発明の実施の形態1に係るコマンドバッファに蓄積されたコマンドの状態の説明図である。It is explanatory drawing of the state of the command accumulate | stored in the command buffer which concerns on Embodiment 1 of invention. 発明の実施の形態1に係るコマンドバッファに蓄積されたコマンドの他の状態の説明図である。It is explanatory drawing of the other state of the command accumulate | stored in the command buffer which concerns on Embodiment 1 of invention. 発明の実施の形態1に係るコマンド整理処理のフローチャートである。It is a flowchart of the command rearrangement process which concerns on Embodiment 1 of invention. 発明の実施の形態1に係るコマンド整理処理の具体例の説明図である。It is explanatory drawing of the specific example of the command rearrangement process which concerns on Embodiment 1 of invention. 発明の実施の形態2に係るコマンドバッファに蓄積されたコマンドの状態の説明図である。It is explanatory drawing of the state of the command accumulate | stored in the command buffer which concerns on Embodiment 2 of invention. 発明の実施の形態2に係る全画面描画の例と全画面描画でない例の説明図である。It is explanatory drawing of the example which is not a full screen drawing, and the example of full screen drawing which concerns on Embodiment 2 of invention. 発明の実施の形態2に係るコマンド整理処理のフローチャートである。It is a flowchart of the command rearrangement process which concerns on Embodiment 2 of invention. 発明の実施の形態3に係るコマンドバッファに蓄積されたコマンドの状態の説明図である。It is explanatory drawing of the state of the command accumulate | stored in the command buffer which concerns on Embodiment 3 of invention. 発明の実施の形態3に係るコマンド整理処理のフローチャートである。It is a flowchart of the command rearrangement process which concerns on Embodiment 3 of invention. 発明の実施の形態3に係るコマンド整理処理の具体例の説明図である。It is explanatory drawing of the specific example of the command rearrangement process which concerns on Embodiment 3 of invention.

発明の実施の形態1.
図1は前扉を閉めた状態を示すスロットマシンの正面図、図2は前扉を180度開いた状態を示すスロットマシンの正面図を示す。
Embodiment 1 of the Invention
FIG. 1 is a front view of the slot machine with the front door closed, and FIG. 2 is a front view of the slot machine with the front door opened 180 degrees.

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

また、前記ゲーム表示部131の左下方には、ゲームを開始するためのスタートスイッチ134を設けてあり、3つの回胴のそれぞれに対応して3つのストップスイッチ140を設けてある。前扉の下端部中央には、メダルの払出し口135を設けてある。前記ゲーム表示部131の上側には、液晶表示装置LCDが設けてある。   Further, a start switch 134 for starting a game is provided at the lower left of the game display unit 131, and three stop switches 140 are provided corresponding to the three spinning cylinders. A medal payout port 135 is provided at the center of the lower end of the front door. A liquid crystal display device LCD is provided above the game display unit 131.

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

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

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

図3は発明の実施の形態に係るスロットマシン100の機能ブロック図を示す。
この図において電源系統についての表示は省略されている。図示しないが、スロットマシンは商用電源(AC100V)から直流電源(+5Vなど)を発生するための電源部を備える。
FIG. 3 shows a functional block diagram of the slot machine 100 according to the embodiment of the invention.
In this figure, the display about the power supply system is omitted. Although not shown, the slot machine includes a power supply unit for generating a DC power supply (+5 V or the like) from a commercial power supply (AC 100 V).

スロットマシン100は、その主要な処理装置としてメイン基板(処理部)10とこれからコマンドを受けて動作するサブ基板20とを備える。なお、少なくともメイン基板10は、外部から接触不能となるようにケース内部に収容され、これら基板を取り外す際に痕跡が残るように封印処理が施されている。   The slot machine 100 includes a main substrate (processing unit) 10 and a sub substrate 20 that operates in response to a command from the main substrate (processing unit) 10 as main processing devices. At least the main substrate 10 is accommodated inside the case so that it cannot be contacted from the outside, and is sealed so that traces remain when these substrates are removed.

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

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

メイン基板10には、ベットスイッチBET、スタートスイッチ134,ストップボタン140,リールユニット(リール駆動装置を含む)203,リール位置検出回路71、ホッパ駆動部80、ホッパ81及びホッパ81から払い出されたメダルの枚数を数えるためのメダル検出部82(これらは前述のホッパ装置121を構成する)が接続されている。サブ基板20にはスピーカ基板201、LED基板202などの周辺基板(デバイス制御基板)が接続されている。周辺基板とは、サブ基板20により制御されるものであり、主に映像、光、音響により演出を行うものである。また、サブ基板20には液晶表示装置LCDが接続されている。サブ基板20は、液晶表示装置LCDの制御装置であるVDP(グラフィックディスプレイプロセッサ、表示装置制御部)を内蔵している。   The main board 10 is paid out from a bet switch BET, a start switch 134, a stop button 140, a reel unit (including a reel driving device) 203, a reel position detection circuit 71, a hopper driving unit 80, a hopper 81 and a hopper 81. A medal detection unit 82 for counting the number of medals (these constitute the hopper device 121 described above) is connected. Peripheral substrates (device control substrates) such as a speaker substrate 201 and an LED substrate 202 are connected to the sub substrate 20. The peripheral board is controlled by the sub-board 20 and produces effects mainly by video, light, and sound. In addition, a liquid crystal display device LCD is connected to the sub-board 20. The sub-board 20 incorporates a VDP (graphic display processor, display device controller) that is a control device for the liquid crystal display device LCD.

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

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

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

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

メダルが投入されると、遊技状態に応じた規定投入数を限度として、投入されたメダルを投入状態に設定する。あるいは、遊技機にメダルがクレジットされた状態で、ベットスイッチBETが押下されると、遊技状態に応じた規定投入数を限度して、クレジットされたメダルを投入状態に設定する。メダルの投入を受け付けるかどうかは、メイン基板10が制御する。メダルの投入を受け付ける状態になっていないときは(許可されていないときは)、メダルを投入してもメダルセンサS1、S2でカウントされず、そのまま返却される。同様に、メイン基板10はベットスイッチBETの有効/無効を制御する。ベットスイッチBETが有効になっていないときは(許可されていないときは)、ベットスイッチBETを押下しても、それは無視される。   When medals are inserted, the inserted medals are set to the inserted state up to a specified number of insertions according to the gaming state. Alternatively, when the bet switch BET is pressed in a state where medals have been credited to the gaming machine, the credited medals are set to the inserted state by limiting the prescribed number of insertions according to the gaming state. The main board 10 controls whether or not to accept a medal. When it is not in a state of accepting insertion of medals (when not permitted), even if medals are inserted, they are not counted by the medal sensors S1 and S2 and are returned as they are. Similarly, the main board 10 controls the validity / invalidity of the bet switch BET. When the bet switch BET is not valid (when not permitted), even if the bet switch BET is pressed, it is ignored.

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

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

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

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

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

入賞するまで次回以降の遊技に当選状態を持ち越し可能な抽選フラグ(持越可能フラグ)と、入賞の如何に関わらず次回以降の遊技に当選状態を持ち越さずに非当選状態にリセットされる抽選フラグ(持越不可フラグ)とが用意されていることがある。この場合、前者の持越可能フラグが対応づけられる役としては、レギュラーボーナス(RB)およびビッグボーナス(BB)があり、それ以外の役(例えば、小役、リプレイ)は後者の持越不可フラグに対応づけられている。すなわち抽選フラグ設定処理では、内部抽選でレギュラーボーナスに当選すると、レギュラーボーナスの抽選フラグの当選状態を、レギュラーボーナスが入賞するまで持ち越す処理を行い、内部抽選でビッグボーナスに当選すると、ビッグボーナスの抽選フラグの当選状態を、ビッグボーナスが入賞するまで持ち越す処理を行う。このときメイン基板10は、内部抽選機能により、レギュラーボーナスやビッグボーナスの抽選フラグの当選状態が持ち越されている遊技でも、レギュラーボーナスおよびビッグボーナス以外の役(小役およびリプレイ)についての当否を決定する内部抽選を行っている。すなわち抽選フラグ設定処理では、レギュラーボーナスの抽選フラグの当選状態が持ち越されている遊技において、内部抽選で小役あるいはリプレイが当選した場合には、既に当選しているレギュラーボーナスの抽選フラグと内部抽選で当選した小役あるいはリプレイの抽選フラグとからなる2種類以上の役に対応する抽選フラグを当選状態に設定し、ビッグボーナスの抽選フラグの当選状態が持ち越されている遊技において、内部抽選で小役あるいはリプレイが当選した場合には、既に当選しているビッグボーナスの抽選フラグと内部抽選で当選した小役あるいはリプレイの抽選フラグとからなる2種類以上の役に対応する抽選フラグを当選状態に設定する。   A lottery flag (possible carryover flag) that can carry over the winning state for the next game until winning, and a lottery flag that is reset to the non-winning state without bringing the winning state to the next game regardless of winning Carry-over impossible flag) may be provided. In this case, there are a regular bonus (RB) and a big bonus (BB) as a combination to which the former carry-over possible flag is associated, and other combinations (for example, small role, replay) correspond to the latter carry-over impossible flag. It is attached. In other words, in the lottery flag setting process, when a regular bonus is won by internal lottery, the winning state of the regular bonus lottery flag is carried over until the regular bonus is won, and when the big bonus is won by internal lottery, the big bonus lottery A process of carrying over the winning state of the flag until the big bonus is won is performed. At this time, the main board 10 determines whether or not a role other than the regular bonus and the big bonus (small role and replay) is used even in a game in which the winning state of the regular bonus or big bonus lottery flag is carried over by the internal lottery function. An internal lottery is performed. In other words, in the lottery flag setting process, in a game in which the winning state of the regular bonus lottery flag is carried over, if a small role or replay is won in the internal lottery, the regular bonus lottery flag and the internal lottery already won In a game in which the lottery flags corresponding to two or more types of winning combinations or replay lottery flags won in the win state are set to the winning state and the winning state of the big bonus lottery flag is carried over, it is small in the internal lottery When a winning combination or replay is won, a lottery flag corresponding to two or more kinds of winning combinations including a big bonus lottery flag that has already been won and a small bonus or replay lottery flag that has been won in an internal lottery is set to a winning state. Set.

リプレイ処理手段1600は、所定条件下で内部抽選におけるリプレイの当選確率を変動させる制御を行うことがある。リプレイ処理手段1600については、後に再度説明を加える。リプレイの抽選状態として、リプレイが内部抽選の対象から除外されるリプレイ無抽選状態、リプレイの当選確率が約1/7.3に設定されるリプレイ低確率状態、およびリプレイの当選確率が約1/6に設定されるリプレイ高確率状態という複数種類の抽選状態を設定可能とされている。リプレイの抽選状態を変化させることにより、内部抽選におけるリプレイの当選確率を変動させる。   The replay processing unit 1600 may perform control to change the winning probability of replay in the internal lottery under a predetermined condition. The replay processing unit 1600 will be described later again. The replay lottery states include a replay no lottery state in which replay is excluded from the internal lottery, a replay low probability state in which the replay winning probability is set to about 1 / 7.3, and a replay winning probability of about 1 / A plurality of lottery states such as a high replay probability state set to 6 can be set. By changing the replay lottery state, the winning probability of the replay in the internal lottery is changed.

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

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

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

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

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

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

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

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

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

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

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

リプレイ処理手段1600は、リプレイが入賞した場合に、次回の遊技に関して遊技者の所有するメダルの投入を要さずに前回の遊技と同じ準備状態に設定するリプレイ処理(再遊技処理)を行う。リプレイが入賞した場合には、遊技者の手持ちのメダル(クレジットメダルを含む)を使わずに前回の遊技と同じ規定投入数のメダルが自動的に投入状態に設定される自動投入処理が行われ、遊技機が前回の遊技と同じ入賞判定ラインを有効化した状態で次回の遊技における回転開始操作(遊技者によるスタートスイッチ134の押下操作)を待機する状態に設定される。   When the replay is won, the replay processing means 1600 performs a replay process (regame process) for setting the same preparatory state as the previous game without requiring insertion of medals owned by the player for the next game. When a replay wins, an automatic insertion process is performed in which the same number of medals as the previous game is automatically set to the insertion state without using the player's own medals (including credit medals). The game machine is set in a state of waiting for a rotation start operation (pressing operation of the start switch 134 by the player) in the next game in a state where the same winning determination line as the previous game is validated.

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

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

リールユニット203は、図示しない3つのリールを備えるが、3つのリールそれぞれにひとつづつステッピングモータが取り付けられている。ステッピングモータは、回転子(ロータ)として歯車状の鉄心あるいは永久磁石を備え、固定子(ステータ)として複数の巻線(コイル)を備え、電流を流す巻線を切り替えることによって回転動作させるものである。すなわち、固定子の巻線に電流を流して磁力を発生させ、回転子を引きつけることで回転するものである。回転軸を指定された角度で停止させることが可能なことから、スロットマシンのリールの回転駆動に使用されている。複数の巻線がひとつの相を構成する。相の数として、例えば、2つ(二相)、4つ(4相)、5つ(5相)のものもある。   The reel unit 203 includes three reels (not shown), and one stepping motor is attached to each of the three reels. A stepping motor includes a gear-shaped iron core or permanent magnet as a rotor (rotor), a plurality of windings (coils) as a stator (stator), and is rotated by switching windings through which current flows. is there. That is, a current is passed through the windings of the stator to generate a magnetic force, and the rotor is rotated by attracting the rotor. Since the rotation axis can be stopped at a specified angle, it is used to drive the rotation of the reel of the slot machine. A plurality of windings constitute one phase. As the number of phases, for example, there are two (two phases), four (four phases), and five (five phases).

次に、遊技機における遊技処理について図4を参照して説明を加える。
一般的に、遊技機において、メダルの投入(クレジットの投入)に始まり、払い出しが終了するまで(又はクレジット数の増加が終了するまで)が一遊技である。一遊技が終了するまでは次回の遊技に進めないという決まりがある。
Next, game processing in the gaming machine will be described with reference to FIG.
Generally, in a gaming machine, one game is started from the insertion of medals (insertion of credits) until the end of payout (or until the increase in the number of credits is completed). There is a rule that it is not possible to proceed to the next game until one game is finished.

先ず、規定枚数のメダルが投入されることでスタートスイッチ134が有効になり、図4の処理が開始される。   First, when a prescribed number of medals are inserted, the start switch 134 is activated, and the processing of FIG. 4 is started.

ステップS1において、スタートスイッチ134が操作されることにより、スタートスイッチ134がONとなる。そして、次のステップS2に進む。   In step S1, the start switch 134 is turned on by operating the start switch 134. Then, the process proceeds to the next step S2.

ステップS2において、メイン基板10により抽選処理が行われる。そして、次のステップS3に進む。   In step S2, a lottery process is performed by the main board 10. Then, the process proceeds to next Step S3.

ステップS3において、第1リール〜第3リールの回転が開始する。そして、次のステップS4に進む。   In step S3, the rotation of the first reel to the third reel starts. Then, the process proceeds to the next step S4.

ステップS4において、ストップボタン140が操作されることにより、ストップボタン140がONとなる。そして、次のステップS5に進む。   In step S4, when the stop button 140 is operated, the stop button 140 is turned ON. Then, the process proceeds to the next step S5.

ステップS5において、第1リール〜第3リールのうち押下されたストップボタン140に対応するリールについて回転停止処理が行われる。そして、次のステップS6に進む。   In step S5, rotation stop processing is performed on the reel corresponding to the pressed stop button 140 among the first to third reels. Then, the process proceeds to the next step S6.

ステップS6において、三個のリールに対応するストップボタン140の操作が行われたか否かが判定される。そして、三個のリールに対応する3つのストップボタン140すべての操作が行われたと判定された場合、次のステップS7に進む。   In step S6, it is determined whether or not the operation of the stop button 140 corresponding to the three reels has been performed. If it is determined that all three stop buttons 140 corresponding to the three reels have been operated, the process proceeds to the next step S7.

ステップS7において、抽選フラグ成立中に当該抽選フラグに対応する入賞図柄が有効入賞ライン上に揃ったか否か、すなわち、入賞が確定したか否かが判定される。そして、入賞が確定したと判定された場合、次のステップS8に進む。なお、入賞が確定しなかったときは、抽選フラグが成立していてもメダルの払い出しは行われない。   In step S7, it is determined whether or not the winning symbols corresponding to the lottery flag are aligned on the effective winning line while the lottery flag is established, that is, whether or not the winning is confirmed. If it is determined that the winning is confirmed, the process proceeds to the next step S8. If the winning is not confirmed, no medals are paid out even if the lottery flag is established.

ステップS8において、入賞図柄に相当するメダルが払い出される。   In step S8, medals corresponding to winning symbols are paid out.

メダルの投入からステップS8の実行完了までが、一遊技である。ステップS8の待機処理が終了すると、処理はフローチャートの最初に戻る。言い換えれば、次の遊技が可能な状態になる(次遊技へ移行する)。   The process from the insertion of the medal to the completion of the execution of step S8 is one game. When the standby process in step S8 ends, the process returns to the beginning of the flowchart. In other words, the next game is possible (transition to the next game).

図5は、サブ基板20のブロック図を示す。同図は、サブ基板20において、コマンドを生成し、生成したコマンドをコマンドバッファに登録し、バッファ内のコマンドを解釈・実行する、という機能についてのブロック図である。他の機能についての図示は省略している。   FIG. 5 shows a block diagram of the sub-board 20. This figure is a block diagram of the function of generating a command, registering the generated command in the command buffer, and interpreting and executing the command in the buffer in the sub-board 20. Illustration of other functions is omitted.

20aは、液晶表示装置LCDの画像を生成するための予め定められたコマンドを生成するコマンド生成部である。当該コマンド自体は公知であるので説明は省略する。また、コマンド生成部20aはコマンドごとに予め定められた上書きフラグを生成する。上書きフラグは、コマンドについて上書き可能かどうかを示すものである。以下、上書き可能であることを上書きフラグが「オン」であるとし、上書きが不能である(許可されていない)ことを上書きフラグが「オフ」であるとする。上書きの意味については後述する。   Reference numeral 20a denotes a command generation unit that generates a predetermined command for generating an image of the liquid crystal display device LCD. Since the command itself is publicly known, description thereof is omitted. Further, the command generation unit 20a generates a predetermined overwrite flag for each command. The overwrite flag indicates whether or not the command can be overwritten. Hereinafter, it is assumed that the overwrite flag is “ON” when overwriting is possible, and that the overwriting flag is “OFF” when overwriting is impossible (not permitted). The meaning of overwriting will be described later.

コマンド生成部20aは、生成したコマンドが画像の全体を更新するものであるとき、上書きフラグをオンとして、生成したコマンドとともに上書きフラグをコマンドバッファ20bに書き込む。   When the generated command updates the entire image, the command generation unit 20a turns on the overwrite flag and writes the overwrite flag together with the generated command in the command buffer 20b.

コマンド生成部20aが生成する画像関係のコマンドにはさまざま種類のものがある。例えば、キャラクタの画像を変更するなど既に生成・表示されている画面の一部を変更するコマンドA、全く別の画面に変更するために画面全体を新たに生成するコマンドBなどがある。コマンドBのように画面全体を更新するものについて、原則として、上書きフラグを「オン」とする。これに対し、コマンドAのように画面の一部を変更するものについて、上書きフラグを「オフ」とする。コマンド生成部20aが生成するコマンド体系は予め定められており、コマンドA、Bどちらに属するかは各コマンドについて予め定めておくことができる。そこで、本発明の実施の形態1では、予め定めておいた規則に従い、コマンド生成部20aで生成したコマンドに対して上書きフラグのオンとオフを自動的に割り当てるようにするものとする。   There are various types of image-related commands generated by the command generation unit 20a. For example, there are a command A for changing a part of the screen that has already been generated and displayed, such as changing the character image, and a command B for newly generating the entire screen to change to a completely different screen. As a general rule, for commands that update the entire screen, such as command B, the overwrite flag is set to “ON”. On the other hand, the overwrite flag is set to “off” for the command A that changes a part of the screen. The command system generated by the command generator 20a is determined in advance, and it can be determined in advance for each command whether the command A or B belongs. Therefore, in the first embodiment of the present invention, it is assumed that on / off of an overwrite flag is automatically assigned to a command generated by the command generation unit 20a in accordance with a predetermined rule.

上記例において、コマンドBの上書きフラグをオフとするようにすることもできる。このようにすることでコマンドBの先に格納されたコマンドAが解釈・実行されるようになる。コマンドAがなるべく実行されるようにするときは、コマンドBの上書きフラグをオフにするとよい。なお、全てのコマンドについて上書きフラグをオフにすれば、以下に説明するスキップ処理は実行されず、従来と同じように全てのコマンドが順番に解釈・実行される。   In the above example, the overwrite flag of command B can be turned off. In this way, the command A stored before the command B is interpreted and executed. In order to execute the command A as much as possible, it is preferable to turn off the overwrite flag of the command B. Note that if the overwrite flag is turned off for all commands, the skip processing described below is not executed, and all commands are interpreted and executed in order as in the prior art.

上記のように画面の一部を変更するコマンドAのみならず画面全体を新たに生成するコマンドBについて上書きフラグをオフとすることは、あり得ることである。これに対し、コマンドAについて上書きフラグをオンとすることは推奨されない。コマンドAは画面全体を更新するものではないので、当該コマンドAよりも前に存在するコマンドをスキップしてしまうと画面の整合性がとれなくなるおそれがある。   As described above, it is possible to turn off the overwrite flag not only for the command A for changing part of the screen but also for the command B for newly generating the entire screen. On the other hand, it is not recommended to turn on the overwrite flag for the command A. Since the command A does not update the entire screen, if a command existing before the command A is skipped, the screen may not be consistent.

20bは、コマンド生成部20aにより生成されたコマンド及び上書きフラグを順番に格納するコマンドバッファである。コマンドバッファ20bは、例えばFIFOのような先入れ先出しのメモリである。コマンドバッファ20bは、演出において画像を生成する順番に対応してコマンド及び上書きフラグを順番に格納している。   Reference numeral 20b denotes a command buffer for sequentially storing commands generated by the command generation unit 20a and an overwrite flag. The command buffer 20b is a first-in first-out memory such as a FIFO. The command buffer 20b stores commands and an overwrite flag in order corresponding to the order in which images are generated in the production.

20cは、コマンドバッファ20bからコマンドを読み出して実行し、液晶表示装置LCDを制御するVDP(表示装置制御部)20cである。VDP20cは任意のコマンドバッファ20bの内容(少なくとも格納されている任意のコマンドの上書きフラグの内容)を読み出すことができるものとする。   Reference numeral 20c denotes a VDP (display device controller) 20c that reads and executes commands from the command buffer 20b and controls the liquid crystal display device LCD. It is assumed that the VDP 20c can read the contents of an arbitrary command buffer 20b (at least the contents of an overwrite flag of an arbitrary command stored).

図6は、VDPの構造の概略図である。VDPは、インタフェースI/F、読み込んだコマンドに従い画像を描画する描画エンジンE1、描画した画像を記憶するビデオメモリVRAM、及び、ビデオメモリVRAMに記憶された画像を読み出して液晶表示装置LCDへ送る表示エンジンE2を備える。これらの各要素は、内部のバスBUSに接続され、相互にデータを読み書きできるようになっている。インタフェースI/Fは、CPUからコマンドなどのデータを受けるとともに、表示エンジンE2などからの割り込み信号をCPUへ出力することもできる。このVDPは、例えば、XGAサイズの解像度(1024×768ピクセルの解像度)で毎秒60フレームの描画及び表示が可能である。   FIG. 6 is a schematic diagram of the structure of the VDP. The VDP has an interface I / F, a drawing engine E1 that draws an image according to the read command, a video memory VRAM that stores the drawn image, and a display that reads the image stored in the video memory VRAM and sends it to the liquid crystal display LCD An engine E2 is provided. Each of these elements is connected to an internal bus BUS so that data can be read from and written to each other. The interface I / F can receive data such as commands from the CPU and can also output an interrupt signal from the display engine E2 or the like to the CPU. This VDP can draw and display 60 frames per second at an XGA size resolution (1024 × 768 pixel resolution), for example.

毎秒60フレーム(=60fps)で描画及び表示する場合、1フレームの時間は16.67msである。これをフレーム時間と呼ぶ。   When drawing and displaying at 60 frames per second (= 60 fps), the time for one frame is 16.67 ms. This is called a frame time.

液晶表示装置LCDの制御は、描画データ(液晶表示装置に対するコマンド、動画デコード情報などを含む)の保存、描画データに基づく描画実行、描画された画像の表示実行の3段階で行われる。すなわち、VDPへコマンド(描画データ)を送り、VDPの描画エンジンE1が描画を実行し、表示エンジンE2が液晶表示装置LDCでの画像表示を行う。この3段階の処理はそれぞれ並列(独立)に実行される。   The liquid crystal display device LCD is controlled in three stages: drawing data (including commands for the liquid crystal display device, moving image decoding information, etc.), drawing execution based on the drawing data, and display execution of the drawn image. That is, a command (drawing data) is sent to the VDP, the drawing engine E1 of the VDP executes drawing, and the display engine E2 displays an image on the liquid crystal display device LDC. These three stages of processing are executed in parallel (independently).

次に、図7乃至図9を参照して発明の実施の形態1に係る遊技機の動作について説明を加える。   Next, the operation of the gaming machine according to the first embodiment of the invention will be described with reference to FIGS.

まず、図7を参照して従来の遊技機(上書きフラグを備えない)におけるコマンドの実行順序について説明する。同図において1,2,3はコマンドの実行順序を示す。つまり、CMD1、CMD2、CMD3の順番でコマンドが読み出され、解釈・実行される(図8及び図9も同様)。   First, a command execution order in a conventional gaming machine (without an overwrite flag) will be described with reference to FIG. In the figure, 1, 2 and 3 indicate the execution order of commands. That is, commands are read out in the order of CMD1, CMD2, and CMD3, and are interpreted and executed (the same applies to FIGS. 8 and 9).

CMD1は、予め定められたデフォルト画面を表示するコマンドである。CMD2は、現に表示されている画面の背景を変化させるコマンドである。CMD3は、画面を別のものに切り替えて演出を行うコマンドである。上記例でいうと、CMD1はコマンドB、CMD2はコマンドA、CMD3はコマンドBに相当する。   CMD1 is a command for displaying a predetermined default screen. CMD2 is a command for changing the background of the currently displayed screen. CMD3 is a command for effecting by switching the screen to another one. In the above example, CMD1 corresponds to command B, CMD2 corresponds to command A, and CMD3 corresponds to command B.

図7のような順番でコマンドバッファ20bにコマンドがスタックされていた場合、CMD3は全画面を切り替えるコマンドBであるから、CMD1及びCMD2は、CMD3により生成される画面に対して影響を及ぼさない(CMD1及びCMD2による描画の有無は遊技者に影響を与えない)。従って、図7の場合は、CMD1及びCMD2を解析、描画することは無意味である。   When commands are stacked in the command buffer 20b in the order as shown in FIG. 7, since CMD3 is a command B for switching the entire screen, CMD1 and CMD2 do not affect the screen generated by CMD3 ( The presence or absence of drawing by CMD1 and CMD2 does not affect the player). Therefore, in the case of FIG. 7, it is meaningless to analyze and draw CMD1 and CMD2.

そこで、図8に示すように、各コマンドに上書きフラグを用意しておく。上書きフラグは、上述のようにオン又はオフのいずれかにセットされている。そして、VDP20cは、コマンドバッファ20bからコマンドを読み出す前に、コマンドバッファ20bのコマンドの上書きフラグを読み出し、これらを判定することにより無意味になるコマンドの解析をスキップすることが可能となる(この処理の詳細は後述する)。   Therefore, as shown in FIG. 8, an overwrite flag is prepared for each command. The overwrite flag is set to either on or off as described above. The VDP 20c can read the command overwrite flag in the command buffer 20b before reading the command from the command buffer 20b, and can skip the analysis of the meaningless command by determining these (this process). Details will be described later).

図8の例では、CMD1とCMD2の上書きフラグはいずれもオフであり、CMD3の上書きフラグはオンであるので、CMD3よりも前の順番のコマンドであるCMD1とCMD2の両方がスキップされる。   In the example of FIG. 8, since the overwrite flags of CMD1 and CMD2 are both off and the overwrite flag of CMD3 is on, both commands CMD1 and CMD2 which are commands in the order before CMD3 are skipped.

図9は、コマンドバッファ20bのコマンドの全ての上書きフラグがオンである例を示す。この場合においてもCMD1及びCMD2による描画の有無は遊技者に影響を与えないから、CMD3よりも前の順番のコマンドであるCMD1とCMD2の両方がスキップされる。   FIG. 9 shows an example in which all overwrite flags for commands in the command buffer 20b are on. Even in this case, since the presence or absence of drawing by CMD1 and CMD2 does not affect the player, both CMD1 and CMD2 which are commands in the order before CMD3 are skipped.

図8及び図9の処理について補足する。   It supplements about the process of FIG.8 and FIG.9.

もし、上述のコマンドB(画面の一部を変更するコマンド)、コマンドA(画面全体を新たに生成するコマンド)の順番で実行されるのであれば、コマンドAによる画面の一部の変更はそのまま残り、遊技者はコマンドAによる画面変更を認識することができる。言い換えれば、この実行順序においてコマンドAは有効である。図7乃至図9において、仮にCMD3が無いとすれば、CMD1とCMD2はいずれも有効である。   If the command B is executed in the order of the command B (command for changing a part of the screen) and the command A (command for newly generating the whole screen), the change of the part of the screen by the command A is left as it is. The player can recognize the screen change by the command A. In other words, the command A is valid in this execution order. 7 to 9, if CMD3 does not exist, CMD1 and CMD2 are both effective.

これに対し、コマンドA、コマンドBの順番で実行されるのであれば、コマンドAによる画面の一部の変更はコマンドBによる新たな画面で上書きされて消滅する。したがって、遊技者はコマンドAによる画面変更を認識することができず、この実行順序においてコマンドAは無効である。図7乃至図9の例が該当する。   On the other hand, if the commands A and B are executed in this order, a part of the screen change by the command A is overwritten by a new screen by the command B and disappears. Therefore, the player cannot recognize the screen change due to the command A, and the command A is invalid in this execution order. The example of FIG. 7 thru | or FIG. 9 corresponds.

なお、コマンドAが無効となるのは、上記の実行順であり、かつ、コマンドAとコマンドBの実行間隔(つまり、これらによる画面の表示間隔)が、ある程度短いときである。これらの実行間隔が長ければコマンドAによる画面の一部の変更は一定時間表示され、その後コマンドBによる新たな画面で上書きされて消滅する。この場合、遊技者はコマンドAによる画面の一部の変更を認識することができる。コマンドAは有効であると言える。   Note that the command A is invalid when the execution order is as described above, and the execution interval between the command A and the command B (that is, the screen display interval) is relatively short. If these execution intervals are long, a part of the screen change by the command A is displayed for a certain period of time, and then overwritten with a new screen by the command B and disappears. In this case, the player can recognize a part of the screen change due to the command A. It can be said that the command A is effective.

これに対し、実行間隔が短いと(例えば画面の表示単位であるフレームの表示時間よりも短いと)コマンドAによる画面の一部の変更は、これが表示される前にコマンドBによる新たな画面で上書きされて消滅する。したがって、遊技者はコマンドAによる画面変更を認識することができない。コマンドAは無効である。   On the other hand, if the execution interval is short (for example, if it is shorter than the display time of the frame which is the display unit of the screen), a part of the screen change by the command A will be a new screen by the command B before it is displayed. Overwritten and disappears. Therefore, the player cannot recognize the screen change by the command A. Command A is invalid.

コマンドAが有効か、それとも無効かということは上記のように描画結果が実質的に表示される(遊技者に視認され得る)かどうかという意味であり、本発明の実施の形態1は、無効なコマンドの処理をスキップすることにより、VDP20cの負荷を軽減し、処理落ちを防ぐことを目的としている。   Whether the command A is valid or invalid means whether or not the drawing result is substantially displayed as described above (can be visually recognized by the player), and the first embodiment of the present invention is invalid. The purpose of this is to reduce the load on the VDP 20c and prevent the processing from being lost by skipping the processing of various commands.

なお、図8及び図9の処理の主体には、コマンド生成部20aとVDP20cのいずれもなり得る。コマンドを生成してコマンドバッファ20bにコマンドを格納した後に、例えばタイマー割り込みに基づきコマンド生成部20aが図8及び図9の処理を実行する。あるいは、コマンドバッファ20bからコマンドを読み出す際に、VDP20cが図8及び図9の処理を実行する。   8 and 9 can be either the command generation unit 20a or the VDP 20c. After generating the command and storing the command in the command buffer 20b, the command generation unit 20a executes the processes of FIGS. 8 and 9 based on, for example, a timer interrupt. Alternatively, when reading a command from the command buffer 20b, the VDP 20c executes the processes of FIGS.

このようにコマンド生成部20aとVDP20cのいずれも発明の実施の形態1に係る処理を実行できるが、以下の説明ではVDP20cが処理を行う場合を例にとる。   As described above, both the command generation unit 20a and the VDP 20c can execute the processing according to the first embodiment of the present invention. However, in the following description, a case where the VDP 20c performs processing is taken as an example.

図10は、発明の実施の形態1に係る遊技機のVDP20cの処理フローチャートである。同図はコマンドのスキップ処理に関してのみ表示するものであり、コマンドに基づく画面生成処理などについて省略している。   FIG. 10 is a process flowchart of the VDP 20c of the gaming machine according to the first embodiment of the invention. This figure is displayed only for command skip processing, and screen generation processing based on commands is omitted.

図10の処理は、VDP20cがコマンドを読み出そうとするとき、あるいは定期的(例えばフレーム周期に従って)に行われる。フレーム周期ごと(フレーム周期を単位として)に図10の処理を行うようにすれば、上述のコマンドAとコマンドBの実行間隔がある程度短いこと、という条件を常に満たすことができる。画像の表示時間が2フレーム程度であれば遊技者はそれを認識できないから、例えば2フレーム周期ごとに図10の処理を行うようにしてもよい。フレーム周期を単位として図10の処理間隔を定めることで処理が容易になる。   The processing in FIG. 10 is performed when the VDP 20c tries to read a command or periodically (for example, according to a frame period). If the processing of FIG. 10 is performed for each frame period (with the frame period as a unit), it is possible to always satisfy the condition that the execution interval between the command A and the command B is short to some extent. If the display time of the image is about 2 frames, the player cannot recognize it. Therefore, for example, the processing of FIG. 10 may be performed every 2 frame periods. Processing is facilitated by setting the processing interval of FIG. 10 in units of frame periods.

なお、図10の処理をコマンド生成部20aで行うときは、例えばタイマー割り込みによって図10の処理を開始するようにする。   When the process of FIG. 10 is performed by the command generation unit 20a, the process of FIG. 10 is started by a timer interrupt, for example.

処理タイミングについては、発明の実施の形態2及び3においても同様である。   The processing timing is the same in the second and third embodiments.

S10:VDP20cが、コマンドバッファ20bを調べる。
VDP20cは、少なくとも未実行のコマンドがあるかどうか、存在するコマンドの数、上書きフラグの状態について調べる。
S10: The VDP 20c checks the command buffer 20b.
The VDP 20c checks at least whether there is an unexecuted command, the number of existing commands, and the state of the overwrite flag.

S11:コマンドバッファ20bに未実行のコマンドが存在しないとき、又は、ただひとつの未実行のコマンドのみが存在するときは(S11でNO)、VDP20cは図10の処理を終了する。 S11: When there is no unexecuted command in the command buffer 20b, or when there is only one unexecuted command (NO in S11), the VDP 20c ends the process of FIG.

コマンドバッファ20bに未実行のコマンドが存在しなければ、VDP20cはコマンドを処理する必要がない。未実行のコマンドが一つであれば、当該コマンドを読み出して解釈・実行するだけであり、S12以降のスキップ処理を実行する必要はない。   If there is no unexecuted command in the command buffer 20b, the VDP 20c does not need to process the command. If there is one unexecuted command, the command is simply read, interpreted and executed, and there is no need to execute the skip processing after S12.

コマンドバッファ20bに未実行のコマンドが複数格納されているときは(S11でYES)、S12以降の処理を実行する。   When a plurality of unexecuted commands are stored in the command buffer 20b (YES in S11), the processes after S12 are executed.

S12:VDP20cが、コマンドバッファ20bのコマンドの上書きフラグを確認する。 S12: The VDP 20c checks the command overwrite flag in the command buffer 20b.

S13:上書きフラグがオンであるものがあるとき(S13でYES)、VDP20cはS14及びS15の処理を実行する。上書きフラグがオンであるものがないとき(S13でNO)、図10の処理を終了する。上書きフラグがオンであるコマンドが存在しないときは、コマンドバッファ20bから複数のコマンドを順番に読み出して実行する。 S13: When there is one for which the overwrite flag is on (YES in S13), the VDP 20c executes the processes of S14 and S15. When no overwrite flag is on (NO in S13), the process in FIG. 10 is terminated. When there is no command whose overwrite flag is on, a plurality of commands are sequentially read from the command buffer 20b and executed.

S14:VDP20cは、上書きフラグがオンであるコマンドのうちで順番が最後であるものを特定する。
図8及び図9の例では、いずれもCMD3が該当する。
S14: The VDP 20c identifies the command whose order is the last among the commands whose overwrite flag is on.
In the examples of FIG. 8 and FIG. 9, CMD3 corresponds to both.

S15:VDP20cは、当該最後の上書きフラグがオンのコマンドよりも前のコマンドをスキップする。 S15: The VDP 20c skips the command preceding the command with the last overwrite flag turned on.

この処理において、当該最後のコマンドよりも順番が前のコマンドの上書きフラグの状態は問わない。図8のように順番=1、2のコマンドCMD1、CMD2の上書きフラグがオフであっても、図9のように順番=1、2のコマンドCMD1、CMD2の上書きフラグがオンであっても、これら2つのコマンドがスキップされることは変わらない。   In this process, the state of the overwrite flag of the command whose order is earlier than the last command is irrelevant. Even if the overwrite flags of the commands CMD1 and CMD2 of the order = 1, 2 are turned off as shown in FIG. 8, even if the overwrite flags of the commands CMD1, CMD2 of the order = 1, 2 are turned on as shown in FIG. The fact that these two commands are skipped does not change.

スキップとは、該当するコマンドの読み込み、解釈・実行を行わないということを意味する。具体的には、順番が最後であると特定された当該コマンド(有効コマンド)よりも前のコマンドを破棄(削除)するか又は実行しないように設定する。実行しないとは、例えば、処理済みであると設定して当該コマンドを読み込まないようにすることである。コマンドバッファ20bのどのコマンドを処理しようとしているのかを示すために公知のポインタが用いられるが、当該ポインタを進めることでコマンドを実行しないようにできる。図8及び図9の例では、図10の処理を開始する前はポインタ=1であったとして、同処理を終了した時点でポインタ=3とすることでCMD1及びCMD2をスキップすることができる。なお、コマンドバッファ20bの記憶領域はそれほど多くなく、スキップされたコマンドはいずれ上書きされるので、コマンドの破棄自体を明示的に行う必要は必ずしもない。   Skip means that the corresponding command is not read, interpreted, or executed. Specifically, a command prior to the command (valid command) identified as the last in the order is set to be discarded (deleted) or not executed. “Do not execute” means, for example, setting the processing as being completed so that the command is not read. A known pointer is used to indicate which command in the command buffer 20b is to be processed, but the command can be prevented from being executed by advancing the pointer. In the example of FIGS. 8 and 9, it is assumed that the pointer = 1 before the process of FIG. 10 is started, and CMD1 and CMD2 can be skipped by setting the pointer = 3 when the process is completed. Note that the storage area of the command buffer 20b is not so large, and a skipped command is overwritten, so it is not always necessary to explicitly discard the command itself.

そして、VDP20cは、S14で順番が最後であると特定されたコマンド(有効コマンド、図8及び図9の例ではCMD3)及びこれ以降のコマンド(図8及び図9では存在しない)を順番に読み出して解釈・実行する。   Then, the VDP 20c sequentially reads the command (valid command, CMD3 in the examples of FIGS. 8 and 9) and the subsequent commands (not present in FIGS. 8 and 9) identified as the last in S14. Interpret and execute.

図11は、図10によるスキップ処理の具体例を示す。   FIG. 11 shows a specific example of the skip processing according to FIG.

図11(a)は、最後のコマンドCMD5の上書きフラグがオフであるが、その前のコマンドCMD4の上書きフラグがオンであるとき、図10の処理によりCMD4より前のCMD1乃至CMD3がスキップされることを示す。○は当該コマンドが読み出されること、×は読み出されないことを意味する。このように、上書きフラグがオフであってもコマンドが残ることがある。   In FIG. 11A, when the overwrite flag of the last command CMD5 is OFF, when the overwrite flag of the previous command CMD4 is ON, CMD1 to CMD3 before CMD4 are skipped by the processing of FIG. It shows that. ○ means that the command is read, and x means that it is not read. Thus, the command may remain even if the overwrite flag is off.

図11(b)は、最後のコマンドCMD6の上書きフラグがオンであるとき、図10の処理によりCMD6より前のCMD1乃至CMD5がスキップされることを示す。このように、最後のコマンドの上書きフラグがオンであれば、他のコマンドは全てスキップされる。   FIG. 11B shows that when the overwrite flag of the last command CMD6 is on, CMD1 to CMD5 before CMD6 are skipped by the processing of FIG. Thus, if the overwrite flag of the last command is on, all other commands are skipped.

発明の実施の形態1によれば、コマンドバッファに格納する全コマンドに上書きのオンオフを示すフラグを設け、上書きオンフラグを発見したらそれよりも前のコマンドの解析(あるいは描画)をスキップするようにしたので、結果的に意味を持たないコマンドの解釈・実行をスキップすることができ、VDPに余計な負荷を掛けずに済み、処理落ちを防ぐことができる。   According to Embodiment 1 of the present invention, a flag indicating overwriting on / off is provided for all commands stored in the command buffer, and if an overwriting on flag is found, the analysis (or drawing) of the previous command is skipped. As a result, it is possible to skip interpretation / execution of commands that have no meaning as a result, and it is not necessary to place an extra load on the VDP, thereby preventing processing loss.

なお、前述したようにコマンド生成部20aとVDP20cのいずれも発明の実施の形態1に係る処理を実行できるから、コマンド生成部20aが図10の処理を行うようにもでき、このような構成も発明の実施の形態1に含まれ、VDPの負荷をさらに軽減することができる。この場合、図10の各ステップの動作主体をコマンド生成部20aに読み替えられたい。   As described above, since both the command generation unit 20a and the VDP 20c can execute the processing according to the first embodiment of the invention, the command generation unit 20a can also perform the processing of FIG. Included in the first embodiment of the invention, the load on VDP can be further reduced. In this case, the operation subject of each step in FIG. 10 should be read as the command generation unit 20a.

発明の実施の形態2.
発明の実施の形態1では上書きフラグがコマンドとともにコマンドバッファ20bに格納されていたが、発明の実施の形態2では上書きフラグは予め用意されていない。コマンドバッファ20bのコマンドを調べ、それを解釈することによりコマンドごとに全画面描画、非全画面描画(差し込み処理)のいずれであるかを判別し、この判別結果に基づきコマンドのスキップを行う。発明の実施の形態2の上記判別結果が、発明の実施の形態1の上書きフラグに相当する。
Embodiment 2 of the Invention
In the first embodiment of the invention, the overwrite flag is stored in the command buffer 20b together with the command. However, in the second embodiment of the invention, the overwrite flag is not prepared in advance. By examining the command in the command buffer 20b and interpreting it, it is determined for each command whether it is full-screen drawing or non-full-screen drawing (insertion processing), and the command is skipped based on this determination result. The determination result of the second embodiment of the invention corresponds to the overwrite flag of the first embodiment of the invention.

発明の実施の形態2に係る処理について、図12を参照して説明を加える。   The processing according to the second embodiment of the invention will be described with reference to FIG.

図12(a)では、コマンドバッファ20bに3つのコマンドCMD1乃至CMD3が格納されている。CMD1、CMD2、CMD3の順番でコマンドが解析(解釈)され、上記判定が行われる。   In FIG. 12A, three commands CMD1 to CMD3 are stored in the command buffer 20b. The commands are analyzed (interpreted) in the order of CMD1, CMD2, and CMD3, and the above determination is made.

画面の全体(全画面)について処理(上書き)を行う場合には、その画面全体が切り替えられるので直前のコマンドによる描画は遊技者に対して提示されることがなく、意味が無い。画面の全体を描画するもの(以下、画面の全体を描画するコマンドを「全画面描画コマンド」とし、全画面描画コマンド以外のコマンドを「非全画面描画コマンド」と表記することがある)であるかどうか判定し、全画面描画コマンドよりも前のコマンドをスキップすることでVDPの負荷を軽減することができる。   When processing (overwriting) is performed for the entire screen (full screen), the entire screen is switched, so drawing by the immediately preceding command is not presented to the player and is meaningless. It draws the entire screen (hereinafter, the command to draw the entire screen is referred to as “full screen drawing command”, and commands other than the full screen drawing command may be referred to as “non-full screen drawing command”). It is possible to reduce the load on the VDP by skipping the command preceding the full screen drawing command.

図12(b)は判定結果を示す。CMD1はデフォルト画面を表示するコマンドであるから全画面描画コマンドである。CMD2は差し込みコマンド(部分的に画像を追加するコマンド)であるから非全画面描画コマンドである。CMD3は画面切り替え演出コマンドであるから全画面描画コマンドである。最後のコマンドCMD3が全画面描画コマンドであるので、これよりも前のCMD1とCMD2はスキップされる。   FIG. 12B shows the determination result. Since CMD1 is a command for displaying a default screen, it is a full-screen drawing command. CMD2 is a non-full screen drawing command because it is an insertion command (a command for adding an image partially). Since CMD3 is a screen switching effect command, it is a full screen drawing command. Since the last command CMD3 is a full-screen drawing command, the previous CMD1 and CMD2 are skipped.

全画面描画コマンドかどうかの判断は、そのコマンドで描画するための素材の縦横サイズ及びその素材が描画される画面上の位置(中心座標)、透明度(アルファタイプ)に基づき行われる。その例を列挙する。なお、描画処理、素材の具体的な内容、画面座標系、透明度は、いずれも公知技術であるので説明は省略する。   Whether the command is a full-screen drawing command is determined based on the vertical and horizontal sizes of the material to be drawn by the command, the position (center coordinates) on the screen where the material is drawn, and transparency (alpha type). Examples are listed. Note that the drawing process, the specific content of the material, the screen coordinate system, and the transparency are all well-known techniques and will not be described.

・画面全体を書き換えるコマンドは、全画面描画コマンドである(図13(a))。
・描画する素材の縦横サイズが表示画面よりも小さいときは、そのコマンドは非全画面描画コマンドである(図13(c))。
・描画する素材の縦横サイズが表示画面よりも大きく、かつ、その素材が描画される画面上の位置と画面の中心との距離Δが、画面の大きさと素材の大きさの差γよりも小さいときは、全画面描画コマンドである(図13(b))。距離Δが差γよりも大きいときは、当該素材で既に描画された画面の全部を覆うことができないから、そのコマンドは非全画面描画コマンドである。
・描画する素材の透明度が、既に描画された画面を視認できるように設定されているとき(いわゆる透明であるとき)、そのコマンドは非全画面描画コマンドである。
A command for rewriting the entire screen is a full-screen drawing command (FIG. 13A).
When the vertical / horizontal size of the material to be drawn is smaller than the display screen, the command is a non-full-screen drawing command (FIG. 13C).
-The vertical and horizontal size of the material to be drawn is larger than the display screen, and the distance Δ between the position on the screen where the material is drawn and the center of the screen is smaller than the difference γ between the screen size and the material size. Is a full-screen drawing command (FIG. 13B). When the distance Δ is larger than the difference γ, the entire screen already drawn with the material cannot be covered, and the command is a non-full-screen drawing command.
When the transparency of the material to be drawn is set so that a screen that has already been drawn can be seen (so-called transparent), the command is a non-full-screen drawing command.

図14は、発明の実施の形態2に係る遊技機のVDP20cの処理フローチャートである。同図はコマンドのスキップ処理に関してのみ表示するものであり、コマンドに基づく画面生成処理などについて省略している。   FIG. 14 is a process flowchart of the VDP 20c of the gaming machine according to the second embodiment of the invention. This figure is displayed only for command skip processing, and screen generation processing based on commands is omitted.

発明の実施の形態2においても、コマンド生成部20aとVDP20cのいずれも発明の実施の形態2に係る処理を実行できるから、以下の説明ではそのように明示することにする。   Also in the second embodiment of the invention, both the command generation unit 20a and the VDP 20c can execute the processing according to the second embodiment of the invention, so that it will be clearly shown in the following description.

S10:コマンド生成部20a又はVDP20cが、コマンドバッファ20bを調べる。
VDP20cは、少なくとも未実行のコマンドがあるか、存在するコマンドの数、上書きフラグの状態について調べる。
S10: The command generation unit 20a or the VDP 20c checks the command buffer 20b.
The VDP 20c checks whether there is at least an unexecuted command, the number of existing commands, and the state of the overwrite flag.

S11:コマンドバッファ20bに未実行のコマンドが存在しないとき、又は、ただひとつの未実行のコマンドのみが存在するときは(S11でNO)、コマンド生成部20a又はVDP20cは図14の処理を終了する。 S11: When there is no unexecuted command in the command buffer 20b, or when there is only one unexecuted command (NO in S11), the command generation unit 20a or the VDP 20c ends the process of FIG. .

コマンドバッファ20bに未実行のコマンドが存在しなければ、コマンド生成部20a又はVDP20cはコマンドを処理する必要がない。未実行のコマンドが一つであれば、当該コマンドを読み出して解釈・実行するだけであり、S12b以降のスキップ処理を実行する必要はない。   If there is no unexecuted command in the command buffer 20b, the command generator 20a or the VDP 20c does not need to process the command. If there is one unexecuted command, it is only necessary to read and interpret / execute the command, and there is no need to execute the skip processing after S12b.

コマンドバッファ20bに未実行のコマンドが複数格納されているときは(S11でYES)、S12b以降の処理を実行する。   When a plurality of unexecuted commands are stored in the command buffer 20b (YES in S11), the processes after S12b are executed.

S12b:コマンド生成部20a又はVDP20cが、コマンドバッファ20bのコマンドの判定を行う。すなわち、各コマンドが全画面描画コマンド、非全画面描画コマンドのいずれであるかを判別する。 S12b: The command generation unit 20a or the VDP 20c determines a command in the command buffer 20b. That is, it is determined whether each command is a full-screen drawing command or a non-full-screen drawing command.

上述のように、コマンドにより描画する際に用いられる素材のサイズ、当該素材の貼り付けられる画面上の位置の情報に基づいて全画面描画コマンドであるかどうか判定する。また、当該コマンドにより描画する際に用いられる素材の透明度に基づいて全画面描画コマンドであるかどうか判定する。   As described above, it is determined whether the command is a full-screen drawing command based on information on the size of the material used when drawing by the command and the position on the screen where the material is pasted. In addition, it is determined whether the command is a full-screen drawing command based on the transparency of the material used when drawing by the command.

S13b:全画面描画コマンドが存在するとき(S13bでYES)、コマンド生成部20a又はVDP20cはS14b及びS15bの処理を実行する。全画面描画コマンドが存在しないとき(S13bでNO)、図14の処理を終了する。画面描画コマンドが存在しないときは、コマンドバッファ20bから複数のコマンドを順番に読み出して実行する。 S13b: When a full-screen drawing command exists (YES in S13b), the command generation unit 20a or the VDP 20c executes the processes of S14b and S15b. When there is no full-screen drawing command (NO in S13b), the processing in FIG. When there is no screen drawing command, a plurality of commands are sequentially read from the command buffer 20b and executed.

S14b:コマンド生成部20a又はVDP20cは、全画面描画コマンドのうちで順番が最後であるものを特定する。
図12の例ではCMD3が該当する。
S14b: The command generation unit 20a or the VDP 20c identifies the last full-screen drawing command in order.
In the example of FIG. 12, CMD3 corresponds.

S15b:コマンド生成部20a又はVDP20cは、当該全画面描画コマンドよりも前のコマンドをスキップする。 S15b: The command generation unit 20a or the VDP 20c skips a command preceding the full screen drawing command.

この処理において、当該全画面描画コマンドよりも前のコマンドが全画面描画コマンドであるか非全画面描画コマンドであるかは問わない。したがって、図12(b)の太線で示したCMD1、CMD2はいずれもスキップされる。
スキップの意味については前述した。
In this process, it does not matter whether the command preceding the full screen drawing command is a full screen drawing command or a non-full screen drawing command. Therefore, both CMD1 and CMD2 indicated by bold lines in FIG. 12B are skipped.
The meaning of skip has been described above.

そして、VDP20cは、順番が最後であると特定されたコマンド(有効コマンド)及びこれ以降のコマンドを順番に読み出して解釈・実行する。   Then, the VDP 20c sequentially reads and interprets and executes the command (valid command) identified as the last in order and the subsequent commands.

発明の実施の形態2によれば、発明の実施の形態1と同様に結果的に意味を持たないコマンドの解釈・実行をスキップすることができ、VDPに余計な負荷を掛けずに済み、処理落ちを防ぐことができる。   According to the second embodiment of the present invention, as in the first embodiment of the present invention, it is possible to skip interpretation / execution of a command that does not make sense as a result, and it is not necessary to apply an extra load to the VDP. Can prevent falling.

発明の実施の形態2によれば、コマンドバッファに蓄積されてからコマンドの判別を行なっているので、発明の実施の形態1に比べて柔軟な処理が可能である。例えば、ある演出においては透明度がゼロで背景が全く見えない場合には全画面描画コマンドとするが、若干透明で背景がわずかでも透けて見えるようなときには非全画面描画コマンドとし、他の演出では透明度がゼロから50%程度までは全画面描画コマンドとし、透明度がそれ以上のときには非全画面描画コマンドとする、といった処理が可能である。演出の品質を上げるためには前者のように判定し、VDPの負荷軽減を優先するときには後者のように判定するというように、柔軟に処理できる。   According to the second embodiment of the invention, since the command is discriminated after being stored in the command buffer, flexible processing is possible compared to the first embodiment of the invention. For example, in some productions, if the transparency is zero and the background is not visible at all, the full screen drawing command is used, but if it is slightly transparent and the background can be seen through even slightly, the non-full screen drawing command is used. Processing such as a full screen drawing command when the transparency is about 0 to 50%, and a non-full screen drawing command when the transparency is higher than that can be performed. In order to improve the quality of the production, the former can be determined, and when priority is given to VDP load reduction, the latter can be determined flexibly.

発明の実施の形態3.
画面生成処理において複数のレイヤを設け、それぞれに独立に画像を描画し、複数のレイヤによる画面を合成して(重ねて)表示するということが行われている。複数のレイヤを用いることにより背景、キャラクタなどの描画を独立に行うことができて便利なので、遊技機においても用いられることがある。発明の実施の形態3は複数のレイヤを用いる遊技機に対して適用できるものである。なお、レイヤ及びこれを用いて行う処理は公知であるので、その説明は省略する。
Embodiment 3 of the Invention
In the screen generation process, a plurality of layers are provided, an image is drawn independently of each other, and a screen of a plurality of layers is synthesized (overlaid) and displayed. By using a plurality of layers, drawing of backgrounds, characters, and the like can be performed independently, which is convenient and may be used in gaming machines. Embodiment 3 of the invention can be applied to a gaming machine using a plurality of layers. In addition, since the layer and the process performed using this are well-known, the description is abbreviate | omitted.

図15は、複数のレイヤを備える場合のコマンドの例を示す。同図では3つのレイヤ(3層)のレイヤL(低層)、レイヤM(中間層)、レイヤU(上層)それぞれについて独立したコマンドが設定されている。図15のCMD1乃至CMD3をコマンド、それぞれのコマンドに含まれる各層ごとのコマンドをサブコマンドと呼ぶことにする。   FIG. 15 shows an example of a command when a plurality of layers are provided. In the figure, independent commands are set for each of the three layers (three layers), layer L (low layer), layer M (intermediate layer), and layer U (upper layer). CMD1 to CMD3 in FIG. 15 are called commands, and commands for each layer included in each command are called subcommands.

図15のCMD1は、レイヤLに対してデフォルトの画像を描画するサブコマンド(P_DEF_1)、レイヤMに対して描画されていたメインキャラクタを消去するサブコマンド(MC_CLEAR)、レイヤUに対して枠を描画するサブコマンド(P_WAKU)を含んでいる。   The CMD1 in FIG. 15 includes a subcommand (P_DEF_1) for drawing a default image for the layer L, a subcommand (MC_CLEAR) for deleting the main character drawn for the layer M, and a frame for the layer U. Contains a subcommand (P_WAKU) to draw.

同じくCMD2は、レイヤMに対してカットイン画像を描画するサブコマンド(P_CUTIN)を含む。レイヤLとUのサブコマンドはNULLであるから、これらのレイヤに対しては何の処理も行わない。   Similarly, CMD2 includes a subcommand (P_CUTIN) for drawing a cut-in image on the layer M. Since the subcommands of layers L and U are NULL, no processing is performed on these layers.

同じくCMD3は、レイヤLに対して戦闘の背景を描画するサブコマンド(P_BATTLE)、レイヤMに対して描画されていたメインキャラクタを消去するサブコマンド(MC_CLEAR)、レイヤUに対して描画されていた枠を消去するサブコマンド(MC_CLEAR)を含んでいる。   Similarly, CMD3 was drawn for layer U, a subcommand (P_BATTLE) for drawing the battle background for layer L, a subcommand (MC_CLEAR) for deleting the main character drawn for layer M, and layer U Contains a subcommand (MC_CLEAR) to delete the frame.

図15の3つのコマンドについても、発明の実施の形態2と同様に一部のコマンドをスキップすることができる。   Also for the three commands in FIG. 15, a part of the commands can be skipped as in the second embodiment.

あるレイヤについて処理を行う場合には、その画面全体が切り替えられる(消去あるいは上書きされる)ので直前のコマンドによる描画は遊技者に対して提示されることがなく、意味が無い。これに対し、処理を行わないとき(NULLサブコマンドであるとき)、直前のコマンドで描画されていないと遊技者に画像が提示されないことになる。そこで、発明の実施の形態3では、サブコマンドをNULLとそれ以外(非NULL)の2つに区別し、これらの判別をレイヤごとに行うことによりコマンドをスキップするかどうか判断する。   When processing is performed for a certain layer, since the entire screen is switched (erased or overwritten), drawing by the immediately preceding command is not presented to the player and is meaningless. On the other hand, when the process is not performed (when it is a NULL subcommand), an image is not presented to the player unless the previous command is used for drawing. Therefore, in the third embodiment of the invention, subcommands are classified into NULL and other (non-NULL), and it is determined whether or not the command is skipped by performing these determinations for each layer.

この処理のために、コマンドバッファ20bに実行フラグを設けることにする。実行フラグはコマンドごとに設けられ、それがセットされているときは対応するコマンドを実行し、セットされていなければ当該コマンドをスキップすることにする。   For this process, an execution flag is provided in the command buffer 20b. An execution flag is provided for each command. When the execution flag is set, the corresponding command is executed. When the execution flag is not set, the command is skipped.

図16は、発明の実施の形態3に係る遊技機の処理フローチャートである。同図はコマンドのスキップ処理に関してのみ表示するものであり、コマンドに基づく画面生成処理などについて省略している。   FIG. 16 is a process flowchart of the gaming machine according to the third embodiment of the present invention. This figure is displayed only for command skip processing, and screen generation processing based on commands is omitted.

S10:コマンド生成部20a又はVDP20cが、コマンドバッファ20bを調べる。
VDP20cは、少なくとも未実行のコマンドがあるか、存在するコマンドの数、上書きフラグの状態について調べる。
S10: The command generation unit 20a or the VDP 20c checks the command buffer 20b.
The VDP 20c checks whether there is at least an unexecuted command, the number of existing commands, and the state of the overwrite flag.

S11:コマンドバッファ20bに未実行のコマンドが存在しないとき、又は、ただひとつの未実行のコマンドのみが存在するときは(S11でNO)、コマンド生成部20a又はVDP20cは図16の処理を終了する。 S11: When there is no unexecuted command in the command buffer 20b, or when there is only one unexecuted command (NO in S11), the command generation unit 20a or the VDP 20c ends the process of FIG. .

コマンドバッファ20bに未実行のコマンドが存在しなければ、コマンド生成部20a又はVDP20cはコマンドを処理する必要がない。未実行のコマンドが一つであれば、当該コマンドを読み出して解釈・実行するだけであり、スキップ処理を実行する必要はない。   If there is no unexecuted command in the command buffer 20b, the command generator 20a or the VDP 20c does not need to process the command. If there is one unexecuted command, the command is simply read, interpreted and executed, and skip processing need not be executed.

コマンドバッファ20bに未実行のコマンドが複数格納されているときは(S11でYES)、S20以降の処理を実行する。   When a plurality of unexecuted commands are stored in the command buffer 20b (YES in S11), the processes after S20 are executed.

S20:コマンド生成部20a又はVDP20cが、コマンドバッファ20bの実行フラグを全てリセットする。これは実行フラグの初期設定である。 S20: The command generation unit 20a or the VDP 20c resets all execution flags of the command buffer 20b. This is the initial setting of the execution flag.

実行フラグは、少なくともコマンドの数だけ用意され、各コマンドを読み出して実行するか(例えば実行フラグ=1のとき)、スキップするか(例えば実行フラグ=0のとき)を判別するためのものである。実行フラグに基づき実行するかどうかの判断は、VDP20cが行う。   Execution flags are prepared for at least the number of commands, and are used to determine whether each command is read and executed (for example, when execution flag = 1) or skipped (for example, when execution flag = 0). . The VDP 20c determines whether to execute based on the execution flag.

S21:コマンド生成部20a又はVDP20cが、ひとつのレイヤを指定する。
ひとつのレイヤであればよく、どのレイヤを指定するかは任意である。例えば、図15のレイヤLを指定する。以下、指定されたレイヤについて処理を行う。
S21: The command generation unit 20a or the VDP 20c designates one layer.
There is only one layer, and which layer is specified is arbitrary. For example, the layer L in FIG. 15 is designated. Hereinafter, processing is performed for the specified layer.

S22:コマンド生成部20a又はVDP20cが、最後のコマンドから、指定されたレイヤのサブコマンドを読み出す。 S22: The command generation unit 20a or the VDP 20c reads a subcommand of the designated layer from the last command.

最後のコマンドとは、コマンドバッファ20bの最後に格納されたものであり、VDP20cによる読み出しの順番が最後であるものである。図15の例では、CMD3が該当する。レイヤLが指定されているときは、サブコマンドP_BATTLEが読み出される。   The last command is stored at the end of the command buffer 20b, and is read last by the VDP 20c. In the example of FIG. 15, CMD3 corresponds. When layer L is designated, the subcommand P_BATTLE is read.

S23:コマンド生成部20a又はVDP20cが、読み出したサブコマンドがNULL(何もしない)であるかどうか判定する。NULLであれば(YES)、S24に進み、NULLでなければ(NO)、S26に進む。
上記例では、サブコマンドP_BATTLEはNULLではないからS26に処理が移る。
S23: The command generation unit 20a or the VDP 20c determines whether the read subcommand is NULL (does nothing). If it is NULL (YES), it will progress to S24, and if it is not NULL (NO), it will progress to S26.
In the above example, since the subcommand P_BATTLE is not NULL, the process proceeds to S26.

S24:コマンド生成部20a又はVDP20cが、現在処理しているコマンドが先頭のコマンドかどうか判定する。先頭のコマンドであれば(YES)、S27に進み、先頭のコマンドでなければ(NO)、S25に進む。 S24: The command generation unit 20a or the VDP 20c determines whether the command currently being processed is the first command. If it is the first command (YES), the process proceeds to S27, and if it is not the first command (NO), the process proceeds to S25.

先頭のコマンドとは、コマンドバッファ20bの最初に格納されたものであり、VDP20cによる読み出しの順番が最初であるものである。図15の例では、CMD1が該当する。
上記例では、先頭のコマンドではないからS25の処理を行う。
The head command is stored first in the command buffer 20b, and is read first by the VDP 20c. In the example of FIG. 15, CMD1 corresponds.
In the above example, since it is not the first command, the process of S25 is performed.

S25:コマンド生成部20a又はVDP20cが、ひとつ前のコマンドに移動し、指定されているレイヤのサブコマンドを読み出す。 S25: The command generation unit 20a or the VDP 20c moves to the previous command, and reads the subcommand of the designated layer.

S26:コマンド生成部20a又はVDP20cが、処理の対象としているコマンドの実行フラグをセットする。コマンドがNULLでなければそのコマンドの当該レイヤのサブコマンドを実行する必要があるので、実行フラグをセットする。
上記例では、CMD3の実行フラグをセットする。
S26: The command generation unit 20a or the VDP 20c sets an execution flag of a command to be processed. If the command is not NULL, it is necessary to execute the subcommand of the corresponding layer of the command, so the execution flag is set.
In the above example, the execution flag of CMD3 is set.

S27:コマンド生成部20a又はVDP20cが、全てのレイヤを処理したかどうか判定する。全てのレイヤを処理したのであれば(YES)、S29の処理を行い、そうでなければ(NO)、S28に進み、他のレイヤを指定する。
上記例では、レイヤLから他のレイヤM又はUのいずれかを指定する(S28)。
S27: It is determined whether the command generation unit 20a or the VDP 20c has processed all layers. If all layers have been processed (YES), the process of S29 is performed. If not (NO), the process proceeds to S28, and another layer is designated.
In the above example, one of the other layers M or U is designated from the layer L (S28).

S29:コマンド生成部20a又はVDP20cは、実行フラグがリセットされているもの(=セットされていないもの)のコマンドをスキップする。
スキップの意味については前述した。
S29: The command generation unit 20a or the VDP 20c skips the command for which the execution flag is reset (= not set).
The meaning of skip has been described above.

そして、VDP20cは、スキップされなかったコマンドをコマンドを順番に読み出して解釈・実行する。   Then, the VDP 20c reads and interprets and executes the commands that are not skipped in order.

図16の処理について、具体例を挙げて説明する。   The process of FIG. 16 will be described with a specific example.

図17(a)において、レイヤLに関して、最後のコマンドCMD3のサブコマンドはNULL以外のコマンド(非N)であるので(S23でNO)、その実行フラグがセットされ(S26)、CMD2とCMD1について処理することなく(S25が実行されない)、次のレイヤに処理が移る(S27でNO)。レイヤM及びUについても同様である。図17(a)の例ではどのレイヤでもS23でYESとなることがなく、他のコマンドCMD1とCMD2の実行フラグはリセットのままである。したがって、CMD1とCMD2はスキップされ、CMD3のみが実行される。   In FIG. 17A, since the subcommand of the last command CMD3 for the layer L is a command other than NULL (non-N) (NO in S23), its execution flag is set (S26), and CMD2 and CMD1 Without processing (S25 is not executed), the processing moves to the next layer (NO in S27). The same applies to layers M and U. In the example of FIG. 17A, no YES is obtained in S23 in any layer, and the execution flags of the other commands CMD1 and CMD2 remain reset. Therefore, CMD1 and CMD2 are skipped and only CMD3 is executed.

図17(b)において、レイヤLに関して、最後のコマンドCMD3のサブコマンドはNULL以外のコマンド(非N)であるので(S23でNO)、その実行フラグがセットされ(S26)、CMD2とCMD1について処理することなく(S25が実行されない)、次のレイヤに処理が移る(S27でNO、S28)。   In FIG. 17B, since the subcommand of the last command CMD3 for layer L is a command other than NULL (non-N) (NO in S23), its execution flag is set (S26), and CMD2 and CMD1 Without processing (S25 is not executed), the processing moves to the next layer (NO in S27, S28).

レイヤMに関して、最後のコマンドCMD3のサブコマンドはNULL(N)であり(S23でYES)、CMD3は先頭のコマンドでないので(S24でNO)、ひとつ前のCMD2のレイヤMのサブコマンドが読み出される(S25)。実行フラグはセットされないが、上述のようにレイヤLに関する処理で実行フラグがセットされているので、CMD3はスキップされない。CMD2のサブコマンドはNULL以外のコマンド(非N)であるので(S23でNO)、その実行フラグがセットされ(S26)、CMD1について処理することなく(S25が実行されない)、次のレイヤに処理が移る(S27でNO、S28)。   Regarding the layer M, the subcommand of the last command CMD3 is NULL (N) (YES in S23), and since CMD3 is not the first command (NO in S24), the subcommand of layer M of the previous CMD2 is read. (S25). The execution flag is not set, but the CMD3 is not skipped because the execution flag is set in the processing related to the layer L as described above. Since the subcommand of CMD2 is a command other than NULL (non-N) (NO in S23), its execution flag is set (S26), and the CMD1 is not processed (S25 is not executed) and processed to the next layer. (NO in S27, S28).

レイヤUに関して、最後のコマンドCMD3のサブコマンドはNULL以外のコマンド(非N)であるので(S23でNO)、その実行フラグがセットされ(S26)、CMD2とCMD1について処理がなされない(S25が実行されない)。レイヤUが最後のレイヤであるので(S27でYES)、S29の処理が行われて終了する。   Regarding the layer U, since the subcommand of the last command CMD3 is a command other than NULL (non-N) (NO in S23), its execution flag is set (S26), and no processing is performed for CMD2 and CMD1 (S25) Not executed). Since layer U is the last layer (YES in S27), the process of S29 is performed and the process ends.

図17(b)では、CMD1はスキップされ、CMD2とCMD3が実行される。   In FIG. 17B, CMD1 is skipped and CMD2 and CMD3 are executed.

図17(c)において、レイヤLに関して、最後のコマンドCMD3のサブコマンドはNULL(N)であり(S23でYES)、CMD3は先頭のコマンドでないので(S24でNO)、ひとつ前のCMD2のレイヤMのサブコマンドが読み出される(S25)。コマンドCMD2のサブコマンドはNULL(N)であり(S23でYES)、CMD2は先頭のコマンドでないので(S24でNO)、ひとつ前のCMD1のレイヤMのサブコマンドが読み出される(S25)。CMD1のサブコマンドはNULL以外のコマンド(非N)であるので(S23でNO)、その実行フラグがセットされる(S26)。そして、次のレイヤに処理が移る(S27でNO、S28)。   In FIG. 17C, regarding layer L, the subcommand of the last command CMD3 is NULL (N) (YES in S23), and CMD3 is not the first command (NO in S24), so the layer of the previous CMD2 The M subcommand is read (S25). The subcommand of command CMD2 is NULL (N) (YES in S23), and CMD2 is not the top command (NO in S24), so the subcommand of layer M of CMD1 immediately before is read (S25). Since the subcommand of CMD1 is a command other than NULL (non-N) (NO in S23), its execution flag is set (S26). Then, the process moves to the next layer (NO in S27, S28).

レイヤMに関して、最後のコマンドCMD3のサブコマンドはNULL以外のコマンド(非N)であるので(S23でNO)、その実行フラグがセットされ(S26)、CMD2とCMD1について処理することなく(S25が実行されない)、次のレイヤに処理が移る(S27でNO、S28)。   Regarding the layer M, since the subcommand of the last command CMD3 is a command other than NULL (non-N) (NO in S23), its execution flag is set (S26), and no processing is performed on CMD2 and CMD1 (S25) If not executed, the process moves to the next layer (NO in S27, S28).

レイヤUは、レイヤLと同様である。   Layer U is the same as layer L.

図17(c)では、CMD2はスキップされ、CMD1とCMD3が実行される。   In FIG. 17C, CMD2 is skipped and CMD1 and CMD3 are executed.

図17(d)において、レイヤLに関して、最後のコマンドCMD3のサブコマンドはNULL(N)であり(S23でYES)、CMD3は先頭のコマンドでないので(S24でNO)、ひとつ前のCMD2のレイヤMのサブコマンドが読み出される(S25)。CMD2のサブコマンドはNULL以外のコマンド(非N)であるので(S23でNO)、その実行フラグがセットされる(S26)。そして、次のレイヤに処理が移る(S27でNO、S28)。   In FIG. 17D, for layer L, the subcommand of the last command CMD3 is NULL (N) (YES in S23), and CMD3 is not the first command (NO in S24), so the layer of the previous CMD2 The M subcommand is read (S25). Since the CMD2 subcommand is a command other than NULL (non-N) (NO in S23), its execution flag is set (S26). Then, the process moves to the next layer (NO in S27, S28).

レイヤMに関して、最後のコマンドCMD3のサブコマンドはNULL以外のコマンド(非N)であるので(S23でNO)、その実行フラグがセットされ(S26)、CMD2とCMD1について処理することなく(S25が実行されない)、次のレイヤに処理が移る(S27でNO、S28)。   Regarding the layer M, since the subcommand of the last command CMD3 is a command other than NULL (non-N) (NO in S23), its execution flag is set (S26), and no processing is performed on CMD2 and CMD1 (S25) If not executed, the process moves to the next layer (NO in S27, S28).

レイヤUに関して、最後のコマンドCMD3のサブコマンドはNULL(N)であり(S23でYES)、CMD3は先頭のコマンドでないので(S24でNO)、ひとつ前のCMD2のレイヤMのサブコマンドが読み出される(S25)。コマンドCMD2のサブコマンドはNULL(N)であり(S23でYES)、CMD2は先頭のコマンドでないので(S24でNO)、ひとつ前のCMD1のレイヤMのサブコマンドが読み出される(S25)。CMD1のサブコマンドはNULL以外のコマンド(非N)であるので(S23でNO)、その実行フラグがセットされる(S26)。そして、次のレイヤに処理が移る(S27でNO、S28)。   Regarding layer U, the subcommand of the last command CMD3 is NULL (N) (YES in S23), and CMD3 is not the first command (NO in S24), so the subcommand of layer M of the previous CMD2 is read. (S25). The subcommand of command CMD2 is NULL (N) (YES in S23), and CMD2 is not the top command (NO in S24), so the subcommand of layer M of CMD1 immediately before is read (S25). Since the subcommand of CMD1 is a command other than NULL (non-N) (NO in S23), its execution flag is set (S26). Then, the process moves to the next layer (NO in S27, S28).

図17(c)では、CMD1乃至CMD3のいずれもスキップされることなく、実行される。   In FIG. 17C, any of CMD1 to CMD3 is executed without being skipped.

発明の実施の形態3によれば、発明の実施の形態1及び2と同様に結果的に意味を持たないコマンドの解釈・実行をスキップすることができ、VDPに余計な負荷を掛けずに済み、処理落ちを防ぐことができる。   According to the third embodiment of the invention, as in the first and second embodiments of the invention, it is possible to skip interpretation / execution of a command that does not have any meaning as a result, and it is possible to avoid applying an extra load on the VDP. , Can prevent processing loss.

発明の実施の形態3によれば、複数のレイヤを備える画像処理装置について、意味を持たないコマンドの解釈・実行をスキップすることができる。   According to the third embodiment of the present invention, it is possible to skip interpretation / execution of a command having no meaning for an image processing apparatus including a plurality of layers.

以上の説明において、遊技機としてもっぱらスロットマシンを例にとったが、本発明の実施の形態はこれに限定されず、パチンコ機などの他の遊技機にも適用することができる。   In the above description, the slot machine is taken as an example as a gaming machine, but the embodiment of the present invention is not limited to this, and can be applied to other gaming machines such as a pachinko machine.

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

10 メイン基板
20 サブ基板
20a コマンド生成部
20b コマンドバッファ
20c VDP(表示装置制御部)
LCD 液晶表示装置(表示装置)
10 Main board 20 Sub board 20a Command generation unit 20b Command buffer 20c VDP (display device control unit)
LCD Liquid crystal display device (display device)

Claims (3)

内部抽選処理を含む遊技に係る制御を実行するメイン基板と、前記メイン基板からの信号に基づき演出に関する処理を実行するサブ基板と、前記演出のための画面を表示する表示装置とを備える遊技機において、
前記サブ基板は、前記表示装置の画面を生成するための予め定められたコマンドを生成するコマンド生成部と、前記コマンド生成部により生成された前記コマンドを順番に格納するコマンドバッファと、前記コマンドバッファから前記コマンドを読み出して実行し、前記表示装置を制御する表示装置制御部とを備え、
前記コマンド生成部又は前記表示装置制御部は、前記コマンドバッファを調べ、前記コマンドバッファに前記コマンドが複数格納されているときに、
複数の前記コマンドについて前記表示装置の画面の全体を描画するもの(以下、画面の全体を描画するコマンドを「全画面描画コマンド」とする)であるかどうか判定し、
前記全画面描画コマンドが存在するとき、前記全画面描画コマンドのうちで順番が最後であるものを特定し、
複数の前記コマンドの実行間隔が予め定められた閾値よりも短いときに、順番が最後であると特定された当該全画面描画コマンド(以下、「有効コマンド」とする)よりも前の前記コマンドを破棄するか又は実行しないように設定し、
前記表示装置制御部は、前記有効コマンド及びこれ以降の前記コマンドを順番に読み出して実行し、
前記閾値は、前記表示装置の画面の表示単位であるフレーム時間を基準として設定される、ことを特徴とする遊技機。
A gaming machine comprising: a main board that executes control relating to a game including an internal lottery process; a sub board that executes processing related to an effect based on a signal from the main board; and a display device that displays a screen for the effect In
The sub-board includes a command generation unit that generates a predetermined command for generating a screen of the display device, a command buffer that sequentially stores the commands generated by the command generation unit, and the command buffer A display device control unit that reads and executes the command from and controls the display device,
The command generation unit or the display device control unit examines the command buffer, and when a plurality of the commands are stored in the command buffer,
It is determined whether or not the plurality of commands are those for drawing the entire screen of the display device (hereinafter, a command for drawing the whole screen is referred to as a “full-screen drawing command”),
When the full-screen drawing command is present, the full-screen drawing command is identified in the last order,
When the execution interval of the plurality of commands is shorter than a predetermined threshold , the command before the full-screen drawing command (hereinafter referred to as “valid command”) identified as the last in order is Set to discard or not execute,
The display device control unit sequentially reads and executes the valid command and the subsequent commands .
The gaming machine according to claim 1, wherein the threshold is set based on a frame time which is a display unit of the screen of the display device .
前記コマンド生成部又は前記表示装置制御部は、前記コマンドバッファに格納されている前記コマンドについて、当該コマンドにより描画する際に用いられる素材のサイズ、当該素材の貼り付けられる画面上の位置の情報に基づいて前記全画面描画コマンドであるかどうか判定する、ことを特徴とする請求項1記載の遊技機。   For the command stored in the command buffer, the command generation unit or the display device control unit includes information on a size of a material used when drawing by the command and a position on a screen to which the material is pasted. 2. The gaming machine according to claim 1, wherein it is determined whether or not the command is a full-screen drawing command. 前記コマンド生成部又は前記表示装置制御部は、さらに、当該コマンドにより描画する際に用いられる素材の透明度に基づいて前記全画面描画コマンドであるかどうか判定する、ことを特徴とする請求項2記載の遊技機。   The said command generation part or the said display apparatus control part further determines whether it is the said full-screen drawing command based on the transparency of the raw material used when drawing with the said command. Game machines.
JP2011267404A 2011-12-06 2011-12-06 Game machine Expired - Fee Related JP5991638B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011267404A JP5991638B2 (en) 2011-12-06 2011-12-06 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011267404A JP5991638B2 (en) 2011-12-06 2011-12-06 Game machine

Publications (2)

Publication Number Publication Date
JP2013118911A JP2013118911A (en) 2013-06-17
JP5991638B2 true JP5991638B2 (en) 2016-09-14

Family

ID=48771877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011267404A Expired - Fee Related JP5991638B2 (en) 2011-12-06 2011-12-06 Game machine

Country Status (1)

Country Link
JP (1) JP5991638B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6131417B2 (en) * 2015-06-03 2017-05-24 株式会社オリンピア Game machine
JP6160672B2 (en) * 2015-10-15 2017-07-12 サミー株式会社 Game machine
JP6479072B2 (en) * 2017-03-10 2019-03-06 株式会社オリンピア Game machine
JP6909486B2 (en) * 2017-03-28 2021-07-28 株式会社サンセイアールアンドディ Pachinko machine

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005189663A (en) * 2003-12-26 2005-07-14 Matsushita Electric Ind Co Ltd Multi-layer image composing system
US20050195198A1 (en) * 2004-03-03 2005-09-08 Anderson Michael H. Graphics pipeline and method having early depth detection
JP4746577B2 (en) * 2007-03-19 2011-08-10 株式会社藤商事 Game machine
JP5057895B2 (en) * 2007-08-31 2012-10-24 三菱電機株式会社 Image output apparatus and screen composition method
JP4257618B2 (en) * 2007-09-07 2009-04-22 株式会社大万 Game machine
JP4926989B2 (en) * 2008-01-25 2012-05-09 株式会社藤商事 Game machine
JP2010115442A (en) * 2008-11-14 2010-05-27 Daiichi Shokai Co Ltd Game machine
JP5610180B2 (en) * 2009-03-23 2014-10-22 株式会社オリンピア Game machine
JP5560611B2 (en) * 2009-04-27 2014-07-30 株式会社三洋物産 Game machine
JP2010264150A (en) * 2009-05-18 2010-11-25 Daito Giken:Kk Game machine
JP5509716B2 (en) * 2009-06-03 2014-06-04 株式会社三洋物産 Game machine
JP5481761B2 (en) * 2010-02-18 2014-04-23 株式会社オリンピア Game machine
JP5644172B2 (en) * 2010-04-23 2014-12-24 株式会社オリンピア Game machine

Also Published As

Publication number Publication date
JP2013118911A (en) 2013-06-17

Similar Documents

Publication Publication Date Title
JP5991638B2 (en) Game machine
JP5685489B2 (en) Game machine
JP5644172B2 (en) Game machine
JP5764943B2 (en) Game machine
JP5610180B2 (en) Game machine
JP5975251B2 (en) Game machine
JP5991637B2 (en) Game machine
JP6417507B2 (en) Game machine
JP5701129B2 (en) Game machine
JP5799342B2 (en) Game machine
JP2013031586A (en) Game machine
JP5481761B2 (en) Game machine
JP6232635B2 (en) Game machine
JP6183640B2 (en) Game machine
JP2018094239A (en) Game machine
JP4363908B2 (en) Slot machine
JP5701154B2 (en) Game machine
JP5070523B2 (en) Amusement stand
JP5779812B2 (en) Game machine
JP6134893B2 (en) Game machine
JP5849330B2 (en) Game machine
JP6076779B2 (en) Game machine
JP5765060B2 (en) Game machine
JP6085742B2 (en) Game machine
JP5987173B2 (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140905

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151028

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160126

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160806

R150 Certificate of patent or registration of utility model

Ref document number: 5991638

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees