EP0661684A2

Display of a sprite in a computer system.

Abstract

Apparatus is provided for adjusting the color of the sprite in display systems, so that the sprite is always distinctively visible irrespective of the underlying displayed data. A palette DAC 322 of a display system is provided with sprite control logic, which determines the color of a sprite to be overlaid on an image displayed on a video display unit 236 of a display system by inverting only the most significant bit (MSB) of each of the red, green and blue pixel data components of the underlying image. In a preferred embodiment, the sprite control logic circuit comprises first, second and third multiplexors (MUXes) 420, 422, 424 each having a first input connected to receive the MSB of the red, green and blue pixel data components of the underlying image, respectively, and a second input connected to receive the output of first, second and third XOR gates, respectively. Each of the first, second and third XOR gates similarly have a first input connected to receive the MSB of the red, green and blue pixel data components of the underlying image, respectively, and a second input connected to receive sprite data from a sprite RAM 324, which sprite data represents a sprite character to be overlaid on the displayed image.

EP0661684A2, drawing sheet 1
Sheet 1 of 3

Term

Term ended

Projected expiry passed 9 December 2014, 11.8 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

10 claims: 4 independent, 6 dependent

  1. 1
    Apparatus for displaying a sprite (102) on the display screen (326) of a computer system (300), said sprite being overlaid on an image, including:means (314) for storing the image as digital pixel data comprising two or more color components;means for selecting a pixel position on the display screen;means for determining whether the sprite is to be overlaid at said selected position, and responsive to a determination that the sprite is to be overlaid, inverting the most significant bit (MSB) of each color component of the image pixel data for that position to form the sprite colour;and    means for displaying the sprite colour at the selected position.
  2. 8
    The apparatus of any preceding claim, in which the image storing means comprises a video random access memory (VRAM) which outputs data for the selected pixel, each pixel in the image sequentially being the selected pixel.
  3. 9
    The apparatus of any preceding claim, wherein the digital pixel data has red, green and blue components.
  4. 10
    A method of displaying a sprite (102) on the display screen (326) of a computer system (300), said sprite being overlaid on an image, the image being stored as digital pixel data comprising two or more color components, the method comprising:selecting a pixel position on the display screen;determining whether the sprite is to be overlaid at said selected position;and    responsive to a determination that the sprite is to lie overlaid, inverting the most significant bit (MSB) of each color component of the image pixel data for that position to form the sprite colour, and displaying the sprite color at the selected position.