Gaming Machines

The gaming machine employs a CPU circuit, image generation means, and data transfer circuit with FIFO buffer to enhance image rendering, addressing the need for advanced image effects and control, thereby improving player engagement and operational stability.

JP7596322B2Active Publication Date: 2024-12-09FUJI SHOJI CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
JP2022025671
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-02-22
Publication Date
2024-12-09
Estimated Expiration
2039-01-16

AI Technical Summary

Technical Problem

Existing gaming machines lack advanced image rendering capabilities and control mechanisms, necessitating improved image effect control to enhance player engagement and experience.

Method used

A gaming machine equipped with a CPU circuit for display list management, an image generation means with a drawing circuit, a data transfer circuit, and a FIFO buffer for efficient data handling, along with register settings for controlling image production, including initialization and usability checks to ensure stable image rendering.

Benefits of technology

The solution enables complex and sophisticated image effects, enhancing player engagement through improved image production control and stability, ensuring seamless operation and reduced noise interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007596322000001
    Figure 0007596322000001
  • Figure 0007596322000002
    Figure 0007596322000002
  • Figure 0007596322000003
    Figure 0007596322000003
Patent Text Reader

Abstract

To provide a gaming machine capable of further improved image presentation control. [Solution] In the initial setting process after a CPU reset, a series of setting values ​​relating to the operation of the drawing circuit 76 and the display circuit 74 are initially set in the operation control register RGij, and then the setting values ​​are repeatedly reset for a predetermined group of operation control registers.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a gaming machine that performs a lottery process based on gaming actions and executes image effects corresponding to the lottery results, and more particularly to a gaming machine that can stably execute powerful image effects. [Background technology]

[0002] A pinball game machine such as a pachinko machine is configured with a pattern start opening on the game board, a pattern display section that displays a series of pattern change patterns based on multiple displayed patterns, and a large prize opening with an opening / closing plate that opens and closes. When a detection switch provided in the pattern start opening detects the passage of a game ball, the machine enters a winning state, and after the game ball is paid out as a prize ball, the displayed pattern in the pattern display section changes for a predetermined period of time. After that, when the pattern stops in a predetermined manner such as 7·7·7, the machine enters a large win state, and the large prize opening is repeatedly opened, creating a game state that is advantageous to the player.

[0003] Whether or not such a game state occurs is determined by a jackpot lottery that is executed on the condition that a game ball enters the symbol start hole, and the above-mentioned symbol change operation is based on the result of this lottery. For example, if the lottery result is a winning state, a presentation operation called a reach action is executed for about 20 seconds, and then the special symbols are aligned. On the other hand, even if the winning state is not won, a similar reach action may be executed, and in this case, the player will pay close attention to the progress of the presentation operation while strongly hoping for a jackpot state. Then, if the predetermined symbols are aligned on the stop line at the end of the symbol change operation, the player is guaranteed a jackpot state. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2017-093633 A [Patent Document 2] JP 2017-093632 A [Patent Document 3] JP 2016-159030 A [Patent Document 4] JP 2016-159029 A Summary of the Invention [Problem to be solved by the invention]

[0005] In this type of gaming machine, it is desirable to make the various effects more complex and abundant, and there is a particularly high demand for image effects. Therefore, the applicant has made various proposals (Patent Documents 1 to 4), but further advances in image effects and improvements in image effect control are desired.

[0006] The present invention has been made in consideration of the above problems, and has an object to provide a gaming machine capable of executing improved image presentation control. [Means for solving the problem]

[0007] In order to achieve the above object, the present invention is configured to include an image control means having a CPU circuit which issues a display list specifying a display screen of a display device, and an image generation means having a drawing circuit which generates image data based on instruction commands described in the display list issued by the image control means, the image generation means being configured to include a data transfer circuit having a transfer port which receives configuration data of the display list from the CPU circuit in a predetermined acquisition bit unit, and a FIFO buffer of a FIFO structure which accumulates the configuration data received by the transfer port, and the image control means being configured to transfer data of the display list from the transfer port to the drawing circuit. the first means for setting first information specifying a FIFO buffer to function during transmission in one or more first registers built in the image generation means; second means for setting a start instruction in one or more second registers built in the image generation means to start operation of the data transfer circuit after the first means; third means for determining whether the FIFO buffer specified by the first means is usable or not after the second means; and fourth means for setting an initialization instruction in one or more registers built in the image generation means to stop issuing the display list if the determination by the third means is not normal even after a limit time or a limit number of determinations has elapsed. Effect of the Invention

[0009] According to the present invention described above, To realize a gaming machine capable of executing improved image presentation control It is possible. [Brief description of the drawings]

[0010] [Figure 1] 1 is a perspective view showing a pachinko machine according to an embodiment of the present invention. [Diagram 2] 2 is a front view showing a gaming area of ​​the gaming machine of FIG. 1. [Diagram 3] 2 is a block diagram showing the overall circuit configuration of the gaming machine of FIG. 1. [Figure 4] 2 is a block diagram showing in some detail the circuit configuration of a performance control unit for the gaming machine of FIG. 1. [Diagram 5]1 is a diagram for explaining a composite chip that constitutes a performance control unit. [Figure 6] 1 is a diagram for explaining cycle steal transfer operation and pipeline transfer for a DMAC. [Figure 7] 1 is a diagram for explaining an index space, an index table, a virtual drawing space, and a drawing area. [Figure 8] 1 is a block diagram illustrating an internal configuration of a data transfer circuit together with related circuit configurations. [Figure 9] 2 is a block diagram showing the internal configuration of a display circuit together with related circuit configurations. FIG. [Figure 10] 13 is a flowchart illustrating the control operation of the performance control CPU 63 when a preloader is not used. [Figure 11] 1 is a diagram for explaining the configuration of a display list. [Figure 12] 13 is a flowchart showing a DL issuing process for issuing a display list DL. [Figure 13] 13 is a flowchart for explaining the operation of FIG. 12 when a DMAC is involved. [Figure 14] 14 is a flowchart illustrating an operation subsequent to the process of FIG. 13. [Figure 15] 13 is a flowchart illustrating the control operation of the performance control CPU 63 when a preloader is used. [Figure 16] 16 is a flowchart illustrating a part of FIG. 15. [Figure 17] 16 is a flowchart illustrating another part of FIG. 15. [Figure 18] 11 is a time chart showing the operation of each part of the VDP in an embodiment in which a preloader is not used. [Figure 19] 11 is a time chart showing the operation of each part of the VDP in an embodiment using a preloader. [Figure 20] FIG. 11 is a block diagram showing an overall circuit configuration according to another embodiment. [Figure 21] FIG. 21 is a block diagram showing a portion of FIG. 20 in some detail. [Figure 22] 13 is a flowchart illustrating the operation of another embodiment. [Figure 23] 11 is a diagram illustrating yet another embodiment. [Figure 24] 11 is a diagram for explaining an embodiment in which a set value is repeatedly set; [Diagram 25] 1 is a diagram illustrating a circuit configuration of an embodiment using a built-in audio circuit. [Figure 26] 4 is a flowchart illustrating an initial setting operation of the audio circuit. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] The present invention will be described in detail below based on the embodiments. Fig. 1 is a perspective view showing a pachinko machine GM of this embodiment. This pachinko machine GM is composed of a rectangular wooden outer frame 1 that is detachably attached to an island structure, and a front frame 3 that is pivotally attached so as to be openable and closable via hinges 2 fixed to the outer frame 1. A game board 5 is detachably attached to this front frame 3 from the front side, not from the back side, and a glass door 6 and a front panel 7 are pivotally attached to the front side so as to be openable and closable.

[0012] Illuminated lamps such as LED lamps are arranged in an approximate C-shape around the periphery of the glass door 6. Meanwhile, a total of three speakers are arranged on the upper left and right positions and on the lower side of the glass door 6. The two speakers arranged on the upper side are configured to output the sounds of the left and right channels R and L, respectively, and the speaker on the lower side is configured to output low-pitched sounds.

[0013] An upper tray 8 for storing game balls to be launched is attached to the front panel 7, and a lower tray 9 for storing game balls that have spilled over or been removed from the upper tray 8, and a launch handle 10 are provided at the bottom of the front frame 3. The launch handle 10 is linked to a launch motor, and the game balls are launched by a striking hammer that operates according to the rotation angle of the launch handle 10.

[0014] A chance button 11 is provided on the outer periphery of the upper tray 8. This chance button 11 is provided in a position where it can be operated by the player's left hand, and the player can operate the chance button 11 without taking his / her right hand off the launch handle 10. This chance button 11 is not normally functional, but when the game state becomes a button chance state, a built-in lamp is lit and the button becomes operable. The button chance state is a game state that is provided as necessary.

[0015] In addition, a rotary switch type volume switch VLSW is located below the chance button 11, and the player can adjust the speaker volume in eight steps from silent level (=0) to the maximum level (=7) by operating the volume switch VLSW. The speaker volume is initially set by a setting switch (not shown) that can be operated only by the attendant, and the initially set volume is maintained unless the player operates the volume switch VLSW. In addition, the abnormality notification sound that notifies the occurrence of an abnormal situation is emitted at the maximum volume regardless of the initially set volume by the attendant or the volume set by the player.

[0016] An operation panel 12 for operating the ball lending machine is provided on the right side of the upper tray 8, and includes a degree display section that displays the remaining balance on the card in three digits, a ball lending switch that commands the lending of a specified amount of game balls, and a return switch that commands the return of the card when the game ends.

[0017] As shown in Fig. 2, a guide rail 13 consisting of an outer rail and an inner rail made of metal is provided in a ring shape on the surface of the game board 5, and a central opening HO is provided in the approximate center of the guide rail 13. A movable performance body (not shown) is stored in a concealed state below the central opening HO, and during a movable advance notice performance, the movable performance body rises and becomes exposed, thereby realizing an advance notice performance with a predetermined reliability. Here, the advance notice performance is a performance that uncertainly notifies the player that a favorable jackpot state will occur, and the reliability of the advance notice performance means the probability that the jackpot state will occur.

[0018] A main display device DS1 consisting of a large (e.g., 1280 pixels wide x 1024 pixels high) liquid crystal color display (LCD) is disposed in the central opening HO, and a movable sub-display device DS2 consisting of a small (e.g., 480 pixels wide x 800 pixels high) liquid crystal color display is disposed on the right side of the main display device DS1. The main display device DS1 is a device that variably displays specific symbols related to the jackpot state, and also displays background images and various characters in an animated manner. This display device DS1 has special symbol display sections Da-Dc in the center and a normal symbol display section 19 in the upper right. The special symbol display sections Da-Dc may execute reach effects that anticipate the arrival of a jackpot state, and appropriate advance notice effects are executed in and around the special symbol display sections Da-Dc.

[0019] The sub-display device DS2 normally displays image information in a stationary state with its display screen tilted at an angle that is easy for the player to see. However, during a specified preview performance, the display screen changes its tilt angle to an angle that is easy for the player to see, moves to the left in the figure, and displays a specified preview image.

[0020] That is, the sub-display device DS2 of the embodiment is not just a display device, but also functions as a movable performance body that executes the preview performance. Here, the preview performance by the sub-display device DS2 is set to have a high reliability, so that the player pays attention to the movement of the sub-display device DS2 with great expectation.

[0021] In the game area where the game balls fall, there are arranged a first symbol start hole 15a, a second symbol start hole 15b, a first big prize hole 16a, a second big prize hole 16b, a normal prize hole 17, and a gate 18. Each of these prize holes 15 to 18 has a detection switch inside so that it can detect the passage of the game ball.

[0022] Above the first symbol start opening 15a, there is disposed a performance stage 14 configured so that the game ball that enters from the introduction opening IN can enter the first symbol start opening 15 after moving in a seesaw or roulette shape. When the game ball enters the first symbol start opening 15, the special symbol display sections Da to Dc are configured to start varying.

[0023] The second pattern starting opening 15b is configured to be opened and closed by an electric tulip equipped with a pair of opening and closing claws on the left and right, and when the stopped pattern after the normal pattern display section 19 changes displays a winning pattern, the opening and closing claws are opened for a predetermined time or until a predetermined number of game balls are detected.

[0024] The normal symbol display unit 19 displays normal symbols. When a gaming ball passing through the gate 18 is detected, the normal symbols change for a predetermined period of time and then stop displaying a stopping symbol determined by a random number value for lottery extracted at the time the gaming ball passes through the gate 18.

[0025] The first large prize opening 16a is configured with a slide plate that moves back and forth, and the second large prize opening 16b is configured with an opening and closing plate whose lower end is supported by a shaft and opens forward. The operation of the first large prize opening 16a and the second large prize opening 16b is not particularly limited, but in this embodiment, the first large prize opening 16a is configured to correspond to the first symbol starting opening 15a, and the second large prize opening 16b is configured to correspond to the first symbol starting opening 15b.

[0026] In other words, when a game ball enters the first pattern start opening 15a, the special pattern display sections Da to Dc begin to change in size, and then, when a predetermined jackpot pattern is aligned in the special pattern display sections Da to Dc, a special game representing the first jackpot begins, and the sliding plate of the first large prize opening 16a opens forward, facilitating the entry of the game ball.

[0027] On the other hand, as a result of the change action started by the entry of the game ball into the second symbol start hole 15b, when a predetermined jackpot symbol is aligned in the special symbol display section Da-Dc, a special game as a second jackpot is started, and the opening and closing plate of the second big prize entry hole 16b is opened to facilitate the entry of the game ball. The game value of the special game (jackpot state) varies depending on the aligned jackpot symbols, but which game value is awarded is determined in advance based on the result of a lottery according to the timing of the entry of the game ball.

[0028] In a typical jackpot state, after the opening and closing plate of the big prize opening 16 is opened, the opening and closing plate closes after a predetermined time has elapsed or when a predetermined number of game balls (for example, 10 balls) have entered the prize. This operation continues for a maximum of, for example, 15 times, and is controlled to be in a state advantageous to the player. If the stopped pattern after the change of the special pattern display sections Da to Dc is a specific pattern among the special patterns, a special privilege is given in which the game after the end of the special game will be in a high probability state (probability state).

[0029] FIG. 3 is a block diagram showing the overall circuit configuration of the pachinko machine GM that realizes the above-mentioned operations, and FIG. 4(a) shows a detailed view of a part of it.

[0030] As shown in Figure 3, this pachinko machine GM is mainly composed of a power supply board 20 that receives AC 24V and outputs various DC voltages and power supply abnormality signals ABN1 and ABN2, a main control board 21 that is responsible for overall game control operations, a presentation interface board 22 equipped with circuit elements SND for sound presentation, a presentation control board 23 that executes lamp presentations, sound presentations, and image presentations in a unified manner based on control commands CMD received from the main control board 21, a liquid crystal interface board 24 located between the presentation control board 23 and the display devices DS1 and DS2, a payout control board 25 that controls the payout motor M based on the control commands CMD' received from the main control board 21 to pay out game balls, and a launch control board 26 that launches game balls in response to player operations.

[0031] In this embodiment, the performance interface board 22, performance control board 23, and liquid crystal interface board 24 are directly connected to male and female connectors without using wiring cables. Therefore, even if the circuit configuration of each electronic circuit is made complex and advanced, the storage space of the entire board can be minimized, and noise resistance can be improved by shortening the connection lines.

[0032] As shown in the figure, the control command CMD' output by the main control board 21 is transmitted to the dispensing control board 25 via the main board relay board 33. On the other hand, the control command CMD output by the main control board 21 is transmitted to the performance control board 23 via the performance interface board 22. The control commands CMD and CMD' are both 16 bits long, but are sent in parallel in two batches of 8 bits each.

[0033] The main control board 21 and the payout control board 25 are equipped with computer circuits including a one-chip microcomputer. The performance control board 23 is equipped with a composite chip 50 with built-in computer circuits such as a VDP circuit (Video Display Processor) 52 and a built-in CPU circuit 51. These control boards 21, 25, 23, the circuits mounted on the performance interface board 22 and the liquid crystal interface board 24, and the operations realized by these circuits are sometimes referred to functionally as the main control unit 21, the performance control unit 23, and the payout control unit 25 in this specification. Note that the performance control unit 23 and the payout control unit 25 are sub-control units relative to the main control unit 21.

[0034] This pachinko machine GM is broadly divided into a frame side member GM1 surrounded by a dashed line in Fig. 3, and a board side member GM2 fixed to the back of the game board 5. The frame side member GM1 includes a front frame 3 to which a glass door 6 and a front panel 7 are pivotally attached, and an outer wooden frame 1 on the outside of that, and is fixedly installed in the game hall for a long period of time regardless of changes in the model. On the other hand, the board side member GM2 is replaced in response to a change in the model, and a new board side member GM2 is attached to the frame side member GM1 in place of the original board side member. All except the frame side member 1 is the board side member GM2.

[0035] As shown in the dashed frame in Fig. 3, the frame side member GM1 includes a power supply board 20, a payout control board 25, a launch control board 26, and a frame relay board 36, and these circuit boards are fixed in appropriate positions on the front frame 3. On the other hand, a main control board 21 and a performance control board 23 are fixed to the back of the game board 5 together with display devices DS1, DS2 and other circuit boards. The frame side member GM1 and the board side member GM2 are electrically connected by connectors C1 to C4 arranged in one place.

[0036] The power supply board 20 is connected to the main board relay board 33 through a connector C2, and is connected to the power supply relay board 34 through a connector C3. The power supply board 20 is provided with a power supply monitoring unit MNT that monitors the on-off of AC power. When the power supply monitoring unit MNT detects the cutoff of AC power, it immediately transitions the power supply abnormality signals ABN1 and ABN2 to L level. The power supply abnormality signals ABN1 and ABN2 immediately become H level after power is turned on.

[0037] The main board relay board 33 outputs the power supply abnormality signal ABN1, the backup power supply BAK, and DC5V, DC12V, and DC32V output from the power supply board 20 directly to the main control unit 21. In addition, the power supply relay board 34 outputs the AC and DC power supply voltages received from the power supply board 20 directly to the performance interface board 22.

[0038] As shown in the figure, the performance interface board 22 is equipped with an audio circuit SND such as an audio processor 27, and the performance control board 23 is equipped with a composite chip 50 that has built-in computer circuits such as a VDP circuit 52 and a CPU circuit 51.

[0039] The performance interface board 22 is also equipped with a reset circuit RST3 that detects an increase in the power supply voltage when the power is turned on and generates a reset signal SYS (CPU reset signal). This CPU reset signal SYS is transmitted to the sound circuit SND of the performance interface board 22 and the composite chip 50 of the performance control board 23, thereby synchronously resetting the power supply of each electronic element. As will be described later, if the program processing of the CPU circuit 51 enters an infinite loop state, a watchdog timer 58 (see FIG. 4(a)) built into the CPU circuit 51 is activated, and the sound circuit SND and the composite chip 50 are synchronously reset to an abnormal state.

[0040] Next, the dispensing control board 25, which is the frame side member GM1, is directly connected to the power supply board 20 without an intermediate board, and receives the same power supply abnormality signal ABN2 as the main control unit 21 receives, and the backup power supply BAK, along with other power supply voltages. In addition, the main control unit 21 and the dispensing control unit 25 are each equipped with reset circuits RST1 and RST2, which generate a power supply reset signal when the power is turned on, and are configured to reset the power supply of each computer circuit.

[0041] In this embodiment, the reset circuits RST1 to RST3 are arranged in the main control unit 21, the payout control unit 25, and the performance interface board 22, respectively, and the CPU reset signal SYS is not transmitted between the circuit boards. In other words, since there is no wiring cable for transmitting the CPU reset signal SYS, the risk of the computer circuit being abnormally reset by noise superimposed on the wiring cable is eliminated.

[0042] However, the reset circuits RST1, RST2 provided in the main control unit 21 and the dispensing control unit 25 each have a built-in watchdog timer, and if they do not receive a regular clear pulse from the CPU of each control unit 21, 25, each CPU is forcibly reset.

[0043] Furthermore, main control unit 21 is provided with an initialization switch SW that can be operated by an attendant, and is configured to output a RAM clear signal CLR indicating whether or not the initialization switch SW has been turned ON when the power is turned on. This RAM clear signal CLR is transmitted to the one-chip microcomputers of main control unit 21 and dispensing control unit 25, and determines whether or not the entire area of ​​the built-in RAM of the one-chip microcomputer of each control unit 21, 25 should be initialized.

[0044] Furthermore, the main control unit 21 and the payout control unit 25 start the necessary termination process prior to a power outage or closing of business by receiving the power supply abnormality signals ABN1, ABN2 from the power supply board 20. The backup power supply BAK is a DC 5V DC power supply that retains the data in the built-in RAM of the one-chip microcomputer of the main control unit 21 and the payout control unit 25 even after the AC power supply 24V is cut off due to closing of business or a power outage. Therefore, the main control unit 21 and the payout control unit 25 can resume the gaming operation before the power cutoff after the power is turned on (power supply backup function). This pachinko machine is designed to retain the memory contents of the RAM of each one-chip microcomputer for at least several days.

[0045] As shown in Fig. 3, the main control unit 21 receives a prize ball count signal indicating the payout operation of game balls, a status signal CON related to abnormalities in the payout operation, and an operation start signal BGN from the payout control unit 25. The status signal CON includes, for example, a supply shortage signal, a payout shortage error signal, and a lower tray full signal. The operation start signal BGN is a signal that notifies the main control unit 21 that the initial operation of the payout control unit 25 has been completed after the power is turned on.

[0046] The main control unit 21 is also connected to each game component of the game board 5 via the game board relay board 32. It receives switch signals from detection switches built into each winning hole 16-18 on the game board, while driving solenoids such as electric tulips. The solenoids and detection switches are configured to operate on the power supply voltage VB (12V) distributed from the main control unit 21. Each switch signal indicating the winning status of the symbol start hole 15 is converted to a TTL level or CMOS level switch signal by an interface IC that operates on the power supply voltage VB (12V) and the power supply voltage Vcc (5V), and then transmitted to the main control unit 21.

[0047] As explained earlier, the performance interface board 22, performance control board 23 and LCD interface board 24 are integrated together by connector connections, and the performance interface board 22 receives various levels of DC voltage (5V, 12V, 32V) from the power supply board 20 via the power supply relay board 34 (see Figures 3 and 4(a)).

[0048] As shown in Fig. 3, the performance interface board 22 receives the control command CMD and the strobe signal STB from the main control unit 21 and transfers them to the performance control board 23. More specifically, as shown in Fig. 4(a), the control command CMD and the strobe signal STB are transferred to the composite chip 50 (CPU circuit 51) of the performance control board 23 via the input buffer 40.

[0049] On the other hand, the CPU reset signal SYS generated by the reset circuit RST3 is supplied to the composite chip 50, and is also supplied to the audio circuit SND such as the audio processor 27 via the OR circuit G1. As shown in the figure, the underflow signal UF of the WDT circuit 58 is also supplied to the OR circuit G1, and when either of the two signals SYS and UF becomes active level, the audio circuit SND becomes in a reset state in synchronization with the composite chip 50 (power reset / abnormal reset). As will be described later with reference to FIG. 4(b), when the underflow signal UF becomes active level, the internal circuit of the composite chip 50 is automatically abnormally reset. The internal circuit of the composite chip 50 that is abnormally reset includes the CPU circuit 51 and the internal circuit of the VDP circuit 52, and the audio circuit SND that is abnormally reset in synchronization includes the audio processor 27 and the audio memory 28.

[0050] 4(a), the input buffer 44 of the performance interface board 22 receives switch signals of the chance button 11 and the volume switch VLSW from the frame relay boards 35, 36, and transmits each switch signal to the CPU circuit 51 of the performance control board 23. Specifically, it transmits to the CPU circuit 51 a 3-bit length of the encoder output indicating the contact position (0 to 7) of the volume switch VLSW, and a 1-bit length indicating the ON / OFF state of the chance button 11.

[0051] The performance interface board 22 is also connected to the lamp drive board 30 and the motor lamp drive board 31, and is also connected to the lamp drive board 37 via the frame relay boards 35 and 36. As shown in the figure, an output buffer 42 is arranged corresponding to the lamp drive board 30, and an input buffer 43a and an output buffer 43b are arranged corresponding to the motor lamp drive board 31. For convenience, the input buffer 43a and the output buffer 43b are collectively referred to as the input / output buffer 43 in FIG. 4(a). The input buffer 43a receives the outputs SN0 to SNn of the origin sensor that grasps the current position of the role object, which is the movable performance body (the rotational position of the performance motors M1 to Mn), and transmits them to the CPU circuit 51 of the performance control board 23.

[0052] The lamp drive board 30, the motor lamp drive board 31, and the lamp drive board 37 are equipped with the same type of driver IC, and the performance interface board 22 transfers the serial signal received from the performance control board 23 to each driver IC. The serial signal is specifically a lamp (motor) drive signal SDATA and a clock signal CK, and the drive signal SDATA is transmitted to each driver IC in a clock synchronization system, and lamp performances using a large number of LED lamps and electric lamps, and role-play performances using performance motors M1 to Mn are executed.

[0053] In this embodiment, the lamp effects are performed by three lamp groups CH0 to CH2, and the lamp drive board 37 receives the lamp drive signal SDATA0 of CH0 in synchronization with the clock signal CK0 via the frame relay boards 35 and 36. The series of lamp drive signals SDATA0 transmitted as serial signals are output from the driver IC to the lamp group CH0 at the timing when the operation control signal ENABLE0 changes to the active level, thereby updating the lighting state of all the lamps at once.

[0054] The above points also apply to the lamp driving board 30, where the driver IC of the lamp driving board 30 receives the lamp driving signal SDATA1 for the lamp group CH1 in synchronization with the clock signal CK1, and simultaneously updates the lighting state of the lamp group CH1 when the operation control signal ENABLE1 changes to the active level.

[0055] Meanwhile, the driver IC mounted on the motor lamp drive board 31 drives the lamp group CH2 by receiving a lamp drive signal transmitted in clock synchronous mode, and drives the performance motor group M1 to Mn, which is composed of a plurality of stepping motors, by receiving a motor drive signal transmitted in clock synchronous mode. The lamp drive signal and the motor drive signal are a series of serial signals SDATA2, which are serially transmitted in synchronization with the clock signal CK1, and the driver IC that receives them updates the drive state of the lamp group CH2 and the motor group M1 to Mn at the timing when the operation control signal ENABLE2 changes to the active level.

[0056] Next, the audio circuit SND will be described. As shown in Fig. 4(a), the performance interface board 22 is equipped with an audio processor (audio synthesis circuit) 27 that reproduces an audio signal based on an instruction received from the CPU circuit 51 (performance control CPU 63) of the performance control board 23, an audio memory 28 that stores compressed audio data, which is the original data of the reproduced audio signal, and a digital amplifier 29 that receives the audio signal output from the audio processor 27.

[0057] The audio processor 27 accesses the audio memory 28 based on the operating parameters (values ​​set by audio commands) received from the performance control CPU 63 in an internal audio control register, and reproduces and outputs the required audio signals. As shown in FIG. 4(a), the audio processor 27 and the audio memory 28 are connected by a 26-bit audio address bus and a 16-bit audio data bus. Therefore, the audio memory 28 has a capacity of 1 Gbit (=2 26 *16) data can be stored.

[0058] In this embodiment, the compressed audio data stored in the audio memory 28 is phrase compressed data specified by a 13-bit phrase number NUM (000H to 1FFFH). A maximum of 8192 types (=2 13 ), each of which is stored corresponding to a phrase number NUM. The phrase number NUM is specified by a setting value (operation parameter) of a voice command transmitted from the performance control CPU 63 to a voice control register of the voice processor 27.

[0059] 4(a), the data bus and address bus of the CPU circuit 51 of the performance control unit 23 also extend to the clock circuit (real time clock) 38 and performance data memory 39 mounted on the liquid crystal interface board 24. The clock circuit 38 is connected to the lower 4 bits of the address bus and the lower 4 bits of the data bus of the CPU circuit 51, and is configured so that the CPU circuit 51 can access it at will. The performance data memory 39 is a high-speed accessible memory element SRAM (Static Random Access Memory), and is connected to 16 bits of the address bus and the lower 16 bits of the data bus of the CPU circuit 51, so that the game performance information and other information stored therein can be appropriately read / written accessed by the CPU circuit 51.

[0060] The clock circuit 38 and the performance data memory 39 are driven by a secondary battery (not shown), and this secondary battery is appropriately charged during game operation by the power supply voltage from the power supply board 20. Therefore, even after the power is cut off, the timekeeping operation of the clock circuit 38 continues, and the game performance information stored in the performance data memory 39 is permanently stored and held (non-volatile).

[0061] As shown on the right side of Figure 4(a), the performance control board 23 is equipped with a composite chip 50 incorporating a CPU circuit 51 and a VDP circuit 52, a control memory (PROM) 53 that stores the control program for the CPU circuit 51, a DRAM (Dynamic Random Access Memory) 54 that can access large amounts of data at high speed, and a CGROM 55 that stores large amounts of CG data required for performance control.

[0062] 5(a) is a circuit block diagram illustrating the composite chip 50 constituting the performance control unit 23, including related circuit elements. As shown in the figure, the composite chip 50 of the embodiment includes a built-in CPU circuit 51 that issues a display list DL at predetermined time intervals, and a VDP circuit 52 that generates image data based on the issued display list DL to drive the display devices DS1 and DS2. The built-in CPU circuit 51 and the VDP circuit 52 are connected via a CPUIF circuit 56 that relays the data transmitted and received by each other.

[0063] Incidentally, the VDP circuit 52 has a built-in audio circuit SND that performs the same function as the audio processor 27, but in the first embodiment described below, the audio circuit SND is not used. However, if the audio circuit SND built into the VDP circuit 52 is used as in the last embodiment described below, the arrangement of the audio memory 28 and audio processor 27 becomes unnecessary.

[0064] A control memory (PROGRAM_ROM) 53 for non-volatilely storing a control program and necessary control data, and a work memory (RAM) 57 having a storage capacity of about 2 MB are connected to the CPUIF circuit 56, and each of them is configured to be accessible from the built-in CPU circuit 51. A DL buffer BUF for temporarily storing a display list DL in which a series of instruction commands for specifying each frame of the display devices DS1 and DS2 is written is secured in the work memory (RAM) 57.

[0065] In this embodiment, the series of instruction commands include texture load commands such as a TXLOAD command for reading image material (texture) from CGROM 55 and decoding (expanding), texture setting commands such as a SETINDEX command having the function of specifying in advance the VRAM area (index space) to decode (expand), primitive drawing commands such as a SPRITE command for placing the image material after decoding (expanding) at a predetermined position in the virtual drawing space, environment setting commands such as a SETDAVR command and a SETDAVF command for specifying the drawing area in which the image drawn in the virtual drawing space by the drawing commands will actually be drawn on the display device, and an index table control command (WRIDXTBL) related to the index table IDXTBL which manages the index space.

[0066] Figure 7(c) shows the relationship between the virtual drawing space (horizontal X direction ±8192: vertical Y direction ±8192), the drawing area that can be arbitrarily set within the virtual drawing space, and the actual drawing area in frame buffers FBa and FBb that temporarily store image data to be output to display devices DS1 and DS2.

[0067] The built-in CPU circuit 51 is a circuit with performance equivalent to that of a general-purpose one-chip microcomputer, and is composed of a performance control CPU 63 that performs overall control of image performance based on the control program in the control memory 53, a watchdog timer (WDT) 58 that forcibly resets the CPU if the program goes out of control, a RAM 59 with a storage capacity of approximately 16k bytes that is used as a working area for the CPU, a DMAC (Direct Memory Access Controller) 60 that realizes data transfer without passing through the CPU 63, a serial input / output port (SIO) 61 having multiple input ports Si and output ports So, and a parallel input / output port (PIO) 62 having multiple input ports Pi and output ports Po.

[0068] For convenience, the term "input / output port" is used, but the input / output port includes an input port and an output port that operate independently in the performance control unit 23. This also applies to the input / output circuit 64p and the input / output circuit 64s described below.

[0069] The parallel input / output port 62 is connected to an external device (performance interface board 22) through an input / output circuit 64p, and the performance control CPU 63 receives the 3-bit encoder output of the volume switch VLSW, the switch signal of the chance button 11, the control command CMD, and the interrupt signal STB through the input circuit 64p. The 3-bit encoder output and 1-bit switch signal are supplied to the parallel input / output port (PIO) 62 through the input / output circuit 64p.

[0070] Similarly, the received control command CMD is supplied to the parallel input / output port (PIO) 62 via the input / output circuit 64p. The strobe signal STB is also supplied to the interrupt terminal of the performance control CPU 63 via the input / output circuit 64p, thereby starting the reception interrupt process. Therefore, the performance control CPU 63, which has grasped the control command CMD based on the reception interrupt process, will perform a performance lottery and the like to uniformly control the sound performance, lamp performance, motor performance, and image performance corresponding to this control command CMD.

[0071] Although not particularly limited, in this embodiment, an SMC (Serial Management Controller) 78 of the VDP circuit 52 is used for lamp and motor performance. The SMC 78 is a composite controller incorporating an LED controller and a Motor controller, and is configured to be able to output a serial signal in a clock synchronous manner. The Motor controller is configured to be able to output a latch pulse at any timing based on a set value in a predetermined control register 70, and is also configured to be able to input a serial signal in a clock synchronous manner.

[0072] Therefore, in this embodiment, the motor drive signal and the LED drive signal are output from the SMC unit 78 in synchronization with the clock signal, while the latch pulse is output as the operation control signal ENABLE at an appropriate timing. Also, the origin sensor signals SN0 to SNn from the performance motor groups M1 to Mn are configured to be input serially in a clock synchronization method.

[0073] 4(a), the clock signals CK0-CK2, the drive signals SDATA0-SDATA2, and the operation control signals ENABLE0-ENABLE2 are transmitted to the predetermined drive boards 30, 31, and 37 via the output buffers 41-43. Also, the origin sensor signals SN0-SNn are serially input from the motor lamp drive board 31 to the SMC unit 78 via the input / output buffer 43.

[0074] However, in this embodiment, it is not essential to use the SMC unit 78. That is, since the CPU circuit 51 has a general-purpose serial input / output port SIO61 built in, it is also possible to use these to execute lamp effects and motor effects.

[0075] 5(a), the configuration shown by the dashed lines outputs clock signals CK0-CK2 and drive signals SDATA0-SDATA2 via an input / output circuit 64s internally connected to a serial input / output port SIO61, and outputs operation control signals ENABLE0-ENABLE2 via an input / output circuit 64p. Note that, for convenience, these are referred to as input / output ports and input / output circuits, but it is the output ports and output circuits that actually function.

[0076] Here, the serial output port SO is configured to incorporate a 16-stage FIFO register. The DMAC circuit 60 is configured to start upon receiving an operation start instruction (see ST18 in FIG. 10(b)) from the performance control CPU 63, read out the necessary drive data in order from the lamp / motor drive table (see FIG. 10(b)), and transfer the data by DMA to the FIFO register of the serial output port SO. The drive data stored in the FIFO register is serially output from the serial output port SO in a clock synchronous manner. The DMAC circuit has multiple DMA channels (for example, 4), and is configured to transfer lamp drive data by DMA on the first DMA channel, and motor drive data by DMA on the second DMA channel.

[0077] Next, the WDT circuit 58 provided in the built-in CPU circuit 51 is configured to have a WDT counter that performs down-counting operation based on the set values ​​of multiple control registers (such as a WDT control register) accessible from the performance control CPU 63. This WDT counter starts from a predetermined initial value, counts down toward zero in a predetermined operating cycle, and is configured to generate an internal interrupt (WDT interrupt) and output an underflow signal UF at an active level when the down-count value reaches zero.

[0078] As explained above with reference to Fig. 4(a), the underflow signal UF is transmitted to each section via the OR circuit G1, and resets the composite chip 50 and the sound circuit SND in synchronization. However, the performance control CPU 63 writes a predetermined 1-bit value to the initialization bit of the WDT control register every predetermined time (for example, 1 / 30 seconds) (see ST14 in Fig. 10) to return the counter value to its initial value, thereby avoiding the occurrence of the above-mentioned abnormal reset. When the counter value of the WDT counter returns to its initial value, the initialization bit also returns to its original value.

[0079] In this manner, in this embodiment, the performance control CPU 63 only needs to write access the initialization bit (1 bit) of the WDT control register, and does not need to output a clear pulse to the reset circuits RST1, RST2, as does the CPU of the main control unit 21 and the payout control unit 25, thereby reducing the control burden accordingly.

[0080] In addition, in this embodiment, as described below, when an underflow abnormality occurs, the entire combined chip 50 is configured to automatically enter a reset state by hardware processing. Here, the reset state means that the internal circuits of the built-in CPU circuit 51 and the VDP circuit 52 are returned to the same initial state as when the power was turned on, and the values ​​of the multiple control registers that control the built-in CPU circuit 51 and the numerous control registers RGij (control register group 70 shown in FIG. 5) that control the operation of the VDP circuit 52 are all reset to their initial values ​​(default values) without going through software processing.

[0081] These control registers, register, RGij, are each configured to be write-accessible from the performance control CPU 63, and there is a possibility that they may be erroneously set to irrational values ​​due to the influence of noise, etc., but by abnormally resetting the composite chip 50, these values ​​are automatically returned to default values ​​without going through software processing, thereby eliminating the abnormal state. This also applies to the audio circuit SND, and when the composite chip 50 is abnormally reset, the internal circuitry of the audio circuit SND is returned to its initial state, and the value of the audio control register is automatically returned to its default value.

[0082] Fig. 4(b) is a diagram explaining the configuration related to this WDT operation and the reset mechanism characteristic of this embodiment. In the following explanation of the reset mechanism, the register indicated as RGij does not mean a control register built into the CPU circuit 51, but any one of the control register group 70 (see Fig. 5) that controls the internal operation of the VDP circuit 52. Also, the system control circuit 520 shown in Fig. 4(b) means the internal control circuit of the VDP circuit 52 that functions based on the set value in the VDP register RGij (any one of the control register group 70 in Fig. 5) (see Fig. 5(a)).

[0083] 4(b), the composite chip 50 is configured so that the internal circuit can be reset via three OR gates G2 to G4. A pattern check circuit CHK is provided between the built-in CPU circuit 51 and the VDP circuit 52, and the pattern check circuit CHK is configured to output a reset signal RST on condition that a predetermined keyword string (encryption string for resetting) is received from the parallel input / output port (PIO) 62.

[0084] The internal circuitry of the composite chip 50 is divided into three parts: (1) the built-in CPU circuit 51, (2) the display circuit 74 of the VDP circuit 52, and (3) the circuit other than the display circuit in the VDP circuit 52. Each part is configured to receive reset signals from the first reset path to the third reset path from OR gates G2 to G4.

[0085] The OR gate G2 is associated with the first reset path, and is configured to receive the system reset signal SYS and the underflow signal UF, and to be able to perform a system reset (power reset or abnormality reset) of the entire built-in CPU circuit 51 based on OR logic. The OR gate G3 is associated with the second reset path, and is configured to be able to receive the system reset signal SYS, the underflow signal UF, and the reset signal RST from the pattern check circuit CHK, and to be able to reset the entire VDP circuit 52 based on OR logic.

[0086] The first reset path and the second reset path are used to return the entire composite chip 50 to an initial state at the time of power reset when the power is turned on or at the time of abnormal reset when a program runaway activated by the WDT circuit 58 is detected. The display circuit 74 is abnormally reset via the second reset path → third reset path via the OR gate G4.

[0087] In addition, in this embodiment, a pattern check circuit CHK capable of outputting a reset signal RST is provided, so that the performance control CPU 63 can reset the entire VDP circuit 52 when necessary. As a specific use, when it is determined that a serious abnormality has occurred based on a predetermined status register RGij indicating the internal operation of the VDP circuit 52, the pattern check circuit CHK generates a reset signal RST to reset the entire VDP circuit 52. If it is desired to reset the built-in CPU circuit 51 as well, an infinite loop process is entered to start the WDT circuit 58, and the entire composite chip 50 is reset via the first reset path and the second reset path.

[0088] In this embodiment, the internal circuits built in the VDP circuit 52 are configured to be able to be individually reset when necessary via the fourth reset path. The internal circuits that can be individually reset include the index table IDXTBL, data transfer circuit 72, preloader 73, display circuit 74, drawing circuit 76, SMC circuit 78, and audio circuit SND shown in Fig. 5(a), and the ICM circuit shown in Fig. 8.

[0089] The method for realizing an individual reset operation is as described at the bottom of FIG. 4(b). For example, the display circuit 74 is reset via the fourth reset path 4A → the third reset path by writing a first reset value to a predetermined VDP register RGij (system command register).

[0090] Furthermore, each internal circuit (72, 73, 74, 76, SND, ...) of the VDP circuit 52 is individually reset by (1) writing a setting value that identifies the target circuit to the first VDP register RGij (reset RQ register), and then (2) writing a second reset value to a specific VDP register RGij (system command register) (fourth reset path 4B). Although not used in this embodiment, the audio circuit SND can be reset not only by the fourth reset path 4B, but also by writing a reset value to a specific VDP register (circuit setting command register) (fourth reset path 4C).

[0091] Since this embodiment has the above configuration, not only the entire VDP circuit 52 is automatically returned to the initial state when the power is turned on or the program runs out of control, but also each part can be returned to the initial state as necessary to recover from an abnormal situation. For example, when the drawing circuit 76 freezes due to no read / write access to the built-in VRAM 71 for a certain period of time, the drawing circuit 76 is initialized individually via the fourth reset path 4B (see FIG. 10(d)). The same is true for the preloader 73 and the data transfer circuit 72, and when a certain abnormality occurs, the preloader 73 is initialized via the fourth reset path 4B (see ST27 in FIG. 17), and the data transfer circuit 72 is initialized via the fourth reset path 4B (see FIG. 12 and ST27 in FIG. 17).

[0092] In addition, when an underrun abnormality continues in which the generation of display data does not keep up with the display timing every 1 / 60 seconds, the display circuit 74 is individually initialized via the fourth reset path 4A or the fourth reset path 4B (see ST10c in FIG. 10). These individual reset operations will be described in more detail later in relation to the program processing described in FIG. 10 and subsequent figures.

[0093] Having explained above the reset mechanism characteristic of this embodiment, we will now return to the internal configuration of the CPU circuit 51. First, the DMAC circuit 60 is a circuit that repeats data transfers from a source to a destination in a predetermined DMA transfer mode for a predetermined number of times for each predetermined data transfer unit, based on the set values ​​in a predetermined operation control register.

[0094] For example, in an embodiment where the serial output port SO functions (see the dashed line in FIG. 5(a)), the operation control register of the CPU circuit 51 is specified with the top address of the lamp / motor drive table (top value of the source address), the address of the input register of the serial output port SO (fixed value of the destination address), the data transfer unit (8 bits), and the number of transfers. Then, upon receiving an operation start instruction from a specific operation control register, the DMAC circuit 60 DMA transfers the drive data to the specific destination address while updating the source address.

[0095] This is almost the same in the embodiment (FIG. 13, FIG. 17(c)) in which the DMAC circuit 60 issues the display list DL. That is, the performance control CPU 63 sets the start address of the transfer source (DL buffer BUF), the address of the transfer destination (transfer port TR_PORT), the DMA transfer mode, the data transfer unit, the number of transfers, and other conditions in a predetermined operation control register of the CPU circuit 51. These points will be described further below with reference to FIG. 13.

[0096] Generally, DMA transfer modes include a cycle steal transfer mode in which the DMA operation does not occupy the memory bus, such as by releasing bus control rights in the middle of a unit operation (R operation / W operation) of a DMA transfer, a burst transfer (pipeline transfer) mode in which the bus control rights are not released until a specified number of transfers are completed, such as by consecutively performing multiple R operations or W operations, and a demand transfer mode in which the DMA operation continues while a DMA transfer request (demand) received from another device is active. However, the DMAC circuit 60 of this embodiment functions in a cycle steal transfer mode that provides at least one cycle of memory release period between the read access start (R operation) and the write access start (W operation) during DMA transfer, thereby preventing any disruption to the operation of the performance control CPU 63.

[0097] Figure 6 is a diagram explaining cycle steal transfer operation (a) and pipeline transfer (b). As shown in Figure 6(a), the DMAC circuit 60 functioning in cycle steal transfer mode operates with at least one cycle between the read access start (R) and write access start (W) of one data transfer, and during this empty cycle, the performance control CPU 63 can use the bus. As is clear from the comparison between Figures 6(a) and (b), in pipeline transfer, the bus is not released to the CPU until one cycle (one operand transfer) is completed, whereas in cycle steal transfer mode, the bus is released to the CPU for each read access, so the operation of the CPU does not slow down significantly.

[0098] For example, in an embodiment in which the DMAC circuit 60 is used when issuing a display list DL to the VDP circuit 52, the data transfer unit (one operand) for one cycle is set to 32×2 bits, and the source address of the internal RAM 59 in which the display list DL is stored is appropriately increased (+8 for each operand transfer), while a DMA transfer operation is performed for the transfer port register TR_PORT (see FIG. 8) of the data transfer circuit 72 specified by a fixed address.

[0099] As will be described later, in this embodiment, the total data size is adjusted to a fixed value (for example, 4 x 64 = 256 bytes, or an integer multiple thereof) by adding a required number of NOP (no operation) commands to the display list DL, and the issuance of the display list DL is completed by repeating one operand transfer of 32 bits x 2 times 32 times (or an integer multiple thereof). Note that even if the drawing circuit 76 executes a NOP command, no change actually occurs.

[0100] Next, the VDP circuit 52 will be described. The VDP circuit 52 is connected to a CGROM 55 that stores compressed data that is a component of still images and moving images that compose the image presentation, an external DRAM (Dynamic Random Access Memory) 54 with a storage capacity of about 4 Gbit, a main display device DS1, and a sub display device DS2. The DRAM 54 is preferably configured with a DDR (Double-Data-Rate SDRAM).

[0101] Although not particularly limited, in this embodiment, the CGROM 55 is configured as a flash SSD (solid state drive) composed of a NAND type flash memory with a storage capacity of about 62 Gbit, and is configured to obtain the necessary compressed data by serial transmission. Therefore, the problem of skew (difference in transmission speed for each bit data) that inevitably occurs in parallel transmission is eliminated, and extremely high-speed transmission operation is possible. Although not particularly limited, in this embodiment, the CGROM 55 is accessed at high speed by an HSS (High Speed ​​Serial) method conforming to Serial ATA.

[0102] Regardless of whether or not the HSS method conforming to SerialATA is adopted, NAND type flash memory is more mechanically stable than a hard disk and allows high-speed access, but since it is a sequential access memory, it has problems with random access compared to DRAM and SRAM (Static Random Access Memory). Therefore, in this embodiment, a preload operation is performed in which a group of compressed data (CG data) is read into the DRAM 54 prior to the drawing operation, thereby realizing smooth random access of the CG data during the drawing operation. Incidentally, the access speed is slower in the following order: built-in VRAM > external DRAM > CGROM.

[0103] In detail, the VDP circuit 52 comprises a control register group 70 in which various operating parameters that define the operation of the VDP (Video Display Processor) can be set by the performance control CPU 63; an internal VRAM (video RAM) 71 of about 48 MB that is used when generating image data to be displayed on the display devices DS1 and DS2; a data transfer circuit 72 that executes data transmission and reception between each section inside the chip and data transmission and reception with the outside of the chip; an index table IDXTBL that can specify address information of a source and a destination for the internal VRAM 71; a preloader 73 that can execute a preload operation to read access the CGROM 55 prior to a drawing operation; a graphics decoder (GDEC) 75 that decodes (decodes and expands / expands) compressed data read from the CGROM 55; a drawing circuit 76 that generates image data for one frame of each of the display devices DS1 and DS2 by appropriately combining still image data and video data after decoding (expanding); The display circuit 74A-74C has three systems (A / B / C) capable of reading out the image data and executing appropriate image processing in parallel, an output selection section 79 that appropriately selects and outputs the output of the three systems (A / B / C) of the display circuit 74, an LVDS section 80 that converts the image data output by the output selection section 79 into an LVDS signal, an SMC section 78 that can transmit and receive serial data, a CPUIF section 81 that relays data transmission and reception with the CPUIF circuit 56, a CG bus IF section 82 that relays data reception from the CGROM 55, a DRAMIF section 83 that relays data transmission and reception with the external DRAM 54, and a VRAMIF section 84 that relays data transmission and reception with the built-in VRAM 71. An audio circuit SND is also built in.

[0104] 5(b) illustrates the relationship between the CPUIF unit 81, the CG bus IF unit 82, the DRAMIF unit 83, and the VRAMIF unit 84 and the control register group 70, the CGROM 55, the DRAM 54, and the built-in VRAM 71. As illustrated, the CG data acquired from the CGROM 55 is transferred, for example, as preload data to the preload area of ​​the external DRAM 54 via the data transfer circuit 72 and the DRAMIF unit 83.

[0105] However, the above-mentioned preload operation is not an essential operation, and the data transfer destination is not limited to the external DRAM 54, and may be the built-in VRAM 71. Therefore, for example, in an embodiment in which the preload operation is not executed, the CG data is transferred to the built-in VRAM 71 via the data transfer circuit 72 and the VRAMIF unit 84 (FIG. 5(b)).

[0106] In this embodiment, the built-in VRAM 71 requires a decompression area for compressed data read from the CGROM 55, a frame buffer area for storing image data specifying each ARGB information (32 bit = 8 × 4) of W × H display pixels of the display device, and a Z buffer area for storing depth information of each display pixel. In the ARGB information, A means 8-bit alpha plane data, and RGB means 8-bit data of the three primary colors.

[0107] Here, each of the above-mentioned areas of the built-in VRAM 71 is indirectly accessed based on the various instruction commands (such as the textures and sprites mentioned above) written in the display list DL by the performance control CPU 63, but it would be cumbersome to specify the destination address and source address of the built-in VRAM 71 each time for that READ / WRITE access. Therefore, in this embodiment, in the initial processing after the CPU is reset, a one-dimensional or two-dimensional logical memory space (hereinafter referred to as index space) required for drawing operations is secured, and an index number is assigned to each index space, making it possible to access based on the index number.

[0108] Specifically, after the CPU is reset, the internal VRAM 71 is roughly divided into three types of memory areas, and the required number of index spaces are secured in each memory area. Then, an index table IDXTBL (see FIG. 7(a)) that associates and stores the index spaces with index numbers is constructed, thereby realizing subsequent operations based on the index numbers.

[0109] This index space needs to be added after (1) initial processing, or conversely, to be released (2). Therefore, a flag area FG is provided in the index table IDXTBL, which can determine whether the timing for adding / release processing is possible or not, and whether the processing such as adding / release has actually been completed or not, during the operation of the performance control CPU 63 for adding / release. The built-in VRAM 71 is roughly divided into three types of memory areas, namely, two AAC areas (a1, a2), a page area (b), and an arbitrary area (c), which will be described below, and the index table IDXTBL is divided into three areas corresponding to the three types of memory areas (a1, a2), (b), and (c) (FIG. 7(a)). As shown in the figure, in this embodiment, the first AAC area (a1) and the second AAC area (a2) are secured as the AAC area (a), but this is not particularly limited, and only one of them may be used. In the following description, the first and second AAC areas (a1, a2) may be collectively referred to as AAC area (a).

[0110] In this embodiment, the built-in VRAM 71 is configured to be divisible into (a) an AAC area in which an index space and its index number are automatically assigned by internal processing and which has a memory cache function, (b) a page area in which an index space can be secured within an integer multiple of a two-dimensional space of, for example, 4096 bits x 128 lines, and (c) an arbitrary area in which the start address (space start address) STx and horizontal size Hx can be set arbitrarily (see FIG. 7(b)). However, in order to facilitate the internal operation of the VDP circuit 52, the space start address STx of the index space arbitrarily set in the arbitrary area (c) must have the lowest 11 bits 0 and be in units of a predetermined number of bits (2048 bits = 256 bytes).

[0111] After the CPU is reset, the maximum value of the memory space required for each and the area start address (lower 11 bits = 0) are specified, and the AAC area (a1), the second AAC area (a2), and the page area (b) are secured, and the remaining memory area becomes the arbitrary area (c). In order to facilitate the internal operation of the VDP circuit 52, the maximum value of the memory space of the AAC area is specified in units of 2048 bits, and the maximum value of the memory space of the page area is an integer multiple of the unit space of 4096 bits x 128 lines described above.

[0112] Next, the necessary number of index spaces are set in each of the areas (a1, a2), (b), and (c) thus secured. When the arbitrary area (c) is used, in order to facilitate the internal operation of the VDP circuit 52, the horizontal size Hx of the index space that handles two-dimensional data can be arbitrarily set as a multiple of 256 bits, while its vertical size is a fixed value (for example, 2048 lines).

[0113] In any case, the first and second AAC areas (a1, a2) are automatically assigned index spaces and index numbers by the VDP circuit 52, so if the decoding destination is specified as the AAC area (a) by the SETINDEX command, which is a texture setting command, then it is sufficient to specify the source address of the CGROM 55 and the horizontal and vertical size after expansion (decoding) in the TXLOAD (texture load) command that reads CG data from the CGROM 55. Therefore, in this embodiment, the decoding destination is set to the AAC area (a) for still images (textures) such as characters that appear temporarily during preview performances, and I-stream moving images.

[0114] Since both of these AAC areas (a) are provided with a memory cache function, for example, when the same texture of CGROM55 is read into AAC area (a) multiple times, the decoded data cached in AAC area (a) can be used from the second time onwards, and unnecessary READ access and decode processing can be suppressed. However, when AAC area (a) is used up, old data is automatically destroyed, so in this embodiment, when AAC area (a) is used, the first AAC area (a1) is used as a general rule, and only specific textures that are used repeatedly are acquired in the second AAC area (a2).

[0115] Examples of textures that are used repeatedly include characters that appear repeatedly during a specific preview performance, background images when constructing a background screen with still images, etc. In such cases, the SETINDEX command, which is a texture setting command, sets the decoding destination to the second AAC area (a2), and after the TXLOAD command decodes the textures such as the characters and background images into the second AAC area (a2), the second AAC area (a2) is not used to protect the decoded results.

[0116] Then, when the same TXLOAD command is executed to reacquire the acquired texture after specifying the second AAC area (a2) as the decoding destination by the SETINDEX command, the acquired texture will hit the cache, so that it is possible to eliminate the read access to the CGROM 55 and the time required for the decoding process. As will be described later, such a cache hit function is also exhibited by the preload data pre-read into the preload area, but the significance is that the preload data that hits the cache in the preload area is compressed data before decoding, whereas the cache hit in the AAC area is expanded data after decoding.

[0117] Incidentally, texture is generally a concept that refers to the feel and texture of an object's surface, but in this specification, it is used to include not only sprite image data that makes up a still image, image data that makes up one frame of a video, and image data that is pasted onto drawing primitives such as triangles and rectangles, but also image data after decoding. When copying image data within the built-in VRAM 71 (hereinafter, for convenience, referred to as moving), the source image data is set as a texture by the SETINDEX command, which is a texture setting command, and then the SPRITE command is executed.

[0118] Note that when a SPRITE command is executed, the source Source image data is technically rendered in the virtual rendering space shown in Figure 7(c); however, if the correspondence between the rendering area in the virtual rendering space that is actually rendered on the display device, and the index space that serves as the frame buffer has been set beforehand using environment setting commands (SETDAVR, SETDAVF) or texture setting commands (SETINDEX), then, for example, when drawing into the virtual rendering space with the SPRITE command, the source Source image data will be rendered in a specified index space (frame buffer) (see Figure 7(c)).

[0119] In any case, in this embodiment, the built-in VRAM 71 is roughly divided into an AAC area (a1, a2), a page area (b), and an arbitrary area (c), and an appropriate number of index spaces can be secured for each area, and each index space is specified by an independent index number for each area (a), (b), and (c). The index number is, for example, 1 byte long, and the performance control CPU 63 can freely assign index numbers within the range of 0 to 255 to the page area (b) and arbitrary area (c) (excluding the AAC area (a) which is automatically assigned by the internal circuit).

[0120] Therefore, in this embodiment, as shown in Fig. 7(a), a pair of frame buffers FBa is reserved in the arbitrary area (c) for the display device DS1, and index numbers 255 and 254 are assigned to both of the double buffer structure. That is, index space 255 and index space 254 are reserved as frame buffer FBa for the main display device DS1, which are switched in a toggle manner. Although not particularly limited, these index spaces 255 and 254 have a horizontal size of 1280 corresponding to the number of horizontal pixels of the display device DS1. Note that each pixel is specified by 32 bits of ARGB information, so the horizontal size 1280 means 32 x 1280 = 40960 bits (a multiple of 256 bits).

[0121] Also, for the display device DS2, another pair of frame buffers FBb are secured in the arbitrary area (c), and index numbers 252, 251 are assigned to both sides of the double buffer structure. That is, index space 252 and index space 251 are secured as frame buffer FBb for the sub display device DS2. These index spaces 252, 251 have a horizontal size of 480, corresponding to the number of horizontal pixels of the display device DS2. In this case as well, each pixel is specified by 32-bit ARGB information, so the horizontal size of 480 means 32×480=15360 bits (a multiple of 256 bits).

[0122] The frame buffers FBa and FBb are reserved in the arbitrary area (c) because the arbitrary area (c) can be set to any horizontal size as a multiple of 32 bytes (=256 bits=8 pixels), and as described above, if it is set to match the number of horizontal pixels of the display devices DS1 and DS2, no waste will occur in the reserved area. On the other hand, the page area (b) can only be set to horizontal / vertical sizes that are integer multiples of the unit space of 128 pixels x 128 lines.

[0123] However, the two-dimensional index space secured in the arbitrary area (c) has a fixed vertical size (for example, 2048 lines). Therefore, in the frame buffer FBa, only an area of ​​horizontal size 1280 × vertical size 1024 becomes the valid data area for the main display device DS1. The same is true for the sub-display device DS2, and in the frame buffer FBb, only an area of ​​horizontal size 480 × vertical size 800 becomes the valid data area for the sub-display device DS2 (see Fig. 7(c) and Fig. 10(e)).

[0124] Although the above points will be described further below, in any case, the frame buffers FBa, FBb are alternately used as the drawing area for the drawing circuit 76 with each double buffer (255 / 254, 252 / 251), and are alternately used as the display area for the display circuits 74A, 74B with each double buffer (255 / 254, 252 / 251). Note that in this embodiment, a missing number (253) occurs because a Z buffer that stores depth information of display pixels is not used, but if a Z buffer is used, the index spaces 253, 250 of index numbers 253, 250 in the arbitrary area (c) become the Z buffers for the display devices DS1 and DS2.

[0125] Furthermore, in this embodiment, when an additional index space (memory area) is reserved in the arbitrary area (c) where the frame buffers FBa and FBb are reserved, an index number starting from 0 is assigned. Although not limited in any way, in this embodiment, an index space (0) is reserved in the arbitrary area (c) as a working area for preview performance in which performance images made up of characters and other still images are made to appear in a part of the display screen in an appropriate rotational position as necessary.

[0126] However, the use of a work area is not essential, and index space may be reserved as a work area in the page area (b) instead of the arbitrary area (c). If the page area (b) is used, an index space with dimensions that are multiples of a square unit space of horizontal size 128 (=4096 bits) x vertical size 128 can be reserved, making it suitable for handling small-sized performance images.

[0127] In this embodiment, the background image is also composed of moving images, and the image presentation is realized almost entirely by moving images. In particular, during a variation presentation, a large number of moving images (usually 10 or more) are simultaneously drawn. All of these moving images are stored in the CGROM 55 in a compressed state as a series of moving image frames, and are classified into I-stream moving images composed of I-frames only, and IP-stream moving images composed of I-frames and P-frames. Here, an I-frame (Intra coded frame) means a frame in which an input image is compressed as is, independent of other screens. On the other hand, a P-frame (Predictive coded frame) means a frame in which forward predictive coding is performed, and an I-frame or P-frame located in the past in time is required.

[0128] Therefore, in this embodiment, IP stream video is expanded in the page area (b) rather than the AAC area (a) where there is a concern that old data may be destroyed. In other words, a large number of index spaces (IDXs) are allocated in the page area (b) where an index space of a multiple of 128 horizontal size x 128 vertical size can be secured. 0 ~IDX N) is secured so that a series of video frames are always decoded using the same index space IDXi corresponding to each video MVi. That is, video MV1 is expanded into index space IDX1, video MV2 is expanded into index space IDX2, and so on, video MVi is expanded into index space IDXi.

[0129] To explain the moving image MVi more specifically, the SETINDEX command specifies in advance that the decoding destination of the IP stream moving image MVi is the index space (i) of index number i in the page area (b), and then the TXLOAD command is executed to obtain one frame of the IP stream moving image MVi.

[0130] Then, one frame of video (any of a series of video frames) on CGROM 55 specified by the TXLOAD command is first retrieved into the AAC area (a), and then the retrieved one frame of video is decoded and expanded into the index space (i) of the page area (b) by the GDEC (graphics decoder) 75, which starts automatically.

[0131] On the other hand, in this embodiment, the I stream video is treated the same as a still image, and the SETINDEX command is used to specify that the I stream video MVj is decoded to the first AAC area (a1), and the TXLOAD command is executed. As a result, the video frame is acquired in the first AAC area (a1), and then the GDEC75, which starts automatically, expands the decoded data in the first ACC area (a1). As described above, the index space of the AAC area (a) is automatically generated, so there is no need to specify an index number. The expansion volume required for the index space, that is, the horizontal and vertical sizes of the decoded texture (video frame), are specified by the TXLOAD command regardless of whether the expansion destination is the AAC area (a) or the page area (b).

[0132] Incidentally, the IP stream video MVi and the I stream video MVj are generally composed of N video frames (I frames and P frames). Therefore, the TXLOAD command specifies, for example, the source address of the CGROM 55 in which the kth (1≦k≦N) video frame is stored, and the horizontal and vertical sizes after expansion. Although not limited in any way, in an embodiment in which still images are hardly used, most of the 48 MB memory space (about 30 MB) of the built-in VRAM 71 is allocated to the page area (b). In an embodiment in which still images are hardly used, only the first AAC area (a1) is reserved as the AAC area, and the second AAC area (a2) is not reserved, and the cache hit function of the AAC area described above is not utilized.

[0133] It is also possible to provide a dedicated GDEC (graphics decoder) circuit to speed up the decoding process of the compressed video data. If a dedicated GDEC circuit is built into the VDP circuit 52, it will be sufficient to specify the start address of the compressed video data to the GDEC circuit in the decoding process of the compressed video data consisting of N compressed video frames, and it will not be necessary to specify the start address for each of the N compressed video frames.

[0134] However, if multiple dedicated GDEC circuits like this are built in for each compression algorithm, the internal configuration of the VDP circuit 52 becomes even more complicated. Therefore, in this embodiment, a software GDEC is used, and decoding processing is realized by software processing corresponding to each compression algorithm for data such as IP stream video, I stream video, still images, and other α values. The difference in processing time between hardware processing and software processing is not much of a problem, and it is mainly the access (READ) time from CGROM 55 that is an issue in processing time.

[0135] Continuing with the explanation, returning to Fig. 5(a), the data transfer circuit 72 is a circuit that executes data transfer operations between a resource (storage medium) inside the VDP circuit and an external storage medium as a transfer source port and a transfer destination port in a DMA (Direct Memory Access) manner. Fig. 8 is a block diagram showing the internal configuration of this data transfer circuit 72 together with the related circuit configurations.

[0136] 8, the data transfer circuit 72 is configured to transmit and receive data to and from the CGROM 55, the DRAM 54, and the built-in RAM 71 via an integrated connection bus ICM having a router function. The CGROM 55 and the DRAM 54 are accessed via a CG bus IF unit 82 and a DMAMIF unit 83.

[0137] Meanwhile, the built-in CPU circuit 51 issues a display list DL to the drawing circuit 76 and the preloader 73 via a transfer port register TR_PORT built in the data transfer circuit 72. The built-in CPU circuit 51 and the data transfer circuit 72 are connected bidirectionally, and when issuing a display list DL, the transfer port register TR_PORT functions as a data write port that accepts one unit of data that constitutes the display list DL. The write unit (one unit data length) of the transfer port register TR_PORT is 32 bits corresponding to the FIFO structure of the CPU bus control unit 72d.

[0138] As shown in the figure, the performance control CPU 63 can access the transfer port register TR_PORT for write access via the CPUIF unit 81, but when the DMAC circuit 60 is used, the DMAC circuit 60 directly accesses the transfer port register TR_PORT for write access. The series of instruction commands written to the transfer port register TR_PORT (that is, the sequence of instruction commands that make up the display list DL) are automatically stored in 32-bit units in the CPU bus control unit 72d that has a built-in FIFO buffer with a FIFO structure (32 bits x 130 stages).

[0139] In addition, this data transfer circuit 72 performs data transmission and reception operations on the transmission paths of three channels ChA to ChC, and has a ChA control circuit 72a (N=130 stages) having a FIFO buffer with a FIFO structure (64 bit x N stages), a ChB control circuit 72b (N=1026 stages), and a ChC control circuit 72c (N=130 stages).

[0140] The instruction command sequence (display list DL) stored in the CPU bus control unit 72d is transferred to the drawing circuit 76 or the preloader 73 based on the setting value of the data transfer register RGij (one type of various control registers 70) by the performance control CPU 63. As shown by the arrows, the display list DL is configured to be transferred from the CPU bus control unit 72d to the drawing circuit 76 via the FIFO buffer of the ChB control circuit 72b, and then to the preloader 73 via the FIFO buffer of the ChC control circuit 72c.

[0141] In this embodiment, the ChB control circuit 72b and the ChC control circuit 72b are specialized for the transfer operation of the display list DL, and the data stored in the FIFO buffer of the CPU bus control unit 72d is transferred as part of the display list DL to the drawing circuit 76 or the display list analyzer of the preloader 73 via the FIFO buffer of the ChB control circuit 72b or the ChC control circuit 72c, respectively.

[0142] Then, the drawing circuit 76 starts a drawing operation based on the transferred display list DL. Meanwhile, the preloader 73 executes a necessary preload operation based on the transferred display list DL. By the preload operation, the CG data in the CGROM 55 is pre-read into a preload area secured in the DRAM 54, and a display list DL in which the source address of the texture has been changed for a TXLOAD command or the like (hereinafter referred to as a rewrite list DL') is saved in a DL buffer area BUF' secured in the DRAM 54.

[0143] On the other hand, the ChA control circuit 72a and the connection bus access arbitration circuit 72e function for data transfer between storage media such as the CGROM 55, the DRAM 54, and the built-in RAM 71. Also, the IDXTBL access arbitration circuit 72f functions when accessing the built-in RAM 71, which requires address information of the index table IDXTBL. Specifically, the ChA control circuit 72a functions, for example, when (a) compressed data of the CGROM 55 is transferred to the built-in VRAM 71, (b) compressed data of the CGROM 55 is preloaded (read ahead) and transferred to the external DRAM 54, or (c) read-ahead data of the preload area is transferred to the built-in VRAM 71.

[0144] Here, the ChA control circuit 72a is configured to be able to operate in parallel with the ChB control circuit 72b and the ChC control circuit 72c, and the above-mentioned operations (a) to (c) can be executed in parallel with the issuing operation of the display list DL (ST8 in FIG. 10, PT11 in FIG. 15) and the transfer operation of the rewrite list DL' (PT10 in FIG. 15). The ChB control circuit 72b and the ChC control circuit 72c can also be executed simultaneously, and for example, the process of step PT10 in FIG. 15 in which the ChB control circuit 72b functions and the process of step PT11 in which the ChC control circuit 72c functions can be executed in parallel. However, since there is only one transfer port register TR_PORT, when one of them (72b / 72c) is using the transfer port register TR_PORT, the other (72c / 72b) cannot access the transfer port register TR_PORT.

[0145] During operation of the ChA control circuit 72a, the connection bus access arbitration circuit 72e arbitrates data transmission with each storage element (CGROM 55, DRAM 54) via the integrated connection bus ICM. On the other hand, the IDXTBL access arbitration circuit 72f arbitrates data communication with the built-in VRAM 71 by controlling the ChA control circuit 72a based on the index table IDXTBL. In the embodiment in which the preloader 73 functions, the rewrite list DL' stored in the DL buffer area BUF' of the DRAM 54 is transferred to the drawing circuit 76 via the connection bus access arbitration circuit 72e and the ChB control circuit 72b (see FIG. 16(b)).

[0146] As described above, the data transfer circuit 72 of this embodiment realizes high-speed data transfer between a data source arbitrarily selected from various storage resources and a data destination arbitrarily selected from various storage resources. As can be seen from Fig. 8, the storage resources in which the data transfer circuit 72 functions include not only the built-in RAM 71 but also external devices via the CPUIF unit 56, the CG bus IF unit 82, and the DRAMIF unit 83.

[0147] Furthermore, the amount of data transferred between the external device in which the ChA control circuit 72a functions, such as the amount of data to be obtained from the CGROM 55 at one time (memory sequential read), is enormous compared to the display list DL in which the ChB control circuit 72b or the ChC control circuit 72c functions, and the amounts of data transferred differ greatly between the two.

[0148] Here, it is conceivable to configure these various data transfers so that the unit data amount and the total data transfer amount can be set in detail, but this would complicate the control operation inside the VDP and hinder smooth transfer operations. Therefore, in this embodiment, the minimum data amount Dmin for data transfer is uniquely defined, and the total data transfer amount is limited to an integer multiple of the minimum data amount DTmin, thereby realizing high-speed and smooth data transfer operations. Although not particularly limited, in the data transfer circuit 72 of the embodiment, the minimum data amount Dmin (unit data amount) is set to 256 bytes, and the total data transfer amount is limited to an integer multiple of this amount.

[0149] Therefore, the display list DL instruction command sequence stored in the FIFO buffer of the CPU bus control unit 72d for each 32 bits is transferred to the ChB control circuit 72b and the ChC control circuit 72b when the total amount reaches the minimum data amount Dmin, and is stored in each FIFO buffer.

[0150] The display list DL is composed of a series of instruction commands, but in this embodiment, the display list DL is composed of only instruction commands whose command length is an integer N times 32 bits (N>0) corresponding to the write unit (32 bits) of the transfer port register TR_PORT. Therefore, the drawing circuit 76 and the preloader 73 that receive the instruction commands of the display list DL via the data transfer circuit 72 can quickly and smoothly start the command analysis process (DL analyze). Note that the command length of an integer N times 32 bits does not necessarily mean that all bits are significant bits, but also includes don't care bits, meaning an integer N times 32 bits.

[0151] Next, the preloader 73 will be described. As briefly described above, the preloader 73 is a circuit that interprets the display list DL transferred from the data transfer circuit 72 (ChC control circuit 72b) and transfers the CG data on the CGROM 55 referenced by the TXLOAD command to the preload area of ​​the DRAM 54 in advance. The preloader 73 also stores a rewrite list DL' in which the reference destination of the CG data is rewritten to the address after transfer for this TXLOAD command in the DL buffer BUF' of the DRAM 54. The DL buffer BUF' and the preload area are secured in advance during the initial processing after the CPU is reset (ST3 in FIG. 10).

[0152] The rewrite list DL' is then transferred to a display list analyzer (DL Analyzer) of the drawing circuit 76 via the connection bus access arbitration circuit 72e and the ChB control circuit 72b of the data transfer circuit 72 when the drawing operation of the drawing circuit 76 starts. The drawing circuit 76 then executes drawing operations based on the rewrite list DL'. Therefore, based on a TXLOAD command or the like, CG data that should originally be obtained from the CGROM 55 is obtained from the preload area of ​​the DRAM 54 as preload data pre-read into the preload area. In this case, the preload data can be used repeatedly unless it is overwritten and erased, and preload data that has hit the cache in the preload area is repeatedly reused.

[0153] In this embodiment, the preload area is set in the external DRAM 54, which has a sufficient storage capacity, so the above-mentioned cache hit function works effectively. Also, since the storage capacity of the external DRAM 54 is large, multiple preloading, for example, in which multiple frames of CG data are preloaded at once, is also possible. That is, multiple preloading is realized by appropriately setting the operation period of the preloader 73, which is a series of preload operations including the CG data read-ahead operation, within the range of an integer multiple of the operation cycle δ of the VDP circuit 52 during intermittent operation.

[0154] However, in the following description, for the sake of convenience, an embodiment without multiple preloading will be described, and therefore the preloader 73 of the embodiment will complete the preloading operation for one frame during one operation period (δ). As will be described later with reference to Fig. 10, in this embodiment, the operation period δ during intermittent operation of the VDP circuit 52 is 1 / 30 seconds, which is twice the period of the vertical synchronization signal of the display device DS1.

[0155] Next, the drawing circuit 76 is a circuit that sequentially analyzes the instruction command sequences of the display list DL and the rewrite list DL' transferred via the data transfer circuit 72, and works together with the graphics decoder 75, the geometry engine 77, etc. to draw one frame's worth of images for each of the display devices DS1, DS2 in a frame buffer formed in the VRAM 71.

[0156] As described above, in the embodiment in which the preloader 73 is operated, the CG data in the rewrite list DL' is referenced not to the CGROM 55 but to the preload area set in the DRAM 54. Therefore, sequential access to the CG data generated during the execution of drawing by the drawing circuit 76 can be quickly executed, and high-resolution moving images with fast movement can be drawn without any problems. In other words, according to this embodiment, it is possible to execute complex and highly advanced image presentation while utilizing an inexpensive SATA module as the CGROM 55.

[0157] Regardless of whether the preloader 73 is enabled or disabled, even if data corruption occurs during transfer of the display list DL or the rewrite list DL', the drawing circuit 76 cannot detect this. In addition, the drawing circuit 76 may freeze due to the influence of noise or the like, causing the read / write access to the built-in VRAM 71 to stop abnormally. Therefore, in this embodiment, when the drawing circuit 76 detects an irrational instruction command (a bit sequence that cannot be analyzed) or when there is no read / write access to the built-in VRAM 71 for a certain period of time, a drawing abnormality interrupt is generated. This point will be described later with reference to FIG. 10(d).

[0158] Next, as described with reference to FIG. 7, the frame buffer FB secured in the arbitrary area (c) of the VRAM 71 is a double buffer divided into a drawing area and a read area, and the two areas are used by switching between different applications. In this embodiment, since two display devices DS1 and DS2 are connected, two frame buffers FBa / FBb are secured as shown in FIG. 7. Therefore, the drawing circuit 76 draws one frame of image data in the drawing area (write area) of the frame buffer FBa for the display device DS1, and draws one frame of image data in the drawing area (write area) of the frame buffer FBa for the display device DS2. When image data is written in the drawing area, the display circuit 74 reads out image data from the other read area (display area) and outputs it to each display device DS1 and DS2.

[0159] The display circuit 74 is a circuit that reads image data from the frame buffers FBa and FBb, performs final image processing, and outputs the result (see FIG. 9). The final image processing includes, for example, a scaling process of a scaler that enlarges / reduces the image, a subtle color correction process, and a dithering process that minimizes the quantization error of the entire image. Then, the digital RGB signal (total of 24 bits) that has undergone these image processes is output together with a horizontal sync signal and a vertical sync signal. As shown in FIG. 9, in this embodiment, three display circuits A / B / C that perform the above operations in parallel are provided, and each of the display circuits 74A to 74C reads image data from the corresponding frame buffers FBa / FBb / FBc and performs the above final image processing. However, in this embodiment, since there are two display devices, the frame buffer FBc is not reserved, and the display circuit 74C does not function.

[0160] In relation to this operation, the output selection unit 79 of this embodiment transmits the output signal of the display circuit 74A to the LVDS unit 80a, and transmits the output signal of the display circuit 74B to the LVDS unit 80b (FIG. 9). The LVDS unit 80a converts the image data (a total of 24-bit digital RGB signal) into an LVDS signal, and outputs it to the main display device DS1 as a total of five pairs of differential signals, including one pair that transmits a clock signal. The main display device DS1 has a built-in LVDS signal conversion and reception unit RV, which restores the RGB signal from the LVDS signal and displays an image corresponding to the output of the display circuit 74A.

[0161] The LVDS section 80b is the same in this respect, and outputs a total of 24 bits of 8-bit digital RGB signals to the conversion receiver section RV as five pairs of differential signals, including one pair that transmits a clock signal, and the sub-display device DS2 realizes image display using the total of 24-bit RGB signals received from the conversion receiver section RV. 8 *2 8 *2 8 The resulting image will have a resolution of 100x100x200.

[0162] It is not necessary to use an LVDS signal, and for example, when the transmission distance is short, the digital RGB signal may be directly transmitted to the display device via the digital RGB unit 80c, or when the transmission distance is long, the digital RGB signal may be converted to a V-By-one (registered trademark) signal in the conversion transmission unit TR' and transmitted to the conversion reception unit RV', and then converted back to a digital RGB signal in the conversion reception unit RV'. The dashed lines in Fig. 9 indicate this operation mode, but by appropriately setting the operation of the output selection unit 79, the above operation is possible with any output signal from the display circuits 74A to 74C.

[0163] In this embodiment, the display circuits 74A to 74B are provided with underrun counters URCNTa to URCNTc that count underrun abnormalities that occur when display data is not generated in time with respect to the display timing (see FIG. 9). The counter values ​​of the underrun counters URCNTa to URCNTc are automatically incremented for each VBLANK when an underrun abnormality occurs.

[0164] Next, the SMC unit 78 (Serial Management Controller) is a composite controller with a built-in LED controller and a motor controller. It outputs LED drive signals and motor drive signals in synchronization with a clock signal to an LED / Motor driver (a driver IC with a built-in shift register) mounted on an external board, while being capable of outputting latch pulses at appropriate timing.

[0165] Regarding the internal circuitry and its operation of the VDP circuit 52 described above, the operation content to be executed by the internal circuitry is specified by the operation parameters (setting values) set in the control register group 70 by the performance control CPU 63, and the execution state of the VDP circuit 52 can be specified by reading the operation status values ​​of the control register group 70. The control register group 70 refers to a large number of VDP registers RGij mapped in a memory space (0 to FFFFFH) of about 1 MB on the memory map of the performance control CPU 63, and the performance control CPU 63 executes the WRITE (setting) operation of the operation parameters and the READ operation of the operation status values ​​via the CPUIF unit 81 (see FIG. 5(b)).

[0166] The control register group 70 (VDP register RGij) includes a "system control register" in which initial setting values ​​related to system operations such as interrupt operations are written, an "index table register" which determines the AAC area (a) and page area (b) in the built-in VRAM and is used for constructing or changing the index table IDXTBL, a "data transfer register" in which setting values ​​related to data transfer processing by the data transfer circuit 72 between the performance control CPU 63 and the internal circuitry of the VDP circuit 52 are written, a "GDEC register" which specifies the execution status of the graphics decoder 75, a "drawing register" in which instruction commands and setting values ​​related to the drawing circuit 76 are written, a "preloader register" in which setting values ​​related to the operation of the preloader 73 are written, a "display register" in which setting values ​​related to the operation of the display circuit 74 are written, an "LED control register" in which setting values ​​related to the LED controller (SMC unit 78) are written, a "motor control register" in which setting values ​​related to the Motor controller (SMC unit 78) are written, and an "audio control register" in which setting values ​​related to the audio circuit SND are written. However, in this embodiment, the audio circuit SND is not used.

[0167] In any case, in the following description, one or more registers RGij included in the control register group 70 may be referred to by the individual names described above, or may be referred to collectively as VDP registers RGij. In any case, the performance control CPU 63 controls the internal operation of the VDP circuit 52 by writing appropriate set values ​​to the specified VDP registers RGij. Specifically, the performance control CPU 63 realizes a predetermined image performance based on the display list DL, which is updated at appropriate time intervals, and the set values ​​to the specified VDP registers RGij. In this embodiment, the performance control CPU 63 is in charge of lamp performances and motor performances, so the VDP registers RGij also include LED control registers and motor control registers.

[0168] Next, a description will be given of the unified control operation of the image performance, the sound performance, the motor performance, and the lamp performance, which is realized by the composite chip 50 incorporating the above-mentioned built-in CPU circuit 51 and the VDP circuit 52. Fig. 10 is a flow chart for explaining the control operation of the performance control CPU 63 of the built-in CPU circuit 51.

[0169] The operation of the performance control CPU 63 comprises a main processing (a) that is activated after a CPU reset, a timer interrupt processing (b) that is activated every 1 ms, a reception interrupt processing (not shown) that is activated in response to a control command CMD, a VBLANK interrupt processing (c) that is activated in response to a VBLANK signal that occurs at the start of the V blank (vertical blanking period) of the display device DS1, and a drawing abnormality interrupt processing (d) that occurs when the operation freezes or an irrational instruction command is detected.

[0170] In the reception interrupt process, the control command CMD received from the main control unit 21 is stored in a predetermined reception buffer so that it can be referenced in the main process (ST13), and the process ends. Also, in the VBLANK interrupt process (FIG. 10(b)), the interrupt counter VCNT is incremented for each VBLANK interrupt (ST15), and at the start timing of the main process, the interrupt counter VCNT is cleared to zero after grasping the operation start timing of 1 / 30 seconds based on the value of the interrupt counter VCNT (ST4).

[0171] On the other hand, the timer interrupt process includes, as shown in Fig. 10(b), a lamp performance and a motor performance progress process (ST18), and a sensor signal acquisition process (ST19) for acquiring origin sensor signals SN0 to SNn, a chance button signal, etc. The lamp performance and the motor performance are controlled based on a performance scenario that centrally manages all performance operations, and when the performance start time managed by the performance counter EN is reached, the motor drive table and the lamp drive table are specified in the performance scenario update process (ST11).

[0172] Then, the motor performance proceeds based on the specified motor drive table, and the lamp performance proceeds based on the specified motor drive table. As described above, there is also an embodiment in which the DMAC circuit (first and second DMA channels) 60 functions during the operation of step ST18. Note that the motor performance proceeds every 1 mS, but the lamp performance proceeds at appropriate timing longer than 1 mS.

[0173] On the other hand, as shown in Fig. 10(d), in the drawing abnormality interrupt process, the drawing circuit is initialized by writing a predetermined value to a predetermined system control register, taking into consideration the seriousness of the operation freeze state, transmission abnormality, etc. (ST16a). This operation is nothing but the individual reset operation of the reset path 4B shown in Fig. 4(b). Next, after the normal end of the individual reset operation is confirmed by a predetermined status register RGij, a group of operating parameters that define the operation of the drawing circuit 76 is reset to a predetermined drawing register RGij, and the process is completed (ST16b).

[0174] Next, the main process (a) will be described for an embodiment in which the preloader does not function. As shown in Fig. 10(a), the main process is divided into an initial process (ST1 to ST3) that is executed after a CPU reset, and a regular process (ST4 to ST14) that is repeatedly executed every 1 / 30 seconds.

[0175] And, steady-state processing is started when interrupt counter VCNT becomes VCNT≧2 (ST4), so the operation period δ of steady-state processing is 1 / 30 seconds. This operation period δ is none other than the substantial operation period δ of VDP circuit 52, which operates intermittently under the control of performance control CPU 63. Note that the reason for setting the judgment condition as VCNT≧2 is to take into consideration the possibility that steady-state processing (ST4 to ST14) may be abnormally prolonged and the timing of VCNT=2 may be missed, but it is designed to prevent a situation where VCNT=3 occurs.

[0176] Continuing with the explanation of the main process (FIG. 10(a)) based on the above, in this embodiment, in the initial process, the built-in VRAM 71 with a storage capacity of 48 MB is appropriately divided into an ACC area (a) having an appropriate storage capacity, a page area (b), and an arbitrary area (c) (ST1). Specifically, for the ACC area (a1, a2) and the page area (b), the start addresses of each area and the total required data size are set in a predetermined index table register RGij (ST1). Then, the secured ACC area (a1, a2) and the remaining area not included in the page area (b) become the arbitrary area (c).

[0177] Here, the lowest 11 bits of the area start addresses of the first and second ACC areas (a1, a2) and the page area (b) must each be 0, but they can be selected arbitrarily in units of 2048 bits (1 address = 1 byte, and selection can be made in increments of 256 addresses). The total data size can also be selected arbitrarily within the range of an integer multiple of the unit size. Although not particularly limited, the unit size of the ACC area (a) is 2048 bits, and the unit size of the page area (b) is 512 kbits.

[0178] In this embodiment, certain conditions are set for the area settings of the ACC area (a1, a2) and the page area (b), in order to eliminate as much wasted area as possible from the built-in VRAM 71, which has a limited memory capacity, while facilitating the internal operation of the VDP circuit 52. In other words, if the memory capacity of the built-in VRAM 71 is increased without reason, there is a concern that the manufacturing cost will rise and the chip area will become larger, while if free area settings that completely eliminate the wasted area are allowed, the internal processing will become complicated and the processing time for VRAM access cannot be shortened. The same reason is also why certain restrictions are set for the reservation of the index space, which will be explained below.

[0179] Continuing the explanation based on the above, following the processing of step ST1, the necessary index space IDXi is secured for the page area (b) and the arbitrary area (c) (ST2). Specifically, the index space IDXi for each area (b) and (c) is secured by setting necessary information in a predetermined index table register RGij.

[0180] For example, when an index space IDXi is provided in the page area (b), multiple information (horizontal and vertical multiple information for the unit space) of an arbitrary horizontal size Hx and an arbitrary vertical size Wx corresponding to an arbitrary index number i is set in a predetermined index table register RGij (ST2).

[0181] As explained above, the index space IDXi of the page area (b) has a unit space of 128 lines in horizontal size x 128 lines in vertical size, and one pixel is specified by 32 bits of information, so an index space IDXi with a data size (bit length) = 32 x 128 x Hx x 128 x Wx is secured based on the horizontal size Hx and vertical size Wx. The top address (space top address) of the index space IDXi of the page area (b) is automatically assigned internally.

[0182] Moreover, when an index space IDXi is provided in the arbitrary area (c), an arbitrary start address (space start address) STx and multiple information of an arbitrary horizontal size Hx are set in a predetermined index table register RGij corresponding to an arbitrary index number i (ST2). Here, "arbitrary" means that a predetermined condition is assumed, and the horizontal size Hx is arbitrarily determined in units of 256 bits, and the lower 11 bits of the start address STx are 0, and the horizontal size Hx is arbitrarily determined in units of 2048 bits. As explained above, the vertical size of the arbitrary area is fixed to 2048 lines, so that an index space of data size (bit length) = 2048 x Hx is secured after the start address STx based on the setting of the horizontal size Hx.

[0183] Specifically, as the frame buffer FBa of the main display device DS1, a pair of index spaces with a horizontal size of 1280 x vertical lines of 2048 are set in one or more predetermined index table registers RGij with a specified index number for each, and as the frame buffer FBb of the sub display device DS2, a pair of index spaces with a horizontal size of 480 x vertical lines of 2048 are set in one or more predetermined index table registers RGij with a specified index number for each. If the number of horizontal pixels of the display device does not match an integer multiple of 256 bits / 32 bits, the horizontal size of each index space is set to a value that is larger than the number of horizontal pixels of the display device and is an integer multiple of 256 / 32=8, thereby minimizing the generation of wasted memory area.

[0184] As described above, the required size information and address information for the page area (b) and the arbitrary area (c) are set in the predetermined index table register RGij, respectively, to generate the required number of index spaces IDXi (ST2). Then, in response to this setting process (ST2), an index table IDXTBL that specifies the address information and size information of each index space IDXi is automatically constructed. As shown in FIG. 7(a), the index table IDXTBL stores the top address of each index space IDXi together with other necessary information, and is referenced when transferring data within the VDP circuit 52 or when acquiring data from an external storage resource (see FIG. 8). Note that the index space IDXi of the AAC area (a) is automatically generated and automatically deleted when necessary, so the setting process of step ST2 is not required.

[0185] As shown in Figures 7(a) and 7(b), a pair of frame buffers FBa and FBb are secured in the arbitrary area (c), and each is assigned an index number. In an embodiment that does not use a Z-buffer, a pair of index spaces 255 and 254 assigned with index numbers 255 and 254 are secured as the frame buffer FBa. Also, a pair of index spaces 252 and 251 assigned with index numbers 252 and 251 are secured as the frame buffer FBb. In this embodiment, a work area (index space 0) with index number 0 is also secured in the arbitrary area (c).

[0186] In this embodiment, the page area (a) is allocated with a necessary number of index spaces IDXi to be used as the decode area for the IP stream video, and the index number i is assigned to each of the index spaces. However, initially, the index space IDXi for the background video (IP stream video) is 0 Then, depending on the necessity of the image presentation (variable presentation or preview presentation), the index space IDXj of the page area (a) is increased based on the setting process to the index table register RGij and the instruction command of the display list DL, and then, when it becomes unnecessary, the index space IDXj is released. That is, FIG. 7(a) shows the index table IDXTBL during normal operation.

[0187] The index space of the ACC area (a) is automatically generated when necessary based on the instruction command written in the display list DL, and the top address of the automatically generated index space IDXj and other necessary information are automatically set in the index table IDXTBL. In this embodiment, this AAC area (a) is used as a decoding area for still images and other textures.

[0188] The above operation of reserving index space is realized mainly by a setting operation to the index table register RGij included in the control register group 70, but following the processing of steps ST1 to ST2, the necessary setting operations are performed on other VDP registers RGij, enabling steady operation (intermittent operation) of the VDP circuit 52 shown in Figures 18 to 19.

[0189] For example, the number of display lines and the number of horizontal pixels are set for each display device DS1, SD2 (SS30) by writing predetermined operating parameters (number of lines and number of pixels) to a predetermined display register RGij that specifies the operation of the display circuit 74. As a result, the vertical and horizontal dimensions of the effective data area (broken line part in FIG. 10(e)) to which the display circuit 74 should access for READ are specified in each frame buffer FBa, FBb.

[0190] Next, a predetermined operation parameter (address value) is written to a predetermined display register RGij to specify the vertical display start position and the horizontal display start position for each frame buffer FBa, FBb (SS31). As a result, the effective data area whose vertical and horizontal dimensions are specified in the processing of step SS30 is determined on the frame buffers FBa, FBb. Here, the vertical display start position and the horizontal display start position are relative address values ​​in each index space, and in the embodiment shown in Figure 10(e), the display start position is (0,0).

[0191] Next, the display areas are defined by setting "display area (0)" and "display area (1)" in the display register RGij(DSPAINDEX) for the display circuit 74A that drives the main display device DS1 and the display register RGij(DSPBINDEX) for the display circuit 74B that drives the sub-display device DS2 (SS32).

[0192] Here, the "display area" refers to the index space (frame buffers FBa, FBb) from which the display circuits 74A, 74B should read image data to drive the display devices DS1, DS2, and refers to either one of the double buffers in the frame buffers FBa, FBb, which have a double buffer structure. However, the display circuits 74A, 74B actually read image data only from the "valid data area" in the display area (0) or display area (1) specified in steps SS30 to SS31.

[0193] Although not limited in any way, in this embodiment, for the frame buffer FBa, the index space 254 of index number 254 in the VRAM arbitrary area (c) is defined as the "display area (0)," and the index space 255 of index number 255 in the VRAM arbitrary area (c) is defined as the "display area (1)" (SS32).

[0194] Also, for frame buffer FBb, index space 251 of index number 251 in VRAM arbitrary area (c) is set as "display area (0)," and index space 252 of index number 252 in VRAM arbitrary area (c) is set as "display area (1)" (SS32). Note that there is no particular limitation to defining the "display area" in the initial processing (SS3), and the index space (display area) to which display circuit 74 should access image data for READ may be toggled for each operating cycle δ.

[0195] In this embodiment, once the above initial processing (SS30 to SS32) is completed, a predetermined prohibition value is set in the first type prohibition setting register RGij so that the setting value in the predetermined system control register RGij is not subsequently changed due to the influence of noise or the like (first prohibition setting SS33).

[0196] Here, the setting values ​​that are prohibited from being written in the future include (1) setting values ​​related to the display clocks of the display devices DS1 and DS2, (2) setting values ​​related to the sampling clock of the LVDS, (3) setting values ​​related to the selection operation of the output selection circuit 79, and (4) the synchronous relationship of the multiple display circuits DS1 and DS2 (the display circuit 74B is subordinate to the operation cycle of the display circuit 74A). Although there is software processing for canceling the first prohibition setting, it is not used in this embodiment. However, it is preferable to use it as necessary.

[0197] Next, a predetermined inhibit value is set in the second type inhibit setting register RGij, thereby inhibiting writing to the VDP register RGij of the initial setting system (second inhibit setting SS34). Here, the registers to be inhibited include the VDP register RGij related to steps SS30 to SS32.

[0198] On the other hand, by setting a predetermined prohibition value in the third type prohibition setting register RGij, it is also possible to set prohibition on a large number of VDP registers, including the VDP registers related to the setting process of steps ST1 to ST3 (third prohibition setting). However, this is not used in principle in this embodiment. In any case, the second prohibition setting and the third prohibition setting can be released at will by writing a release value in a predetermined release register RGij, and it is also possible to change the set value during normal operation.

[0199] The initial setting process of steps ST1 to ST3 described above is executed based on an initial value setting table SETTABLE (see FIG. 24) that associates the register address value of the VDP register RGij with the setting value for that register RGij. As the initial setting process has been described above, before describing the steady-state process (ST4 to ST14), the steady-state operation (intermittent operation) of the VDP circuit 52 controlled by the performance control CPU 63 will be roughly described based on FIG. 18(a) and FIG. 19(b).

[0200] The intermittent operation of the VDP circuit 52 is as shown in Figures 18 and 19, and in an embodiment that does not use the preloader 73, as shown in Figure 18(a), the display list DLi completed by the performance control CPU 63 is issued to the drawing circuit 76 in its operation cycle (T1), and the drawing circuit 76 completes image data in the frame buffers FBa, FBb by drawing operation based on the display list DLi. The image data completed in the frame buffers FBa, FBb is then output by the display circuit 74 to the display devices DS1, DS2 in the next operation cycle T1+δ, and the display screen sensed by the player is generated based on the subsequent drawing operation of the display devices DS1, DS2.

[0201] 19(a), the display list DLi completed by the performance control CPU 63 is issued to the preloader 73 in its operation cycle (T1), and the preloader 73 interprets the display list DLi and executes the necessary pre-reading operation, while rewriting a part of the display list DLi to complete the rewrite list DL'. The pre-read CG data and the rewrite list DL' are stored in the appropriate places in the DRAM 54.

[0202] Next, in the next operation cycle (T1+δ), the drawing circuit 76 obtains the rewrite list DL' from the DRAM 54 and completes the image data in the frame buffers FBa, FBb by performing drawing operations based on the rewrite list DL'. Then, in the next operation cycle (T1+2δ), the display circuit 74 outputs the completed image data in the frame buffers FBa, FBb to the display devices DS1, DS2, and the display screen sensed by the player is generated based on the subsequent drawing operations of the display devices DS1, DS2.

[0203] The above is a brief overview of the intermittent operation of the VDP circuit 52. In order to realize the operation of Figures 18 to 19 described above, after initial processing (ST1 to ST3), the performance control CPU 63 repeatedly refers to the value of the interrupt counter VCNT and waits for the operation start timing to be reached, and when the operation start timing (the start timing of every other V blank) is reached, it clears the interrupt counter VCNT to zero (ST4).

[0204] Thereafter, steady operation is started. In this embodiment, first, it is determined whether or not an operation start condition for starting steady operation is satisfied (ST5). Note that this determination timing is the timings T1, T1+δ, T1+2δ, . . . shown in Figs. 18 and 19, that is, the start timing of the vertical blanking period (VBLANK) of the display device DS1. Note that the display timing of the display device DS2 is set at the initial setting (ST3) so as to be subordinate to the display timing of the display device DS1.

[0205] The operation start condition determined at the start timing of the vertical blanking period (VBLANK) differs depending on whether the preloader 73 is used or not, so first, an embodiment (FIG. 10) in which the preloader 73 is not used will be described. In this case, the circuit configuration and the program are designed so that the internal operation of the VDP proceeds as shown in the time chart of FIG. 18(a). That is, based on the display list DL1 completed in the operation cycle (T1), the drawing circuit 76 should finish the drawing operation during that operation cycle (T1 to T1+δ). However, for example, as in the case of the display list DL3 completed in the operation cycle (T1+2δ) of FIG. 18(a), it cannot be said that there is no possibility that the drawing operation will not be completed during that operation cycle (T1+2δ to T1+3δ). Also, there is a possibility that an underrun abnormality occurs in the display circuit 74, in which the generation of display data is not in time with the display timing.

[0206] The judgment process of step ST5 takes such a situation into consideration, and the performance control CPU 63 accesses a status register RGij (a type of the control register group 70) indicating the operating state of the drawing circuit 76, and judges at the timing of step ST5 whether the drawing circuit 76 has completed the necessary operation and whether there is an underrun abnormality. The presence or absence of an underrun abnormality is judged based on the underrun counters URCNTa to URCNTc. Also, in an embodiment that does not utilize the preloader 73, for example, at timing T1+δ in FIG. 18(a), the status information of the drawing register related to the drawing circuit 76 is read and accessed to confirm that the drawing operation based on the display list DL1 has ended.

[0207] If the operation start conditions are not met (abnormal / non-conformity), the abnormality flag ER, which counts the number of abnormalities, is incremented, and steps ST6 to ST8 are skipped. The abnormality flag ER is determined in steps ST9 and ST10 together with other serious abnormality flags ABN, and assuming that the serious abnormality flag ABN is in the reset state, if the number of consecutive abnormalities is not high (ER≦2), the performance command analysis process is executed in the same way as in normal times (ST13).

[0208] Similarly, in the case of an underrun abnormality, steps ST6 to ST8 are skipped. Then, a predetermined clear value is written to a predetermined system control register RGij to initialize the display clock (frequency) and the display circuit 74 (ST10c). After confirming that this initialization process has ended normally, the display clock frequency and the values ​​of a group of system control registers RGij that define the operation of the display circuit 74 are reset to predetermined values ​​(ST10c), and then the performance command analysis process is executed (ST13).

[0209] In the performance command analysis process (ST13), it is determined whether or not a control command CMD has been received from the main control board 21, and if a control command CMD has been received, the control command CMD is analyzed and necessary processing is executed (ST13). Here, the necessary processing includes a process for preparing to start a new variable performance based on a control command CMD that instructs the start of a variable performance, and a process for starting an error notification based on a control command CMD that indicates the occurrence of an error.

[0210] Next, in order to return the WDT timer to its initial value, a specified 1 bit is written to the initial bit of the WDT control register (ST14), and then the process returns to step ST4. The performance control CPU 63 does not need to output a clear pulse to an external device, and simply executes a write command to the built-in register, which is an advantage as explained above.

[0211] The above describes the case where there is a minor underrun abnormality or the operation start conditions are not met and the abnormality flag ER is ER≦2. In such cases, in that operation cycle, the process (ST6) of toggling the display area read by the display circuit 74 and the process (ST7) of creating a display list are skipped, and the performance scenario does not proceed (see ST8 to ST12). This is to prevent the image data of the frame buffers FBa and FBb in an incomplete state from being output. Therefore, for example, in the operation cycle (T1+3δ) in FIG. 18(a), the image performance does not proceed, and a frame drop occurs in which the original screen (screen based on DL2) is redisplayed.

[0212] Here, in order to avoid dropping frames, it is also possible to have a configuration in which the system waits until the operation start condition is satisfied. However, since there are many control processes (ST6 to ST12) that the performance control CPU 63 must execute, and each process needs to have its own processing time, in this embodiment, frame dropping occurs when the operation start condition is not satisfied.

[0213] However, even if a frame drop occurs, the image performance is delayed by only about 1 / 30 to 2 / 30 seconds compared to the lamp performance and motor performance that proceed by interrupt processing (Fig. 10(b)), and the player will not notice this. Moreover, when a frame is dropped, the performance scenario processing (ST11) including the update processing of the performance counter EN and the sound progression processing (ST12) are also skipped, so there is no risk of the start timing of the image performance, sound performance, lamp performance, and motor performance being shifted in the reach performance, notice performance, and gimmick performance that are started afterwards.

[0214] That is, in the performance scenario, the start timing of the image performance, the sound performance, the lamp performance, and the motor performance, and the performance contents to be executed thereafter are managed in a unified manner, and the start timing is controlled by the performance counter EN, which is updated only in normal times, so that the synchronization of various performances is not lost. For example, if there is a performance action that combines the sound of an explosion, an explosion image, the movement of a role object, and a lamp flash action, each of the above performance actions will start correctly in synchronization even after a frame drop occurs.

[0215] Although the above describes relatively minor abnormalities, if the serious abnormality flag ABN is set, if the number of consecutive abnormalities is large (ER>2), or if the Underrun abnormality occurs repeatedly, an infinite loop state is entered after the judgment of step ST10. As a result, the downcount operation of the WDT timer progresses, and the composite chip 50 including the performance control CPU 63 is reset as an abnormality, and then the initial processing (ST1 to ST3) is re-executed, which is expected to eliminate the root cause of the abnormality.

[0216] This reset operation is performed by starting up the WDT circuit 58, so the entire composite chip 50, including the CPU circuit 51, is reset (FIG. 4(b)). Therefore, in order to avoid resetting the CPU circuit 51, it is also preferable for the performance control CPU 63 to output a predetermined keyword string to the pattern check circuit CHK and output a reset signal RST to the VDP circuit 52 (see ST100 in FIG. 24).

[0217] In any case, in the event of this abnormality, the sound circuit SND is also reset, so the image presentation, sound presentation, lamp presentation, and motor presentation are all returned to their initial states. However, these reset operations have no effect on the main control unit 21 or the payout control unit 25, so there is no risk of the big win state disappearing or the prize balls disappearing.

[0218] Although the above has been described regarding abnormal situations, in reality, the above-mentioned abnormalities rarely occur, even if they are minor, and after the processing of step ST5, the "display area" of the frame buffers FBa, FBb that store the image data to be read by the display circuits 74A and 74B is toggled (ST6) based on the setting of a predetermined display register RGij (DSPACTL / DSPBCTL). As explained above, since the "display area (0)" and the "display area (1)" are defined in advance in the initial processing (ST3), in the processing of step ST6, it is specified whether the "display area" at this time is the display area (0) or the display area (1) for the frame buffers FBa, FBb.

[0219] By executing this step ST6, the display circuit 74A alternately reads out image data from the index space 254 (display area (0)) and the index space 255 (display area (1)) for each operation cycle δ to drive the display device DS1. Similarly, the display circuit 74B alternately reads out image data from the index space 251 (display area (0)) and the index space 252 (display area (1)) for each operation cycle δ to drive the sub-display device DS2. As explained above, the actual READ access by the display circuit 74 is limited to the valid data area in the display area (0) / display area (1).

[0220] In any case, in this embodiment, the "display area" switches for each operation cycle, so that the display circuits 74A, 74B start output processing to the display devices DS1, DS2 for the image data that the drawing circuit 76 completed in the immediately preceding operation cycle. However, since the processing of step ST5 starts at the start of the vertical blanking period (V blank) of the main display device DS1, the output processing of the image data actually starts after the vertical blanking period is completed. In FIG. 18(a), the arrows shown in the display circuit column indicate the operation cycle of this output processing.

[0221] When the processing of step ST6 having the above significance is completed, the performance control CPU 63 then completes a display list DL that specifies image data to be output to the display device by the display circuit 74 in the next operating cycle (ST7). Although not limited to this, in this embodiment, a list buffer area (DL buffer BUF) of the RAM 59 is secured, and the display list DL is completed therein (see FIG. 8).

[0222] The display list DL is configured by listing a series of instruction commands in an appropriate order and is configured to end with an EODL (End Of DL) command. In this embodiment, in order to realize smooth operation of the data transfer circuit 72, the drawing circuit 76, and the preloader 73, all instruction commands including the EODL command are limited to only instruction commands whose command length is an integer multiple of 32 bits (N>0). As explained above, instruction commands consisting of an integer multiple of 32 bits may also include a don't care bit.

[0223] In this way, since the display list DL of the embodiment is composed only of instruction commands whose command length is an integer N times (N>0) 32 bits, the data volume value (total amount of data) of the entire display list DL is always an integer multiple of the minimum unit of the command length (32 bits=4 bytes). Furthermore, in this embodiment, taking into consideration the minimum data amount Dmin of the data transfer circuit 72, the data volume value of the display list DL is adjusted to be an integer multiple (1 or more) of the minimum data amount Dmin and an integer multiple of the minimum unit of the instruction command (4 bytes). For example, if Dmin=256 bytes, the data volume value of the display list DL is adjusted to be either 256 bytes, 512 bytes, or the like.

[0224] Here, it would be preferable to adjust it to 256 bytes or 512 bytes as appropriate depending on the complexity of the presentation content, but in this embodiment, taking into consideration that there are two display devices and the sub-display device DS2 does not execute very complex image presentations, the data volume value of the display list DL is always adjusted to 256 bytes.

[0225] However, this method is not limited in any way, and in the case of a gaming machine with three or more display devices or a gaming machine that executes complex image effects including the sub-display device DS2, the data volume value is adjusted to 512 bytes or 768 bytes. Also, during normal effects, it is preferable to adjust the data volume value of the display list DL to 256 bytes, and only when a special effect is executed, to adjust the data volume value of the display list DL to 512 bytes or 768 bytes.

[0226] However, in the case of this embodiment, the data volume value of the display list DL is adjusted to a predetermined byte length (256 bytes) in each operation cycle δ. The adjustment method may be a simple method (A) in which a 32-bit EODL command is followed by a 32-bit NOP (No Operation) command to fill in the missing area, or a standard method (B) in which the missing area is filled with a 32-bit NOP command and then a 32-bit EODL command is written at the end. In addition, a non-adjustment method (C) may be considered in which the data volume value (total amount of data) of the display list DL is terminated with an EODL command without any adjustment, and dummy data is additionally transferred during the operation of the data transfer circuit 72 to ensure a transfer amount that is an integer multiple of the minimum data amount Dmin.

[0227] Here, when the standard method (B) is adopted, the command counter CNT is initially set to a specified value (64-1 corresponding to 256 bytes), and the command counter CNT is appropriately decremented each time a significant instruction command is written in the DL buffer area BUF, and when the writing of a series of significant instruction commands is completed, NOP commands are written until the command counter CNT reaches zero, and finally an EODL command is written. In the case of this embodiment, the instruction commands are limited to those whose command length is an integer multiple of 32 bits (N>0), so the above process is easy, and the decrement process of the command counter CNT corresponds to the integer N.

[0228] On the other hand, when the simplified method (A) is adopted, it is sufficient to fill the entire list buffer area (DL buffer BUF) with NOP commands at the beginning when creating the display list DL, and therefore at first glance it appears to be superior to the standard method (B). Also, from the viewpoint of simplicity, the non-adjustment method (C) also appears to be superior. However, this embodiment basically adopts the standard method (B), and adjusts so that the actual amount of data from the beginning of the display list DL to the EODL command, that is, the amount of data up to the EODL command, is always an integer multiple of the minimum data amount Dmin of the data transfer circuit 72.

[0229] This is because, if the simple method (A) or the adjustment-free method (C) is adopted, the actual data amount of the display list DL up to the EODL command becomes a random value, causing a problem when the rewrite list DL' rewritten by the preloader 73 is transferred to the DRAM 54 and when the rewrite list DL' is transferred from the DRAM 54 to the drawing circuit 76. Note that, when the rewrite list DL' is transferred to the DRAM 54, the ChA control circuit 72a of the data transfer circuit 72 functions, and when the rewrite list DL' is transferred to the drawing circuit 76, the ChB control circuit 72b functions (see FIG. 16). In either case, however, only the rewrite list DL' up to the EODL command is transferred.

[0230] The above describes the advantages of the standard method (B) of adjusting the data volume value of the display list DL. However, in an embodiment that does not use the preloader 73, the issued display list DL is simply processed by the drawing circuit 76, so there is no prohibition on using the simple method (A) or the adjustment-free method (C).

[0231] However, in the following description, the display list DL will be described in detail with reference to FIG. 11 on the assumption that the standard method (B) is adopted in principle, regardless of whether the preloader 73 is used or not.

[0232] Although not particularly limited, in this embodiment, the instruction command sequence (L11 to L16) for the main display device DS1 is written in the display list DL first, and then the instruction command sequence (L17 to L20) for the sub display device DS2 is written. Also, the standard method (B) is adopted to adjust the data volume value of the display list DL to a fixed length (256 bytes). Note that FIG. 11 also shows the procedure by which the performance control CPU 63 writes instruction commands in the list buffer area of ​​the RAM 59, and the operation of the drawing circuit 76 based on the display list DL.

[0233] As shown in Fig. 11, at the beginning of the display list DL, an environment setting command (SETDAVR) is written to specify the upper left base address (X, Y) in the index space IDX for the frame buffer FBa of the display device DS1 (L11). As explained with reference to Fig. 7(a), in this embodiment, a pair of frame buffers FBa is reserved in the arbitrary area (c) for the display device DS1. Usually, the base address (X, Y) = (0, 0) is set to correspond to the valid data area for the display circuit 74, and the frame buffer FBa is used by the drawing circuit 76 from its head position.

[0234] In Figure 7(c), the actual drawing area on the lower left side is labeled L11, which means that the instruction command L11 has specified that the actual drawing area on the frame buffer FBa begins at the base address (0,0) of the frame buffer FBa. However, the vertical and horizontal dimensions of the actual drawing area and the index number that specifically specifies this actual drawing area have not yet been determined, and will be determined by the instruction command (SETINDEX) L13, which will be described later. Note that the instruction command L11 also specifies whether or not to use the Z buffer.

[0235] Next, the environment setting command (SETDAVF) is used to set the upper left base point coordinates (Xs,Ys) and the lower right diagonal point coordinates (Xe,Ye) in the virtual drawing space, defining a drawing area with dimensions W x H (L12). Here, the virtual drawing space is a virtual two-dimensional space of ±8192 in the X direction and ±8192 in the Y direction (see Figure 7(c)), which can be drawn using drawing command commands (such as the SPRITE command).

[0236] This instruction command L12 (SETDAVF) divides the virtual drawing space into a drawing area where the drawing contents are actually reflected on the display device DS1, and the other non-drawing area. Also, the instruction command L12 (SETDAVF) associates the actual drawing area, whose start position (base address) is specified by the instruction command L11, with the drawing area in the virtual drawing space.

[0237] In other words, the instruction command L12 defines an actual drawing area of ​​W x H starting from the base address, which corresponds to the drawing area in the virtual drawing space, in the frame buffer FBa (with the index space undefined). Therefore, the drawing area specified by the instruction command L12 must be equal to or smaller than the horizontal size of the frame buffer FBa. Usually, the drawing area or actual drawing area is defined to have the same dimensions as the effective data area (Figure 10(e)) for the display circuit 74.

[0238] After the drawing circuit 76 executes the instruction commands L11 and L12, only the drawing contents drawn in the virtual drawing space that are included in the drawing area are reflected in the actual drawing area of ​​the frame buffer FBa. Therefore, the drawing contents that extend beyond the drawing area or the drawing contents of the area indicated as the working area in Fig. 7(c) are not reflected in the frame buffer as is. Note that when a working area is allocated in the virtual drawing space, the non-drawing area of ​​the virtual drawing space is used.

[0239] Next, in the current operation cycle, the drawing circuit 76 specifies where to draw the drawing contents based on the display list DL to be completed (L13). Specifically, for the frame buffer FBa of the display device DS1 with a double buffer configuration, the index space IDX that will be the "write area" of the drawing contents based on the current display list DL is specified (L13). Specifically, the SETINDEX command, which is a texture setting command, specifies (1) that the frame buffer FBa is secured in an arbitrary area, and (2) that the index space IDX that will be the "write area" is specified. N An index number N on an arbitrary region of is identified.

[0240] For example, when N=255 is specified by this instruction command L13, the actual drawing area corresponding to the drawing area defined in the virtual drawing space is, specifically, the index space IDX in the frame buffer FBa having a double buffer structure. 255 It has been defined as:

[0241] In this embodiment, the index number of the frame buffer FBa is 255 or 254 (FIG. 7(a)), and either one is designated by toggling (L13). Note that this index number is not the index number of the display area (0) / (1) designated in step ST6 of the main processing. For example, in the processing of step ST6, if display area (0) is designated for the display circuit 74, display area (1) becomes the "write area" for the drawing circuit 76.

[0242] As described above, the correspondence between the actual drawing area (logical space of W×H) and the drawing area (virtual space of W×H) is generally defined by instruction command L11 and instruction command L12, and then the W×H virtual space is associated with the W×H logical space in a specific index space IDX by instruction command L13 (SETINDEX), which specifically specifies the index space IDX.

[0243] In other words, from now on, the content that is virtually drawn in the W x H virtual space based on a series of instruction commands will become image data in the built-in VRAM 71 (frame buffer) based on a conversion table inside the VDP that specifies the correspondence between the virtual space and the real addresses of the built-in VRAM 71.

[0244] Next, an instruction command is written to execute a frame buffer clear process that fills the specified index space IDX as the "write area" with, for example, black (ST14, ST15). This is nothing but a process to erase the image data that was written to the frame buffer FBa two operation periods ago.

[0245] Specifically, for example, black is selected using the SETFCOLOR command, which is a type of environment setting command, and a rectangular area is specified to be filled using the RECTANGLE command, which is a primitive drawing command. Note that the RECTANGLE command specifies the XY coordinates of the upper left corner and the lower right corner of the drawing area (virtual space corresponding to the frame buffer FBa) set in the virtual drawing space (see Figure 7(c)).

[0246] With the above processing, the rendering preparation processing is completed, and next, instruction commands are listed for rendering an appropriate texture, such as a still image or one frame of a video, in the virtual rendering space. Typically, the index space IDX into which the texture is to be deployed is specified with a texture setting command, and then a texture load command, a TXLOAD command, is written to write in the display list DL a specific texture to be read from CGROM 55 and deployed in the specific index space IDX.

[0247] As explained above, in this embodiment, the background video is composed of IP stream video. Therefore, for example, the index space IDX in which the background video should be expanded is set to the index space IDX of the page area (b) by the SETINDEX command of the texture setting system. 0 After specifying the above, write the TXLOAD command for loading textures. Note that the TXLOAD command needs to specify the start address of CGROM55 (texture source address) and the data size after expansion (horizontal x vertical) for the video frame to be loaded this time.

[0248] When the VDP circuit 52 executes the TXLOAD command, one video frame (texture) of the background video is first acquired in the AAC area (a), and then the GDEC 75, which starts automatically, loads it into the index space IDX in the page area (b). 0Next, this one video frame is drawn in the virtual drawing space. In this case, the SETINDEX command (texture setting system) is used to set the index space IDX of the page area (b). 0 is the texture to be processed thereafter." However, if processing is to be performed immediately after the TXLOAD command, the SETINDEX command can be omitted.

[0249] In any case, "Index space IDX of page area (b) 0 is the texture to be processed thereafter," then an appropriate inter-drawing calculation command is entered, such as setting parameters for alpha blending. Alpha blending is a process for making the image already written in the drawing area (frame buffer FBa) transparent / semi-transparent with the image to be overwritten. Therefore, for the first drawing operation, such as a video frame of a background video, there is no need to use an inter-drawing calculation command.

[0250] Next, the index space IDX of the page area (b) is set by the SPRITE command, which is a command for drawing primitives. 0 Write a SPRITE command to draw the "texture (one video frame of the background video)" in the appropriate location (rectangular destination area) in the virtual drawing space. Note that the SPRITE command requires that the upper left and lower right corners of the destination area in the virtual drawing space be specified.

[0251] This destination area is the entire drawing area (virtual space defined on the virtual drawing space) that has been associated with the actual drawing area (FBa) in advance by the instruction commands L11 and L12, or a part of it. However, since the background video is usually drawn on the entire display screen, the destination area in such a case is the entire drawing area or larger. Note that a destination area larger than the entire drawing area is, for example, when the background video is zoomed in.

[0252] With the above processing, drawing of the video frames of the background video is completed, and next, instruction commands such as texture load, texture setting, inter-drawing calculation, and primitive drawing commands are listed in an appropriate order, and a display list DL is constructed to draw various textures by overlaying them on the background video. As explained above, a large number of videos are required during variable performance, and in that case, an index table control instruction command (NEWPIX) is written to increase the index space IDX for the page area (b) of the built-in VRAM 71.

[0253] For example, for the second IP stream video, the NEWPIX command creates an additional index space IDX in page area (b). 1 After allocating this index space IDX 1 (SETINDEX), instructs the rendering of one frame of the second video (TXLOAD), and places the rendered texture in the appropriate location in the drawing area (SPRITE). Normally, the destination area in this case is part of the drawing area.

[0254] The same process is repeated below. The NEWPIX command is used to create the index space IDX. k After securing the required space, multiple IP streams are drawn in the drawing area while performing appropriate alpha blending, and the contents drawn in the drawing area are sequentially stored as image data in the frame buffer FBa, which is the actual drawing area. When multiple N IP stream videos are drawn, multiple N index spaces are functioning in the page area (b).

[0255] And when the series of variable performances is completed, the numerous index spaces IDX reserved in the page area (b) 1 ~IDX k In order to free up any index space IDX that is deemed unnecessary, the unnecessary index space IDX can be deleted using the DELPIX command.

[0256] When drawing still images or I-stream videos, use the SETINDEX command to specify that the decoding destination for these textures is the AAC area (a), then execute the TXLOAD command. The texture acquired in the AAC area (a) will then be expanded in the ACC area (a) by GDEC75, which starts automatically. The expanded texture can then be drawn in the appropriate location in the drawing area using the SPRITE command. Depending on whether or not the cache hit function is used, either the first AAC area (a1) or the second AAC area (a2) will be used.

[0257] In the explanation so far, each texture is drawn directly in the drawing area of ​​the main display device DS1, but this is not necessarily limited to this operation. For example, if an appropriate drawing area is provided (FIG. 7(c)) without overlapping with the drawing area already reserved for the display device DS1, and this drawing area is associated with the working area of ​​the built-in VRAM 71, an intermediate drawing area can be constructed and an appropriate performance image can be completed. Here, the reason for not overlapping with the drawing area for the display device DS1 is that the later association setting takes precedence for the overlapping area, and the drawing contents in that area are not reflected in the frame buffer FBa.

[0258] As shown in FIG. 7(c), the working area in this embodiment is the index space IDX in the arbitrary area (c). 0 Then, at the timing of the performance using this work area, the drawing area for the performance image (see FIG. 7(c)) is first created in advance as the work area (index space IDX 0 7(c), the drawing area for the performance image is secured in an area not included in the drawing area for the main display device DS1.

[0259] Then, the same instruction commands as the instruction command sequence L16 for the frame buffer FBa are listed to create the index space IDX 0 In this embodiment, since the performance image is composed of a still image, a command (SETINDEX) is written to instruct the decoded data to be expanded in the first AAC area (a1), and then the index space IDX 0 A primitive rendering instruction command (SPRITE) is used, with the appropriate location in the rendering area of ​​the object as the Destination. Note that this type of operation is repeated once or multiple times depending on the content of the presentation.

[0260] And the index space IDX that completes the performance image 0 After positioning the texture (SETINDEX), the index space IDX is set to the appropriate position in the drawing area of ​​the main display device DS1 by the SPRITE command. 0 In this case, the index space IDX 0 It is conceivable that the performance image of the above is decomposed into triangular drawing primitives, rotated at an appropriate angle, and then drawn in the drawing area. Note that the rotation angle of the texture is associated with, for example, the reliability of the preview performance.

[0261] The instruction command sequence (L11 to L16) for completing one frame of the main display device DS1 has been described above, but the instruction command sequence (L17 to L12) for completing one frame of the sub-display device DS2 is similar. That is, the starting XY coordinates of the frame buffer FBb are specified (L17) and defined (usually X=0, Y=0), and a drawing area for the sub-display device DS2 is defined (L18) in the virtual drawing space shown in Fig. 7(c).

[0262] Incidentally, in this embodiment, after completing the generation of image data for the main display device DS1, the process moves to the generation process for the sub display device DS2, so there is no problem even if the drawing area for the sub display device DS2 overlaps with the drawing area for the main display device DS1, and the drawing area can be set freely. Therefore, when developing a generation program for a display list DL, for example, in the case of pasting an appropriate texture into a newly set drawing area with a SPRITE command, the settings of the operation parameters (Destination area) of the SPRITE command and others can be standardized to a certain extent.

[0263] Once the definition of such an arbitrary drawing area is completed (L18), next, for the frame buffer FBb of the display device DS2 with a double buffer configuration, the index space IDX that will be the "write area" of the drawing contents based on the current display list DL is specified (L19). The index number of this index space IDX is the index number of the frame buffer FBb that does not correspond to the display area (0) / (1) specified in step ST6 of the main processing.

[0264] Then, the instruction command sequence L20 to L22 for the sub-display device DS2 is listed in the same manner as the instruction command sequence L14 to L16 for the main display device DS1. 0 You can also use the completed performance image.

[0265] As described above, in this embodiment, the command lengths of all of the instruction commands L11 to L22 that make up the display list DL are limited to integer multiples of 32 bits. As explained above, the data volume value (total amount of data) of the display list DL in this embodiment is adjusted to a fixed length (256 bytes), and a necessary number of NOP commands (L23) are added as dummy commands, and the display list DL is terminated with an EODL command (L24). That is, the embodiment of FIG. 11 employs the standard method (B) described above.

[0266] However, even when the standard method (B) is adopted, it is not necessarily required to fix the total data amount of the display list DL to 256 bytes in all operation cycles. That is, in another embodiment, when the total data amount of the display list DL excluding NOP commands exceeds 256 bytes (for example, during a special performance period), the total data amount of the display list DL is adjusted to 512 bytes or more, that is, N×256 bytes, by adding NOP commands. Note that, as explained above, when the standard method (B) is adopted, the end of the N×256 bytes is terminated with an EODL command.

[0267] The configuration of the display list DL has been explained in detail above, and the performance control CPU 63 issues the completed display list DL of fixed byte length to the VDP circuit (ST7 to ST8). Fig. 12 is a flow chart explaining the DL issuing process (ST8 in Fig. 10) in which the performance control CPU 63 directly write-accesses the transfer port register TR_PORT of the transfer circuit 72 and issues a display list DL to the drawing circuit 76. The transfer port register TR_PORT is a type of data transfer register RGij that specifies the operation of the data transfer circuit 72.

[0268] To realize DL issuing processing, first, it is necessary to set necessary setting values ​​in a plurality of data transfer registers RGij that define the operation contents of the data transfer circuit 72. Specifically, the transfer operation mode of the data transfer circuit 72 and the transmission route inside the data transfer circuit 72 are specified in a predetermined data transfer register RGij. The setting contents are not particularly limited, but here, it is set that the data is transferred from the CPUIF unit 56 via the ChB control circuit 72b, and that the CPU bus control unit 72d executes the data transfer operation while checking the remaining capacity of the FIFO buffer (ST20). In the following description, the ChB control circuit 72b may be abbreviated as "transfer circuit ChB" for convenience.

[0269] Next, the total transfer size is set in a predetermined data transfer register RGij. As explained above, in this embodiment, the total data amount of the display list DL is adjusted to an integer multiple of 256 bytes, so that value is set. Note that the total data amount=256×N is also an integer multiple N of the minimum data amount Dmin of the data transfer circuit 72. Normally, the multiple N is 1 or 2, but in the following explanation, N=1 will be used.

[0270] Here, since the transfer port register TR_PORT (hereinafter sometimes abbreviated as transfer port) is a 32-bit register, the performance control CPU 63 executes a register write operation for the transfer port TR_PORT for every 32 bits. Therefore, the value of the management counter CN, which manages the number of register writes, is initialized to 64 (ST21). Note that, if the non-adjustment method (C) is adopted, at this timing, the data transfer amount that is an integer multiple of the minimum data amount Dmin is determined and the management counter CN is set.

[0271] The above process completes the initial settings, and next, data transfer operation via the transfer circuit ChB is set to a start state (ST22), and drawing operation is started based on the set value in a predetermined drawing register RGij that specifies the operation of the drawing circuit 76 (ST23). As a result, a prompt and smooth analysis process is ensured by the drawing circuit 76 (display list analyzer) for the instruction command sequence that the performance control CPU 63 writes to the transfer port TR_PORT.

[0272] Furthermore, the fact that the instruction commands listed in the display list DL are limited to those whose command length is an integer multiple of 32 bits also contributes effectively to a fast and smooth analysis process. Timings t1, t2, t3, and t4 in Fig. 18(a) indicate the operation timing of step ST23. Note that since the display list DL issuing process (ST8) is completed quickly, the time required for the issuing process is not shown in Figs. 18 and 19.

[0273] Next, it is confirmed whether the setting in step ST22 has worked (ST24). This is because the initial settings of each part of the data transfer circuit 72 take more processing time than the register write operation (setting operation) by the performance control CPU 63, so no further instructions are given to the data transfer circuit 72 in an incomplete state. Then, in the unlikely event that the circuit does not enter an operation start state even after waiting for a predetermined time, the serious abnormality flag ABN is set and the DL issuance process is terminated (ST25). As a result, the watchdog timer 58 then works, and the composite chip 50 is reset as an abnormality (ST10).

[0274] However, since the setting of step ST22 is usually completed quickly, next, after confirming that the FIFO buffer (32 bits x 130 stages) of the CPU bus control unit 72d is not full (ST26), an instruction command is written to the transfer port TR_PORT for each line, starting from the first line constituting the display list DL (ST28).

[0275] Then, while decrementing the management counter CN (ST29), the processing of steps ST26 to ST29 is repeated until the management counter CN becomes zero (ST30). In this embodiment, since a minimum data amount Dmin is specified for the data transfer circuit 72, a data transfer operation is executed at the timing when the minimum data amount Dmin is accumulated in the FIFO buffer, resulting in an intermittent transfer operation.

[0276] In any case, in this embodiment, the DL issuance process (ST28) is completed quickly, but in the unlikely event that the settings in the VDP register RGij become inconsistent due to the effects of noise or the like, the FIFO buffer full state may not be resolved even after waiting for a predetermined time in the judgment of step ST26. In such a case, initialization data is set in a predetermined VDP register RGij, the drawing circuit 76 and the data transfer circuit 72 are initialized, and the serious abnormality flag ABN is set to end the DL issuance process (ST27).

[0277] By the way, at this timing, the data transfer circuit 72 and the drawing circuit 76 have already started operating and have completed a certain amount of processing, so the initialization process of the drawing circuit 76 includes (1) setting all internal parameters that may be set by the display list DL to their initial values, (2) setting all internal control circuits to their initial states, (3) initializing the GDEC 75, and (4) initializing the cache state of the AAC area, while maintaining the contents of the drawing register RGij. Similarly, the initialization process of the data transfer circuit 72 includes initialization of the entire data transfer up to that point, such as clearing the FIFO buffer. As a result, the status information indicating the operating state of the data transfer circuit 72 changes to a predetermined value (a value indicating that the entire data transfer is being initialized).

[0278] In the initialization process of step ST27 described above, the contents of the drawing register RGij are maintained, but the contents of certain drawing registers may be initialized. The certain drawing registers that are cleared to their initial values ​​include (a) an execution control register (see ST23 in FIG. 12) that sets the start of drawing execution, (b) a status register that indicates the execution status of the drawing circuit 76, and (c) a status register that specifies the position of the display list currently being processed.

[0279] In any case, as a result of setting the serious abnormality flag ABN, the watchdog timer 58 then functions and the combined chip 50 is abnormally reset (ST10), so it is not necessarily required to initialize the drawing circuit 76 and the data transfer circuit 72. On the other hand, when the drawing circuit 76 and the data transfer circuit 72 are initialized, recovery from the abnormality can be expected as a result, so it is also preferable to return to the processing of step ST20 and re-execute the DL issuance processing without setting the serious abnormality flag ABN.

[0280] This also applies to the processing of step ST25, and it is preferable to return to the processing of step ST20 without setting the serious abnormality flag ABN after initializing the data transfer circuit 72 and the drawing circuit 76. In such a case, however, the number of times the DL issuance processing is retried is counted, and if the number of times exceeds a limit value, the serious abnormality flag ABN is set and the DL issuance processing is terminated.

[0281] 12(b) is a diagram for confirmation of a normal operating state. As shown in the diagram, the issued display list DL is analyzed by the drawing circuit 76 (display list analyzer) in the order of the listed instruction commands, and operations based on each instruction command are executed. This operation is executed in parallel with the issuing process of the display list DL and the data transfer operation (ST26 to ST30) of the data transfer circuit 72.

[0282] For example, when the instruction command (TXLOAD) is executed, the necessary texture is read from the CGROM 55 and acquired in the AAC area (a), after which the GDEC 75 is automatically started to execute the decoding operation, and the decoded data is expanded in a predetermined index space. Depending on the instruction command, the geometry engine 77 and others function, but in any case, the image data corresponding to the display list DL is completed in the frame buffers FBa and FBb by the cooperation of each part of the drawing circuit 76.

[0283] Next, a case where a display list DL is issued via the DMAC circuit 60 will be described with reference to Fig. 13. Although not limited thereto, it is assumed that the third DMA channel is used among the first to fourth DMA channels built into the DMAC circuit 60.

[0284] In the embodiment of Fig. 13, first, a clear value is set in a predetermined data transfer register RGij and a predetermined drawing register RGij, respectively, to initialize the data transfer circuit 72 and the drawing circuit 76 (ST20). This process is the same as the error process in step ST27 of Fig. 12, and the internal circuitry of the data transfer circuit 72 including the FIFO buffer is initialized, the status bit of the data transfer register indicating the progress of the data transfer is set to an initial value, and the bit indicating that the entire data transfer is being initialized is set to a predetermined value.

[0285] The same is true for the drawing circuit 76, and includes the above-mentioned (1) setting the internal parameters to initial values, (2) setting the internal control circuit to an initial state, (3) initializing the GDEC 75, and (4) initializing the cache state of the AAC area. Also, in the initialization process of the drawing circuit (ST20 in FIG. 13), the above-mentioned predetermined drawing register RGij may be initialized. Incidentally, in the process of FIG. 12, such initialization process may be executed first.

[0286] 13, next, a predetermined status register RGij that specifies the operating states of the data transfer circuit 72 and the drawing circuit 76 is read to confirm that the initialization process has been completed normally (ST21). If the initialization cannot be completed, a serious abnormality flag ABN is set and the process ends (ST22). However, this situation almost never actually occurs.

[0287] Next, the transfer operation mode of the data transfer circuit 72 and the transmission route inside the data transfer circuit 72 are set in a predetermined data transfer register RGij. The setting contents are not particularly limited, but here, it is set that the data is transferred from the CPUIF unit 56 via the ChB control circuit 72b, and that the transfer protocol to the CPU bus control unit 72d follows the setting in the DMAC circuit 60 (ST23).

[0288] Next, the total transfer size is set in a predetermined data transfer register RGij. As in the case of FIG. 12, the total amount of data is 256. If the non-adjustment method (C) is adopted, the total transfer size is determined and set at this timing as an integer multiple of the minimum data amount Dmin. Next, the drawing operation of the drawing circuit 76 is started based on the set value in the predetermined drawing register RGij (ST25). The timings t1, t2, t3, and t4 in FIG. 18(a) are also the operation timings of step ST25. Next, the operation of the DMAC circuit 60 is started (ST26), and then the data transfer operation of the data transfer circuit 72 is started (ST27).

[0289] The process of starting the operation of the DMAC circuit 60 is as shown in Fig. 13(b), and first, with DMAC transfer inhibited, the process waits for the transfer of one cycle of data transfer unit (one operand) to be completed (ST40). The detailed operation is the same as the process shown in Fig. 14, and is divided into a process of inhibiting DMAC transfer (ST53) and a subsequent waiting process (ST54).

[0290] The reason for providing such processing is that (1) in other embodiments, the DMAC circuit 60 (third DMA channel) may be used in the main processing or timer interrupt processing (FIG. 10), and (2) in other embodiments that do not provide the processing of step ST5 in FIG. 10, the DMAC circuit 60 that has started issuing a display list DL may not be able to complete the DL issuing operation within its operating period (δ).

[0291] In the above-mentioned exceptional situation, if new setting values ​​(such as contradictory setting values) are additionally set to the operating DMAC circuit 60, normal DMA operation is not guaranteed at all, and serious trouble is a concern, but by providing the processing of step ST40, normal operation based on the subsequent setting values ​​is guaranteed. That is, even in the modified embodiment in which this embodiment is partially modified, normal DMA operation can be realized thereafter regardless of the preceding trouble.

[0292] After the processing of step ST40 having the above significance is executed, the operating conditions of the DMAC circuit 60 are set (ST41). Specifically, as shown in Fig. 6, the cycle steal transfer mode is selected, and one operand transfer is set to 32-bit transfer x 2 times. Also, it is specified that the source address is an address of the list buffer area (DL buffer BUF) of RAM 59 and should be recognized as sequentially increasing, while the destination address is the transfer port TR_PORT and should be a fixed value.

[0293] Next, the start address of the DL buffer BUF in the RAM 59 is set in a predetermined operation control register that specifies the operation of the DMAC circuit 60 (ST42), and the address of the transfer port TR_PORT, which is the transfer destination address, is set (ST43). In addition, the total transfer size, that is, the total amount of data in the display list DL, is set to 256 bytes (ST44), and the DMA operation of the DMAC circuit 60 is started (ST45).

[0294] Incidentally, the explanation so far has been based on the premise that the effective bit length of the instruction command is an integer multiple of 32 bits. However, the configuration of the display list DL and the instruction command is not necessarily limited, so the following will explain such a case.

[0295] For example, including the case where the above-mentioned non-adjustment method (C) is adopted, when the total data amount X of the display list DL is an arbitrary value X that is not an integer multiple of 32 bits, in the process of step ST44, this arbitrary value X is adjusted to an appropriate transfer amount MOD, and then the process of setting the total transfer size is executed. Here, the appropriate transfer amount MOD is specified based on the setting contents for one operand transfer and the minimum data amount Dmin (bytes) of the data transfer circuit 72.

[0296] Specifically, if one operand transfer setting is N bytes × M times, the transfer amount MOD is adjusted to a value that is an integer multiple of N × M (bytes) and an integer multiple of Dmin (bytes). For example, if N × M = 8 × 4 and Dmin = 256, the arbitrary value X (= 300) bytes is adjusted to the transfer amount MOD (= 512) bytes.

[0297] As explained above, including general theory, the DMA operation of the DMAC circuit 60 starts a cycle steal transfer operation as shown in Fig. 6, and the display list DL is transferred to the transfer port TR_PORT in units of 32 bits in this embodiment, without interfering with the operation of the CPU. The transferred data is then transferred to the drawing circuit 76 via the transfer circuit ChB.

[0298] To achieve such an operation, in this embodiment, following the processing of step ST45, the data transfer circuit 72 starts the transfer operation and ends the processing (ST27). Thereafter, the data transfer circuit 72 receives a series of instruction commands of the display list DL from the DMAC circuit 60, with the minimum data amount Dmin as one unit, and transfers this to the drawing circuit 76. The drawing circuit 76 then executes the drawing operation based on the instruction commands of the display list DL. Therefore, after the processing of step ST27, the performance control CPU 63 can start the processing of step ST11 in FIG. 10, and can control the sound performance, lamp performance, and motor performance in parallel with the drawing operation by the VDP circuit 52 (DL issuing processing by the DMAC circuit 60).

[0299] This operation is illustrated in Fig. 13(c). Prior to the DMA transfer, the drawing circuit starts operating (ST25), the display list analyzer of the drawing circuit 76 executes the analysis process quickly and smoothly, and based on the operations of the GDEC 75, the geometry engine 77, etc., one frame's worth of image data is generated in the frame buffers FBa, FBb for each of the display devices DS1, DS2.

[0300] However, the configuration of Fig. 13 in which the DL issuing process ends with the process of step ST27 is not necessarily limited. For example, as in Figs. 20 to 21, when the sound effect, the lamp effect, and the motor effect are controlled by another CPU, it is preferable to check the normal operation of the DMAC circuit 60 and the data transfer circuit 72 after the process of step ST27. Fig. 14 is a flow chart explaining the process of checking the normal operation, which is the operation following step ST27 in Fig. 13.

[0301] First, a predetermined status register is referenced to confirm that the transfer operation of the DMAC circuit 60 has been completed normally (ST50). Also, it is confirmed that the data transfer circuit 72 has completed the transfer operation (ST51). Usually, the DL issue process in FIG. 13 is completed through this route.

[0302] On the other hand, if the operation of the .DMAC circuit 60 is not completed even after waiting for a predetermined time, or if the data transfer circuit 72 has not completed its transfer operation, a clear value is set in a predetermined VDP register RGij for the drawing circuit 76 and the data transfer circuit 72 to initialize the DL issuance process (ST52). This is an operation based on the fact that the display list DL issuance process has not ended normally, and specifically, it is the same as the error process in step ST27 in Fig. 12 and the initial process in step ST20 in Fig. 13.

[0303] That is, in this case too, the drawing circuit 76 has already started operating and completed a certain amount of processing, so the initialization process of the drawing circuit 76 includes (1) setting all internal parameters that may be set by the display list DL to their initial values, (2) setting all internal control circuits to their initial states, (3) initializing the GDEC 75, and (4) initializing the cache state of the AAC area.

[0304] Next, after prohibiting new DMA transfer operations (ST53), the process waits for the transfer operation of one operand being executed to finish (ST54). As explained above, in this embodiment, one operand is transferred by 32 bits x 2 times, and this is to avoid abruptly initializing the DMAC circuit 60 that is in operation.

[0305] Once this preparation work is complete, a clear value is set in a predetermined operation control register that defines the operation of the DMAC circuit 60 to initialize the DMAC circuit 60 (ST52). Then, the serious abnormality flag ABN is set and the DL issuance process is terminated. In this case, since the abnormality can be expected to be recovered from by the processing of steps ST52 and ST55, it is also preferable to return to step ST20 in Fig. 13 and re-execute the DL issuance process without setting the serious abnormality flag ABN. However, it is necessary to count the number of re-executions of the DL issuance process (ST23 to ST27), and if the number of re-executions exceeds a limit value, to set the serious abnormality flag ABN and terminate the DL issuance process.

[0306] Next, the main processing when the preloader 73 is used will be described with reference to Fig. 15. The processing in Fig. 15 is similar to the processing in Fig. 10, but first the contents of the start condition determination (ST5') are different. That is, in the embodiment using the preloader, at the start of each operation cycle, the status information of the drawing circuit 76 and the preloader 73 is read and accessed to confirm that the drawing operation based on the display list DL1 has ended, and that the preload operation based on the display list DL2 has ended (ST5').

[0307] 19(a), the preloader 76 should have completed a look-ahead operation (preload operation) during an operation cycle (T1 to T1+δ) based on the display list DL1 issued during that operation cycle (T1). Also, the drawing circuit 76 should have completed a drawing operation based on the display list DL1 during that operation cycle (T1+δ to T1+2δ) based on an operation start command issued during that operation cycle (T1+δ).

[0308] Therefore, in (ST5'), the status information of the VDP register RGij related to the drawing circuit 76 and the preloader 73 is read and accessed to confirm the above-mentioned normal operation. Fig. 19(a) shows a state in which normal operation is confirmed at the judgment timings of the operation cycles T1, T1+δ, T1+2δ, and T1+4δ, but the preload operation has not ended at the judgment timing of the operation cycle T1+3δ.

[0309] In the event of such an abnormality, the abnormality flag ER is incremented (ER=ER+1) and the process proceeds to step ST9. Therefore, as in the embodiment of FIG. 10, a frame is dropped. That is, the display area switching process (ST6) is skipped, and the same screen is redisplayed. The operating period (T1+3δ to T1+4δ) shown in FIG. 18(a) shows this operating state.

[0310] Furthermore, if the start condition is not satisfied in the determination of step ST5', a start instruction (PT10) for a drawing operation based on the rewrite list DL' is not issued to the drawing circuit 76, so the drawing circuit 76 is in a non-operating state and a new display list is not generated. Note that in Fig. 19(a), timings t0, t2, and t4 indicate the operation timing of the start instruction (PT10) for a drawing operation, more precisely, the timing of step ST26 in Fig. 16.

[0311] The above describes the case where the judgment in step ST5' is non-compliant, but in the normal case, after toggling the display areas of the frame buffers FBa and FBb (ST6), the drawing circuit 76 is made to start drawing operations based on the rewrite list DL' (PT10). The specific contents are as shown in Fig. 16, and the drawing circuit 76, under the control of the performance control CPU 63, acquires the rewrite list DL' from the DL buffer BUF' of the external DRAM 54 via the data transfer circuit 72 (transfer circuit ChB) and executes the drawing operations.

[0312] 16 which realizes this operation, the operation of the preloader 73 will be examined. The preloader 73 has already completed the look-ahead operation (preload) of the CGROM 55 based on the display list DL acquired one operation cycle ago, and the look-ahead data has already been stored in a preload area secured in the external DRAM 54. Also, for texture load commands (TXLOAD) written in the display list DL, their source addresses are rewritten to addresses in the preload area, and are stored in the DL buffer BUF' of the external DRAM 54 as a rewrite list DL'.

[0313] In this rewrite process, the total amount of data in the display list DL does not change, and the total amount of data in the rewrite list DL' is the same as that in the display list DL. The display list DL is created by the standard method (B), and the end of the rewrite list DL' is an EODL command, just like the display list DL.

[0314] Considering the above, referring to Fig. 16, the performance control CPU 63 first sets a clear value to a predetermined data transfer register RGij and a predetermined drawing register RGij, respectively, to initialize the data transfer circuit 72 and the drawing circuit 76 (ST20). This process is the same as the process of ST20 in Fig. 13. Next, it is confirmed that this initialization process has ended normally (ST21), and in the unlikely event that the initialization is not completed even after a predetermined time has passed, the major abnormality flag ABN is set and the process is terminated (ST22).

[0315] Usually, the initialization of the data transfer circuit 72 and the drawing circuit 76 ends normally, so the transmission route within the data transfer circuit 72 is set to a predetermined data transfer register RGij (ST23). Specifically, it is set to transfer data from the external DRAM 54 to the drawing circuit 76 via the ChB control circuit 72b (ST23). Next, for the DL buffer BUF' of the external DRAM 54 in which the rewrite list DL' is stored, its top address is set to a predetermined data transfer register RGij (ST24).

[0316] Also, for this rewrite list DL', the total transfer size is set in a predetermined data transfer register RGij (ST25). As described above, the total amount of data in the rewrite list DL' is the same as the total amount of data in the display list DL, and specifically, for example, is 256 bytes.

[0317] Next, the drawing operation of the drawing circuit 76 is started based on the set value of the predetermined drawing register RGij (ST26). Timings t1, t2, t3, and t4 in FIG. 18(a) are also the operation timings of step ST26. Next, the operation of the data transfer circuit 72 is started based on the set value of the predetermined data transfer register RGij, and the process ends (ST27). Thereafter, the performance control CPU 63 is not particularly involved in the operation of the data transfer circuit 72 or the drawing circuit, and proceeds to the generation process (ST7) of a display list to be executed in the next operating cycle.

[0318] On the other hand, the drawing circuit 76, which starts operation at the timing of step ST26, executes drawing operations based on the rewrite list DL', and generates image data based on the rewrite list DL' in the frame buffers FBa and FBb. Note that in this operation, the drawing circuit 76 does not perform a read access to the CGROM 55, but only performs a read access to the preload area, so that a series of drawing operations can be completed quickly.

[0319] Having explained the processing contents of step PT10 above, returning to Fig. 15 to continue the explanation, after the processing of step PT11, in an embodiment utilizing the preloader 73, a display list DL to be executed in the next cycle is created based on the standard method (B) (ST7). For example, in the operation cycle (T1) shown in Fig. 19(a), a display list DL to be referenced by the drawing circuit 76 is created in the operation cycle (T1+δ), which is the next cycle.

[0320] Next, the performance control CPU 63 issues the created display list DL to the preloader 73, not to the drawing circuit 76 (PT11). The specific operation is as shown in Fig. 17. Previously, in relation to the embodiment (Fig. 10) in which the preloader 73 is not used, the performance control CPU 63 has shown a case in which the display list DL is issued directly to the drawing circuit 76 (Fig. 12) and a case in which the display list is issued via the DMAC circuit 60 (Fig. 13). In Fig. 17, almost the same operation is shown in Figs. 17(b) and 17(c), except that the issuing destination is the preloader 73.

[0321] Fig. 17(a) is a flow chart for explaining the operation of Fig. 17(b), and is almost the same as the flow chart of Fig. 12. However, it is set that the data is transferred from the CPUIF unit 56 via the ChC control circuit 72c, and that the data is transferred to the CPU bus control unit 72d while checking the remaining capacity of the FIFO buffer (ST20). In the following description, the ChC control circuit 72c may be abbreviated as "transfer circuit ChC" for convenience.

[0322] Next, the total transfer size (for example, 256 bytes adjusted by the standard method (B)) is set in a predetermined data transfer register RGij, and the management counter CN is initialized to 64 (ST21). Next, the data transfer operation via the transfer circuit ChC is set to a start state (ST22), and the preload operation is started based on the set value in the preload register RGij that specifies the operation of the preloader 73 (ST23).

[0323] As a result, thereafter, the preloader 73 executes the necessary analysis (Analyze) processing for each instruction command that the performance control CPU 63 writes to the transfer port TR_PORT, and when it detects an instruction command (TXLOAD) to read access the CGROM 55, it preloads the texture and stores it in the preload area of ​​the DRAM 54. It also stores the rewrite list DL' in which the source address of the texture has been changed in the DL buffer area BUF' of the DRAM 54.

[0324] Timings t1, t3, and t5 in Fig. 19(a) practically indicate the operation timing of step ST23 in Fig. 17. However, also in this embodiment, if any abnormality occurs during the process of issuing the display list DL, the processes of steps ST25 and ST27 are executed. Specifically, the operations of the data transfer circuit 72 and the preloader 73 are initialized, and the process of issuing the display list DL (ST20 to ST30) is executed again to the extent possible. The initialization process of the preloader 73 includes erasing the incomplete rewrite list DL' and clearing the preload area in which new preload data has been stored.

[0325] Although the above has described in detail the cases where the preloader 73 is used and where it is not used, the specific operation contents are not particularly limited. Fig. 18(b) shows an embodiment in which the display list generated by the performance control CPU 63 is issued to the drawing circuit 76 with a delay of one operation cycle δ, rather than the operation cycle in which it was generated. In such an embodiment, the drawing circuit 76 can use almost the entire time of one operation cycle (δ), thereby reducing the possibility of frame dropping.

[0326] 19(b) shows an embodiment in which the display list generated by the performance control CPU 63 is issued to the preloader 73 with a delay of one operation cycle, rather than in the operation cycle in which the display list was generated. In this case, the preloader 73 can execute the preloading operation using almost the entire time of one operation cycle (δ), so that the possibility of frame dropping is also reduced in this case.

[0327] In the above explanation, the composite chip 50 is used, but it is not necessary to integrate the performance control CPU 63 and the VDP circuit into a single element. Furthermore, in the above embodiment, the entire performance control is controlled by a single CPU (performance control CPU 63), but the upstream CPU and the downstream performance control CPU 63 may cooperate with each other to execute the performance control operation.

[0328] 20 and 21 are block diagrams showing such an embodiment. As shown in the figures, in this embodiment, the upstream performance control CPU controls the audio performance, the lamp performance, and the motor performance. Meanwhile, the downstream built-in CPU circuit 51 controls only the image performance based on the control command CMD' received from the performance control CPU.

[0329] When such a configuration is adopted, the built-in CPU circuit 51 does not need to execute the process of step ST12 in Fig. 10(a) and the process of Fig. 10(b), and can take a sufficient amount of time to generate a complex display list DL, thereby enabling more complex and advanced image presentation such as 3D (Dimension) to be realized. In such a case, the display list becomes large, but in that case, the total data amount of the display list DL is adjusted to 512 bytes or more, i.e., N x 256 bytes, by adding a dummy command.

[0330] Moreover, since the operation of the built-in CPU circuit 51 on the downstream side is specialized for image presentation control, it is also possible to check whether the drawing operation is completed after the display list DL is issued. The lower part of Fig. 12 shows an example of operation control in this case, and if the drawing operation is not completed even after the limit time has elapsed, the serious abnormality flag ABN is set and processing ends (ST32). Note that since the processing of the built-in CPU circuit 51 on the downstream side is limited to image presentation control, it is also possible to simply wait for the drawing operation to be completed in an infinite loop.

[0331] When such a configuration is adopted, the start condition determination (ST5) in Fig. 10(a) can be repeated for a predetermined time. Even with such a configuration, if the delay in the completion of the drawing operation is not too long, the only problem that occurs is a delay in switching between display area (0) and display area (1). That is, as in the operation period T1+3δ shown in Fig. 22(a), in one operation period in which the display operation is repeated twice, a frame drop state occurs only in the first half, and normal frames are displayed in the second half.

[0332] This is also the case when a preloader is used, and the start condition determination (ST5') in FIG. 15(a) can be repeated for a predetermined time. If there is a slight delay, only the first half of the operation cycle T1+3δ shown in FIG. 22(b) will experience frame drop, and the second half will display normal frames. However, if the completion of the drawing operation is significantly delayed, a complete frame drop will occur, as in the operation cycle T1+3δ in FIG. 18(a), and if this situation continues, the watchdog timer 58 will be activated. Thereafter, all or part of the performance control operation (only the image performance) can be reset as an abnormality based on the underflow signal UF. This is also the case when a preloader is not used.

[0333] Furthermore, in an embodiment in which the control operation of the built-in CPU circuit 51 is specialized for image rendering control, as shown in the lower part of Fig. 14, the completion of the drawing operation of the drawing circuit 76, the completion of the operation of the data transfer circuit 72, and the completion of the operation of the DMAC circuit 60 are determined (ST50' to ST52'). If any of the operations does not end normally, the operations of the data transfer circuit 72 and the drawing circuit 76 are initialized, and the same processing as the processing of steps ST53 to ST55 (ST55' to ST57') is executed. In this case, it is also preferable to re-execute the DL issuance process a predetermined number of times.

[0334] The above describes an embodiment in which an index space with a horizontal size that completely matches the number of horizontal pixels of each display device is constructed as the frame buffers FBa and FBb of the main display device DS1 and the sub display device DS2. Figure 23(a) clearly illustrates this relationship, showing a case in which the drawing area (W×H) in the virtual drawing space and the effective data area (actual drawing area W×H) in the index space both match the number of horizontal / vertical pixels of the display devices.

[0335] In such a correspondence relationship, the drawing operation into the virtual drawing space by the display list DL is not necessarily limited to the drawing area (W×H). For example, as shown by the left slanting line at the top of Figure 23(a), by moving the drawing position in time for a drawing image (W'×H') that exceeds the drawing area (W×H), it is possible to appropriately move the drawing content into the actual drawing area W×H shown by the right slanting line at the bottom of Figure 23(a) vertically / horizontally / diagonally.

[0336] To achieve this effect, an index space with a horizontal size W larger than the number of horizontal pixels of the display device may be provided, as shown in Fig. 23(b), for example. In this case, the drawing area W×H in the virtual drawing space defined by the instruction command L12 (SETDAVF) in the display list DL is set to be larger than the actual drawing area w×h corresponding to the number of horizontal / vertical pixels of the display device. Note that the actual drawing area w×h is indicated by a right-sloping line at the bottom of Fig. 23(b).

[0337] The vertical and horizontal dimensions of the actual drawing area w×h are then identified as the number of display lines and the number of horizontal pixels of the display device in the processing of step SS30 of FIG. 10, and the upper left corner point of the actual drawing area w×h is set in a specified display register as the vertical / horizontal display start position in the processing of step SS31 of FIG. 10.

[0338] On the other hand, the base address (X, Y) in the index space is set in a predetermined drawing register by the display list instruction command L11. As explained above, specifically, the upper left base address on the index space IDX is specified as (0, 0), for example, by the environment setting instruction command L11 (SETDAVR). If the upper left corner point of the actual drawing area w×h is moved appropriately in the normal processing, the drawing contents of the actual drawing area W×H shown by the right slanting line at the bottom of FIG. 23(b) will move vertically / horizontally / diagonally as appropriate.

[0339] As explained with respect to FIG. 10, the VDP registers RGij relating to steps SS30 to SS32 are write-prohibited after initial setting (second prohibition setting SS34), but at the timing of executing the above-mentioned performance, this prohibition is released by writing a release value to a specific VDP register RGij.

[0340] In the above embodiment, the first and second type inhibition setting registers are utilized to uniformly set the predetermined system control register RGij and the predetermined VDP register RGij of the initial setting system to a write inhibit state (see SS33 and SS34 in FIG. 10 and FIG. 15), so that the set values ​​of these registers are not changed thereafter due to the influence of noise, etc. However, it is also preferable to repeat the setting process for the set values ​​of important system control registers RGij at predetermined time intervals without setting them to be write inhibited in this way.

[0341] Fig. 24 is a diagram for explaining the processing in such a case, and the setting values ​​to be set in the initial setting processing (ST3) are collected in a setting value table SETTABLE stored in the control memory 53 (PROGMROM). Note that, although explanation is omitted for step ST3 in Fig. 10, (a) the initial setting processing is executed based on the initial value setting table SETTABLE, and (b) the contents of the initial value setting table SETTABLE are the same as those explained below in the embodiment of Fig. 10.

[0342] In any embodiment, the setting value table SETTABLE is composed of multiple sets (N sets) of the register address value of the VDP register RGij and the setting value for that register RGij. Although not particularly limited, the register address value is fixed to a length of 16 bits, and the setting value is fixed to a length of 32 bits, and since each is a fixed length, the data capacity of the initial value setting table SETTABLE is 6×N bytes (=48t×N bits) long, and there are N VDP registers RGij.

[0343] However, in the embodiment of FIG. 10, the initial value setting table SETTABLE is read-accessed only once and all N VDP registers RGij are initialized only once, whereas in the embodiment of FIG. 24, all N VDP registers RGij are divided into N1 VDP registers RGij that are initialized only once and N2 VDP registers RGij that are repeatedly initialized every 1 / 30 seconds.

[0344] In the embodiment of FIG. 24, the setting values ​​that are repeatedly initialized include (1) setting values ​​for DMA transfer operations, (2) setting values ​​for VRAM, (3) setting values ​​for interrupts, (4) setting values ​​for the display circuit 74, and (5) setting values ​​for the drawing circuit 76.

[0345] (1) The setting values ​​related to the DMA transfer operation are, for example, setting values ​​that are prerequisites for the operating conditions specified in step ST41, and are basic setting values ​​that are fixedly applied regardless of the differences in the operating conditions in Fig. 13(c) and Fig. 17(c). Specifically, the setting values ​​include (a) a threshold value (e.g., 1 / 2 of the entire stage) for how much of the FIFO buffer (N stages) built into the DMAC circuit 60 needs to be released before a transfer request is made to the transfer source, and (b) whether or not to perform a handshake operation with the transfer destination and transfer source (e.g., No).

[0346] Also, (2) the VRAM setting value includes the refresh cycle of the refresh operation. The built-in VRAM 71 operates at this refresh cycle to prevent natural discharge of stored data. Next, (3) the interrupt setting value is a value that specifies the type of error that will cause an interrupt request and the output terminal of the interrupt signal, and includes, for example, setting values ​​such as (a) that if the drawing circuit 76 freezes, a drawing abnormality interrupt is generated for the built-in CPU circuit 51 (see FIG. 10(d)), and (b) that when VBLANK of the display device DS1 starts, a VBLANK start interrupt is generated for the built-in CPU circuit 51 (see FIG. 10(c)).

[0347] In addition, (4) the setting values ​​related to the display circuit include (a) the horizontal / vertical starting position of each frame buffer (see SS31), (b) the setting value related to the horizontal synchronization signal of each display device, (c) the setting value related to the vertical synchronization signal of each display device, (d) the setting value related to the scaler, and (e) the setting values ​​of the number of horizontal pixels and the number of display lines of each display device (SS30).

[0348] (5) The setting values ​​related to the drawing circuit 76 include a setting value of the freeze time until a drawing abnormal interrupt occurs. This setting value is set, for example, as an integer multiple of the period of the vertical synchronization signal. As explained in FIG. 10(d), if the drawing circuit 76 does not access the VRAM during the freeze period specified here, the drawing circuit 76 is individually reset (ST18), and the operating parameters for the drawing circuit 76 are reset (ST19).

[0349] As described above, in this embodiment, important set values ​​are repeatedly reset at predetermined time intervals, so that even if the set value is corrupted due to the influence of noise, etc., the abnormality is immediately restored. Also, in this embodiment, unlike the embodiment of Fig. 10, the first and second type inhibition setting registers RGij are not inhibited from being write-inhibited, so that rewriting can be freely performed without going through a somewhat complicated inhibition release process.

[0350] As a further modified embodiment, it is also preferable to utilize the audio circuit SND built into the composite chip 50. Fig. 25 is a block diagram showing such an embodiment. As is clear from comparing Fig. 25 with Fig. 4, in this embodiment, the audio processor 27 and audio memory 28 are unnecessary, and external wiring to the audio circuit is unnecessary for the data bus (8 bits) and address bus (2 bits) of the CPU circuit 51.

[0351] In this embodiment, in order to eliminate the voice memory 28, the voice data to be stored in the voice memory 28 is stored in a CGROM 53. Fig. 26(d) illustrates the storage contents of the CGROM 53, which permanently stores sound ROM header information, phrase header information HD, a large number of phrase data PH compressed from a group of voice data, and a large number of sound commands SCMD which specify the operation of the voice circuit SND.

[0352] As shown in the figure, sound ROM header information is stored from the start address SNDst, followed by phrase header information HD of data size HDvl stored from the start address HDst, phrase data PH of data size PHvl stored from the start address PHst, and sound command SCMD of data size SCMDvl stored from the start address SCMDst.

[0353] Here, the sound ROM header information specifically means the head address HDst of the phrase header HD area, the data size HDvl of the phrase header HD area, the head address PHst of the phrase data area PH, the data size PHvl of the phrase data area PH, the head address SCMDst of the sound command area SCM, and the data size SCMDvl of the sound command area SCMD. These are acquired by the internal circuit of the sound circuit SND when the power is turned on (see SD4).

[0354] Moreover, the phrase header information HD and phrase data PH are transferred to the external DRAM 54 when the power is turned on, thereby speeding up subsequent read access (SD6). Thus, in this embodiment, the voice processor 27 and voice memory 28 are eliminated, thereby achieving miniaturization and reduced manufacturing costs, and overcoming the weakness of the CGROM 53, which is low-cost and easy to increase in capacity, but has a slow access speed.

[0355] Based on the above, the initial setting process at the time of power-on will be described with reference to Fig. 26(a). Note that this process is executed as part of the process of step ST3 in Figs.

[0356] As explained with reference to Fig. 4(b), when the power is turned on or when an abnormal reset occurs in which the WDT 58 is activated, the audio circuit SND is hardware reset (SD1) via the reset path 2. Also, if the performance control CPU 63 detects an abnormality in the audio circuit SND, the audio circuit SND is hardware reset (SD1) via the reset path 4B or 4C. Note that the performance control CPU 63 may activate the pattern check circuit CHK, which may result in the audio circuit SND being hardware reset together with the other circuits (72, 73, 74, etc.) (SD1).

[0357] In either case, the performance control CPU 63 then confirms that the reset operation has been completed normally (SD2), and first sets the top address SNDst of the sound data area to the system control register RGij of the sound circuit SND (SD3). Next, a predetermined value is set in a predetermined system control register, causing the sound ROM header information HD to be stored in the internal circuit. The sound ROM header information HD is the six elements (HDst, HDvl, PHst, PHvl, SCMDst, SCMDvl) described above, as shown in FIG. 26(c).

[0358] Then, it is confirmed that the processing up to this point has been normal, and if it should not end normally, the audio circuits are individually reset via the reset path 4B or 4C. However, since it is usually possible to confirm that the processing has ended normally, the phrase header information HD and phrase data PH are then transferred to the external DRAM 54 (SD6) using the data transfer circuit 72. Note that the destination start address BGN, the source start address HDst, the total amount of data to be transferred HDvl+FDvl, etc. are appropriately specified in the data transfer circuit 72.

[0359] Next, a specific system control register RGij is set to indicate that the phrase header information HD and phrase data PH are stored in the external DRAM 54, not in the CGROM 55 (SD7), and the start address BGN (sound RAM start address) of the group of data transferred to the external DRAM 54 is set in a specific system control register (SD8). After that, other initial setting processes are completed (SD9), and sound control operation becomes possible.

[0360] As explained earlier, the sound ROM header information, that is, six pieces of information (HDst, HDvl, PHst, PHvl, SCMDst, SCMDvl), are stored in the internal circuitry of the audio circuit (SD4), and then the performance control CPU 63 can specify necessary information such as phrase data as a relative value to the sound RAM starting address BGN, and the audio circuit SND receiving this instruction can convert the relative address value into an absolute address value and execute the necessary audio processing.

[0361] Although various embodiments have been described above in detail, the specific description does not limit the present invention in any way. For convenience, a pinball game machine is described, but the present invention can be suitably applied to other game machines such as a reel game machine. [Explanation of symbols]

[0362] GM gaming machines 71 RW memory 63 CPU 51 Production control means 52 Image Generation Means 76 Drawing Circuit 74 Display circuit RGij Operation Control Register

Claims

[Claim 1] an image control means having a CPU circuit which issues a display list specifying a display screen of a display device; and an image generating means having a drawing circuit which generates image data based on instruction commands written in the display list issued by the image control means, The image generating means includes: a data transfer circuit having a transfer port for receiving configuration data of the display list from the CPU circuit in a predetermined acquisition bit unit, and a FIFO buffer having a FIFO structure for storing the configuration data received by the transfer port; The image control means a first means for setting first information for specifying a FIFO buffer that functions when transferring data of the display list from the transfer port to the drawing circuit in one or more first registers built in the image generating means; a second means for setting a start instruction in one or more second registers built in the image generating means so as to start the operation of the data transfer circuit after the first means; a third means for determining whether the FIFO buffer specified by the first means is normally available or not after the second means; and a fourth means for setting an initialization instruction to one or more registers built into the image generating means and ceasing the issuance of the display list if the judgment by the third means is not normal even after the limit time or the limit number of judgments has elapsed.

Citation Information

Patent Citations

  • Game machine

    JP2009207922A

  • Game machine

    JP2016104059A

  • Game machine

    JP2016150137A

  • Game machine

    JP2016159029A

  • Game machine

    JP2016159030A