Game machine

The gaming machine generates three-dimensional image data using a display list to enhance image presentation and control, addressing the lack of sophistication in existing gaming machines, thereby improving player engagement.

JP2024114539AActive Publication Date: 2024-08-23FUJI SHOJI CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023020378
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-13
Publication Date
2024-08-23
Estimated Expiration
2043-02-13

AI Technical Summary

Technical Problem

Existing gaming machines lack sophisticated image effects, necessitating improved image presentation and control to enhance player engagement.

Method used

A gaming machine that generates three-dimensional still and moving image data in a frame buffer using an image control mechanism, specifying display contents through a display list, and executing commands to decode and draw textures without vertex data acquisition or primitive processing, ensuring smooth and appropriate image control.

Benefits of technology

Enables complex and rich image effects, enhancing player engagement through improved image presentation and control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024114539000001_ABST
    Figure 2024114539000001_ABST
Patent Text Reader

Abstract

To provide a game machine which can execute a more improved image performance control.SOLUTION: Image generation means for generating a still picture or a video is configured such that all of a plurality of processes can be executed, including an input assembler process IA which can acquire vertex data corresponding to an image contour, a rasterize process RS which generates a proper primitive on the basis of the vertex data, and a final process RO which generates image data required for a frame buffer. Predetermined video image data can be generated not through the input assembler process IA or the rasterize process RS process.SELECTED DRAWING: Figure 13
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 2021-040883 A [Patent Document 2] JP 2020-065707 A [Patent Document 3] JP 2020-022673 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 3), 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 gaming machine according to the present invention comprises an image control means for issuing a display list that specifies the display contents to be displayed on a display device, and an image generation means configured to operate based on the display list and generate two-dimensional or three-dimensional still image data and / or video image data in a predetermined frame buffer, wherein the image generation means is configured to be able to execute all or part of a plurality of steps including an acquisition step for acquiring vertex data corresponding to an image contour, a primitive step for generating appropriate primitives based on the vertex data, and an image generation step for generating image data required for the frame buffer. The display list issued at a predetermined timing specifies basic data to be decoded and a development area into which the basic data is to be decoded, and then describes one or more first commands (e.g., SETTXINDEX, LOADTX) that instruct a decoding process, and one or more second commands (e.g., SPRITE) that appropriately specify a drawing area of ​​the frame buffer and instruct the texture to be drawn in the drawing area. The image generating means is configured to operate based on the display list and generate predetermined moving image data in the frame buffer without going through the acquisition step or the primitive step. Preferably, all moving image data and still image data are generated without going through the acquisition step or the primitive step. Also, it is preferable that the first command specifies the data size (vertical and horizontal pixel size) after decoding. Effect of the Invention

[0008] According to the present invention described above, even in the case of advanced two-dimensional or three-dimensional image presentation, smooth and appropriate image control operations can be executed. [Brief description of the drawings]

[0009] [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] This illustrates the internal configurations of the performance interface board, the performance control board, and the liquid crystal interface board. [Diagram 5] FIG. 2 is a circuit block diagram illustrating a composite chip including associated circuit elements. [Figure 6] 1 is a diagram for explaining an index space and a virtual drawing space. [Figure 7] 1 is a diagram illustrating a display circuit. [Figure 8] 4 is a diagram illustrating an internal configuration of a data transfer circuit. [Figure 9] 11 is a diagram for explaining a transfer operation of a display list and a voice command list. [Figure 10] 11 is a diagram for explaining a filter process based on a display list. [Figure 11] 1 is a diagram for explaining the procedure for playing IPB stream video. [Figure 12] 4 is a diagram illustrating an internal configuration and a control procedure of an audio processing unit. [Figure 13] 1 is a diagram for explaining a drawing pipeline process of a drawing circuit. [Figure 14] FIG. 2 is a process diagram illustrating various rendering modes that utilize all or part of the rendering pipeline steps. [Figure 15] 13 is a flowchart explaining the control operation of a performance control CPU that does not include a preload operation. [Figure 16] 16 is a flowchart illustrating a part of FIG. 15. [Figure 17] 13 is a flowchart explaining the control operation of the performance control CPU, including the preload operation. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] 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 an inner frame 3 that is pivotally attached to be able to open and close via a hinge 2 fixed to the outer frame 1. A game board 5 is detachably attached to this inner 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 that they can be opened and closed. In this specification, the glass door 6 and the front panel 7 are collectively referred to as a front door member. The inner frame 3 to which the front door member (glass door 6 and front panel 7) is pivotally attached may be referred to as a game frame.

[0011] 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.

[0012] 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 inner 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.

[0013] 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.

[0014] 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.

[0015] 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.

[0016] 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.

[0017] A display device DS consisting of a large (for example, 1280 pixels wide x 1024 pixels high) liquid crystal color display is disposed in the central opening HO. The display device DS is composed of a main liquid crystal display section MONI and an LED backlight section BL, and is a device that variably displays specific symbols related to a jackpot state, as well as displays background images and various characters in an animated manner. This display device DS has special symbol display sections Da-Dc in the center and a normal symbol display section 19 in the upper right section. 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.

[0018] 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.

[0019] 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.

[0020] 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.

[0021] 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.

[0022] 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.

[0023] 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 motion, 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.

[0024] 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.

[0025] 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).

[0026] Fig. 3(a) is a block diagram showing the overall circuit configuration of the pachinko machine GM that realizes each of the above-mentioned operations. Fig. 3(b) is a circuit diagram showing the circuit configuration of the power supply monitor unit MNT arranged on the payout control board 25. As shown in Figure 3(a), this pachinko machine GM is mainly composed of a power supply board 20 that receives AC 24V and outputs various DC voltages (35V, 12V, 5V) along with the AC 24V, a main control board 21 that is responsible for overall game control operations, a presentation interface board 22 equipped with a digital amplifier 29 for sound presentation and the like, a presentation control board 23 that executes lamp presentation, sound presentation, and image presentation 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 device DS, 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 the player's operation.

[0027] Fig. 4 is a somewhat detailed diagram of a portion of Fig. 3(a), and shows the schematic internal configuration of the performance interface board 22, performance control board 23, and liquid crystal interface board 24. As shown in Fig. 4 and Fig. 3(a), the performance interface board 22, performance control board 23, and liquid crystal interface board 24 are directly connected to male and female connectors without going through 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.

[0028] As shown in Fig. 3(a), the control command CMD' output by the main control board 21 is transmitted to the dispensing control board 25. 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. Here, the control commands CMD and CMD' are both 16 bits long, but are sent in parallel in two batches of 8 bits each.

[0029] 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 general performance circuit 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.

[0030] This pachinko machine GM is broadly divided into a frame side member GM1 surrounded by a dashed line in Fig. 3(a) and a board side member GM2 fixed to the back of the game board 5. The frame side member GM1 includes an inner 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 members except the frame side member GM1 are board side members GM2.

[0031] As shown in the dashed frame in Fig. 3(a), the frame side member GM1 includes a power supply board 20, a backup power supply board 33, a payout control board 25, a launch control board 26, a frame relay board 36, and a motor / lamp drive board 37, and these circuit boards are fixed to appropriate positions in the inner frame 3. Meanwhile, a main control board 21 and a performance control board 23 are fixed to the back of the game board 5 together with a display device DS and other circuit boards. The frame side member GM1 and the board side member GM2 are electrically connected by centralized connectors C1 to C3 arranged in one place.

[0032] The power supply board 20 generates three types of DC voltages (35V, 12V, 5V) based on the AC voltage AC24V distributed from the gaming hall, and distributes each DC voltage to the performance interface board 22 via the centralized connection connector C2. The three types of DC voltages (35V, 12V, 5V) are distributed to the payout control board 25 together with the AC voltage AC24V. The DC voltages (35V, 12V, 5V) distributed to the payout control board 25 are then distributed to the main control board 21 together with the backup power supply BAK via the centralized connection connector C1.

[0033] The DC 35V is used as a driving power source for the ball feed solenoid and launch solenoid in relation to the launching operation of the game ball, and as a driving power source for the electromagnetic solenoid that opens and closes the electric tulip (variable winning device) and the large winning port 16. The DC 12V is used as a driving power source for the LED lamps and motors controlled by each control board, and as a power source voltage for the digital amplifier, while the DC 5V is used as a power source voltage for the one-chip microcomputer of the payout control board 25 and the main control board 21, and as a power source voltage for the logic elements mounted on each control board. The DC 5V is also stepped down in level by the DC / DC converter of the performance interface board 22 and the performance control board 23, and the stepped down voltages of various levels are used as power source voltages for various computer circuits (such as the composite chip 50).

[0034] The backup power supply BAK is a DC 5V power supply for holding data in the built-in RAM of the one-chip microcomputer of the main control unit 21 and the payout control unit 25 after the power is cut off, and is realized by, for example, an electric double layer capacitor. In this embodiment, a dedicated backup power supply board 33 is provided, and the electric double layer capacitor arranged on the backup power supply board 33 is configured to be charged by the DC voltage of 5V received from the payout control board 25 during game operation.

[0035] On the other hand, after the power is cut off, the backup power supply BAK holds the data in the built-in RAM of the one-chip microcomputer of the main control unit 21 and the payout control unit 25, so that the main control unit 21 and the payout control unit 25 can resume the gaming operation before the power is cut off after the power is turned on. Note that the backup power supply board 33 is equipped with an electric double layer capacitor that can hold the memory contents of the built-in RAM of each one-chip microcomputer for at least several days.

[0036] In this embodiment, the power supply abnormality signal ABN indicating an abnormal drop in the AC voltage AC24V is generated not by the power supply board 20 but by the power supply monitor unit MNT of the dispensing control board 25. As shown in FIG. 3(b), the power supply monitor unit MNT is configured to have a full-wave rectifier circuit that rectifies the AC24V received from the power supply board 20, a photodiode D that receives the output of the full-wave rectifier circuit and emits light, a phototransistor TR that uses a DC voltage of 5V received from the power supply board 20 as a power source and turns ON based on the light emitted by the photodiode D, and an output unit that outputs a detection signal ABN (power supply abnormality signal) of H level based on the ON operation of the phototransistor TR. The photodiode D and the phototransistor TR constitute a photocoupler PH.

[0037] In the above configuration, after power is turned on, the photocoupler PH quickly turns ON, causing the power supply abnormality signal ABN to go to a normal level (H). However, if the AC power supply drops abnormally for some reason (normally due to a power cut), the photocoupler PH turns OFF, causing the power supply abnormality signal ABN to go to an abnormal level (L). This power supply abnormality signal ABN is transmitted to the one-chip microcomputer of the payout control board 25, and is also transmitted to the one-chip microcomputer of the main control board 21 via the centralized connection connector C1. Therefore, each one-chip microcomputer that receives the power supply abnormality signal ABN of an abnormal level executes a backup process to store necessary information in its own built-in RAM. As explained above, the information in the built-in RAM is maintained by the backup power supply BAK, so that the game operation before the power cut can be resumed after the power is turned on.

[0038] As shown in Figures 3(a) and 4, the performance interface board 22 is equipped with a reset circuit RST3 and a digital amplifier 29 (AMP), the performance control board 23 is equipped with a composite chip 50 which has built-in computer circuits such as an overall performance circuit 52 and an built-in CPU circuit 51, and the LCD interface board 24 is equipped with a clock circuit 38 (RTC), a performance data memory 39 (SRAM) which stores performance data, and a power supply control circuit SPY.

[0039] In this embodiment, the overall performance circuit 52 built into the composite chip 50 includes a video processing unit VDP (Video Display Processor), an audio processing unit SND (Audio Processor), a motor control unit MT_CTL, and a lamp control unit L_CTL. Based on the control from the built-in CPU circuit 51, the overall performance circuit 52 performs intermittent operation with an operation period δ (= 1 / 30 seconds) to perform image performance using the display device DS, audio performance driving the speaker via the digital amplifier 29, motor performance rotating the performance motors M1 to Mn to move the role objects, and lamp performance blinking LED lamps. In the following description, the built-in CPU circuit 51 may be abbreviated as the CPU circuit 51.

[0040] When the power is turned on, the reset circuit RST3 generates a power reset signal based on the rise in the power supply voltage of 5V received from the power supply circuit 20, and resets the power supply to the internal circuitry and other electronic elements of the composite chip 50. As explained above, the internal circuitry of the composite chip 50 includes a video processing section VDP (Video Display Processor) and an audio processing section SND (Audio Processor), and the power reset signal is nothing but a system reset signal SYS of the composite chip 50, which synchronously resets the power supply to the CPU circuit 51 and the overall performance circuit 52.

[0041] In this embodiment, during the L assertion period of the system reset signal SYS, all internal circuits are initialized uniformly, and default values ​​are set in the performance control register RGij of the composite chip 50. After that, when the system reset signal SYS transitions to H level, the boot program is started, and the necessary initial setting operation is performed on the performance control register RGij. On the other hand, when the DC voltage of 5V drops (usually when the power is cut off), the system reset signal SYS drops to L level, so that the CPU circuit 51 and the general performance circuit 52 of the performance control board 23 are in a stopped state.

[0042] As described later, this embodiment is configured so that the system reset signal SYS does not change even if the WDT (Watch Dog Timer) circuit 58 is activated, and all internal circuits are not initialized uniformly even in the event of an abnormality that activates the WDT 58. That is, this embodiment is configured so that a predetermined internal circuit that is arbitrarily selected is initialized.

[0043] Next, the clock circuit 38 and the performance data memory 39 mounted on the liquid crystal interface board 24 are driven by a secondary battery (not shown), and this secondary battery is appropriately charged by the power supply voltage from the power supply board 20 during game operation. 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).

[0044] The clock circuit 38 is configured to be able to output an interrupt signal (RTC interrupt) to the CPU circuit 51. The RTC interrupt includes an alarm interrupt that can specify the date, day of the week, hour, minute, and second, and a timer interrupt that is started after a predetermined time has elapsed, but in this embodiment, an alarm interrupt IRQ_RTC that updates the daily game performance information at the end of business each day is used.

[0045] As shown in Fig. 3(a), the payout control board 25 and the main control unit 21 are each equipped with reset circuits RST1 and RST2, and are configured so that when the power is turned on, a power reset signal is generated and each computer circuit is power reset. In this way, in this embodiment, the main control unit 21, the payout control unit 25, and the performance interface board 22 are each equipped with reset circuits RST1 to RST3, and for example, the system reset signal generated by the power supply board 20 is not transmitted between the circuit boards. In other words, since there is no wiring cable that transmits the system reset signal, the risk of the computer circuit being abnormally reset by noise superimposed on the wiring cable is eliminated.

[0046] However, the reset circuits RST1 and 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. Also, the 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 the main control unit 21 and the dispensing control unit 25, and determines whether or not to initialize the entire area of ​​the built-in RAM of the one-chip microcomputer of each control unit 21, 25.

[0047] As shown in Fig. 3(a), 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 out 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.

[0048] The main control unit 21 also 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 power supply voltage Vcc (5V), and then transmitted to the main control unit 21.

[0049] As explained above, the performance interface board 22 receives various levels of DC voltage (5V, 12V, 35V) from the power supply board 20 via the centralized connection connector C2 (see Fig. 3(a) and Fig. 4). The 12V DC voltage is the power supply voltage for the digital amplifier 29, and is also used as the drive voltage for LED lamps and the like. The 35V DC voltage is distributed to appropriate locations in the play frame and is used as the drive voltage for solenoids that reciprocate movable objects.

[0050] Meanwhile, the DC voltage 5V is supplied as a power supply voltage to the circuit elements in various parts of the performance interface board 22, and is also supplied to a DC / DC converter DC to generate 3.3V (see FIG. 4). The generated DC voltage 3.3V becomes the base voltage for the power reset signal (system reset signal) SYS generated by the reset circuit RST3. The DC voltage 5V distributed to the performance interface board 22 is also distributed to the performance control board 23 together with the 3.3V generated by the DC / DC converter DC. The DC voltage 3.3V distributed to the performance control board 23 is then supplied as a power supply voltage to the composite chip 50 and external ROM 55.

[0051] As shown in Fig. 4, two DC / DC converters DC1 and DC2 are arranged on the performance control board 23, and generate 1.5V and 1.05V based on the DC voltage of 5V supplied to each of them. Here, the DC voltage of 1.05V is the power supply voltage for the chip core of the composite chip 50, and the DC voltage of 1.5V is the power supply voltage for I / O (input / output) with the VRAM 53 and the expansion RAM 54. Therefore, the DC voltage of 1.5V is also supplied to the VRAM 53 and the expansion RAM 54 as the power supply voltage.

[0052] As shown in Fig. 3(a), the performance interface board 22 receives a control command CMD and a 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, 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 an input buffer 40. Here, the strobe signal STB is a received interrupt signal IRQ_CMD, and the performance control CPU 57 obtains the control command CMD based on an interrupt processing program (interrupt handler) that is started in response to the received interrupt signal IRQ_CMD.

[0053] 4, 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 board 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.

[0054] 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 board 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. 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 positions of the performance motors M1 to Mn), and transmits these to the motor control unit MT_CTL of the performance control board 23.

[0055] 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 serial signals received from the lamp control unit L_CTL and the motor control unit MT_CTL of the performance control board 23 to each driver IC. The serial signals are specifically lamp (motor) drive signals SDATA and clock signals CK, and the drive signal SDATA is transmitted to each driver IC in a clock synchronous manner, and lamp performances using numerous LED lamps and electric lamps, and role-play performances using performance motors M1 to Mn are executed.

[0056] In this embodiment, the lamp effects are performed by three lamp groups CH0 to CH2, and the driver IC of the lamp drive board 37 receives the lamp drive signal SDATA0 of CH0 output by the lamp control unit L_CTL via the frame relay board 36 in synchronization with the clock signal CK0. 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 output from the CPU circuit 51 (PIO 62) changes to an active level, thereby updating the lighting state of the lamp group CH0 all at once.

[0057] The above also applies to the lamp drive board 30, and the driver IC of the lamp drive board 30 receives the lamp drive signal SDATA1 for the lamp group CH1 output from the lamp control unit L_CTL in synchronization with the clock signal CK1. Then, when the operation control signal ENABLE1 output from the CPU circuit 51 (actually the PIO 62) changes to an active level, the lighting states of the lamp group CH1 are updated all at once.

[0058] 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 manner from the motor control unit MT_CTL, 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 manner. Since the lamp drive signal and the motor drive signal are the same type of serial signal, a series of composite serial signals SDATA2 are output from the motor control unit MT_CTL in synchronization with the clock signal CK2, and the driver IC that receives this 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.

[0059] In this embodiment, for the motor lamp drive board 31, the motor control unit MT_CTL is in charge of the motor performance and the lamp performance for convenience, so the operation control signal ENABLE2 is also output from the motor control unit MT_CTL. Note that the lamp drive signals SDATA0 and SDATA1 for the lamp drive board 37 and the lamp drive board 30 may also be configured to be output from the motor control unit MT_CTL.

[0060] 4, the data bus and address bus of the CPU circuit 51 of the performance control unit 23 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 when the clock circuit 38 is chip-selected by a chip select signal, the CPU circuit 51 can arbitrarily access the internal register (having a 4-bit address value).

[0061] In addition, 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 of the CPU circuit 51 and the lower 16 bits of the data bus. When the chip is selected, the game performance information and other data stored in the SRAM (performance data memory) 39 can be appropriately read / written by the CPU circuit 51.

[0062] In addition, a power supply control circuit SPY that controls the power supply to the display device DS and the backlight board BL is mounted on the liquid crystal interface board 24. Specifically, the power supply control circuit SPY controls the start timing of supplying power supply voltages of 12V and 5V to the display device DS and the backlight board BL with a control signal STBY, and controls the brightness of the backlight light and the start timing of light emission with a control signal PWM.

[0063] As shown on the right side of Figure 4, the performance control board 23 is equipped with a composite chip 50 which incorporates a CPU circuit 51 and an overall performance circuit 52, a VRAM 53 which is rapidly accessed via R / W from the CPU circuit 51 and the overall performance circuit 52, an expansion RAM 54 which can store large amounts of data, and an external ROM 55 which stores CG data and other data in a non-volatile manner.

[0064] The VRAM 53 is capable of high-speed access with a theoretical transfer speed of about 102 GB / sec, and has a storage capacity of about 48 MB. The VRAM 53 is primarily used for (1) storing reference data for the display circuit 71, drawing circuit 74, and GDEC circuit 73 (see FIG. 5(a)). It can also (2) store a copy of data in the external ROM 55, and (3) be used as a work area for the CPU circuit 51.

[0065] The expansion RAM 54 can operate at a theoretical transfer rate of about 17.0 GB / sec, has a storage capacity of about 1 GB, and can be used in the same manner as the VRAM 53. That is, the expansion RAM 54 can be used (1) to store reference data for the display circuit 71, drawing circuit 74, and GDEC circuit 73, (2) to store copies of data in the external ROM 55, and (3) as a work area for the CPU circuit 51.

[0066] The external ROM 55 in this embodiment is a non-volatile storage device that stores a boot program that is started when the power is turned on, a control program for the CPU circuit 51 that realizes performance control, control data including lamp drive data, CG compressed data for image performance, and audio compressed data for audio performance. The storage capacity of the external ROM 55 is about 256 GB at maximum, but since high-speed access is not possible, in this embodiment, a part of the data in the external ROM 55 is transferred to the extended RAM 54 when the power is turned on. Specifically, the control program and control data that operate the CPU circuit 51 are transferred and copied from the external ROM 55 to the extended RAM 54 by the boot program stored in the external ROM 55 when the power is turned on.

[0067] 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 CPU circuit 51 that issues a display list DL and a voice command list VC, and an overall performance circuit 52 that executes image performances based on the display list DL and voice performances based on the voice command list VC, as well as lamp and motor performances. The CPU circuit 51 and the overall performance circuit 52 are connected via a CPU bus unit 56 that relays data transmitted and received between them.

[0068] First, the CPU bus section 56 located between the CPU circuit 51 and the overall performance circuit 52 will be described. As shown in Fig. 5(a), the CPU bus section 56 is connected to the VRAM 53, the expansion RAM 54, and the external ROM 55 via the VRAM IF section 53a, the expansion RAM IF section 54a, and the CG bus IF section 55a. Therefore, in this embodiment, the VRAM 53, the expansion RAM 54, and the external ROM 55 can be accessed not only by the overall performance circuit 52, but also by the CPU circuit 51.

[0069] The VRAMIF section 53a, the extended RAMIF section 54a, and the CG busIF section 55a are connected to the VRAM 53, the extended RAM 54, and the external ROM 55 via an arbitration circuit ICM (Inter Connect Module) (not shown). The arbitration circuit ICM is located between each functional block of the overall performance circuit 52 and the VRAMI / F section 53a, the extended RAMI / F section 54a, and the CG busI / F section 55a, and arbitrates data requests issued by each functional block as appropriate to establish the necessary connection relationships.

[0070] In any case, the CPU circuit 51 of this embodiment can access the VRAM 53, the expansion RAM 54, and the external ROM 55. However, after the CPU circuit 51 transfers and copies the control program and control data from the external ROM 55 to the expansion RAM 54 when the power is turned on, the CPU circuit 51 does not access the external ROM 55. In other words, after the copy operation, the CPU circuit 51 executes a control operation based on the control program and control data copied to the expansion RAM 54.

[0071] This CPU circuit 51 can read / write access various performance control registers RGij to control the internal operation of the overall performance circuit 52. The data transfer circuit 70 can also transmit and receive data between the CPU circuit 51 and the overall performance circuit 52 via the CPU bus unit 56. The data transmission from the CPU circuit 51 to the overall performance circuit 52 includes the issuance of a display list DL and a voice command list VC.

[0072] As shown on the right side of Figure 5(a), the overall performance circuit 52 includes (1) a data transfer circuit 70, (2) a display circuit 71, (3) a preloader 72, (4) a GDEC (Graphic Decoder) circuit 73, (5) a drawing circuit 74, (6) an image filter circuit 75, (7) an index table IDXTBL, (8) a motor control unit MT_CTL, (9) a lamp control unit L_CTL, and (10) an audio processing unit SND, and the performance control register RGij is used to enable the CPU circuit 51 to appropriately control the internal circuits of the overall performance circuit 52.

[0073] Therefore, the performance control register RGij is broadly divided into (1) data transfer register, (2) display register, (3) preload register, (4) GDEC register, (5) drawing register, (6) image filter register, (7) index table register, (8) MT_CTL register, (9) L_CTL register, (10) sound register, etc. corresponding to each of the above circuits (1) to (10), and a system control register is provided for overall system control (see Figure 5 (b)). Note that the system control register and each of the registers (1) to (10) for the individual circuits are actually composed of multiple register groups that are further divided.

[0074] Based on the above, the CPU circuit 51 will be described. The CPU circuit 51 is a circuit with the same performance as a general-purpose one-chip microcomputer, and as shown on the left side of Fig. 5(a), it is configured with a performance control CPU 57 that comprehensively controls image / audio / lamp / motor performance based on a control program, a watchdog timer (WDT) 58 that forcibly resets the CPU when the program goes out of control, an internal RAM 59 with a storage capacity of about 2MB that is used as a working area for the performance control CPU 57, a DMAC (Direct Memory Access Controller) 60 that realizes data transfer without passing through the performance control CPU 57, a serial input / output port (SIO) 61 with multiple input ports Si and output ports So, a parallel input / output port (PIO) 62 with multiple input ports Pi and output ports Po, and an operation control register REG in which a setting value is set to control the internal configuration of the CPU circuit 51.

[0075] For convenience, the term "input / output port" is used in this specification, 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 corresponding to the parallel input / output port 62 and the input / output circuit 63s corresponding to the serial input / output port 63, which will be described below.

[0076] The parallel input / output port (PIO) 62 is connected to an external device (performance interface board 22) through an input / output circuit 64p, and the performance control CPU 57 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 62 through the input / output circuit 64p.

[0077] Similarly, the received control command CMD is supplied to the parallel input / output port 62 via the input / output circuit 64p. The strobe signal STB is supplied to the interrupt terminal of the performance control CPU 57 via the input / output circuit 64p, thereby starting the reception interrupt process. Therefore, the performance control CPU 57, which has grasped the control command CMD based on the reception interrupt process, will unify the control of the sound performance, lamp performance, motor performance, and image performance corresponding to this control command CMD through a performance drawing, etc. The parallel input / output port 62 outputs the operation control signals ENABLE0 to ENABLE1 for the lamp performance via the input / output circuit 64p.

[0078] Also, the serial input / output port (SIO) 61 is configured to be able to transmit and receive a serious signal via the input / output circuit 63s. Therefore, as shown by the dashed line in Fig. 5(a), a clock signal CK that realizes synchronous serial transmission and a drive serial signal SDATA can also be output via the input / output circuit 63s internally connected to the serial input / output port SIO 61. However, in this embodiment, the lamp / motor performance is realized by using the lamp control unit L_CTL and the motor control unit MT_CTL of the overall performance circuit 52 without using the serial input / output port 61.

[0079] Incidentally, a DL buffer BUF for sequentially updating and storing a display list DL in which a series of instruction commands specifying one frame of the display device DS are listed is secured in the built-in RAM 59 of the CPU circuit 51. Moreover, this DL buffer BUF is configured by partitioning areas, and also sequentially updating and storing a voice command list VC specifying the performance contents of the voice performance.

[0080] In this embodiment, the instruction commands of the display list DL that specifies one frame of the display screen include (1) an index table control command related to the index table IDXTBL that manages the index space, (2) texture load commands such as the LOADTX command for reading and decoding (decompressing / expanding) image material (texture) from the external ROM 55, (3) filter execution commands that specify filter processing for the decompressed image data, (4) drawing commands such as the SPRITE command for placing the decoded (expanded) image material at a predetermined position in the virtual drawing space, (5) pipeline commands related to drawing pipeline operation, and (6) overall control commands that specify the overall operation of the overall performance circuit 52, all of which are configured as an integer multiple (>0) of 32 bits. The display list DL is configured to end with a predetermined end command EODL (32 bits long) after listing an appropriate number of instruction commands.

[0081] Also, the voice command list VC, which specifies the operation of the voice processing unit SND that executes the voice performance, lists an appropriate number of voice commands and then ends with a predetermined end command EOSC (32-bit length). Here, the voice commands are roughly divided into track-related commands that specify the operation of the pre-processing unit FT shown in Fig. 12(a), master effect-related commands that specify the operation of the post-processing unit BK shown in Fig. 12(a), and other system-related commands, and each voice command is composed of an integer multiple (>0) of 32 bits.

[0082] As described later, the rendering pipeline operation of this embodiment is executed using the vertex buffer VB built into the rendering circuit 74, the frame buffer FB secured as an index space, and the depth / stencil buffer, and is configured to include an input assembler process IA, a geometry engine process TL, a rasterizer process RS, a texture sampler process TX, a texture process PS, a pixel drawing process PX, and a render process RO. The above-mentioned (5) pipeline command functions as a setting command that specifies the specific operation of each process (IA, TL, RS, TX, PS, PX, RO) and the R / W position of the vertex buffer VB.

[0083] Incidentally, texture is generally a concept referring to the feel and texture of an object's surface, but in this specification, image data before and after decoding is collectively referred to as texture. For example, sprite image data that makes up a still image, frame image data that makes up one frame of a video, and pasted image data that is pasted onto drawing primitives such as triangular polygons and quadrilateral polygons are also referred to as texture.

[0084] Then, (2) the texture is read out from external ROM 55 and decoded by the LOADTX command, which is a texture load command, (5) the source image data is set to be a texture by the SETTXINDEX command, which is a texture sampler process TX command included in the pipeline commands, and (4) the texture is virtually drawn in the virtual drawing space shown in Figure 6(c) by the SPRITE command, which is a drawing command. The contents drawn in the virtual drawing space are output to the display device DS via the frame buffer FB, which will be described later.

[0085] More specifically, in the SETTXINDEX command, the index space (space type and index number) used as the texture is set by the embedded parameters. Here, as the space type, any area of ​​the VRAM 53, the page area of ​​the VRAM 53, the AAC area of ​​the VRAM 53, any area of ​​the extended RAM 54, or the page area of ​​the extended RAM 54 can be specified, but in this embodiment, the shared area of ​​the VRAM 53 is used as the ACC area, so there is no page area in the VRAM 53 (see FIG. 6(a)).

[0086] Furthermore, when the LOADTX command is executed with the index space set by the SETTXINDEX command, the decoded result is stored in the set index space. This LOADTX command specifies the horizontal and vertical pixel sizes of the decoded texture, as well as the type of memory in which the basic data to be decoded is stored and the address of the basic data. By specifying the horizontal / vertical pixel sizes by the LOADTX command, the internal circuitry of the video processor VDP can easily manage the correspondence between the horizontal and vertical positions of each texture pixel (RGBA color information) and the data position on the index space.

[0087] Although there is usually only one type of pixel size information and basic data address information, when decoding an IPB stream, which will be described later, two types of information for the main frame and subframe may be specified with one LOADTX command. The memory type is usually external ROM 55, but it is also possible to specify expansion RAM 54 or VRAM 53. For example, in Figure 11, the reference buffer to be accessed by the LOADTX command is an index space secured in an arbitrary area of ​​VRAM 53 or expansion RAM 54.

[0088] The SPRITE command is a command that pastes a rectangular texture into a rectangular area in window coordinates. In this embodiment, a maximum of four textures can be referenced with one SPRITE command, and the upper left and lower right coordinates of the texture (only when necessary) and the upper left and lower right coordinates of the window coordinates to which this texture will be pasted are specified by the embedded parameters of the SPRITE command. Note that if the entire texture is to be used, there is no need to specify the upper left and lower right coordinates of the texture; only the window coordinate values ​​to which the texture will be pasted are sufficient.

[0089] The index space managed by the index table control command (1) above means a one-dimensional or two-dimensional memory work area (logical address space) used by the overall performance circuit 52 during drawing operations, etc. This index space is specified as a one-dimensional or two-dimensional logical address space by the index number written in the instruction command of the display list DL.

[0090] That is, in this embodiment, an index space is reserved in an appropriate location of memory (VRAM 53 and expansion RAM 54) accessible as a memory work area, and this is specified by an index number. Also, VRAM 53 and expansion RAM 54 are divided into virtual work areas (AAC area, page area, arbitrary area), and index space can be reserved for each (see FIG. 6(a) and FIG. 6(b)). Therefore, the index number becomes a unique value for each virtual work area, and texture load commands, filter execution commands, drawing commands, pipeline commands, etc. are simplified.

[0091] It also allows individual operation for each virtual work area (AAC area, page area, arbitrary area). For example, in the AAC area, index space is automatically secured as an area for expanding decoded data, and is automatically released. Therefore, index numbers are not required in the ACC area.

[0092] In terms of specific control operations, the virtual work areas (AAC area, page area, arbitrary area) are defined in the initial processing after power-on, and the necessary index space is secured in the necessary virtual work area at the necessary timing thereafter. The secured index space is then linked to the index number and managed by the index table IDXTBL, thereby realizing operations based on the index number thereafter.

[0093] The relationship between the virtual working area and the actual working areas, which are the VRAM 53 and the expansion RAM 54, will be explained below. First, the VRAM 53 is divided into a shared area that can be used as both an AAC area and a page area, and other optional areas. Specifically, in the initial processing after power-on, an appropriate top address and area data size for the VRAM 53 are set in the corresponding performance control register RGij, thereby securing the shared area of ​​the VRAM 53. Then, areas other than the shared area secured in the VRAM 53 automatically become optional areas of the VRAM 53 (FIG. 6(a)).

[0094] The shared area secured in the VRAM 53 can be used as an ACC area, which does not require management of index numbers, and as a page area, which requires management of index space by index numbers. Therefore, when using a shared area, it is necessary to specify with the SETTXINDEX command that index space is secured in the AAC area, and then use the LOADTX command to specify the pixel size and storage address of the texture (image material), and the decompressed data of the read texture can be expanded in the index space automatically secured in the ACC area.

[0095] Therefore, in this embodiment, taking the above-mentioned simplicity into consideration, for still images and I stream moving images (S stream moving images composed only of I pictures, which will be described later), decoded data is developed in the AAC area of ​​the VRAM 53. That is, in this embodiment, the shared area of ​​the VRAM 53 is used exclusively as an AAC area.

[0096] Next, in the initial processing after power-on, the top address and area data size on the expansion RAM 54 are set in the corresponding performance control register RGij, so that the page area of ​​the expansion RAM 54 is secured, and the other area becomes the arbitrary area of ​​the expansion RAM 54 (FIG. 6(b)). Here, the arbitrary area means an area in the expansion RAM 54 and the VRAM 53 that is allowed to be used arbitrarily, and not only can the index space be secured, but other uses are also possible. Therefore, in this embodiment, a preload area for pre-transferring (preloading) the CG data acquired from the external ROM 55 is secured in the arbitrary area of ​​the expansion RAM 54 (see FIG. 6(b)), and a preload buffer for storing the rewrite list DL' obtained by the preloader 72 rewriting the display list DL is secured in the arbitrary area of ​​the VRAM 53 (see FIG. 6(a)).

[0097] Furthermore, in this embodiment, the control programs and control data stored in the external ROM 55 are transferred and copied to any area of ​​the extended RAM 54 when the power is turned on (see FIG. 6(b)). Of course, all or part of the control programs and control data may be transferred and copied to the VRAM 53 instead of the extended RAM 54. Furthermore, without being limited to the control programs and control data, a configuration may also be adopted in which all or part of compressed CG data and compressed audio data are also transferred and copied to the RAMs 53 and 54.

[0098] In any case, the index space can be appropriately allocated in the extended RAM 54 and VRAM 53 in (1) the ACC area, (2) the VRAM page area, (3) the VRAM arbitrary area, (4) the extended RAM page area, and (5) the extended RAM arbitrary area, but in this embodiment, the shared area of ​​the VRAM 53 is used exclusively as the AAC area. However, the area allocated as the shared area in the VRAM 53 can be used as both a page area and an AAC area, so the following explanation will be given with this point in mind.

[0099] When reserving an index space in the page area of ​​the VRAM 53, it is necessary to set an index number and a space size in a predetermined performance control register RGij for the VRAM. Also, the index space in the page area of ​​the extended RAM 54 is reserved by setting an index number and a space size in a predetermined performance control register RGij for the extended RAM. In this embodiment, the page area of ​​the extended RAM 54 is used to develop video frames. In addition, in the page area, the top address of the index space is appropriately determined based on internal processing, so there is the convenience of not needing to manage the top address. In other words, in the page area, when reserving an index space, there is no need to worry about overlap with an existing index space.

[0100] On the other hand, when a two-dimensional index space is reserved in any area of ​​the VRAM 53 or the expansion RAM 54, it is necessary to set the index number, the top address of the index space, and the horizontal and vertical sizes of the index space in the corresponding predetermined performance control register RGij. In the case of a one-dimensional index space, the horizontal and vertical sizes are not necessary, and only the space size is set.

[0101] In this way, when the index space is reserved in an arbitrary area, the start address and size can be set in detail, and there is an advantage that the memory can be used efficiently. Therefore, in this embodiment, the image data for one frame of the display device DS is completed and the frame buffer FB is reserved as a two-dimensional index space in an arbitrary area of ​​the VRAM 53 (see FIG. 6(a)). It goes without saying that the frame buffer FB may be reserved in an arbitrary area of ​​the expansion RAM 54.

[0102] The frame buffer FB allocated in any area of ​​the VRAM 53 corresponds to the drawing area of ​​a virtual drawing space that is the drawing target of drawing commands such as the SPRITE command. Figure 6(c) shows the relationship between the virtual drawing space (horizontal X direction ±8192: vertical Y direction ±8192), the drawing area that can be set arbitrarily within the virtual drawing space, and the frame buffer FB that stores image data to be output to the display device DS.

[0103] One frame of image data for the display screen is written into the frame buffer FB by the drawing circuit 74, while one frame of image data for the display screen is read out by the display circuit 71. This frame buffer FB has a double buffer structure made up of a pair of index spaces, and is made up of a first buffer with index number N1 and a second buffer with index number N2.

[0104] For the display circuit 71, the first buffer and the second buffer are read-out areas for image data, and the image data in the first buffer and the second buffer are read out in sequence for each operating period δ by toggling the index numbers N1 / N2 based on the embedded information in a specified display register RGij.

[0105] On the other hand, for the drawing circuit 74, the first buffer and the second buffer are write areas for image data, and image data is written alternately to the first buffer and the second buffer by toggling the index numbers N1 / N2 for each operating period δ based on the instruction command on the display list DL.

[0106] The writing operation of the drawing circuit 74 corresponds to the reading operation of the display circuit 71, so that image data written to the first buffer in one operation cycle is read by the display circuit 71 in the next operation cycle, and in the operation cycle in which the image data in the first buffer is read, the drawing circuit 74 writes image data to the second buffer. Subsequent operations are the same, and the first buffer and the second buffer are used alternately as the "writing area" and the "reading area".

[0107] In this embodiment, the general working space used is index space secured in any area of ​​the VRAM 53 or the extended RAM 54, excluding the frame buffer FB and the decompression space for compressed data. These various index spaces can be secured when necessary and released when not required, but when an index space is secured / released, the contents of the index table IDXTBL, which stores the index space in association with the index number, are updated, enabling subsequent consistent operation.

[0108] The index space and the CPU circuit 51 have been explained above. Next, the overall performance circuit 52 will be explained.

[0109] The overall presentation circuit 52 includes (1) various presentation control registers RGij, whose internal operation is determined by the presentation control CPU 57; (2) a data transfer circuit 70 that transmits and receives data between circuits inside and outside the chip; (3) an index table IDXTBL that manages an index space, which is a working area secured in the VRAM 53 and the expansion RAM 54; (4) a preloader 72 that can perform a preload operation to access the external ROM 55 for reading prior to a drawing operation; (5) a GDEC circuit (Graphic Decoder) 73 that decodes compressed data for image presentation read from the external ROM 55; (6) a drawing circuit 74 that appropriately combines the decoded still image data and video data to generate one frame's worth of image data for the display device DS in the frame buffer FB; (7) a plurality of display circuits 71 that read the image data from the frame buffer FB generated by the drawing circuit 74, and outputs the image data after appropriate image processing; and (8) The display device 70 is configured to include an output selection unit 76 that appropriately selects and outputs the output of the display circuit 71 from among the multiple systems, (9) an output unit 77 that converts the image data output by the output selection unit 76 into an LVDS signal or the like and outputs the signal, (10) an audio processing unit SND that executes audio effects based on the audio command list VC, (11) a motor control unit MT_CTL that executes motor effects, and (12) a lamp control unit L_CTL that executes lamp effects (see FIG. 5(a)). The audio processing unit SND includes an audio decoder that decodes compressed data for audio effects read from the external ROM 55.

[0110] The motor performance is executed based on the control operation of the performance control CPU 57, specifically, based on the set value of the performance control register RGij for the motor performance and the control data (motor drive data) copied to the expansion RAM 54. The lamp performance is also executed based on the control operation of the performance control CPU 57, specifically, based on the set value of the performance control register RGij for the lamp performance and the control data (lamp drive data) copied to the expansion RAM 54.

[0111] 5(b) illustrates the relationship between the CPU bus unit 56, the CG bus IF unit 55a, the extended RAM IF unit 54a, and the VRAM IF unit 53a, and the performance control register RGij, the external ROM 55, the extended RAM 54, and the VRAM 53. As illustrated, the CG compressed data acquired from the external ROM 55 is supplied to the GDEC circuit 73 via the CG bus IF unit 55a and the data transfer circuit 70, and the decompressed (decoded) data is expanded in a predetermined index space secured in the extended RAM 54 or the VRAM 53.

[0112] As described above, in this embodiment, an ACC area for developing still images is reserved in the VRAM 53, and a page area for developing video frames is reserved in the expansion RAM 54. Then, decoded data of still images and videos is developed in a predetermined index space of the ACC area / page area. Note that decompressed data of compressed CG data acquired from the external ROM 55 may be transferred to the preload area of ​​the expansion RAM 54 as preload data.

[0113] Next, the display circuit 71 will be described with reference to Fig. 7. The display circuit 71 is a circuit that reads image data from the frame buffer FB in synchronization with the dot clock DCK, performs final image processing, and outputs the data. The final image processing includes, for example, a scaling process of a scaler that enlarges / reduces the image to a similar shape, a subtle color correction process, and a dithering process that minimizes the quantization error of the entire image. These image processes are uniformly executed based on the setting value of the performance control register RGij (display register). Then, the digital RGB signal that has undergone the uniform image processing is output together with a horizontal synchronization signal, a vertical synchronization signal, and the like.

[0114] As shown in Fig. 7, three display circuits A / B / C are provided that perform the above operations in parallel, but in this embodiment, since there is only one display device, only a frame buffer FB (=FBa) is reserved for the display circuit A. However, if frame buffers FBa to FBc are reserved, it is also possible to drive two other display devices that can perform independent image presentations.

[0115] Next, returning to Fig. 5(a), the data transfer circuit 70 will be explained. The data transfer circuit 70 is a circuit that executes data transfer operations between the internal resources of the overall performance circuit 52 and the external storage medium as the transfer source and transfer destination in a DMA (Direct Memory Access) manner. Fig. 8 is a block diagram showing the internal configuration of this data transfer circuit 70 together with the related circuit configuration.

[0116] The transfer sources of the data transfer circuit 70 in this embodiment include the CPU address space via the CPU bus unit 56, the external ROM 55, the expansion RAM 54, and the VRAM 53, as well as the CPU register port PORT. On the other hand, the transfer destinations of the data transfer circuit 70 include the CPU register port PORT, as well as the CPU address space, the expansion RAM 54, the VRAM 53, the checksum circuit, the drawing circuit 74, the preloader 72, and the audio processing unit SND.

[0117] Here, the CPU address space means a storage area accessible by the performance control CPU 57. The CPU register port PORT is a 32-bit register connected to the CPU bus section 56, and the performance control CPU 57 can arbitrarily access it via R / W.

[0118] Moreover, virtual work areas such as page areas and arbitrary areas are defined in the expansion RAM 54 and VRAM 53, and index spaces specified by index numbers are secured / released within these virtual work areas, so that the operation of the data transfer circuit 70 is executed by referring to an index table IDXTBL that stores the relationship between the index spaces and real address spaces. The index spaces secured in the expansion RAM 54 or VRAM 53 can also be set as the data transfer source or data transfer destination of the data transfer circuit 70. Therefore, data of the frame buffer FB secured in an arbitrary area of ​​the VRAM 53 can also be transferred to the expansion RAM 54.

[0119] 8, the transfer size that the data transfer circuit 70 can transfer is 32 bits x (01h to 4000_0000h) when passing through the data relay units CH0 to CH1, and 32 bits x (01h to 100_0000h) when passing through the data relay units CH2 to CH4. That is, the data transfer circuit 70 of this embodiment can transfer data of any size that is an integer multiple of 32 bits, although there is a predetermined upper limit. Here, h means a hexadecimal number, and the upper limit of the transfer size is specifically 32 x 1,073,741,824 bits when passing through the data relay units CH0 to CH1, and 32 x 16,777,216 bits when passing through the data relay units CH2 to CH4.

[0120] 8, the data transfer circuit 70 is configured to receive necessary data from the external ROM 55 via an arbitration circuit ICM that has a router function and arbitrates access paths, and to transmit and receive necessary data to and from the VRAM 53 and the extended RAM 54. The external ROM 55, VRAM 53, and extended RAM 54 are accessed via a CG bus IF unit 55a, a VRAM IF unit 53a, and an extended RAM IF unit 54a.

[0121] This data transfer circuit 70 is composed of a 32-bit x 130-stage CPU data FIFO (First In First Out) circuit connected to a 32-bit CPU register port PORT, and five channel data relay units CH0 to CH4. As explained above, the CPU register port PORT is configured to be R / W accessible from the performance control CPU 57.

[0122] The data relay unit CH0 is composed of a CH0 data FIFO circuit of 1024 bits x 18 stages and a checksum circuit. Each of the data relay units CH1 to CH4 is composed of a CH0 data FIFO circuit of 1024 bits x 18 stages. The data relay units CH2 to CH4 are connected in one direction to the drawing circuit 74, the preloader 72, and the sound processing unit SND.

[0123] On the other hand, the CPU data FIFO circuit and the data relay units CH0-CH1 are configured to be capable of bidirectional communication, so that a predetermined amount of data set in the data transfer register is transmitted and received from a predetermined transfer source set in the data transfer register to a predetermined transfer destination set in the data transfer register via the CPU data FIFO circuit or the data relay units CH0-CH1.

[0124] Regardless of which path is taken among the data relay units CH0 to CH4, the amount of data to be transferred (transfer data size) must be set in 32-bit units as described above, and there are also certain limitations on the start addresses of the transfer source and destination. Specifically, the start addresses of the transfer source and destination must be set in 8-bit units in the CPU address space, and in 32-bit units in the VRAM 53 and expansion RAM 54. The transfer source start address in the external ROM 55 is also set in 32-bit units.

[0125] When passing through the data relay units CH0-CH1, the transfer source and / or transfer destination is the external ROM 55, the VRAM 53, or the expansion RAM 54, and when passing through the CPU data FIFO circuit connected to the CPU register port PORT, the transfer source or transfer destination is the CPU address space. The CPU address space naturally includes the built-in RAM 59.

[0126] The data relay units CH0-CH1 capable of bidirectional communication have been described above, but the data relay units CH2-CH4 form one-way communication paths. The performance control CPU 57 can transmit the display list DL and voice command list VC in the DL buffer BUF of the built-in RAM 59 one-way to the data relay units CH2-CH4 by write accessing the CPU register port PORT in 32-bit units via the CPU bus unit 56.

[0127] In addition, the internal RAM 59 can also be selected as the data transfer source, so that data can be transferred via the data relay units CH2 to CH4 (without going through the CPU register port PORT) with the DL buffer BUF as the data transfer source and the drawing circuit 74, the preloader 72, or the audio processing unit SND as the data transfer destination.

[0128] In this case, the start address of the data transfer source built-in RAM 59 is specified in 8-bit units, so the lowest 7 bits of the start address of the DL buffer BUF must be 0. Also, regardless of whether the data is transferred via the CPU register port PORT or not, the amount of data to be transferred (data transfer size) must be set in 32-bit units.

[0129] In any case, the data relay unit CH2, the data relay unit CH3, and the data relay unit CH4 are unidirectionally connected to the drawing circuit 74, the preloader 72, and the voice processing unit SND, respectively. Therefore, a display list DL of a predetermined data transfer size is transferred to the drawing circuit 74 via the data relay unit CH2, and to the preloader 72 via the data relay unit CH3. Also, a voice command list VC of a predetermined data transfer size is transferred to the voice processing unit SND via the data relay unit CH4.

[0130] As described above, in this embodiment, the transfer paths of the display list DL and the voice command list VC are prepared as follows: (1) a first path that passes through the CPU register port PORT; and (2) a second path that does not pass through the CPU register port PORT; either of these paths can be used. This is also true for data other than the display list DL and the voice command list VC; there are (1) a first path that passes through the CPU register port PORT and the data relay units CH0 to CH4, and (2) a second path that passes only through the data relay units CH0 to CH4. The first path is used for data transfers in which the performance control CPU 57 is directly involved, and the second path is used for data transfers in which the performance control CPU 57 is not directly involved (DMA operation).

[0131] 8, the CPU data FIFO circuit receives data in 32-bit units, while the data relay units CH0 to CH4 receive data in 1024-bit units. Therefore, when the first path is used, when 1024-bit data is accumulated in the CPU data FIFO circuit, the accumulated data is transferred to one of the data relay units CH0 to CH4 (hereinafter referred to as a channel data FIFO).

[0132] In other words, if less than 32 levels of data are written to the CPU data FIFO circuit, no data transfer to the channel data FIFO occurs. When the 32nd level of data is written, the 32 levels of accumulated data are transferred to the channel data FIFO, and the data is then transferred to the further destination.

[0133] On the other hand, since the data transfer size is an arbitrary value that is an integer multiple of 32 bits, it is possible that the data in the CPU data FIFO circuit will end up at less than 32 stages. However, when the cumulative size of the written data reaches the transfer size previously set in the data transfer register, the accumulated data less than 32 stages will be transferred to the channel data FIFO or further destination.

[0134] Thus, in this embodiment, the transfer size of the data transfer circuit 70 is an arbitrary value of an integer multiple of 32 bits, regardless of whether the data is transferred via the first path or the second path. Corresponding to this configuration, the instruction commands constituting the display list DL and the voice commands constituting the voice command list VC are all configured as an integer multiple of 32 bits. Therefore, in this embodiment, there is no restriction on the number of commands in the display list DL or the voice command list VC, and any list configuration can be adopted. Also, there is no need to adjust the total data size by adding dummy commands, etc.

[0135] 9A shows the operation of transferring the display list DL to the drawing circuit 74 via the CPU register port PORT and the data relay unit CH2 (FIG. 9A), the operation of transferring the display list DL from the internal RAM 59 to the drawing circuit 74 via the data relay unit CH2 (FIG. 9B), and the operation of transferring a rewrite list DL', which is a modified display list, from the VRAM 53 to the drawing circuit 74 via the data relay unit CH2 (FIG. 9C).

[0136] Figures 9(d) and 9(e) show the operation of transferring a display list DL to the preloader 72 via the CPU register port PORT and the data relay unit CH3, and the operation of transferring a display list DL from the internal RAM 59 to the preloader 72 via the data relay unit CH3.

[0137] Also, Figures 9(f) and 9(g) show the operation of transferring the voice command list VC to the voice processing unit SND via the CPU register port PORT and the data relay unit CH4, and the operation of transferring the voice command list VC from the built-in RAM 59 to the voice processing unit SND via the data relay unit CH4.

[0138] The CPU circuit 51 starts the operations of the drawing circuit 74, the preloader 72, and the sound processing unit SND prior to the start of operation of the data transfer circuit 70, so that the drawing circuit 74 starts drawing operations based on the transferred display list DL. Meanwhile, the preloader 72 executes necessary preload operations based on the transferred display list DL. The transferred display list DL is judged by a display list analyzer built into the drawing circuit 74 and the preloader 72, and processing according to the type of instruction command is executed. Also, the sound processing unit SND starts or progresses sound performance based on the transferred sound command list VC.

[0139] Note that data other than the display list DL and the voice command list VC in the CPU address space can be transmitted to the data relay units CH0 to CH4 via the CPU bus unit 56, and then further via the CPU register port PORT, or directly. The data relay units CH0 to CH1 then transfer the transmitted data to a predetermined destination in the VRAM 53 or the expansion RAM 54 via the arbitration circuit ICM. The reverse transfer operation is similar, and the data relay units CH0 to CH1 that receive data via the arbitration circuit ICM transfer the data to a predetermined destination in the CPU address space via the CPU register port PORT, or directly.

[0140] Next, the preloader 72 will be described, but it is optional whether or not to utilize the preloader 72. When the display list analyzer interprets the display list DL transferred from the data relay unit CH3 of the data transfer circuit 70 and detects a LOADTX command, the preloader 72 pre-transfers (preloads) the CG data in the external ROM 55 referenced by the LOADTX command to the preload area of ​​the expansion RAM 54 (see FIG. 6(b)).

[0141] Furthermore, the preloader 72 stores a rewrite list DL' in which the reference destination of the CG data is rewritten to the address after transfer in the DL buffer BUF' (see FIG. 6(a)) of the VRAM 53 in response to the above-mentioned LOADTX command. Note that the DL buffer BUF' and the preload area are secured in advance during the initial processing after the CPU is reset.

[0142] The rewrite list DL' is then transferred to the drawing circuit 74 via the arbitration circuit ICM and data relay unit CH2 of the data transfer circuit 70 when the drawing operation of the drawing circuit 74 begins (see FIG. 9(c)). The drawing circuit 74 then executes the drawing operation based on the rewrite list DL'. Therefore, CG data that should normally be obtained from the external ROM 55 based on a LOADTX command or the like is quickly obtained from the preload area of ​​the expansion RAM 54 as preload data that has been pre-read into the preload area. Taking this into consideration, the preloader 72 is put into operation in a normal device configuration.

[0143] In this embodiment, since the preload area is set in the external expansion RAM 54, which has a sufficient storage capacity, multiple preloading, for example, in which multiple frames of CG data are preloaded at once, is also possible. In other words, multiple preloading is realized by appropriately setting the operation period of the preloader 72, which is a series of preloading operations including the CG data prefetching operation, within the range of an integer multiple of the operation cycle δ of the overall performance circuit 52 during intermittent operation.

[0144] However, in the following explanation, for the sake of convenience, an embodiment without multiple preloading will be explained, so the preloader 72 of the embodiment will complete the preloading operation for one frame during one operation period 6. In this embodiment, the operation period 6 during intermittent operation of the overall performance circuit 52 is 1 / 30 seconds, which is twice the period of the vertical synchronization signal of the display device DS.

[0145] Next, the drawing circuit 74 sequentially analyzes the instruction command sequence of the display list DL and the rewrite list DL' transferred via the data transfer circuit 70, and works together with the GDEC circuit 73 and the geometry engine to draw one frame's worth of image of the display device DS in the frame buffer FB secured in the VRAM 53.

[0146] As described above, when the preloader 72 is operated, the CG data in the rewrite list DL' is referenced not to the external ROM 55 but to a preload area set in the expansion RAM 54. Therefore, sequential access to the CG data that occurs during the execution of drawing by the drawing circuit 74 can be quickly executed, and high-resolution moving images with fast movement can be drawn without any problems.

[0147] Incidentally, regardless of whether the preloader 72 is enabled or disabled, even if data bit corruption occurs during transfer of the display list DL or the rewrite list DL', the drawing circuit 74 cannot detect this. Therefore, in this embodiment, a timeout monitoring circuit having a configuration similar to that of a watchdog timer is provided to detect an abnormality in which memory access is not performed for a certain period of time after the drawing circuit 74 starts operating.

[0148] In this embodiment, a time setting register TO capable of setting a timeout time is provided to detect an operational abnormality of the drawing circuit 74. The time setting register TO is a type of drawing register, and the operation of the drawing circuit 74 is configured to be started based on a set value in a predetermined drawing register (drawing operation permission register).

[0149] When a predetermined timeout time is set in the time setting register TO and start information is set in the drawing operation permission register, the drawing circuit 74 starts operation, and in response, the timeout monitoring circuit monitors the memory access cycle. If no memory access is performed even after the timeout time has elapsed, the abnormality flag of a predetermined drawing register is set ON and an abnormality interrupt is initiated.

[0150] Although it is possible to deal with this abnormal interrupt by starting an interrupt processing program, in this embodiment, the appearance of an abnormal screen is prevented by checking the ON / OFF state of the abnormal flag for each operation cycle δ of the overall performance circuit 52. Specifically, when the abnormal flag is ON, even if the operation of the drawing circuit 74 is completed, the screen update for that operation cycle is skipped to deal with the problem.

[0151] Here, as in the configurations of Patent Documents 1 and 2, if a measure to activate the WDT 58 or a measure to reset the drawing circuit 74 is taken, there is a risk of an unnatural screen display appearing, but in this embodiment, the appearance of an abnormal screen is easily prevented with a minimum of measures. Also, the timeout period to be monitored can be set arbitrarily taking into consideration the arrangement of the LOADTX command in the display list DL, the access time of the external ROM 55, etc., and therefore an optimal monitoring operation can be realized.

[0152] In the above configuration, the memory access period is monitored from the start of operation of the drawing circuit 74 to its end, but instead of or in addition to this configuration, it is preferable to adopt a configuration that monitors the operation time from the start of operation of the GDEC circuit 73 to its end. In this case, too, an optimal value can be set in the time setting register TO' taking into account the data capacity of the texture, thereby achieving optimal monitoring operation.

[0153] In the latter configuration, the timeout monitoring circuit starts monitoring each time the GDEC circuit 73 starts decoding the CG compressed data, and ends the monitoring operation at the end of the decoding. In addition, as in the former configuration, when a timeout occurs, the abnormality flag of a specified drawing register is set ON and an abnormality interrupt is started, and when an abnormality is detected, screen updates in that operation cycle are skipped. In this embodiment, a flag polling method is adopted in which the ON / OFF state of the abnormality flag is checked every operation cycle δ of the overall performance circuit 52, but a configuration in which an abnormality interrupt processing program is started and screen updates in the operation cycle in which a problem occurs may also be adopted.

[0154] Next, the image filter circuit 75 is a circuit that functions based on instruction commands (filter execution commands) written in the display list DL, and executes appropriate filter processing on textures temporarily stored in the VRAM 53 or the expansion RAM 54. That is, the image filter circuit 75 of the embodiment does not perform a uniform filter operation based on the setting value in the performance control register RGij, but rather enables free filter processing on required image data by arbitrarily writing appropriate instruction commands in the display list DL.

[0155] The content of the filter processing is determined by the selection of a filter execution command and the setting parameters of the selected command, but the executable filter processing includes (1) FIR (Finite Impulse Response) filter processing, (2) downsampling processing, and (3) linear interpolation processing. Here, the downsampling processing is a processing different from the uniform scaling processing in the display circuit 71 that operates based on the setting value in the performance control register RGij (display register).

[0156] That is, downsampling does not reduce an image to a similar shape as in scaling, but includes an operation of reducing an image only in the vertical direction or only in the horizontal direction. Although not limited to this, downsampling reduces the texture by calculating the average value of the image information of pixels in a predetermined range surrounding the target pixel and performing a thinning process such as a moving average process.

[0157] 10(a) is a diagram for explaining an example of an operation in which FIR filter processing is executed twice in succession by a filter execution command. First, the SETFTINDEX command sets the destination index space in which the reference texture to be filtered should be saved (command process L20), and then the LOADTX command retrieves the reference texture from the external ROM 55 specified by the command setting parameters, and saves the decoded image data in the destination index space (command process L21).

[0158] The following SETFTINDEX command sets the index space in which the resultant texture will be saved (command process L22), and the SETFTSAMP command and SETFTCOEF command set filter coefficients and other information (command process L23), before executing FIR filter processing with the FTEXECFIR command (command process L24).The SETFTINDEX command distinguishes between specifying an index space for the reference texture or an index space for the resultant texture, depending on the setting parameters of the command.

[0159] As shown in Figure 10(b), the image data expanded in the index space for the reference texture specified by the instruction command L20 is subjected to FIR filter processing specified by the instruction command L23, and then stored in the index space for the result texture specified by the instruction command L22.

[0160] Next, the SETFTINDEX command sets the index space of the reference texture (command process L25), and the SETTXINDEX command sets the index space in which the resultant texture is to be saved (command process L26). In command L25, the image data after the filter process is set as the reference texture, so the resultant texture specified by command L22 is changed to the reference texture by command L25.

[0161] Thereafter, the necessary filter coefficients are set using the SETFTSAMP and SETFTCOEF commands, and other information is set (command process L27), after which the necessary FIR filter processing is executed using the FTEXECFIR command (command process L28).The image data after filter processing is then stored in the index space specified by command L26, so by executing the SPRITE command after functioning the SETTXMODE command (command process L29), the image data that has undergone FIR filter processing will be drawn in an appropriate rectangular section in the virtual drawing space.

[0162] 10(c) is a diagram for explaining an example of an operation in which scaling processing is executed by a filter execution command. First, a SETFTINDEX command is used to set a storage index space in which to store the reference texture to be scaled (command process L30), and then a LOADTX command is used to obtain the reference texture from the external ROM 55 specified by the setting parameters of the command (command process L31).

[0163] Next, the SETTXINDEX command is used to set an index space for storing auxiliary data required for enlargement / reduction (command process L32). Here, the auxiliary data is plane information extracted from the reference texture, and is information that characterizes the reference texture. The reason why such auxiliary data is an issue is that the scaling process of the embodiment includes deformations of dissimilar shapes that are not similar shapes, and therefore appropriate complementation processes are performed to eliminate the unnaturalness of the image after deformation.

[0164] Therefore, in the scaling process of this embodiment, following command L32, the FTEXECGRD command is written to generate auxiliary information (plane information) in the index space defined by command L32 (command process L33). The necessary preparations are completed with the commands up to this point, so next, the index space to be used as the texture is set with the SETTXINDEX command (command process L34), and the necessary information is set with the SETTXSAMP command, after which the scaling process is executed with the SETTXMODE command (command process L35).

[0165] As a result of the above, the image data after scaling is stored in the index space specified by command L34, so by executing the SPRITE command after activating the SETTXMODE command (command process L36), the image data after scaling is drawn in an appropriate rectangular section of the virtual drawing space.

[0166] The image filter circuit 75 has been described above, but the GDEC circuit 73 executes decoding processing by software processing corresponding to each compression algorithm for compressed data such as streaming video, still images, and other α values. In the case of this embodiment, streaming video is divided into S stream, IP stream, and IPB stream, and the frames constituting the streaming video are composed of an appropriate combination of I pictures, S pictures, P pictures, or B pictures.

[0167] An I (Intra coded) picture means an intra (intra-picture) coded picture, and refers to image data obtained by compressing an input picture as it is, independent of other pictures. On the other hand, an S picture is image data that performs predictive coding by referring to the I pictures immediately before and after, and has the advantage of having a higher compression rate than an I picture. The S stream video of this embodiment is a video combining these I pictures and S pictures, and by arranging the I pictures according to a certain period, it is possible to perform random access and reverse playback starting from the I picture, thereby realizing effective image presentation. It is also possible to have an S stream video that does not include an S picture, and an S stream video without an S picture is substantially the same as an I stream video.

[0168] Next, a P picture (Predictive coded) is image data that performs forward predictive coding to predict the current frame from a past frame in time, and predictive coding is performed from an I picture or P picture located in the past in time. On the other hand, a B picture (Bidirectional coded) is image data that performs bidirectional predictive coding to execute backward prediction to predict the current frame from a future frame in addition to forward prediction, and predictive coding is performed from an I picture or P picture located in the past and future in time.

[0169] Generally, inter-frame prediction techniques include forward prediction, which predicts the current frame from a past frame, backward prediction, which predicts the current frame from a future frame, and bidirectional prediction, which performs backward prediction in addition to forward prediction.B pictures perform bidirectional prediction, which allows for improved prediction accuracy.

[0170] Therefore, in this embodiment, in addition to S stream video that combines I pictures and S pictures, it is configured to be possible to play IP stream video and IPB stream video that appropriately combine I pictures, P pictures, and B pictures. Note that IP stream video is composed of a combination of I pictures and P pictures, and IPB stream video is composed of a combination of I pictures, P pictures, and S pictures.

[0171] As is clear from the above relationship, with S stream video containing S pictures and IPB stream video, the need for backward predictive coding makes it necessary to acquire and decode I pictures and P pictures that are to be played back later in time prior to acquiring S pictures and B pictures.

[0172] Therefore, this embodiment is configured so that one LOADTX command can specify multiple textures, that is, main frame CG data and sub-frame CG data. Here, main frame refers to CG frame data that should be played back at the current timing, and sub-frame refers to CG frame data that should be played back at a different timing.

[0173] For example, in an S picture, predictive coding is performed by referring to the nearest I picture (the previous or next). Therefore, in an S stream video that consists of successive I pictures and S pictures, the CG data for the S picture as the main frame and the I picture as the sub-frame may be obtained and decoded with a single LOADTX command.

[0174] In addition, since bidirectional predictive coding is performed for B pictures (bidirectional coded), it is necessary to secure CG data of past frames and CG data of future frames in a decoded state prior to the decoding process of B pictures. Therefore, in this embodiment, when playing IPB stream video, it is necessary to secure a first reference buffer for storing past frames and a second reference buffer for storing future frames prior to this playback operation. The reference buffer is an index space having a capacity sufficient to store reference images, and is secured in an arbitrary area of ​​the VRAM 53 or the extended RAM 54, and is identified by a unique index number.

[0175] Fig. 11 is a diagram explaining the playback procedure of IPB streaming video, with the playback operation progressing from the top to the bottom of the page. Fig. 11 is divided horizontally into six sections, which show, from the left, (1) the LOADTX command on the display list DL, (2) pictures constituting the IPB streaming video, (3) main frame and subframe decoding processing, (4) reference image decoding processing, (5) reference buffer where the reference images are stored, and (6) index space (expansion space) where the decoded images displayed on the display screen are stored.

[0176] The downward arrow in the first column indicates the transition of the operating cycle of the general performance circuit 52 (GDEC circuit 73) which operates intermittently, and the downward arrow in the sixth column indicates the display order of the images displayed on the display device DS. In the following explanation, for convenience, a group of video frames played at timings T1 to T7 is called a GOP (Group Of Picture), but the GOP can be changed as appropriate based on the embedded parameters of the LOADTX command on a series of display lists for playing video.

[0177] First, the LOADTX command at timing T1 to play back an I-picture specifies the addresses of the I-picture (I1) as the main frame and the P-picture (P1) as the sub-frame by the embedded parameters of the command, as well as the index number of the expansion space in which the decoded data is to be stored.

[0178] Therefore, the I-picture (I1) acquired based on the instruction of the LOADTX command at timing T1 is decoded and stored in the first reference buffer that stores past frames together with the original expansion space. Also, a P-picture (P1) is acquired based on the instruction of the LOADTX command at timing T1, and the decoded data is stored as a reference image in the second reference buffer that stores future frames. Although not limited to this, the reference image is stored in a state compressed by a special method.

[0179] Next, the LOADTX command at timing T2 specifies only the B picture (B1) as the main frame. Then, as a bidirectional predictive operation, image data B1 of the current frame is reproduced based on the I picture (I1) of the first reference buffer, the P picture (P1) of the second reference buffer, and the B picture (B1) and stored in the storage space. The same is true for the LOADTX command at the following timing T3, which reproduces image data B2 of the current frame based on the I picture (I1) of the first reference buffer, the P picture (P1) of the second reference buffer, and the B picture (B2) and stored in the storage space.

[0180] Next, in the LOADTX command at timing T4 when the P picture is to be played back, the embedded parameters of the command instruct that the P picture (P1) as the main frame should be obtained from the second reference buffer, and the address of the P picture (P2) as the subframe is specified.

[0181] Therefore, at timing T4, the P picture (P1) in the second reference buffer, which has been compressed using a special method, is decompressed and saved in the decompression space, and the P picture (P1) is stored in the first reference buffer as a past frame image for subsequent processing. Also, a future P picture (P2) is obtained in response to an instruction from the LOADTX command at timing T4, and the decoded data is saved in the second reference buffer as a reference image for the future frame.

[0182] The operations at the subsequent times T5 and T6 are substantially the same as those at the times T2 and T3. That is, at the time T5, a B3 picture image based on the P picture (P1) of the first reference buffer, the P picture (P2) of the second reference buffer, and the B picture (B3) is rendered in the rendering space based on the bidirectional prediction. At the time T6, a B4 picture image based on the P picture (P1) of the first reference buffer, the P picture (P2) of the second reference buffer, and the B picture (B4) is rendered in the rendering space.

[0183] Next, the LOAD command at timing T7 instructs that the P picture (P2) as the main frame should be obtained from the second reference buffer. Also, the address of the I picture (I2) as the sub-frame is specified. Therefore, at timing T7, the P picture (P2) in the second reference buffer is decompressed and stored in the expansion space, and the I picture (I2) is obtained by the instruction of the LOADTX command at timing T7, and the decoded data is stored in the second reference buffer as a reference image for a future frame.

[0184] At the next timing T9, an instruction is given to obtain an I-picture (I2) as a main frame from the second reference buffer. Therefore, the I-picture (I2) in the second reference buffer is decompressed and saved in the expansion space, and the I-picture (I2) is stored in the first reference buffer as a past frame image for subsequent processing. Note that the LOAD command at timing T9 specifies the address of the P-picture (P3), which is a subframe, so the P-picture (P3) is obtained and its decoded data is saved in the second reference buffer as a reference image for a future frame.

[0185] 12(a) is a block diagram showing the internal configuration of the audio processing unit SND. As shown in the figure, the audio processing unit SND is divided into a pre-processing unit FT in which 64-track processing blocks are arranged so as to be able to operate in parallel, a post-processing unit BK consisting of a master effect unit, a master volume unit, an output protection unit, and a serializer, and a mixer MX that transmits the output of the pre-processing unit FT to the post-processing unit BK.

[0186] As shown in the figure, the pre-processing unit FT is provided with 64 decoders that receive audio compression data (compressed phrase data) from the external memory 55. Meanwhile, the post-processing unit BK is configured to be able to output audio signals SDOUTA-SDOUTD of four paths A / B / C / D as serial data together with a clock signal SBCLK and a control signal SLRCLK via a serializer. The serial data SDOUTA-SDOUTD of the four paths A / B / C / D includes right data R and left data L on each data line, and depending on whether the control signal SLRCLK is in an H level period or an L level period, it is specified whether the serial data SDOUTA at that timing is left data L or right data R.

[0187] Next, the internal operation of the preprocessing unit FT will be explained. The phrase data decompressed by the decoder has its volume appropriately adjusted in the primary volume, secondary volume, and panpot unit. Here, the primary volume and secondary volume are responsible for two-stage volume adjustment, and the panpot unit adjusts the volume ratio between the left and right speakers. The specific operation contents of the primary volume, secondary volume, and panpot unit are each specified by the voice command written in the voice command list VC.

[0188] Incidentally, phrase data is audio data that realizes one unit of audio performance, and includes one piece of background sound, sound effects, calls, and other audio performance units. One phrase data is output to eight paths from the panpot section of the pre-processing section FT. As shown in the figure, in this embodiment, 64-track processing blocks (pre-processing sections FT) are arranged to be able to operate in parallel, and up to 64 phrase data can be output to the mixer MX, and the audio data collected into eight paths, which are the left and right audio R / L of the four paths A / B / C / D, is transmitted to the post-processing section BK.

[0189] In the panpot section, the volume ratio of the left and right speakers can be adjusted, so for example, in the panpot section of the first track, the left and right volume ratio can be set to maximum:zero and output only to the first line of the mixer MX, while in the panpot section of the second track, the left and right volume ratio can be set to zero:maximum and output only to the second line of the mixer MX. Therefore, for example, the first phrase data, which is the left audio, is output only to the first line, and the second phrase data, which is the right audio, is output only to the second line, making it possible to play in stereo on the left and right speakers of system A.

[0190] Next, the internal operation of the post-processing unit BK will be described. The master effect executes audio filter processing, and the master volume determines the final volume. The specific operation contents are specified by the voice commands written in the voice command list VC. The master volume is used, for example, for a silent warning that instantly silences the volume effect, and the master effect is used, for example, for a sound change warning that drastically changes the sound quality.

[0191] Fig. 12(b) illustrates the relationship between the voice command list VC and the voice effects realized by the voice commands written in the voice command list VC. Here, a START command for instructing the start of playback of specific phrase data, a PAUSE command for instructing the stop of playback of specific phrase data, a RESUME command for instructing the restart of playback of specific phrase data, and a STOP command for instructing the end of playback of specific phrase data are shown as examples. Note that the voice command list VC is composed of one or more voice commands written therein, but must be terminated by a predetermined end command EOSC.

[0192] First, in the voice command list VC1, the start of reproduction of 64 types of phrase data is instructed by voice commands START1 to START64. Therefore, when the decoding process of the 64 types of compressed phrase data is completed, the reproduction operation of the 64 types of phrase data is started.

[0193] Next, since the voice command list VC2 contains the voice commands PAUSE1, PAUSE2, and STOP64, playback of the phrase data 1, 2, and 64 is paused or stopped. After that, the voice command list VC2 contains the voice commands RESUME1 and RESUME2, so playback of the paused phrase data 1 and 2 is resumed.

[0194] The voice command list VC can be output not only at the start and end of playback of phrase data, but also at any necessary timing in the operation period δ (= 1 / 30 seconds) of the overall performance circuit 52. That is, the display list DL is output every operation period δ of the overall performance circuit 52, but the voice command list VC is generally output irregularly.

[0195] Next, a description will be given of the rendering pipeline process executable in the rendering circuit 74. Fig. 13(a) illustrates a portion of the rendering circuit 74 that is related to the rendering pipeline process. The display list analyzer sequentially analyzes the instruction commands written in the display list DL, and transfers the instruction commands to an appropriate internal circuit according to their type. Note that in Fig. 13(a), the instruction commands are particularly written as rendering commands, and in the following description, the instruction commands may be referred to as rendering commands.

[0196] The internal circuits that receive the drawing commands are configured to operate in parallel, and the display list analyzer analyzes the drawing commands written in the display list DL in the order in which they are written, and transfers the drawing commands one after another to the corresponding internal circuits (see Figure 13(a)).

[0197] Incidentally, the internal circuitry of the drawing circuit 74 operates asynchronously with the CPU circuit 51 that issues the display list DL and the data transfer circuit 70 that transfers the configuration data of the display list DL in sequence, and generally, the operating speed of the internal circuitry of the drawing circuit 74 is much slower than the transfer speed of the configuration data of the display list DL.

[0198] Therefore, the internal circuit that receives the drawing command is provided with a standby queue that accumulates drawing commands before processing begins, and the display list analyzer puts the drawing command into the standby queue on the condition that there is space in the standby queue. In other words, the display list analyzer stalls (temporarily stops) the input operation until the standby queue becomes empty, so there is no risk of losing the drawing command. Note that the numbers shown for the standby queue are merely an example showing the number of stages in the queue.

[0199] As explained earlier, the instruction commands written in the display list DL include: (1) index table control commands related to the index table IDXTBL that manages the index space; (2) texture load commands such as the LOADTX command for reading image material (texture) from external ROM 55 and decoding (decompressing / expanding) it; (3) filter execution commands that specify the filter processing to be performed on the decompressed image data; (4) drawing commands such as the SPRITE command for placing the decoded (expanded) image material at a predetermined position in the virtual drawing space; and (5) pipeline commands related to drawing pipeline operations.

[0200] 13(a), an index table control command (1) is transferred to the control circuit of the index table IDXTBL, a texture load command (2) is transferred to the GDEC circuit 73, and a filter execution command (3) is transferred to the image filter circuit 75, and each is processed appropriately by the destination circuit. Specifically, the GDEC circuit 73 operates based on the transferred drawing command (texture load command), obtains the necessary texture, and loads the decompressed data into the decode space.

[0201] Furthermore, the index table IDXTBL is updated appropriately by the control circuit of the index table IDXTBL. The image filter circuit 75 performs a specified filter process on a specified reference texture and stores the filter process result in a specified index space (see FIG. 10). When a specified drawing command (high-speed transfer command) is received, the high-speed transfer circuit TRNS functions to transmit and receive data at high speed between the VRAM 53 and the expansion RAM 54. The high-speed transfer circuit TRNS is an internal circuit of the drawing circuit 74, and is a circuit separate from the data transfer circuit 70.

[0202] When using the data transfer circuit 70, the CPU circuit 51 must set the type of source medium and transfer start address, the type of destination medium and receiving start address, and transfer size in a specified performance control register RGij (data transfer register), but the high-speed transfer circuit TRNS has the advantage that it can be easily operated by an instruction command (transfer execution command) in the display list DL when necessary, and can transfer two-dimensional data at high speed in units of index space. Note that, without adopting the configuration of this embodiment, it is not easy in terms of program configuration to use the data transfer circuit 70 only when necessary in a control program that is constantly functioning.

[0203] As explained above, the rendering pipeline operation is performed using the vertex buffer VB built into the rendering circuit 74, the frame buffer FB reserved as an index space, and the depth / stencil buffer which manages the anterior-posterior relationship of polygons and whether or not pixels are displayed, and is configured to execute an input assembler process IA, a geometry engine process TL, a rasterizer process RS, a texture sampler process TX, a texture process PS, a pixel drawing process PX, and a render process RO as required.

[0204] That is, the rendering pipeline process is executed from upstream to downstream, passing through all or some of the processes in the order of process IA → process TL (process VB) → process RS → process TX → process PS → process PX → process RO. Each process operates in parallel, but since the downstream process takes longer to complete the execution of rendering commands, the number of stages in the waiting queue that accumulates the rendering commands input to each process is configured so as not to be less than the number of stages in the waiting queue on the upstream side.

[0205] As shown in FIG. 13(a), the number of stages in the waiting queue is 1 stage → 5 stages → 14 stages → 18 stages → 18 stages → 23 stages, corresponding to process IA → process TL → process RS → process TX → process PS → process PX → process RO, and the number of stages at each process is the same as or greater than the number of stages in the upstream waiting queue.

[0206] The pipeline commands described above are setting commands that stipulate the operation of each pipeline process (IA, TL, VB, RS, TX, PS, PX, RO). The acquired pipeline commands are transferred to the parameter setting unit SET, which sets the operating parameters required for the necessary internal circuits, such as the geometry engine.

[0207] In this embodiment, as shown in FIG. 13(b), the rendering pipeline is composed of process IA, process TL, process RS, process TX, process PS, process PX, and process RO. First, the input assembler process IA acquires a vertex stream of a three-dimensional 3D rendering object, which is usually defined in local coordinates, stores information required for subsequent processing, and outputs vertex data having specified vertex information.

[0208] In this process IA, in addition to the setting commands for process IA (pipeline commands), drawing commands such as DRAW and DRAWD are used. The DRAW command specifies the top address of the memory (external ROM 55 in this embodiment) in which a series of vertex streams are stored, and the number of vertices.

[0209] On the other hand, in the DRAWD command, a series of vertex streams are embedded in the command. The specific operation contents of the DRAW command and the DRAWD command are specified by the embedded information of each command and the setting command for the process IA. Note that in the vertex stream, a vertex color (RGBA color information) can be specified for each vertex, but if the vertex color is not specified, a default value is set as the vertex information in the input assembler process IA. Here, RBG means color information of R=Red, B=Blue, G=Green, and A is an alpha value α indicating opacity, and is used in the alpha blending process when compositing images by overlapping them.

[0210] In the subsequent geometry engine process TL, a matrix operation for transforming the vertex coordinates of the 3D drawing object and a lighting process for light sources are performed on the vertex data output from the input assembler process IA. In the coordinate transformation process, a view matrix operation for transforming local coordinates into view coordinates and a matrix operation for projective transformation (perspective projection) are performed.

[0211] Here, the view coordinate system has the viewpoint as its origin and the line of sight to infinity (0,0,-∞). In projective transformation, in order to realize a sense of perspective corresponding to the placement position of a 3D drawing object, the view coordinate system is transformed into the clip coordinate system by enlarging / reducing the shape of the 3D drawing object.

[0212] The specific content of the matrix operation is specified by the setting command (pipeline command) for the TL process, and the execution of a specified geometry matrix operation is instructed by the DRAW command or DRAWD command. Therefore, the process IA and the process TL can be executed together by one drawing command (DRAW / DRAWD). However, in either case, the execution result of the geometry matrix operation by the drawing command (DRAW / DRAWD) is saved in the vertex buffer VB.

[0213] The geometry engine process TL is not essential, and when a vertex stream defined by clip coordinates is obtained from the external ROM 55, the information passes through the input assembler process IA and is stored directly in the vertex buffer VB. The input assembler process IA and the geometry engine process TL may be repeated for multiple 3D drawing objects, and the vertex buffer VB is configured to store a maximum of 256 vertices.

[0214] Next, in the rasterizer process RS, primitives are generated and drawn based on the vertex information in the vertex buffer VB, and pixel data of a 3D drawing object is generated after removing polygons that do not need to be drawn by conversion from the clip coordinate system to the window coordinate system, clipping, culling, scissoring, etc. In other words, a three-dimensional 3D image object is determined to be placed at a predetermined position and with a predetermined attitude in the window coordinate system (world coordinates) corresponding to the virtual drawing space.

[0215] To generate primitives, a triangle drawing method such as a triangle list, triangle strip, or triangle fan, and a line drawing method such as a line list, line strip, or line fan can be appropriately selected and used.

[0216] In addition, in the rasterizer process RS, in addition to the setting commands (pipeline commands) for the RS process that specifically define the processing contents, drawing commands DRAW command, DRAWD command, DRAWI command, and SPRITE command are used as appropriate.

[0217] Here, the DRAWI command generates and draws primitives based on vertex data obtained from the vertex buffer VB, whereas the DRAW command generates and draws primitives based on a vertex stream obtained from the external ROM 55, and the DRAWD command generates and draws primitives based on a vertex stream embedded in the command.

[0218] Therefore, the rasterizer process RS can be executed without going through the geometry engine process TL. For example, in the case of a two-dimensional 2D drawing object, the geometry engine process TL is not particularly necessary. In either case, each polygon generated through the rasterizer process RS has RGBA color information for each pixel based on the vertex color for each vertex.

[0219] Next, in the texture sampler process TX, the index space to be used as the texture is specified, and the texture coordinates for each pixel are specified. Then, in the texture process PS, the pixel color obtained in the rasterizer process RS and the texture color are appropriately calculated.

[0220] In these steps TX and PS, and in the following step PX, in addition to the setting commands (pipeline commands) in each step, the drawing commands DRAW, DRAWD, DRAWI, and SPRITE are used as appropriate. In the DRAW, DRAWD, and DRAWI commands, the texture is pasted into the area surrounded by specified vertices, and in the SPRITE command, the texture is pasted into a specified rectangular area.

[0221] Then, in the subsequent pixel drawing process PX, the drawing color and background color are mixed, and tone mapping and inverse tone mapping for adjusting contrast are performed. In this PX process, pixel data having predetermined information is input for each pixel from the texture process PS, and data (background color) stored at the pixel drawing position is input for each pixel from the frame buffer FB.

[0222] The final rendering process RO refers to the depth / stencil buffer etc., performs a pixel test to determine whether or not to display the pixel based on the pixel's depth information and stencil information, and writes the completed drawing object to the frame buffer FB after processing such as alpha blending for overlapping multiple drawing objects. Writing to the frame buffer FB is nothing more than drawing in the virtual drawing space shown in Figure 6, and normally the SPRITE command is used.

[0223] In addition to the DRAW, DRAWD, DRAWI, and SPRITE commands, the rendering process RO can use the CLEAR command, which fills the frame buffer FB with a single color, and the CLEARZ command, which fills the depth-stencil buffer with a single color. The CLEAR command is used to clear the frame buffer FB prior to the start of drawing operations, and the CLEARZ command is used when depth information or stencil information is not required.

[0224] In this way, in the present invention, all or part of the series of drawing pipeline steps function to write two-dimensional or three-dimensional drawing objects one after another into the frame buffer FB, ultimately completing image data for one frame of the display device. Note that in this embodiment, two-dimensional and three-dimensional drawing objects are distinguished by whether or not they undergo a three-dimensional coordinate conversion process.

[0225] Figure 14 is a process diagram showing various rendering modes that utilize all or part of the rendering pipeline process. First, the rendering mode in Figure 14(a) is an operation mode that uses the above-mentioned CLEAR command and CLEARZ command, and only the render process RO functions.

[0226] 14(b), the rasterizer process RS, texture sampler process TX, texture process PS, pixel drawing process PX, and render process RO function. Note that the rasterizer process RS simply adds an offset value to the X and Y coordinates of the vertices in the window coordinate system, but this offset value is related to the rectangular area to which the SPRITE command is pasted.

[0227] The actual operation is to set the destination index space with the SETTXINDEX command, obtain a specified texture with the LOADTX command and expand it into the index space, and secure this expanded texture in a specified position with the SPRITE command. The expanded texture information is then referenced and finally written to the frame buffer FB. Playback of moving images and still images of simple shapes is, in principle, realized in this sprite drawing mode, but preferably all still images and / or all moving images are played in the sprite drawing mode.

[0228] The drawing mode shown in Fig. 14(c) is an example of operation for triangle drawing and line drawing using all the processes of the drawing pipeline. Note that the only difference between triangle drawing and line drawing is the method of generating primitives. In either case, primitives are identified and drawn based on the vertex stream of the 3D drawing object supplied to the input assembler process IA.

[0229] 14(d) shows a drawing operation using the DRAW command, DRAWD command, etc., in which pixel data for a drawing object is generated in the rasterizer process RS without performing a coordinate transformation process. This operation is typically used when a two-dimensional 2D drawing object, the contour of which can be identified by a vertex stream, is displayed on a display screen.

[0230] Figures 14(e) and (f) show operation modes when vertex data is stored in the vertex buffer VB, and are divided into (e) where coordinate transformation processing is performed and (f) where coordinate transformation processing is not performed. These operations are executed by the DRAW command or the DRAWD command. Figure 14(g) shows an operation mode that uses the vertex data stored in the vertex buffer VB, and is executed by the DRAWI command.

[0231] As described above, the rendering pipeline of this embodiment can be used in various ways. For example, playback of 2D still images and streaming video (S stream, IPB stream, IP stream) requires simple sprite drawing, so the playback operation is realized in the operating mode of Figure 14(b) as described above.

[0232] As described above, the display analyzer judges the drawing commands in the display list DL and transfers them to the processing blocks of the pipeline steps corresponding to the drawing commands. The transferred drawing commands are then first put into the waiting queues of the pipeline steps, and the processing corresponding to the drawing commands is executed in the order of their input.

[0233] However, since the operation of the data transfer circuit 70, which transfers the display list DL, is much faster than the progress of this rendering pipeline, for example, if you want to display multiple 3D rendering objects on the screen and also other 2D drawing objects on the screen, there will be a long wait for the execution of the SPRITE command in the rendering process RO.

[0234] That is to say, since it takes a certain amount of time to process a coordinate transformation matrix for a 3D drawing object, for example, a large number of SPRITE commands will accumulate in the standby queue of an RO process, etc. However, in this embodiment, as explained above, the input of drawing commands is put on hold until the standby queue is empty (stall state), and moreover the number of stages in the standby queue of the downstream process is the same as or greater than the number of stages in the standby queue of the upstream process, so that the commands written in the display list DL can be operated smoothly in the order in which they are written.

[0235] Note that drawing commands transferred from the waiting queue are also put on hold (stalled) until the necessary start conditions are met, so that inconsistent drawing operations such as rewriting the index space do not occur.

[0236] Having described the circuit configuration above, we now turn to a description of the control operation by the CPU circuit 51. As described above, when the power is turned on, prior to the start of the control operation, a reset period occurs during which the system reset signal SYS is maintained at the L level for a predetermined period of time.

[0237] During this reset period, first, one or two oscillator circuits that control the operation of the general performance circuit 52 and the built-in CPU circuit 51 start oscillating, and wait for the oscillation frequency of each system clock to stabilize. Next, the internal circuit of the composite chip 50 is initialized in synchronization with each system clock, and a predetermined default value is set in the performance control register RGij and the operation control register REG. Hereinafter, this operation will be referred to as a hardware reset in this specification to distinguish it from a software reset, which will be described later.

[0238] When this hardware reset period ends, the performance control CPU 57 of the built-in CPU circuit 51 executes the boot program stored in the external ROM 55 and transfers the control program and control data from the external ROM 55 to the extended RAM 54. Then, the performance control CPU 57 continues the control operation based on the control program transferred to the extended RAM 54.

[0239] The control operation executed by the performance control CPU 57 is as shown in Fig. 15, and includes a main process (a) consisting of an initial process and the subsequent regular process, a timer interrupt process (b) that is started every 1 ms, a VBLANK interrupt process (c) that is started upon receiving a VBLANK signal output from the general performance circuit 52 at the start timing of the vertical blanking period of the display device DS, and a reception interrupt process (not shown) for receiving a control command CMD. The VBLANK signal is generated every 1 / 60 seconds.

[0240] As shown in Fig. 15(b), in the timer interrupt process, a sensor signal is acquired to grasp the motor position, etc. (ST20), and when necessary, a lamp performance or a motor performance is started or progressed (ST21). In this embodiment, the lamp performance is realized by the operation of the performance control CPU 57 and the lamp control unit L_CTL based on the lamp drive data, which is the control data. The motor performance is realized by the operation of the performance control CPU 57 and the motor control unit MT_CTL based on the lamp drive data, which is the control data. Also, in the VBLANK interrupt process that is started upon receiving the VBLANK signal, as shown in Fig. 15(c), the interrupt counter VCNT is incremented and the process ends (ST25).

[0241] First, the main process will be described in the case where the preloader 72 is not utilized. As shown in Fig. 15(a), first, an initial setting process (ST1) is executed, and appropriate setting values ​​are set in the performance control register RGij of the overall performance circuit 52 and the operation control register REG of the CPU circuit 51.

[0242] The setting process for the performance control register RGij includes the process of reserving an appropriate virtual working area (AAC area, page area, arbitrary area) in the VRAM 53 and the extended RAM 54 (see Fig. 6(a) and Fig. 6(b)), and the process of reserving an index space essential for game control operations, such as the frame buffer FB. As explained above, the frame buffer FB is composed of a first buffer with index number N1 and a second buffer with index number N2.

[0243] The start address of the shared area (used as the AAC area in this embodiment) secured in the VRAM 53 is set in 4k byte units (the lower 15 bits are zero), and the area size is secured as an integer multiple of 4k bytes. The page area secured in the expansion RAM 54 is set in 32k byte units (the lower 18 bits are zero), and the area size is secured as an integer multiple of 32k bytes.

[0244] Moreover, the set value in the operation control register REG includes operation parameters for the watchdog timer WDT 58, and these operation parameters include an operation start instruction and a counter value. The WDT 58 in the embodiment is configured to count down an initial value (counter value), and by reloading the counter value before the count value reaches an underflow where it becomes zero, activation of the WDT 58 is prevented.

[0245] On the other hand, when the count value underflows, a WDT reset request is generated, and the WDT 58 starts, resulting in a software reset state. Then, as a standard operation, all internal circuits are initialized, and the values ​​of all registers RGij and REG except for certain registers are returned to their initial values ​​(default values), and the WDT 58 stops operating. Note that the only register whose value is exceptionally maintained is the register indicating the operating state of the WDT.

[0246] However, in this embodiment, operations other than the standard operation described above are also possible, and (1) whether to initialize the internal circuitry, and (2) whether to initialize the system clock circuitry even if the internal circuitry is initialized, can be arbitrarily selected by setting corresponding values ​​in a specified operation control register REG during the initial setting process after a hardware reset. Therefore, in this embodiment, based on the set value in the specified operation control register REG, the internal circuitry is not initialized during a software reset, and the game operation is resumed from the process of step ST1.

[0247] Thus, in this embodiment, unlike the configurations of Prior Art Documents 1 and 2, even if the WDT 58 underflows, the hardware reset state is not entered, so there is an advantage that the game operation can be quickly resumed. Note that after the software reset, the WDT stops operating, so there is no risk of the software reset operation being repeatedly started.

[0248] When the initial setting process (ST1) including the above processes is completed, the intermittently executed steady-state process (ST2 to ST10) is started. As shown as step ST2 in Fig. 15(a), the steady-state process is started when the interrupt counter VCNT becomes VCNT>=2, so that the operation period (operation cycle) δ of the steady-state process is 1 / 30 seconds corresponding to the operation period (1 / 60 seconds) of the VBLANK signal.

[0249] Then, in the process of step ST3, after resetting the interrupt counter VCNT, it is judged whether or not the operation start condition for starting the normal operation is satisfied. Specifically, a predetermined performance control register RGij indicating the operation state of the drawing circuit 74 is accessed for READ, and it is judged whether or not the drawing circuit 74 has finished the drawing operation based on the display list DL of the previous operation cycle at this timing. Also, in the drawing operation of the previous operation cycle, it is judged whether or not the memory access period of the drawing circuit 74 has exceeded the timeout time set in the time setting register TO based on the ON / OFF state of a predetermined abnormality flag.

[0250] If the abnormality flag is ON because memory access by the drawing circuit 74 has taken an abnormally long time, even if the drawing circuit 74 has finished drawing operation, it is determined that the operation start condition is not satisfied, and the process proceeds to the performance command analysis process of step ST9.

[0251] The processing of steps ST4 to ST8 is skipped in order to avoid an unreasonable screen display, since there is a possibility that normal image data, including garbled bits in the instruction command, is not being generated since the memory access of the drawing circuit 74 is taking an abnormally long time.

[0252] In the performance command analysis process (ST9), 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. 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.

[0253] Next, the counter value is reloaded into the watchdog timer WDT 58 to prevent the watchdog timer 58 from starting (ST10). As explained above, even in the event of an abnormality that would cause the watchdog timer 58 to start, the composite chip 50 of this embodiment goes into a software reset state that is different from a hardware reset. This completes the operation of the current operation cycle, so the process moves to step ST2 to wait for the next VBLANK interrupt.

[0254] Although the above describes the case where the operation start conditions are not satisfied, normally, after the judgment process of step ST3, the display circuit 71 specifies the image data to be read based on the set value of the specified display register RGij, and starts the operation of the display circuit (ST4). As described above, the frame buffer FB has a double buffer structure, and the first buffer and the second buffer are controlled by the set value of the specified display register RGij so that they are switched in a toggle manner.

[0255] Specifically, the index number N1 / N2 of the first buffer or the second buffer specified as the "write area" by the display list DL of the previous operation cycle is set. By executing this step ST4, the "write area" of the previous operation cycle changes to the "read area" of the current operation cycle, so that the display circuit 71 outputs the image data completed by the drawing circuit 74 in the immediately previous operation cycle to the display device DS. That is, the process of step ST4 also includes an instruction to start the read operation of the display circuit 71.

[0256] When the processing of step ST4 having the above significance is completed, the performance control CPU 57 then completes a display list DL that specifies image data that the display circuit 71 should output to the display device DS in the next operation cycle (ST5). Although not particularly limited, in this embodiment, a list buffer area (DL buffer BUF) of the built-in RAM 59 is reserved in advance, and the display list DL is completed there (see FIG. 8).

[0257] In principle, the display list DL is created every time with its contents changed for each operation cycle, but the leading area of ​​the display list DL contains a command that specifies the index number of the frame buffer FB. As explained earlier, the frame buffer FB is an index space with a double-buffer structure with index numbers N1 and N2. And, in order to use the double buffer in a toggle manner, each display list DL alternates between the frame buffer FB with index number N1 and the frame buffer FB with index number N2 to rotate the "write area."

[0258] The performance control CPU 57 issues the display list DL thus completed to the general performance circuit 52 (ST6). Next, the performance control CPU 57 updates the performance scenario EN that centrally manages the image performance, audio performance, lamp performance, and motor performance (ST7), and if it is a necessary performance timing, issues a voice command list VC to the voice processing unit SND to start or progress the audio performance (ST8).

[0259] In addition, when the start time of the motor performance or lamp performance managed by the performance scenario EN is reached, the timer interrupt process (FIG. 15(b)) executes the motor performance or lamp performance based on the corresponding motor drive data or lamp drive data. The process of steps ST9 to ST10 following step ST8 is as described above.

[0260] Fig. 16(a) and Fig. 16(b) are flow charts showing the specific contents of the display list DL issuing process (ST6), and Fig. 16(c) is a schematic diagram showing the operation contents of the DL issuing process (ST6). As explained with reference to Fig. 9, the display list DL issuing process includes a case where the CPU register port PORT is accessed by write in 32-bit units (Fig. 9(a)), and a case where the CPU register port PORT is not accessed (Fig. 9(b)). The operation contents of each case are shown in Fig. 16.

[0261] First, referring to FIG. 16(a), the performance control CPU 57 sets the transfer register RGij to use the data relay unit CH2 (data transfer channel CH2), and sets the total size of the transfer data in a specified transfer register RGij (ST30).

[0262] Here, the display list DL is issued with a predetermined end command EODL, the contents of which differ for each operation cycle. In this embodiment, the instruction command used for the display list DL, including the end command EODL, is one word or multiple words (=N*32 bits), so no adjustment processing of the data amount is required. Therefore, the total size of the transfer data (display list DL) set in the transfer register RGij is an arbitrary value that is an integer multiple of 32 bits.

[0263] Next, the performance control CPU 57 sets the number of writes corresponding to the total size of the transfer data in the management counter CN (ST31), starts the operation of the drawing circuit 74 (ST32), and then starts the operation of the data transfer circuit 70 (ST33). Here, the instruction to start the operation of the drawing circuit 74 and the data transfer circuit 70 is realized by a setting process to a predetermined drawing register RGij and a transfer register RGij, respectively.

[0264] Next, the performance control CPU 57 writes the configuration data of the display list DL in 32-bit units to the CPU register port PORT while checking that the 130-stage CPU data FIFO circuit is not full (ST35). Then, it continues the write operation while decrementing the management counter CN (ST36, ST37).

[0265] As explained above, the CPU data FIFO circuit receives data in 32-bit units, whereas the data relay units CH0 to CH4 receive data in 1024-bit units. Therefore, in principle, when 1024-bit data is accumulated in the CPU data FIFO circuit, the accumulated data is transferred to the data relay unit CH2, but when the set value of the transfer register RGij (total size of the display list DL, which is the transfer data) is reached, the accumulated data in the CPU data FIFO circuit at that time is transferred to the data relay unit CH2.

[0266] The above process ends the DL issuing process (ST6) via the CPU register port PORT, but next, Fig. 16 (b) shows an example in which the data transfer circuit 70 reads out a display list from the list buffer (DL buffer BUF) without going through the CPU register port PORT. In this case, the performance control CPU 57 sets the transfer register RGij to use the data relay unit CH2 (ST40), and sets the total size of the transfer data and the top address of the list buffer BUF in a specified transfer register RGij (ST41).

[0267] As explained above, since the top address of the list buffer BUF set in the internal RAM 59 must be set in 8-bit units, the lowest 7 bits of the start address of the DL buffer BUF are zero. This address condition applies not only to the top address of the list buffer BUF that stores the display list DL, but also to the top address of the list buffer BUF that stores the voice command list VC.

[0268] Next, the performance control CPU 57 starts the operation of the drawing circuit 74 (ST42), and then starts the operation of the data transfer circuit 70 (ST43). These operation instructions are also realized by setting processes to the predetermined drawing register RGij and transfer register RGij, respectively. Then, the data transfer process is started by this operation instruction, and the data transfer circuit 70 ends its operation when the transfer of a predetermined size of data is completed. Therefore, after the processing of step ST43, the performance control CPU 57 can immediately move on to another process following the display list issuing process (ST6).

[0269] In this case as well, when the amount of transfer data reaches the set value in the transfer register RGij (the total size of the display list DL which is the transfer data), the data stored in the CPU data FIFO circuit at that time is transferred to the data relay unit CH2.

[0270] The above describes the process of issuing a display list DL based on Figures 16(a) and 16(b). However, when issuing a voice command list VC to the voice processing unit SND, the processing content is essentially the same as that shown in Figures 16(a) and 16(b) (see Figures 9(f) and 9(g)).

[0271] That is, the voice command list VC in which the voice commands are listed is terminated with a predetermined end command EOSC before being issued. Note that the voice command, including the end command EOSC, is one word or multiple words (=N*32 bits), so no adjustment processing of the data amount is required.

[0272] Although the above describes the case where the preloader 72 is not used, the main processing when the preloader 72 is used is as shown in Fig. 17(a). The processing content shown in Fig. 17(a) is similar to the processing content in Fig. 15(a).

[0273] However, as shown in FIG. 17(a), (a) after creating a display list DL for the next operation cycle (ST5), the display list DL is issued to the preloader 72 (ST60) instead of the drawing circuit 74, and (b) this display list DL is rewritten by the preloader 72 to become a rewrite list DL', but the rewrite list DL' rewritten in the previous operation cycle is acquired by the drawing circuit 74 (ST41) prior to the processing of step ST5, which is different from the processing of FIG. 15(a).

[0274] 17(a), the issue process (ST60) for issuing the display list DL to the preloader 72 is substantially the same as that of FIG. 16(a) and (b), except that the issue destination is changed to the preloader 72. The outline of the operation is as shown in FIG. 9(d) and FIG. 9(e), and in response to the change in the issue destination to the preloader 72, the data relay unit CH2 is changed to the data relay unit CH3 (data transfer channel CH3), but otherwise the operation is the same as that of FIG. 16(a) and FIG. 16(b), and the corresponding operations are shown in FIG. 17(b) and FIG. 17(c).

[0275] On the other hand, the process of acquiring the rewrite list DL' by the drawing circuit 74 (ST41 in FIG. 17) is shown in FIG. 17(d). As shown in FIG. 9(c), in this embodiment, the rewrite list DL' is stored in the preload buffer of the VRAM 53 (see FIG. 6(a)).

[0276] In the process of step ST41 in Fig. 17, the performance control CPU 57 sets the transfer register RGij to use the data relay unit CH2 (transfer channel CH2) (ST50 in Fig. 17(d)). Next, the total size of the rewrite list DL', which is the transfer data, and the top address of the preload buffer in which the rewrite list DL' is stored are set in a predetermined transfer register RGij (ST51).

[0277] Since the starting address in VRAM 53 needs to be set in 32-bit units, the starting address of the preload buffer that stores the rewrite list DL' needs to have the lowest 31 bits set to zero; in this embodiment, the preload buffer is allocated at a position that satisfies this condition.

[0278] Next, the performance control CPU 57 starts the operation of the drawing circuit 74 (ST52) and starts the operation of the data transfer circuit 70 (ST53). These operation instructions are realized by setting the predetermined drawing register RGij and transfer register RGij, respectively. Then, the data transfer process is started by this operation instruction, and the data transfer circuit 70 ends its operation when the data transfer is completed.

[0279] Although one embodiment of the present invention has been described above, the specific description does not particularly limit the present invention and can be changed as appropriate. For example, in the above embodiment, a configuration was described in which, when the memory access period of the drawing circuit 74 or the decode processing time is prolonged, the abnormality is detected by flag polling processing, but it is of course possible to utilize abnormal interrupt processing.

[0280] FIG. 15(d) shows an example of a configuration for such a case. When a drawing abnormality interrupt occurs, only the drawing circuit 74 is reset individually (ST23), and the operating parameters required for the operation of the drawing circuit 74 are reconfigured. The stack area is then appropriately released (ST24), and the process proceeds to step ST9.

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

[0282] GM gaming machines DL Display List 51 Image control means 52 Image Generation Means IA acquisition process RS Primitive Process RO image generation process SETTXINDEX,LOADTX 1st command Sprite 2nd command

Claims

1. an image control means for issuing a display list that specifies the display contents to be displayed on a display device; and an image generating means configured to operate based on the display list and generate two-dimensional or three-dimensional still image data and / or video image data in a predetermined frame buffer, the image generating means is configured to be capable of executing all or a part of a plurality of steps including an acquisition step capable of acquiring vertex data corresponding to an image contour, a primitive step of generating an appropriate primitive based on the vertex data, and an image generating step of generating image data required for the frame buffer; The display list issued at a predetermined timing includes: one or more first commands for instructing a decoding process after identifying basic data to be decoded and a decompression area into which the basic data is to be decoded; one or more second commands for appropriately specifying a drawing area of ​​the frame buffer and instructing the texture to be drawn in the drawing area, A gaming machine characterized in that the image generation means operates based on the display list and is configured to generate specified video image data in the frame buffer without going through the acquisition process or the primitive process.

2. a transfer means for receiving first information including a first command and a second command and second information specifying a sound effect from the image control means and transferring the first information and the second information to a first circuit and a second circuit of the image generation means; 2. The gaming machine according to claim 1, wherein the first information and / or the second information is stored in an address area of ​​an internal RAM or an external RAM of the image control means, the address area starting from a start address where bits below a predetermined bit position are zero.

3. a transfer means for receiving first information including a first command and a second command and second information specifying a sound performance from the image control means in a unit of a predetermined transfer size and transferring the information to a first circuit and a second circuit of the image generation means; A gaming machine as described in claim 2, wherein the first information and / or the second information are composed of a list of commands that are an integer N times (N≧1) a reference size, and the transfer size is set to an integer M times (M≧1) the reference size, so that the number of commands constituting the first information and / or the second information can be any number.

4. a transfer means for receiving first information including a first command and a second command and second information specifying a sound effect from the image control means and transferring the first information and the second information to a first circuit and a second circuit of the image generation means; 2. The gaming machine according to claim 1, wherein said image control means is configured to write the configuration data of the first information and the second information to a predetermined write port in units of a predetermined write size.

5. a transfer means for receiving first information including a first command and a second command and second information specifying a sound effect from the image control means and transferring the first information and the second information to a first circuit and a second circuit of the image generation means via a predetermined transmission path; 2. The gaming machine according to claim 1, wherein the transmission path for the first information and / or the transmission path for the second information is configured so that one transmission circuit can be selected from a plurality of options.

Citation Information

Patent Citations

  • Game machine

    JP2020022673A

  • Game machine

    JP2020065707A

  • Game machine

    JP2021040883A