AU616966B2 - Apparatus for rapidly switching between frames to be presented on a display - Google Patents

Apparatus for rapidly switching between frames to be presented on a display Download PDF

Info

Publication number
AU616966B2
AU616966B2 AU34581/89A AU3458189A AU616966B2 AU 616966 B2 AU616966 B2 AU 616966B2 AU 34581/89 A AU34581/89 A AU 34581/89A AU 3458189 A AU3458189 A AU 3458189A AU 616966 B2 AU616966 B2 AU 616966B2
Authority
AU
Australia
Prior art keywords
memory
information
frame
memories
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
AU34581/89A
Other versions
AU616966C (en
AU3458189A (en
Inventor
Serdar Ergene
William Joy
Szu-Cheng Sun
James Van Loo
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sun Microsystems Inc
Original Assignee
Sun Microsystems Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sun Microsystems Inc filed Critical Sun Microsystems Inc
Publication of AU3458189A publication Critical patent/AU3458189A/en
Application granted granted Critical
Publication of AU616966B2 publication Critical patent/AU616966B2/en
Publication of AU616966C publication Critical patent/AU616966C/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39Control of the bit-mapped memory
    • G09G5/395Arrangements specially adapted for transferring the contents of the bit-mapped memory to the screen
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • G09G5/024Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed using colour registers, e.g. to control background, foreground, surface filling
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/14Display of multiple viewports
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39Control of the bit-mapped memory
    • G09G5/393Arrangements for updating the contents of the bit-mapped memory
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39Control of the bit-mapped memory
    • G09G5/399Control of the bit-mapped memory using two or more bit-mapped memories, the operations of which are switched in time, e.g. ping-pong buffers
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/12Overlay of images, i.e. displayed pixel being the result of switching between the corresponding input pixels

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Digital Computer Display Output (AREA)
  • Image Generation (AREA)
  • User Interface Of Digital Computer (AREA)

Description

i I ilil:: r~ COMMONWEALTH OF AUSTRALIA PATENTS ACT 1952 COMPLETE SPECIFICATION NAME ADDRESS OF APPLICANT: Sun Microsystems, Inc.
2550 Garcia Avenue Mountain View California 94043 United States of America e, 9l U 9 NAME(S) OF INVENTOR(S): William JOY Serdar ERGENE Szu-Cheng SUN ADDRESS FOR SERVICE: DAVIES COLLISON Patent Attorneys 1 Little Collins Street, Melbourne, 3000.
COMPLETE SPECIFICATION FOR THE INVENTION ENTITLED: SLwlCrlOC-(4Sj 2 FC-r?.AreS -16 as Apparatus for rapidlcylearing the output display of a computer system :PaS-te5 0(0 I The following statement is a full description of this invention, including the best method of performing it known to me/us:- (f44 1.1 i r: i
I
memory contains information from a number of previous frames, and it is nonoccrv tn knnw whirh nixel. are to be utilized and which are to be I: I BACKGROUND OF THE INVENTION The present invention relates to logic circuitry and, more particularly, to logic circuitry used to provide extremely rapid switching between output display frames in a computer system.
DISCUSSION OF THE PRIOR ARI As computer systems such as work stations have grown more and more sophisticated, it has become clear that they might be conveniently utilized for providing the animation features that one associates with motion pictures and television. A computer which is capable of providing an animated output offers a distinct advantage over television and motion pictures because it, unlike the others, allows both the construction and revision of the images of animated displays. The ability of computers to provide three dimensional displays has eeoo hastened and heightened the desire for systems which are capable of handling animated subjects.
A major problem in utilizing computers to provide animated output is that .2 0 animation requires the display of frames which vary by small increments and succeed one another in rapid sequence. In order to display a single frame of S graphical material on a cathode ray tube (CRT), it is necessary to store an indication for each position (pixel) which is to appear on the cathode ,y tube i S or other display of the information which is to be displayed at that position. With large and detailed displays, the number of pixels on the cathode ray tube may average approximately 1,000 in a horizontal direction and a like number in the vertical direction giving a total of approximately one million pixels about which information is to be stored. In a preferred system which is capable of providing a number of different colors and hues on the cathode ray tube, each of these pixels contains twenty-four bits of digital information specifying the particular i i
I
I
A-
operate the write enable logic so that a pixel may be written to the display memory and the other memories. In the table, for the comparator outputs, a one c IC color output. Consequently, approximately twenty-four million bits of information needs to be stored for each frame to be presented at the output.
However, not only does writing the approximately twenty-four million bits to each storage position of a frame to be provided as output to a cathode ray tube require a substantial amount of time, but the clearing of those bits in order to provide the next frame requires an additional amount of time. Some of the delay between frames has been obviated by using double buffered systems in which two full screen Atma pped1mmories are provided and switched alternately to the cathode ray tube output. Such a system reduces 1 0 substantially the time between presentation of two frames of information but does not eliminate the need to rapidly clear each of the display memories so that they may be written to for the frames which follow. Consequently, even such double buffered systems are too slow to provide optimum outputs for o* animation purposes.
15 It is, therefore, an object of this invention to improve the speed at which images may be switched from frame to frame and presented at the output of a computer system.
It is another object of this invention to eliminate a substantial portion of the delay associated with clearing display memories between frames in a '20 computer system.
i •It is another object of this invention to eliminate the necessity of clearing display and depth memories between frames in a computer system.
An additional object of this invention is to improve the speed at which computer systems operate.
3.1 -yr
C
-2- -3- SUMMARY OF THE PRESENT INVENTION According to the present invention there is provided a computer output system for displaying a plurality of individual frames of information on display means including a display, comprising: first memory means including a first memory having a plurality of pixel storage positions for storing said frame information at said pixel positions; second memory means including a second memory having a plurality of pixel positions corresponding to said pixel positions in said first memory for storing one of a plurality of n-bit frame indications at each said pixel position in said second memory, each said n-bit indication indicative of one of said plurality of individual frames of information stored in said first memory; input means coupled to said first memory means and to said second memory means for inputting into said first memory said frame information and for inputting 15 into said second memory said n-bit frame indications such the said frame information and said n-bit frame indications occupy the same pixel positions in said first and second memories, respectively; first comparison means coupled to said second memory means for comparing an indication indicative of a particular frame to be displayed on said display with said indication stored at said pixel positions in said second memory means such that if said indications are equal said frame information stored at said corresponding pixel positions in said first memory is displayed on said display; and clearing means coupled to said second memory means for clearing consecutive portions of said second memory after each said particular frame of information has been displayed on said display, said portions cleared comprising at least the pixel positions of said second memory storing the n-bit frame indication of said particular frame of information displayed.
The present invention improves the speed at which individual frames may be switched to the output of a computer system by essentially eliminating the time p normally used for clearing the display memories in such a system. The system p accomplishes this by providing double-buffered frame identification memory to store Al If no enable signal has been received from the window identification *I comoarison. then the enablinq siqnal from the FID comparator does not cause 3A indications of the frame being stored corresponding to the information in an associated display memory. Each pixel in the display memory has an associated, corresponding pixel in the frame identification memory.
When a frame which has been written into the display memory is to be read out, an output frame identification register provides an indication of the frame to be read out as a frame number, and that frame number is compared with the value of each pixel in the frame identification memory as the frame identification memory and the display memory are scanned for cathode ray tube refresh. Only those pixels in the selected frame are provided as output from the display memory to the cathode ray tube. At pixels at which the number in the output frame identification register and the o frame identification memory do not compare, a background color generator is activated to provide information to the cathode ray tube. This allows frame to frame writing to the display memory to continue without erasing the display memory and 15 erasing only a small portion of the frame identification memory.
An additional somewhat similar logic arrangement is provided for determining the depth to which pixels of a particular frame are to be written along the Z-axis so that three dimensional figures may be accurately represented on a two dimensional output display. The invention allows frame-to-frame use of the Z buffer to continue without erasing the Z buffer. Moreover, another similar logic arrangement is provided for determining the window in which pixels of a particular frame are to be written so that windows may be handled in the same system.
These and other features and advantages of the present invention will become apparent to those skilled in the art after having read the following detailed description in conjunction with the several figures of the drawing.
0? 910819,vrsspe.O11,SUN,4 Sspirit and scope of the invention. The invention should therefo be aured in terms of the claims which follow: Pr1 IN THE DRAWINGS Figure 1 is a block diagram illustrating a arrangement in accordance with the invention for selecting individual frames to be displayed on a computer output device.
Figure 2 is a block diagram illustrating an arrangement in accordance with the invention for selecting individual windows to be displayed on a computer output device.
Figure 3 is a block diagram illustrating an arrangement in accordance 1 0 with the invention for selecting particular frames involving three-dimensional figures to be displayed on a computer output device.
Figure 4 is a truth table useful in illustrating the operation of the arrangement shown in Figure 3.
e~g...Figure 5 is a block diagram of a system incorporating arrangements for *.IE selecting windows, frames, and depth dimensions of signals to be provided on 0:0 a computer output device.
Figure 6 is a truth table useful in illustrating the operation of the circuitry shown in Figure too 0Figure 7 is a block diagram illustrating the registers and memories .0 which are addressable on the host address bus from the central processing unit in accordance with the present invention.
Figure 8 is a diagram useful in understanding the operation for clearing frame identification memories in accordance with the present invention.
-4- DETAILED DESCRIPTION OF THE INVENTION FRAME IDENTIFICATION: Referring now to Figure 1,there is shown a display output system for processing information rapidly in accordance with the invention. For the purposes of this explanation, a frame may include a particular graphical or data structure which it is desired to present as a full screen presentation on a cathode ray tube or other computer output device. The system 10 operates under control of a central processing unit (CPU) not shown in Figure 1.
When it is desired to write a particular graphic frame to an output device such as the cathode ray tube (CRT) 12 shown in Figure 1,the actual information to be displayed is written to a display memory. The system comprises a first display memory A (13) and a second display memory B (14).
The use of two display memories in parallel, the output of which may be ooe 0 selected by a multiplexor 15, allows the rapid switching between the frames of a display which is necessary to accomplish animation. In the usual case, a frame is written to display memory A while the frame in display memory B is I6.6. being furnished as output to the catlfode ray tube. The information in the frame in display memory A is then furnished as output to the cathode ray tube while a new frame is written to display merriry B.
S 0In prior art systems, each of the display memories A and B must be cleared before new information can be stored in it. This clearing step, with a display having a significant number of pixels and storing twenty-four bits of information at each pixel as in the preferred embodiment, requires a significant =e amount of time and may slow the operation of the system to the point where its use in animation is impractical.
To obviate this loss of time and provide the switching speed necessary for animation, the output system 10 of the present invention also includes an input frame identification (FID) register 16, a pair of frame identification (FD) memories A (17) and B (18) each associated with the similarly named one of the display memories A and B, an output frame identification (FID) register 19, a background color register 20, and a control register 21. The system 10 also W. t [1-18- THE CLAIMS DEFINING THE INVENTION ARE AS FOLLOWS: includes a multiplexor 22, a comparator circuit 23, a write enable logic circuit 24, and a logic circuit The operation of the system 10 is as follows. The CPU writes a value to the control register 21 using the host data bus to select which of the FID memories A (17) or B (18) and its associated display memory A (13) or B (14) is to be written to.
The CPU then provides a frame identification number which is stored in the input frame identification register 16 used for all of the information to be written for that frame. In a preferred system, sixteen frame numbers (0-15) are utilized. After the input frame identification register has been initialized with the frame number, the actual information to be displayed on the output device is sent from the CPU to the selected display memory A or B. The display memories A and B are each full screenbitmappedmemories. The frame identification memories A and B are also full screen itmed memories, each receiving input from the input FID register 16 and providing outputs to a multiplexor 22 which allows them to be rapidly switched for the presentation of :O animated graphic images.
Each piece of input information on the host data bus from the CPU carries a pixel address, and color information (an RGB color value, for 20 example). Presuming that the display memory A and the FID memory A have been selected, the RGB color value is written to the appropriate pixel address in display memory A while the frame identification number is written to the same pixel address in the frame identification memory A. In a preferred system, the t 0° frame identification number requires four bits of storage while the RGB color value requires twenty-four bits of storage at each pixel.
Consequently, when any particular full frame has been written to display memory A, the display memory A contains, at the addressed positions chosen for the particular frame, the representation to be displayed in RGB color values.
Presuming that a triangle (such as that shown in the upper left corner of CRT 12)is to be stored in the diplay memory A and written to the cathode ray tube 12 shown in Figure 1, the color values for that triangle are placed at the r ii '1 19- I 1display; and
W-
I
0ro
I.
a 0*a
S
0 appropriate pixels of the display memory A while a triangular indication is stored at the same pixels in the frame identification memory A but as the frame identification number.
For example, if the triangular indication has been stored as frame zero, the color indications are provided in triangular form in the display memory while the numbers zero are stored at the same triangular positions in the associated FID memory. When it is time to display frame zero at the CRT, the CPU, using the host data bus stores the frame identification number, a zero in this case, in the output frame identification register 19 (again a four bit register in the preferred embodiment). The CPU also writes to the control register 21 so that the multiplexors 22 and 15 controlling the outputs of the frame identification memories and the display memories, respectively, are set to select the output from memories A. Then, as each pixel in the display memory A is scanned to S the output through its associated multiplexor, frame identification values are ,15 also scanned from the frame identification memory A for that particular pixel.
The values from the frame identification memory will be zero only at the S positions where the triangle is stored Consequently, a comparator circuit 23 comparing the output from the selected frame identification memory and from the output frame identification register 19 provides a signal indicating those ,2O pixels of the frame identification memory A where frame zero has been written the triangle having a frame identification number of zero). Therefore, at S those positions at which the frame identification memory A stores a zero frame identifica'tion number, the comparator circuit provides an equal output Sindicating a pixel which is a part of the current frame; and the RGB color signal stored at that pixel in the display memory A is furnished to the cathode ray tube via logic circuit 25. On the other hand, at all pixels other than those having a frame identification number of zero in the frame identification memory A, the comparator circuit 23 provides a not equal output indicating that the pixel is not a part of the current frame; and a background color is provided from the background color register 20 and transferred to the cathode ray tube 12.
*0I 0
I
0*S
$O,
I
iIZ includes an RGB color value.
V0*04 0 This arrangement for processing signals has a number of significant advantages. For example, the system requires that color values be stored in the display memories only at positibns indicative of foreground data.
Background colors need not be stored in the display memodes. Consequently, storage of information may proceed at a more rapid rate than with the usual system where twenty-four bits of information must be stored at each pixel. More importantly, a display memory need not be erased after the information for a frame is read out in order to write the next frame in that memory.
For example, after frame zero has been processed as explained above, the next frame to be processed by the particular FID memory has the next frame number which is one. The information written to the FID memory and to the associated display memory may, consequently, simply be written on top of the information in those memories because the only information which will ultimately be furnished to 'the display will be information associated with frame number one, as selected by the FID output register.
It will be appreciated that this arrangement which eliminates the need to clear the display memory significantly speeds the operation of the system and allows the rapid switching necessary for animation.
Although the use of FID memories and registers allows the system to function without clearing the display memories between particular frames, the number of bits utilized in the frame identification number system, four bits in the prefe',ed case, determines how many total frames may be written before the FID memories must be cleared. With four bits of digital storage to record the frame number, sixteen total frames may be j lilized. If the FID memories have not been cleared after sixteen frames, then it is possible that information Telating to a previous zero frame, for example, will remain in an FID memory as the zero frame is again reached. Since this information might be erroneous, the system does require that the FID memories be cleared at least once in each sixteen uses.
An advantageous way of accomplishing the clearing without slowing the operation of the system to any extent is to clear at least one-fifteenth or greater _E3_ i i I I 1 -qf of an FID memory after each frame is written to the output device. For example, Figure 8 illustrates the division of an FID memory into fifteen horizontal strips.
After the zero frame has been displayed on the CRT, a clear value of "zero" frame number is written to the uppermost horizontal strip of the FID memory; and after the one frame has been displayed, a clear value of "one" frame number is written to the next horizontal strip of the memory. Similar values are applied to each succeeding horizontal strip after each succeeding display of a frame.
Consequently, the next time a zero frame is to be written to the FID memory, the memory will be entirely clear of zero values because all horizontal strips below 1 0 the top strip will have been purged of zero values and the top strip of FID memory, which originally held zero values, will have been filed with values of fifteen, the last FID frame number to have been used. Consequently, no old zero frame signals will be present to distort the information to be stored in the FID memory. The same result will occur as each next frame number is written, the memory will have been cleared of all indications of that frame number just before the new frame is written. Clearing the values from memory is, of course, accomplished in a manner well known to the prior art by means specific to the particular storage elements.
It will be clear to those skilled in the art, that clearing one-fifteenth of the '30 FID memory after each output of a frame to the CRT is significantly faster than the arrangements used by prior art systems which required the clearing of the entire display memory with each output to the CRT. First, the display memory includes twenty-four bits at each pixel, and each must be cleared. On the other hand, the FID memories hold only four bits at each pixel. This alone would make the system six times faster even if the FID memories were to be cleared entirely after each write to the output device. In the preferred embodiment which clears only one-fifteenth of the FID memories, the time required is but one-fifteenth of that to clear the full FID memory. Consequently, the total time utilized for clearing in the present system is approximately one ninetieth of that required in prior art systems having equivalent display -9- 'r i I p Ir 22 conditionally inputting said window information into said fourth memory such that .1 -A 0 0S 00 00b0 0 0 6w 0 0 *0 memories. This advantage can be easily increased if using FID memories with more bits.
WINDOW IDENTIFICATION: The output system described with respect to Figure 1 may conveniently be utilized in a computer system which makes full use of multiple windows. For example, Figure 2 illustrates a window identification output system 30 which may be utilized with or apart from the frame identification arrangement described above. The system 30 is utilized to provide output signals to a cathode ray tube 12 which signals appear in different windows on the cathode ray tube.
System 30 includes a pair of double-buffered display memories A (13) Pi ymcfeAc and B each of which is a full screen itf- 'ae memory. In a preferred embodiment each display memory may include twenty-four bits of storage for 15 each pixel for storing color information. The system 30 also includes a window identification (WID) register 34 which in a preferred embodiment stores four bits of information and a window identification (WID) memory 35 which in the preferred embodiment is a full screen bitmappedmemory which stores four bits of information for each pixel. A window identification (WID) comparator 36 20 receives output signals from the WID register 34 and the WID memory 35. The system 30 also includes a multiplexor 37, write enable logic 38 and a control register 39 for selectively enabling each of the display memories A and B.
In operation, windows are first selected by values provided from the CPU. These values include both a pixel address and a window identification number for each pixel of the window. The window identification number is written to each corresponding pixel of the particular window in the window identification memory 35. When a first window is written to the window identification memory, each pixel within that window carries the window identification number for that window. When a next window which lies in front of the first window is written to the window identification memory, the portions of the second window which overlay the first are written on top of the overlapping Ii f~ 41t I Ii pixels of the first and, therefore, automatically cover and clip the first. After all of the windows desired have been written, the window identification memory has stored indications as shown in the display of the CRT 12 in Figure 2.
When it is desired to write information to a display memory for particular windows (the system for windowing may be used with single display memories as well as double-buffered systems), the information is written into the display memory from the CPU through the data bus. This information includes a pixel address,, an RGB color value as discussed above, and a window identification ,iumber. The window identification number is stored in the window identification register 34 and compared to the window identification number stored at that pixel in the window identification memory 35. If the window identification number stored in the window identification memory 35 is the same as that in the window identification register 34, the comparator circuit 36 S causes the write enable logic 38 to allow the RGB information to t-9 written to 1 5 the addressed pixel of the selected display memory. If the comparator circuitry determines that the window identification number is not the same as the number stored at that pixel in the window identification memory, then the RGB information is not stored in the display memory. Consequently, only at those addresses of the selected display memory which are within each particular 20 window will a signal for that window be written. The signal written to the display memory is ultimately transferred from the particular display memory via a multiplexor 37 to the cathode ray tube 31 shown in Figure 2.
A number of additional advantages are realized by the use of the window identification system herein described. For example, without more, the window identification system provides that the information in a particular window is written to the correct area of the display and that portios of any particular window which lie behind other windows are appropriately clippe y~m~ppce-& Moreover, since the window identification memory is a full screenib."pped&memory, the windows may be of any shape which it is possible to describe t rather than simply rectangular windows as in the usual case.
I II 4 1 *1 At
/A"
-11- Lr L i i
I,~
DEPTH INFORMATION: The system shown in Figure 1 for providing rapid switching between frames of display memory without-clearing those display memories may also incorporate apparatus for providing output indicative of the depth of each pixel provided for a particular display on the cathode ray tube. Various systems are known in the prior art for providing depth information, but the usual manner is to provide an indication with each pixel to be written on the display of the position of that pixel along a Z-axis (tilird dimensional axis).
Figure 3 illustrates a system 40 for including this information. The system 40 adds to the circuitry illustrated in Figure 1 a Z buffer memory 41 which stores Z or depth information values; a Z buffer comparator circuit 42 which compares stored Z buffer values to new Z values for each particular pixel, a multiplexor 43 at the output of the FID memories, and a comparator 44.
The write enable logic circuit 24 is also ultilized for controlling the writing of 1" 15 information to the FID memories, the Z buffer memory, and the display memories.
As is the case with the display memories, in order to speed system operation, it is desirable to utilize a Z buffer memory 41 which does not require clearing during operation. The normal Z buffer memory is a full screen S 20 bitmapped memory which, like the FID memory, the display memories, and the window memory, stores at each pixel address an indication of the particular Sposition that pixel is to take along the Z-axis. In the preferred embodiment of this invention, the Z buffer memory stores twenty-four bits at each pixel; consequently, the process of clearing this memory can substantially slow the system.
In prior art systems, the Z buffer memory is first cleared to the background Z value after each frame. This occurs because the Z buffer memory for each frame stores only the frontmost value for each pixel. Since the background is the deepest indication which may be displayed, the Z buffer i memory is normally cleared to background before any frame is written. Unless it is cleared, after the system has been operated for any time, the Z buffer -12-
!I
i l I I £41 Il I memory contains information from a number of previous frames, and it is necessary to know which pixels are to be utilized and which are to be disregarded.
In order to know if a new pixel should be written to a display memory, it is first necessary to know whether that pixel of the frame identification memory contains information in the frame being written. This determination is made in the system 40 using the input frame identification register 16 and the particular FID memory 17 or 18 selected by the control register 21 as described above.
The incoming FID number is compared with the FID number stored at the indicated pixel in the FID memory; and if that comparison shows that the numbers are equal, then the FID comparator 44 provides an equal output to the write enable logic 24 which indicates that the FID number stored at that pixel is in the frame being written and, therefore, that the pixel has been written at least once for this frame. If the FID numbers are not equal, then this pixel has not 1 5 been written before in this frame, and the comparator circuit 44 provides a not equal signal to the write enable logic which causes the incoming information to be written to the various memories. In this case, the selected display memory receives the color display signal at the pixel position, the selected FID memory receives the new frame identification number, and the Z value is written to the Z buffer memory.
If the signals from the FID comparator 44 are equal indicating that the pixel has been previously written in this frame, then a Z buffer comparison is necessary to determine whether to write. The Z buffer comparator 42 looks at the Z value at that pixel position in the Z buffer memory and compares it to the new Z value. If the Z buffer comparison shows that the Z number is less than or equal to that which is stored in memory, then the new pixel is in a position at the same plane or in front of the pixel previously written; and the write enable logic is enabled to write the pixel to the appropriate display memory, the FID memory, and the Z buffer memory.
A truth table is shown in Figure 4 which shows the comparison values to be used in the FID comparator 44 and the Z buffer comparator 42 in order to -13p.l _6 operate the write enable logic so that a pixel may be written to the display memory and the other memories. In the table, for the comparator outputs, a one indicates that the or conditifn is true, a zero means that the condition is not true, while an X indicates that the comparison condition is not used. For the write output, a zero means a write will not occur and a one means a write will occur. As the table shows, if the result of the FID memory comparison is that the FID numbers differ, then a new frame is being written and the write enable circuit is operated whatever the Z buffer comparison may be. On the other hand, if the FID comparison shows the FID numbers to be the same, then the results of the Z buffer comparison control the operation of the write enable circuitry.
Figure 5 illustrates a system 50 which incorporates the elements of the present invention previously described to provide extremely rapid switching between frames to be displayed by a pair of double buffered display memories at an output cathode ray tube. This system includes a control register 21 which receives input signals from the CPU on a data bus and sends signals to enable the window identificat:on circuitry, the Z buffer circuitry and the frame identification circuitry. The control register also selects which of the double buffered display memories 13 and 14 and frame identification memories 17 and S 20 18 are to be selected for any particular operation such as input or output.
The system 50 also includes write enable logic 24 which operates as the central control to cause information to be written to the frame identification memories, the Z buffer memory, and the display memories.
In operation, the system 50 works in the following manner. The control register 21 receives a value which indicates which of the particular elements of circuitry are to be enabled. For example, the particular program may or may not operate with the window comparison circuitry, with the frame identification registers, or with the Z buffer memory circuitry. This is true because the particular program may not have enabled the window operation, may not be operating in the three-dimensional domain, or may not be used to provide animation at the particular moment. The following discussion presumes that all -14- I1
A
three of the subsystems have been enabled by signals to the control register.
The basic operation of this system 50 is to first determine whether data signals are within a particular window, then to determine whether the data signals fall into the particular frame being written, and finally to determine whether the data signals to be stored for that frame lie in front of data signals already stored in that frame.
The first step in any operation is to store the windows to be utilized in the window identification memory. This is accomplished by writing to the window identification memory 35 values from the CPU which are indicative of each of the windows to be utilized.
Thereafter, when it is desired to write a particular pixel to a display memory 13 or 14, a value is stored into the control register 21 to select the appropriate A or B display memory and the appropriate associated frame identification memory 17 or 18. The CPU writes the values of the current S 15 window into the WID register 34 and the value of the current frame into the input i" FID register 16. In the window identification circuitry, the window number in the ,WID register 34 is compared with the window identification number stored in the window identification memory 35 and if they are equal (that is, the information at that pixel lies in the window), then an enable signal is transferred to the write enable logic 24.
At the input FID comparator 44, the frame number in the input FID register is compared with the frame number stored in the frame identification memory which has been selected by the control register. If the comparison is i unequal, then that pixel has not yet been written for this frame and a signal is provided directly to the write enable logic 24 which causes the write enable logic (if it has received an enable signal from the window identification comparison circuit) to write to each of the memories. That is, the write enable logic writes to the particular FID memory which has been selected, to the Z buffer memory, and to the display memory which has been selected by the control register.
1 If no enable signal has been received from the window identification i comparison, then the enabling signal from the FID comparator does not cause the write enable logic to write to any of the memories.
Presuming that the window comparison has provided an enable signal and that the comparison of the signals in the FID register and the selected FID memory shows that the pixel identification is the same, this indicates that this pixel has already been written to at this address for this frame; and it is necessary to make a Z buffer comparison in order to determine whether the I present pixel is in front of the pixel already stored. The Z buffer comparison compares the Z value furnished by the CPU with the Z value stored in the Z buffer memory for that pixel. If the Z value furnished by the CPU is equal to or less than that stored in the Z buffer memory, then the new or present pixel is in front of the pixel stored; and a signal is provided to cause the write enable logic 24 to write to the FID memory, the Z buffer memory, and the selected display memory.
4 Figure 6 is a truth table illustrating how the results of the the a comparisons at the window comparator circuitry, the frame identification 1 0 comparator, and the Z buffer comparator control the operation of the write enable circuitry of Figure sco :20 The other portions of the circuitry shown in Figure 5 for system 50 are *o substantially identical to those previously described and will not therefore be S, described in detail again. For example, the background color register 20 is utilized to provide background color in the positions in which the pixel to be o displayed on the CRT is not a foreground pixel in the selected frame. The
IA
output FID register 19 is used, as described above, to determine by ccrnparison of the output frame identification number with the frame identification number stored in the selected: FID memory and to enable output from the appropriate display memory or the background color register.
Although the present invention has been described in terms of a preferred embodiment, it will be appreciated that various modifications and i alterations might be made by those skilled in the art without departing from thei -16- 1
K?~
9 10819,vrsspe.01 1, SUN,4 ~17TIfj~"Ui.~u.II'. I spirit and scope of the invention. The invention should therefore the measured in terms of the claims which follow: 00 *4~ I 4 0 0 4 4 00 4 44 0 4 #04 4 0 4 0104 '0 40 0 1 4 404 4 44 0 00 0 0 0 0 44 44 4 0 0 to, 40~0* 4 4 0 0 17-

Claims (6)

18- THE CLAIMS DEFINING THE INVENTION ARE AS FOLLOWS: 1. A computer output system for displaying a plurality of individual frames of information on display means including a display, comprising: first memory means including a first memory having a plurality of pixel storage positions for storing said frame information at said pixel positions; second memory means including a second memory having a plurality of pixel positions corresponding to said pixel positions in said first memory for storing one of a plurality of n-bit frame indications at each said pixel position in said second memory, each said n-bit indication indicative of one of said plurality of individual frames of information stored in said first memory; input means coupled to said first memory means and to said second memory means for inputting into said first memory said frame information and for inputting into said second memory said n-bit frame indications such the said frame information 15 and said n-bit frame indications occupy the same pixel positions in said first and second memories, respectively; first comparison means coupled to said second memory means for comparing an indication indicative of a particular frame to be displayed on said display with said indication stored at said pixel positions in said second memory means such that if said indications are equal said frame information stored at said corresponding pixel positions in said first memory is displayed on said display; and clearing means coupled to said second memory means for clearing consecutive portions of said second memory after each said particular frame of information has been displayed on said display, said portions cleared comprising at least the pixel positions of said second memory storing the n-bit frame indication of said particular frame of information displayed. 2. The computer output system of claim 1 further including: third memory means coupled to said input means including a third memory having a plurality of pixel positions corresponding to said pixel positions in said first memory for storing one of a plurality of indications at each said pixel position in said third memory, each said indication indicative of a window to be displayed on said S91~8i,vrsspe.01 1,SUN,8 TI~r t (/fLJ^ 12 shown in Figure 1, the color values for that triangle are placed at the I -6-
19- Il Jdisplay; and second .comparison means coupled to said third memory means for comparing an indication indicative of a particular window to be displayed on said display with said indications stored at said pixel positions in said third memory means; wherein said input means only inputs said information to be displayed on said display into said first memory means 'if said indications compared by said second comparison means are equal. 3. The computer output system of claim 1 further including register means 1 j10 coupled to said first comparison means and to said input means for storing background ii color information, said register means displaying said background information on said display if said indications compared by said first comparison means are not equal. 4. The computer output system of claim 3 wherein said frame information includes an RCB color value. The computer output system of claim 3 wherein said first memory of said first I memory means includes a first pair of full screen pixmapped memories, and said I second memory of said second memory means includes a second pair of full screen pixmapped memories. i s 6. The computer output system of claim 5 wherein: said first memory means further includes first selection means for selecting one of said pixmapped memories in said first pair of pixmapped memories; and said second memory means further includes second selection means for selecting one of said pixmapped memories in said second pair of pixmapped memories. 7. The computer output system of claim 6 wherein said first and second selection i means each include a multiplexor. 8. The computer output system of claim 7 wherein said frame information K-T 0 I 910819,vrsspc.011,SUN,19 Slincludes an RGB color value. 9. The computer output system of claim 1 wherein said computer output system displays three dimensional images, said computer output system further comprising third memory means, second comparison means, and third comparison means wherein: said third memory means includes a third memory having a plurality of pixel Spositions corresponding to said pixel positions in said first memory for storing depth information at each said pixel position in said third memory; said input means is further coupled to said third memory means, said input means conditionally inputs said frame information into said first memory, conditionally inputs said n-bit frame indications into said second memory, and conditionally inputs said depth information into said third memory such that said frame information, said n-bit frame indications, and said depth information occupy o the same pixel positions in said first, second, and third memories, respectively; said second comparison means is coupled to said second memory means for comparing an indication indicative of a particular frame to be modified on said display with said indications stored at said pixel positions in said second memory means such 0ly that if said indications are not equal, said input means stores said frame information 0 o at said corresponding pixel positions in said first memory, said indications at said pixel positions in said second memory, and said depth information at said pixel i: positions in said third memory; and 1 4 said third comparison means coupled to said third memory means and to said input means for comparing said depth information stored in said third memory with said depth information input by said input means when said indications compared by said second comparison means are equal such that if said stored depth information has a value greater than or equal to said depth information input by said input means then said input means stores said frame information at said corresponding pixel positions in said first memory, said indications at said pixel positions in said second memory, and said depth information at said pixel positions in said third memory. The computer output display system of claim 9 further including register means coupled to said first comparison means and said input means for storing background 910819,vrsspe.OI 1,SUN,20 \Ln A :4 I I :v: Ii Ii
21- color information, said register means displaying on said display background information if said indications compared by said first comparisorn means are not equal. 11. The computer output system of claim 10 wherein said frame information includes an RGB color value. 12. The computer output system of claim 10 wherein said first memory of said first memory means includes a first pair of full screen pixmapped memories, and said second memory of said second memory means includes a second pair of full screen pixmapped memories. 13. The computer output system of claim 12 wherein: said first memory means further includes first selection means for selecting one of said pixmapped memories in said first pair of pixmapped memories; and said second memory means further includes second selection means for selecting one of said pixmapped memories in said second pair of pixmapped memories. 14. The computer output system of claim 13 wherein said first and second selection means each include a multiplexor. The computer output system of claim 14 wherein said frame information includes an RGB color value. 16. The computer output system of claim 4 wherein said individual frames of information are displayed inside windows, said computer output system further comprising fourth memory means and fourth comparison means wherein: said fourth memory means includes a fourth memory having a plurality of pixel positions corresponding to said pixel position in said first memory for storing window information at each said pixel position in said fourth memory, said window information iadicative of a window to be displayed on said display; said input means is further coupled to said fourth memory means for 910819,vrspc.01 I1,SUN,21 V.P 22 conditionally inputting said window information into said fourth memory such that said window information occupy the same pixel positions as said frame information in said first memory; said fourth comparison means is coupled to said fourth memory means for comparing an indication indicative of a particular window to be displayed on said display with said window information stored at said pixel positions in said fourth memory means such if said stored window information does not equal an indicator indicative of the window to modify said frame information will not be input into said first memory. 17. The computer output system of claim 16 further including register means coupled to said fourth comparison means and said input means for storing background color information, said register means displaying said background information on said display if said indications compared by said fourth comparison means are not equal. 18. The computer output system of claim 17 further including control mees for separately enabling one or more of said second memory means, said third memory means, said fourth memory means. 19. The computer output system of claim 18 wherein said fram,, information includes an RGB color value. The computer output system of claim 17 wherein said first memory of said first memory means includes a first pair of full screen pixmapped memories and said second memory of said second memory means includes a second pair of full screen pixmapped memories. 21. The computer output system of claim 20 wherein: said first memory means further includes first selection means for selecting one of said pixmapped memories in said first pair of pixmapped memories; and said second memory means further includes second selection means for selecting one of said pixmapped memories in said second pair of pixmapped 910819,vrsp.1,SN,22 91089,vrspe.01 1,SUN,22 IL 23 memories.
22. The computer output system of claim 21 wherein said first and second selection means each include a multiplexor.
23. The computer output system of claim 22 wherein said frame information includes an RGB color value.
24. A computer output system for displaying a plurality of individual frames of information on display means substantially as hereinbefore described with reference to the accompanying drawings. DATED this 19th day of August, 1991 SUN MICROSYSTEMS, INC. By its Patent Attorneys DAVIES COLLISON o 0 0 09 0 e o n o 0000, i00 t f• sp eo B D e" a f e I D ii~ O 910819,vrspe.O1 1,SUN,23 1 i i:
AU34581/89A 1988-10-07 1989-05-09 Apparatus for rapidly switching between frames to be presented on a display Ceased AU616966C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US25495788A 1988-10-07 1988-10-07
US254957 1988-10-07

Publications (3)

Publication Number Publication Date
AU3458189A AU3458189A (en) 1990-04-12
AU616966B2 true AU616966B2 (en) 1991-11-14
AU616966C AU616966C (en) 1993-01-14

Family

ID=

Also Published As

Publication number Publication date
KR960003073B1 (en) 1996-03-04
FR2637706A1 (en) 1990-04-13
GB2223651B (en) 1993-03-31
GB8911381D0 (en) 1989-07-05
GB2223651A (en) 1990-04-11
CA1316271C (en) 1993-04-13
JPH02123422A (en) 1990-05-10
HK98793A (en) 1993-09-30
FR2637706B1 (en) 1994-03-18
KR900007186A (en) 1990-05-09
AU3458189A (en) 1990-04-12
JP2858137B2 (en) 1999-02-17

Similar Documents

Publication Publication Date Title
US5043923A (en) Apparatus for rapidly switching between frames to be presented on a computer output display
AU612222B2 (en) Z-buffer allocated for window identification
US5091717A (en) Apparatus for selecting mode of output in a computer system
US5101365A (en) Apparatus for extending windows using Z buffer memory
US5587726A (en) Method and apparatus for increasing the speed of operation of a double buffered display system
US5266941A (en) Apparatus and method for controlling storage of display information in a computer system
CA2058250C (en) Method and apparatus for arranging access of vram to provide accelerated writing of vertical lines to an output display
EP0396377B1 (en) Computer graphics dynamic control
JPS61276074A (en) Frame buffer memory
JPH08179743A (en) Window display processing device
US5050102A (en) Apparatus for rapidly switching between output display frames using a shared frame gentification memory
EP0182375B1 (en) Apparatus for storing multi-bit pixel data
GB2223651A (en) Overwriting display memory without clearing speeds computer animation
US4834374A (en) Object image indicating apparatus
CA1319996C (en) Method and apparatus for decomposing a quadrilateral figure for display and manipulation by a computer system
JPH08272344A (en) High speed picture display device and method therefor
US5117485A (en) Method and apparatus for sorting line segments for display and manipulation by a computer system
AU618129B2 (en) Method and apparatus for sorting line segments for display and manipulation by a computer system
GB2224622A (en) Apparatus for extending windows using Z buffer memory
JPH0693180B2 (en) Bitmap Display Device
US5428775A (en) Apparatus for providing data dependent write operations
GB2252224A (en) Providing an overlay e.g. a cursor, for a computer display
JPH0340127A (en) Multi-window display device and window priority deciding device
JPS61208091A (en) Display system for graphic data
JPH05128265A (en) Picture processor