EP0229986B1 - Cursor circuit for a dual port memory - Google Patents

Cursor circuit for a dual port memory Download PDF

Info

Publication number
EP0229986B1
EP0229986B1 EP19860117314 EP86117314A EP0229986B1 EP 0229986 B1 EP0229986 B1 EP 0229986B1 EP 19860117314 EP19860117314 EP 19860117314 EP 86117314 A EP86117314 A EP 86117314A EP 0229986 B1 EP0229986 B1 EP 0229986B1
Authority
EP
European Patent Office
Prior art keywords
cursor
data
image
line
bit map
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
EP19860117314
Other languages
German (de)
French (fr)
Other versions
EP0229986A3 (en
EP0229986A2 (en
Inventor
John Stephen Muhich
Joseph Stoddard Thornley
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.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
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
Priority claimed from US06/820,487 external-priority patent/US4767460A/en
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Publication of EP0229986A2 publication Critical patent/EP0229986A2/en
Publication of EP0229986A3 publication Critical patent/EP0229986A3/en
Application granted granted Critical
Publication of EP0229986B1 publication Critical patent/EP0229986B1/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • 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/08Cursor circuits

Definitions

  • This invention relates to video display systems and more specifically to a video display system providing all-points-addressable functions implemented using dual ported memory.
  • Video display screens typically provide a movable marker, referred to as a cursor, to provide a visible indication as to the current position of interest on the display screen.
  • a cursor a movable marker
  • this function has been implemented by either the host system or the display logic circuitry.
  • Lower cost, lower performance systems have used software to create and manage the cursor while more performance orientated systems have used more expensive logic circuits with the intention of minimising system software overhead.
  • a video display system of the type having a digital image store arranged to store image data in the form of a bit map constituted by data lines representing lines of picture elements of a display image, said image store being operable under the control of a digital processor to supply stored image data line by line to a computer display device to cause an image including a cursor to be displayed, characterised in that said image store has a first port for transmission of data to and from said processor and a second port for transmission of image data to said display device and that said processor is adapted, in response to cursor position data indicating that a subsequent line, to be displayed after the current line, includes a cursor, to retrieve image data from such subsequent line through said first port and combine such data with cursor pattern data to develop composite image data representing the superimposition of the cursor on the image, to replace the image data in the data line corresponding to said subsequent line with said composite image data for transmission to said display device, and to restore the replaced data to said data line after delivery of the composite image data to said second port for transmission thereby
  • a cursor function implemented in logic circuits is highly desirable in high performance video displays systems to minimise system software overhead. Typical implementations of this function, however, are relatively expensive. This invention provides the desired cursor function, in a unique way and with very low circuitry cost.
  • Basic video formatting in a raster based video display system consists of reading each scan line of the bit map, a memory which contains the display image, serialising the bit map in synchronisation with the electron beam scanning of the display screen, and outputting the resultant serial data stream to control the beam intensity.
  • Each bit of the bit map is called a pixel and is the smallest addressable display element on the screen or in bit map.
  • Video formatting in this display is controlled by the scan line counter.
  • the counter is incremented after the writing of each scan line to the screen and is reset at the end of every frame.
  • the counter thus describes the current Y position that is being written n the screen at any instant in time.
  • the cursor is generated during the video formatting operation. In Figure 1, this is accomplished by a micro-processor 6 executing microcode.
  • the curso position on the screen is defined by two registers, the X curso position register 13 and the Y cursor position register 14. These registers 13 and 14 are loaded and maintained by the host system in accordance with the desired screen position of the cursor, representing X and Y screen coordinates respectively.
  • a comparison of the Y cursor position register 14 with the scan line counter 16 determines whether video formatting is within the range of the cursor 15.
  • the actual size and shape of the cursor image is defined by the host system and is programmable within certain limitations.
  • the host system establishes the pattern of pixels to be used as the cursor, and stores that pattern within a specific rectangular block of bits in a portion of the bit map 8 that is not visible on screen (the hidden area).
  • the size and shape of the stored pattern is limited only in that it must lie within the specified rectangle.
  • This invention manipulates the entire rectangle as though it were the cursor. This entire area of the cursor pattern is logically combined with the corresponding displayable area of the bit map 7 to produce the desired cursor on the screen.
  • the technique for displaying the cursor requires that the source of the serialized bit stream be efficiently changed from one area of the bit map to another at the exact instant the beam reaches the desired cursor position and two or more areas of the bit map to be logically combined and the result saved.
  • these functions are performed conveniently by the use of VIDEO RAM configured in a manner disclosed in our copending European Patent Application No. EP-A-O 191 280 and a micro-processor.
  • a suitable video RAM would be a Texas Instrument TMS 4161.
  • the VIDEO RAM as configured will be referred to as a bit addressable multi-dimensional array memory or BAMDA.
  • Cursor processing begins one scan line before the line in which the cursor is to be displayed. This step in cursor processing is termed "preconstruction of the cursor".
  • a cursor image is created by steps 56-68, by logically combining the cursor pattern(s) ( Figure 3) 22a and 22b with the bit map data at the location 21 in which the cursor is to be displayed. This process is done one line at a time for each scan line 18 and the respective cursor pattern line 20a and 20b as the video formatting proceeds from scan line to scan line down the bit map.
  • the resultant pattern is stored in an assigned cursor save area 17 in the hidden bit map 8. This process does not preconstruct more than one line of cursor image at a time. However, one skilled in the art could preconstruct the entire cursor image before it is needed by the video formatter.
  • the cursor save image 17 is exchanged with the bit map data 19 of the scan line 18 at the horizontal position 21 in which the cursor pattern is to appear.
  • the entire scan line 18 is loaded into the Video RAM serial output port ( Figure 1) 12. It is important to note that this load operation takes only one memory cycle to load the entire scan line 18 of the 1024 pixels. This is accomplished very rapidly by virtue of the video ram serial output port 12.
  • the serial video output data stream contains a cursor image, combined with the bit map data, and thus appears on the display screen as if the cursor pattern were actually merged into the display bit map.
  • the original scan line is restored to its original state using the memory data bits which the exchange operation saved, thus preserving the bit map data.
  • the above invention provides the following functions with minimal circuitry cost and system overhead:
  • Figure 1 is a block diagram of the display system containing the present invention.
  • the bit map 1 is a special BAMDA memory array organized as 1024 lines of 1024 bits each.
  • the bit map 1 possesses the following special property: it is accessible from one to sixteen bits at a time, with the resultant access beginning on any arbitrary bit boundary and extending for one to sixteen bits in either the vertical (down) or horizontal (right) direction.
  • the starting point for BAMDA access is specified by an X register 2 and a Y register 3, providing a ten bit X and Y rectilinear coordinate respectively on address lines 4 and 5.
  • Micro-processor 6 is a microprogrammed logic sequencer such as an Advanced Micro Devices part No. 29226. This micro-processor 6 includes a set of general purpose registers, an arithmetic/logic unit and a control unit. The micro-processor 6 is controlled in accordance with micro-instructions stored in high speed Read-Only-Memory (see Figure 4). The micro-processor 6 controls all display system operations including the reading and writing of data to and from the bit map 1. The micro-processor 6, through its registers and logic unit, also provides the ability to logically modify the contents of bit map 1 or the data being written or read by the system software.
  • the bit map 1 is divided into two logical areas, the visible display memory 7 and the hidden display memory 8.
  • visible bit map 7 is 768 lines of 1024 bits each and represents all of the bits that are directly mapped to the display screen 10 as pixels, i.e. it is the visible bit map 7 with each bit corresponding to a specific pixel location of the display screen 10.
  • the hidden area 8 is the remaining 256 lines of 1024 bits each and is physically identical, and contiguous to the visible area 7 and also represents a bit map of pixels. The hidden area, however, is not scanned and mapped directly to the display.
  • System may read or modify the bit map 1 either by reading or writing the data register 9 directly, under control of the micro-processor 6, or by requesting the micro-processor 6 to perform a micro-coded sequence of operations in accordance with its pre-programmed micro instructions.
  • Figure 2 illustrates a classical prior art logic circuit approach to providing cursor control.
  • the cursor requires four components 28, 29, 30, and 31 that are not needed when the cursor is implemented as described in this invention.
  • Cursor control logic 30 uses the outputs of X and Y cursor position registers 28 and 29 to determine the precise time in which to merge the cursor pattern 31 into the serial video data 33. This merge process must be done with care to avoid skewing of the serial data.
  • Block 31 is a memory/register large enough to contain the cursor pattern. The point being, that there must be data available for insertion at all times without any latency.
  • Blocks 28 and 29 are registers loaded by system software. The contents of the two registers are used to position the cursor on the screen 32. These registers, like block 31, must have their outputs available to block 30 at all times. For this reason, registers 28 and 29 cannot reside in the hidden area 26 of the bit map.
  • FIG. 3 provides the additional details of the present invention.
  • the present invention provides complete cursor functioning with a minimum of circuitry.
  • the system must specify three pieces of information to enable the cursor to be displayed: 1. The exact nature of the cursor (size and shape). 2. The desired position of the cursor on the display screen. 3. The type of logical merge of the cursor pattern with the bit map pixels.
  • the size and shape is accomplished by writing a bit pattern in a specified, unused, area of the hidden bit map 8, called the cursor pattern area 22a and 22b. This operation need only be performed once unless the cursor pattern is to be changed or power removed from the bit map. Loading of the cursor pattern area can be accomplished via a write operation from the system I/O channel 11 or a copy from any other area of the bit map 1.
  • the maximum size of the cursor is limited by the size of the rectangular block of bits assigned to this function by the micro-processor 6 microcode.
  • the maximum horizontal assignable size is limited by the display circuit speed.
  • the width of the cursor dictates the number of bit map 1 memory cycles required to complete cursor processing. If the width of the cursor is excessive, severe timing problem occur.
  • the technique implemented is assumed to have a cursor pattern area 22a and 22b of sixty four lines of forty eight bits each. This allows a maximum cursor image on the display screen 10 of forty eight pixels wide by sixty four pixels high.
  • the precise location of the cursor is specified by the value contained in the two cursor position registers 13 and 14, which are two unused 16 bit words in the hidden bit map 8.
  • system software To establish the position 23 ( Figure 5) of the cursor rectangle 15, in screen coordinates, system software simply writes the required value to each of these fixed locations 13 and 14 in the hidden portion 8 of the bit map 1.
  • the micro-processor 6 treats these two locations as dedicated registers, the X cursor position register 13 and the Y cursor position register 14.
  • a 16 bit word location is assigned to hold the current scan line position pointer. This word is referred to as the "scan line counter" 16.
  • This register 16 which is used for cursor control and video processing, is cleared during vertical blanking period of the CRT, and incremented by 1 during each horizontal blanking period.
  • a cursor save area 17 must be dedicated in the hidden bit map to hold an preconstructed cursor scan line image.
  • This in the preferred embodiment, is a 48 bit wide by one bit high rectangular block and is used to store one line at a time of a cursor image.
  • the micro-processor 6 uses this area during cursor processing ( Figure 4).
  • Video formatting is controlled by the micro-processor 6 and consists primarily of managing the conversion of scan lines to serial video output data, timing and control of CRT synchronization signals.
  • Figure 4 illustrates the microcode executed by the micro-processor 6 during video formatting, the value of the scan line counter and the Y cursor position register are compared to detect cursor range 46. If the comparison shows that the cursor should start on the next scan line 18, then the bit map data 19 is logically combined with the cursor pattern 20a and 20b and stored in the cursor save area 17 of hidden memory 8. To accomplish this, the 48 bits 19 of the scan line that will be affected by the cursor are read from the visible bit map 7 and saved. That same data is then logically ANDed with cursor pattern 20a and then XORed with cursor pattern 20b and then the result is placed in the cursor save area 17. The starting bit 21 of the affected scan line area 19 is provided by the X cursor position register 13. Other ways and sequences of doing the logical function(s) should be apparent to those skilled in the art.
  • bit map data 19 has been fully merged with the cursor pattern 20a and 20b and is stored in the cursor save area 17.
  • the cursor image in the temporary save area 17 is exchanged with the bit map data 19. After the exchange, the merged bit map data and cursor image data reside in the scan line 18 that is to be displayed next.
  • the scan line 18 is now ready to be displayed on the screen and the entire scan line is loaded into the video RAM serial output port 12 during horizontal blanking. It is then serialized and sent to the display 10.
  • the bit map cannot be accessed by the host system. Because of this, the cursor does not appear, to the host system, to be in the bit map at all and gives the impression that the cursor is completely controlled by logic circuits.
  • FIG. 4 The logical function of ANDing and XORing of the bit map data is illustrated in Figure 4.
  • This micro- code steps 56-68 are executed one scan line before it is to be serialized and displayed, i.e., when the previous scan line is being serialized and sent to the display 10. It is approximately 90% of the total time required for a complete horizontal period. Because of this long period of time, 90%, computation of the cursor pattern can be done in background mode. This is done ahead of time so it can be exchanged quickly during the Video Formatting period (horizontal blanking) which is approximately 10% of total time required to complete a horizontal period.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

  • This invention relates to video display systems and more specifically to a video display system providing all-points-addressable functions implemented using dual ported memory.
  • Video display screens typically provide a movable marker, referred to as a cursor, to provide a visible indication as to the current position of interest on the display screen. Traditionally, this function has been implemented by either the host system or the display logic circuitry. Lower cost, lower performance systems have used software to create and manage the cursor while more performance orientated systems have used more expensive logic circuits with the intention of minimising system software overhead.
  • It is nevertheless desirable to minimise software overhead in any type of system, and a low cost solution to the problem of cursor display is accordingly an object of the present invention.
  • One approach to the problem is disclosed in the IBM Technical Disclosure Bulletin, Volume 26, No. 10B, March 1984, on pages 5622 and 5623. Here an existing storage array, used normally for area fill operations, is used between such operations to store cursor data. While clearly not adding substantially to the cost of the system, the arrangement has the disadvantage that the two functions of the shared storage array can interfere with each other, resulting for example in partial deletion of the cursor.
  • According to the invention there is provided a video display system of the type having a digital image store arranged to store image data in the form of a bit map constituted by data lines representing lines of picture elements of a display image, said image store being operable under the control of a digital processor to supply stored image data line by line to a computer display device to cause an image including a cursor to be displayed, characterised in that said image store has a first port for transmission of data to and from said processor and a second port for transmission of image data to said display device and that said processor is adapted, in response to cursor position data indicating that a subsequent line, to be displayed after the current line, includes a cursor, to retrieve image data from such subsequent line through said first port and combine such data with cursor pattern data to develop composite image data representing the superimposition of the cursor on the image, to replace the image data in the data line corresponding to said subsequent line with said composite image data for transmission to said display device, and to restore the replaced data to said data line after delivery of the composite image data to said second port for transmission thereby preserving the original bit map data.
  • In order that the invention may be well understood, a preferred embodiment thereof will now be described with reference to the accompanying drawings in which:
    • Figure 1 is a block diagram of the display system;
    • Figure 2 is an illustration of a prior art;
    • Figure 3 is an illustration of the cursor technique according to the present invention;
    • Figure 4 is a flow chart depicting the sequence of operations to generate a cursor image and video formatting; and
    • Figure 5 is an illustration of a display screen and a cursor rectangle positioned on the screen.
  • A cursor function implemented in logic circuits is highly desirable in high performance video displays systems to minimise system software overhead. Typical implementations of this function, however, are relatively expensive. This invention provides the desired cursor function, in a unique way and with very low circuitry cost.
  • Basic video formatting in a raster based video display system consists of reading each scan line of the bit map, a memory which contains the display image, serialising the bit map in synchronisation with the electron beam scanning of the display screen, and outputting the resultant serial data stream to control the beam intensity. Each bit of the bit map is called a pixel and is the smallest addressable display element on the screen or in bit map.
  • Video formatting in this display is controlled by the scan line counter. The counter is incremented after the writing of each scan line to the screen and is reset at the end of every frame. The counter thus describes the current Y position that is being written n the screen at any instant in time.
  • The cursor is generated during the video formatting operation. In Figure 1, this is accomplished by a micro-processor 6 executing microcode.
  • In Figure 3, the curso position on the screen is defined by two registers, the X curso position register 13 and the Y cursor position register 14. These registers 13 and 14 are loaded and maintained by the host system in accordance with the desired screen position of the cursor, representing X and Y screen coordinates respectively.
  • During video formatting, a comparison of the Y cursor position register 14 with the scan line counter 16 determines whether video formatting is within the range of the cursor 15.
  • The actual size and shape of the cursor image is defined by the host system and is programmable within certain limitations. The host system establishes the pattern of pixels to be used as the cursor, and stores that pattern within a specific rectangular block of bits in a portion of the bit map 8 that is not visible on screen (the hidden area). The size and shape of the stored pattern is limited only in that it must lie within the specified rectangle. This invention manipulates the entire rectangle as though it were the cursor. This entire area of the cursor pattern is logically combined with the corresponding displayable area of the bit map 7 to produce the desired cursor on the screen.
  • The technique for displaying the cursor, defined by the host system, requires that the source of the serialized bit stream be efficiently changed from one area of the bit map to another at the exact instant the beam reaches the desired cursor position and two or more areas of the bit map to be logically combined and the result saved. In the embodiment to be described these functions are performed conveniently by the use of VIDEO RAM configured in a manner disclosed in our copending European Patent Application No. EP-A-O 191 280 and a micro-processor. A suitable video RAM would be a Texas Instrument TMS 4161. Hereinafter, the VIDEO RAM as configured will be referred to as a bit addressable multi-dimensional array memory or BAMDA.
  • Refer to Figures 3 and 4 for the discussion of cursor image generation. Cursor processing begins one scan line before the line in which the cursor is to be displayed. This step in cursor processing is termed "preconstruction of the cursor". In Figure 4, a cursor image is created by steps 56-68, by logically combining the cursor pattern(s) (Figure 3) 22a and 22b with the bit map data at the location 21 in which the cursor is to be displayed. This process is done one line at a time for each scan line 18 and the respective cursor pattern line 20a and 20b as the video formatting proceeds from scan line to scan line down the bit map. The resultant pattern is stored in an assigned cursor save area 17 in the hidden bit map 8. This process does not preconstruct more than one line of cursor image at a time. However, one skilled in the art could preconstruct the entire cursor image before it is needed by the video formatter.
  • During the horizontal blanking time, the period just before the scan line for which the cursor save image 17 was created, the cursor save image 17 is exchanged with the bit map data 19 of the scan line 18 at the horizontal position 21 in which the cursor pattern is to appear. With the cursor save image 17 now inserted into the scan line 18, the entire scan line 18 is loaded into the Video RAM serial output port (Figure 1) 12. It is important to note that this load operation takes only one memory cycle to load the entire scan line 18 of the 1024 pixels. This is accomplished very rapidly by virtue of the video ram serial output port 12. The serial video output data stream contains a cursor image, combined with the bit map data, and thus appears on the display screen as if the cursor pattern were actually merged into the display bit map.
  • As seen in steps 48-54 of Figure 4, immediately after loading the video RAM serial output port, the original scan line is restored to its original state using the memory data bits which the exchange operation saved, thus preserving the bit map data.
  • In Figure 1, all system I/O data 11 must pass through the micro-processor 6, and therefore, the bit map update from the system I/O channel 11 is prevented by the micro-processor 6 during the exchange and resort process. This ensures that no update is erroneously performed on cursor data instead of bit map data.
  • The operations described above (Figure 4) are repeated for each scan line until the scan line counter indicates that maximum depth of the cursor has been reached, at which time normal video formatting 42, 46 and 44 resumes.
  • The above invention provides the following functions with minimal circuitry cost and system overhead:
    • 1. Logical merging of a cursor pattern(s) with the serialized video data stream. This preserves bit map data integrity at all times and thus reduces the system software overhead usually associated with temporarily removing the cursor pattern from the bit map before each update procedure.
    • 2. The cursor position is controlled simply by changing the content in the X and/or Y cursor position registers, which contain the actual X and Y screen coordinates for the cursor. This is as opposed to requiring host system to access the bit map itself and perform the necessary translation and memory masking operations involving arbitrary bit alignments.
    • 3. The micro-code overhead to preform the cursor preconstruction is processed in the background by virtue of the video ram architecture.
    • 4. The cursor is in the bit map 7, one line at a time, for a very short period of time. Because of this, the bit map 1 is available for system update most of the time giving the impression that the cursor is generated external to the bit map.
  • The following is a more detailed description of the invention.
  • Figure 1 is a block diagram of the display system containing the present invention.
  • Communication between the host system and the display circuitry is via the system I/O channel 11.
  • In the preferred embodiment, the bit map 1 is a special BAMDA memory array organized as 1024 lines of 1024 bits each. The bit map 1 possesses the following special property: it is accessible from one to sixteen bits at a time, with the resultant access beginning on any arbitrary bit boundary and extending for one to sixteen bits in either the vertical (down) or horizontal (right) direction. The starting point for BAMDA access is specified by an X register 2 and a Y register 3, providing a ten bit X and Y rectilinear coordinate respectively on address lines 4 and 5.
  • Micro-processor 6 is a microprogrammed logic sequencer such as an Advanced Micro Devices part No. 29226. This micro-processor 6 includes a set of general purpose registers, an arithmetic/logic unit and a control unit. The micro-processor 6 is controlled in accordance with micro-instructions stored in high speed Read-Only-Memory (see Figure 4). The micro-processor 6 controls all display system operations including the reading and writing of data to and from the bit map 1. The micro-processor 6, through its registers and logic unit, also provides the ability to logically modify the contents of bit map 1 or the data being written or read by the system software.
  • The bit map 1 is divided into two logical areas, the visible display memory 7 and the hidden display memory 8. In the preferred embodiment, visible bit map 7 is 768 lines of 1024 bits each and represents all of the bits that are directly mapped to the display screen 10 as pixels, i.e. it is the visible bit map 7 with each bit corresponding to a specific pixel location of the display screen 10. The hidden area 8 is the remaining 256 lines of 1024 bits each and is physically identical, and contiguous to the visible area 7 and also represents a bit map of pixels. The hidden area, however, is not scanned and mapped directly to the display.
  • System may read or modify the bit map 1 either by reading or writing the data register 9 directly, under control of the micro-processor 6, or by requesting the micro-processor 6 to perform a micro-coded sequence of operations in accordance with its pre-programmed micro instructions.
  • The following will describe the unique circuit features and micro-coded operations that have been implemented to allow the system to control and display a sophisticated cursor image with a minimum of system software processing overhead.
  • To fully explain the novelty of the present invention, the prior art will be discussed. Figure 2 illustrates a classical prior art logic circuit approach to providing cursor control.
  • The cursor, requires four components 28, 29, 30, and 31 that are not needed when the cursor is implemented as described in this invention.
  • Cursor control logic 30 uses the outputs of X and Y cursor position registers 28 and 29 to determine the precise time in which to merge the cursor pattern 31 into the serial video data 33. This merge process must be done with care to avoid skewing of the serial data.
  • Block 31 is a memory/register large enough to contain the cursor pattern. The point being, that there must be data available for insertion at all times without any latency.
  • Blocks 28 and 29 are registers loaded by system software. The contents of the two registers are used to position the cursor on the screen 32. These registers, like block 31, must have their outputs available to block 30 at all times. For this reason, registers 28 and 29 cannot reside in the hidden area 26 of the bit map.
  • Figure 3 provides the additional details of the present invention.
  • The present invention provides complete cursor functioning with a minimum of circuitry.
  • The system must specify three pieces of information to enable the cursor to be displayed: 1. The exact nature of the cursor (size and shape). 2. The desired position of the cursor on the display screen. 3. The type of logical merge of the cursor pattern with the bit map pixels.
  • Specification of the size and shape is accomplished by writing a bit pattern in a specified, unused, area of the hidden bit map 8, called the cursor pattern area 22a and 22b. This operation need only be performed once unless the cursor pattern is to be changed or power removed from the bit map. Loading of the cursor pattern area can be accomplished via a write operation from the system I/O channel 11 or a copy from any other area of the bit map 1. The maximum size of the cursor is limited by the size of the rectangular block of bits assigned to this function by the micro-processor 6 microcode. The maximum horizontal assignable size is limited by the display circuit speed. The width of the cursor dictates the number of bit map 1 memory cycles required to complete cursor processing. If the width of the cursor is excessive, severe timing problem occur. The technique implemented is assumed to have a cursor pattern area 22a and 22b of sixty four lines of forty eight bits each. This allows a maximum cursor image on the display screen 10 of forty eight pixels wide by sixty four pixels high.
  • The precise location of the cursor is specified by the value contained in the two cursor position registers 13 and 14, which are two unused 16 bit words in the hidden bit map 8. To establish the position 23 (Figure 5) of the cursor rectangle 15, in screen coordinates, system software simply writes the required value to each of these fixed locations 13 and 14 in the hidden portion 8 of the bit map 1. The micro-processor 6 treats these two locations as dedicated registers, the X cursor position register 13 and the Y cursor position register 14.
  • At this point, no further system involvement is required to display the cursor. Movements of the cursor requires only that the system updates either or both the X cursor position register 13 or the Y cursor position register 14.
  • To complete the requirements for maintenance and control of the cursor, two additional elements which reside in the hidden bit map are needed.
  • A 16 bit word location is assigned to hold the current scan line position pointer. This word is referred to as the "scan line counter" 16. This register 16, which is used for cursor control and video processing, is cleared during vertical blanking period of the CRT, and incremented by 1 during each horizontal blanking period.
  • Finally, a cursor save area 17 must be dedicated in the hidden bit map to hold an preconstructed cursor scan line image. This, in the preferred embodiment, is a 48 bit wide by one bit high rectangular block and is used to store one line at a time of a cursor image. The micro-processor 6 uses this area during cursor processing (Figure 4).
  • Video formatting is controlled by the micro-processor 6 and consists primarily of managing the conversion of scan lines to serial video output data, timing and control of CRT synchronization signals.
  • Figure 4 illustrates the microcode executed by the micro-processor 6 during video formatting, the value of the scan line counter and the Y cursor position register are compared to detect cursor range 46. If the comparison shows that the cursor should start on the next scan line 18, then the bit map data 19 is logically combined with the cursor pattern 20a and 20b and stored in the cursor save area 17 of hidden memory 8. To accomplish this, the 48 bits 19 of the scan line that will be affected by the cursor are read from the visible bit map 7 and saved. That same data is then logically ANDed with cursor pattern 20a and then XORed with cursor pattern 20b and then the result is placed in the cursor save area 17. The starting bit 21 of the affected scan line area 19 is provided by the X cursor position register 13. Other ways and sequences of doing the logical function(s) should be apparent to those skilled in the art.
  • Now the bit map data 19 has been fully merged with the cursor pattern 20a and 20b and is stored in the cursor save area 17.
  • When it is time to load the next scan line into the video RAM serial output port 12, the cursor image in the temporary save area 17 is exchanged with the bit map data 19. After the exchange, the merged bit map data and cursor image data reside in the scan line 18 that is to be displayed next. The scan line 18 is now ready to be displayed on the screen and the entire scan line is loaded into the video RAM serial output port 12 during horizontal blanking. It is then serialized and sent to the display 10.
  • Once the scan line 18 is loaded into the video RAM serial output port 12, the original bit map data is restored.
  • Between the time that the merged cursor data in the cursor save area 17 is exchanged with the bit map data 19, and the bit map data is restored to the scan line 18, the bit map cannot be accessed by the host system. Because of this, the cursor does not appear, to the host system, to be in the bit map at all and gives the impression that the cursor is completely controlled by logic circuits.
  • The logical function of ANDing and XORing of the bit map data is illustrated in Figure 4. This micro- code steps 56-68 are executed one scan line before it is to be serialized and displayed, i.e., when the previous scan line is being serialized and sent to the display 10. It is approximately 90% of the total time required for a complete horizontal period. Because of this long period of time, 90%, computation of the cursor pattern can be done in background mode. This is done ahead of time so it can be exchanged quickly during the Video Formatting period (horizontal blanking) which is approximately 10% of total time required to complete a horizontal period.

Claims (3)

  1. A video display system of the type having a digital image store (1) arranged to store image data in the form of a bit map constituted by data lines (18) representing lines of picture elements of a display image, said image store being operable under the control of a digital processor (6) to supply stored image data line by line to a computer display device (10) to cause an image including a cursor to be displayed, characterised in that said image store has a first port (9) for transmission of data to and from said processor and a second port (12) for transmission of image data to said display device and that said processor is adapted, in response to cursor position data indicating that a subsequent line, to be displayed after the current line, includes a cursor, to retrieve image data from such subsequent line through said first port and combine such data with cursor pattern data (steps 56 - 58) to develop composite image data representing the superimposition of the cursor on the image, to replace (step 48) the image data in the data line corresponding to said subsequent line with said composite image data for transmission to said display device, and to restore (step 54) the replaced data to said data line after delivery of the composite image data to said second port for transmission thereby preserving the original bit map data.
  2. A system as claimed in claim 1, in which said image store includes a hidden portion unavailable for data transfer to said display device while being accessible to said processor, said cursor position data being stored (14) in said hidden area.
  3. A system as claimed in claim 2, in which said processor is adapted to place said composite image data in a cursor save area (17) in said hidden area and said replacement and subsequent restoration of image data by said processor is effected by exchanging data in the data line corresponding to said subsequent line with the contents of said cursor save area.
EP19860117314 1986-01-17 1986-12-12 Cursor circuit for a dual port memory Expired - Lifetime EP0229986B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US06/820,487 US4767460A (en) 1985-01-29 1986-01-17 Cement compositions for cementing of wells enabling gas channelling in the cemented annulus to be inhibited by right-angle setting
US820487 1986-01-17

Publications (3)

Publication Number Publication Date
EP0229986A2 EP0229986A2 (en) 1987-07-29
EP0229986A3 EP0229986A3 (en) 1989-12-27
EP0229986B1 true EP0229986B1 (en) 1994-03-02

Family

ID=25230920

Family Applications (1)

Application Number Title Priority Date Filing Date
EP19860117314 Expired - Lifetime EP0229986B1 (en) 1986-01-17 1986-12-12 Cursor circuit for a dual port memory

Country Status (2)

Country Link
EP (1) EP0229986B1 (en)
DE (1) DE3689691T2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA1317041C (en) * 1987-12-24 1993-04-27 Ncr Corporation Apparatus for creating a cursor pattern by strips related to individual scan lines
GB2243521B (en) * 1990-04-11 1993-12-08 Afe Displays Ltd Image display system
GB2252224A (en) * 1990-12-12 1992-07-29 Apple Computer Providing an overlay e.g. a cursor, for a computer display

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4566000A (en) * 1983-02-14 1986-01-21 Prime Computer, Inc. Image display apparatus and method having virtual cursor

Also Published As

Publication number Publication date
DE3689691D1 (en) 1994-04-07
DE3689691T2 (en) 1994-09-15
EP0229986A3 (en) 1989-12-27
EP0229986A2 (en) 1987-07-29

Similar Documents

Publication Publication Date Title
US4706074A (en) Cursor circuit for a dual port memory
US5742788A (en) Method and apparatus for providing a configurable display memory for single buffered and double buffered application programs to be run singly or simultaneously
US4876600A (en) Method and device for representing a composite image on a screen of a screen device
EP0164880B1 (en) A circuit for modifying data in a display memory
EP0153197B1 (en) A method of operating a display system
CA1317041C (en) Apparatus for creating a cursor pattern by strips related to individual scan lines
US5291582A (en) Apparatus for performing direct memory access with stride
EP0240410A2 (en) Pixel processor
EP0403122B1 (en) Processor controlled image overlay
EP0201210B1 (en) Video display system
EP0279229A2 (en) A graphics display system
KR100328424B1 (en) Method and apparatus for constructing a frame buffer with a fast copy means
JPH09245179A (en) Computer graphic device
CA1220293A (en) Raster scan digital display system
JPH0830948B2 (en) Image display
JPH079570B2 (en) Virtual memory image controller
US4093996A (en) Cursor for an on-the-fly digital television display having an intermediate buffer and a refresh buffer
EP0525986B1 (en) Apparatus for fast copying between frame buffers in a double buffered output display system
US4910505A (en) Graphic display apparatus with combined bit buffer and character graphics store
EP0229986B1 (en) Cursor circuit for a dual port memory
CA1268870A (en) Circuit to effect raster operations
EP0216886B1 (en) Video display apparatus
EP0410743B1 (en) Graphics display split-serial register system
EP0312531B1 (en) Display processor for use with a computer
EP0148575A2 (en) Horizontal smooth scrolling system and method for a video display generator

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

AK Designated contracting states

Kind code of ref document: A2

Designated state(s): DE FR GB IT

17P Request for examination filed

Effective date: 19871202

PUAL Search report despatched

Free format text: ORIGINAL CODE: 0009013

AK Designated contracting states

Kind code of ref document: A3

Designated state(s): DE FR GB IT

17Q First examination report despatched

Effective date: 19910813

GRAA (expected) grant

Free format text: ORIGINAL CODE: 0009210

AK Designated contracting states

Kind code of ref document: B1

Designated state(s): DE FR GB IT

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: IT

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRE;WARNING: LAPSES OF ITALIAN PATENTS WITH EFFECTIVE DATE BEFORE 2007 MAY HAVE OCCURRED AT ANY TIME BEFORE 2007. THE CORRECT EFFECTIVE DATE MAY BE DIFFERENT FROM THE ONE RECORDED.SCRIBED TIME-LIMIT

Effective date: 19940302

REF Corresponds to:

Ref document number: 3689691

Country of ref document: DE

Date of ref document: 19940407

ET Fr: translation filed
PLBE No opposition filed within time limit

Free format text: ORIGINAL CODE: 0009261

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT

26N No opposition filed
PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: GB

Payment date: 19951127

Year of fee payment: 10

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: FR

Payment date: 19951128

Year of fee payment: 10

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: DE

Payment date: 19951229

Year of fee payment: 10

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: GB

Effective date: 19961212

GBPC Gb: european patent ceased through non-payment of renewal fee

Effective date: 19961212

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: FR

Effective date: 19970829

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: DE

Effective date: 19970902

REG Reference to a national code

Ref country code: FR

Ref legal event code: ST